empty string in directory list now means current directory

This commit is contained in:
ceriel
1989-02-16 11:18:44 +00:00
parent 188b1df96d
commit 00ac6f88a7
4 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ getwdir(fn)
*p = '/';
return fn;
}
else return ".";
else return "";
}
int NoUnstack;

View File

@@ -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 */