version 1.16, 2003/06/26 21:03:08 |
version 1.17, 2003/06/26 22:04:45 |
|
|
int rflag; /* recursively trace directories */ |
int rflag; /* recursively trace directories */ |
int sflag; /* announce files which are same */ |
int sflag; /* announce files which are same */ |
char *start; /* do file only if name >= this */ |
char *start; /* do file only if name >= this */ |
/* Variables for -I D_IFDEF option. */ |
/* Variables for -D D_IFDEF option. */ |
int wantelses; /* -E */ |
char *ifdefname; /* What we will print for #ifdef/#endif */ |
char *ifdef1; /* String for -1 */ |
|
char *ifdef2; /* String for -2 */ |
|
char *endifname; /* What we will print on next #endif */ |
|
int inifdef; |
int inifdef; |
/* Variables for -c and -u context option. */ |
/* Variables for -c and -u context option. */ |
int context; /* lines of context to be printed */ |
int context; /* lines of context to be printed */ |
|
|
{ |
{ |
int ch; |
int ch; |
|
|
ifdef1 = "FILE1"; |
|
ifdef2 = "FILE2"; |
|
status = 2; |
status = 2; |
diffargv = argv; |
diffargv = argv; |
|
|
|
|
context = 3; |
context = 3; |
break; |
break; |
case 'D': |
case 'D': |
/* -Dfoo = -E -1 -2foo */ |
|
opt = D_IFDEF; |
opt = D_IFDEF; |
ifdef1 = ""; |
ifdefname = optarg; |
ifdef2 = optarg; |
|
wantelses++; |
|
break; |
break; |
case 'e': |
case 'e': |
opt = D_EDIT; |
opt = D_EDIT; |