updated for checking, not much progress
This commit is contained in:
1 parent
bf71ba07b2
commit
bf93127544
19 files changed
+548
-41
No files matched your search
@@ -3,10 +3,14 @@
|
||||
#include <string.h>
|
||||
|
||||
#define ARGC_ERROR 1
|
||||
#define BUFLEN 256
|
||||
#define MAXSTRINGS 1024
|
||||
#define TOOMANYFILES_ERROR 2
|
||||
#define CONFLICTING_OUTPUT_OPTIONS 3
|
||||
|
||||
#define HASHLEN 256
|
||||
#define MAXSTRINGS 1024
|
||||
#define MAXPARAS 4096
|
||||
|
||||
#define HASHLEN 200
|
||||
#define BUFLEN 256
|
||||
|
||||
typedef struct pa pa;
|
||||
struct pa {
|
||||
@@ -18,9 +22,19 @@ struct pa {
|
||||
|
||||
FILE *fin1, *fin2;
|
||||
|
||||
int count1 = 0, count2 = 0, equal = 0;
|
||||
const char* files[2] = { NULL, NULL };
|
||||
|
||||
char buf[BUFLEN];
|
||||
char *strings1[MAXSTRINGS], *strings2[MAXSTRINGS];
|
||||
|
||||
int showversion = 0, showbrief = 0, ignorecase = 0, report_identical = 0, showsidebyside = 0;
|
||||
int showleftcolumn = 0, showunified = 0, showcontext = 0, suppresscommon = 0, diffnormal = 0;
|
||||
int showhelp = 0;
|
||||
|
||||
int equal = 0;
|
||||
|
||||
int cnt = 0;
|
||||
int count1 = 0, count2 = 0;
|
||||
|
||||
pa* p;
|
||||
pa* q;
|
||||
Reference in new issue
Block a user