empty string in directory list now means current directory
This commit is contained in:
@@ -32,7 +32,7 @@ getwdir(fn)
|
||||
*p = '/';
|
||||
return fn;
|
||||
}
|
||||
else return ".";
|
||||
else return "";
|
||||
}
|
||||
|
||||
int NoUnstack;
|
||||
|
||||
@@ -33,7 +33,7 @@ main(argc, argv)
|
||||
inctable = (char **) Malloc(10 * sizeof(char *));
|
||||
inc_max = 10;
|
||||
inc_total = 2;
|
||||
inctable[0] = ".";
|
||||
inctable[0] = "";
|
||||
inctable[1] = "/usr/include";
|
||||
init_pp(); /* initialise the preprocessor macros */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user