#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#include <ctype.h>#include <fcntl.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <unistd.h>#include <limits.h>#include <stdio.h>Include dependency graph for cdiff.c:

Go to the source code of this file.
Defines | |
| #define | PATCHLEVEL 2 |
| #define | Nullfp (FILE*)0 |
| #define | Nullch (char*)0 |
| #define | ENOUGH (NAME_MAX + PATH_MAX + 1) |
| #define | CRC_END 12 |
Functions | |
| _PROTOTYPE (int main,(int argc, char **argv)) | |
| _PROTOTYPE (void dumphunk,(void)) | |
| _PROTOTYPE (char *getold,(int targ)) | |
| _PROTOTYPE (void *xmalloc,(size_t size)) | |
| _PROTOTYPE (void *xrealloc,(void *ptr, size_t size)) | |
| int | main (int argc, char **argv) |
| void | dumphunk () |
| char * | getold (int targ) |
| char * | getnew (int targ) |
| void * | xmalloc (size_t size) |
| void * | xrealloc (void *ptr, size_t size) |
Variables | |
| char | buff [512] |
| FILE * | inputfp |
| FILE * | oldfp |
| FILE * | newfp |
| int | oldmin |
| int | oldmax |
| int | newmin |
| int | newmax |
| int | oldbeg |
| int | oldend |
| int | newbeg |
| int | newend |
| int | preoldmax |
| int | prenewmax |
| int | preoldbeg |
| int | preoldend |
| int | prenewbeg |
| int | prenewend |
| int | oldwanted |
| int | newwanted |
| char * | oldhunk |
| char * | newhunk |
| char * | progname |
| size_t | oldsize |
| size_t | oldalloc |
| size_t | newsize |
| size_t | newalloc |
|
|
|
|
|
Definition at line 45 of file cdiff.c. Referenced by inflateCopy(), and main(). |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 259 of file cdiff.c. References getold(), i, preoldend, and preoldmax. Referenced by cdiff(). |
|
|
Definition at line 330 of file cdiff.c. References fgets(), newfp, newline, and Nullch. Referenced by cdiff(). |
|
|
Definition at line 318 of file cdiff.c. References fgets(), Nullch, oldfp, and oldline. Referenced by cdiff(), and dumphunk(). |
|
||||||||||||
|
Definition at line 48 of file cdiff.c. References atoi, context, ENOUGH, i, newalloc, newhunk, oldalloc, oldhunk, progname, s, status, and xmalloc(). |
|
|
Definition at line 342 of file cdiff.c. References exit(), fprintf(), malloc(), NULL, progname, ptr, and stderr. Referenced by add_v(), cdiff(), main(), new_edge(), new_line(), and pushname(). |
|
||||||||||||
|
Definition at line 355 of file cdiff.c. References exit(), fprintf(), NULL, progname, realloc(), and stderr. Referenced by cdiff(). |
|
|
Definition at line 22 of file cdiff.c. Referenced by bakcopy(), DOdata(), DOgetreply(), dump_registers(), dump_stack(), get_pty(), insert_char(), main(), openpty(), read_symbol(), sayhello(), settty(), syslog(), TalkInit(), test19f(), and TTYinfo(). |
|
|
Definition at line 24 of file cdiff.c. Referenced by cdiff(). |
|
|
Definition at line 34 of file cdiff.c. Referenced by main(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 32 of file cdiff.c. Referenced by main(). |
|
|
Definition at line 26 of file cdiff.c. Referenced by pack_vector(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 34 of file cdiff.c. Referenced by main(). |
|
|
|
|
|
Definition at line 27 of file cdiff.c. Referenced by bothcases(), mcadd(), and nonnewline(). |
|
|
|
|
|
Definition at line 32 of file cdiff.c. Referenced by main(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 29 of file cdiff.c. Referenced by dumphunk(). |
|
|
Definition at line 28 of file cdiff.c. Referenced by dumphunk(). |
|
|
|
1.4.6