empty string in directory list now means current directory
This commit is contained in:
parent
188b1df96d
commit
00ac6f88a7
4 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@ getwdir(fn)
|
|||
*p = '/';
|
||||
return fn;
|
||||
}
|
||||
return ".";
|
||||
return "";
|
||||
}
|
||||
#endif NOPP
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ main(argc, argv)
|
|||
init_hmask();
|
||||
#ifndef NOPP
|
||||
inctable = (char **) Malloc(10 * sizeof(char *));
|
||||
inctable[0] = ".";
|
||||
inctable[0] = "";
|
||||
inctable[1] = "/usr/include";
|
||||
inctable[2] = 0;
|
||||
inc_total = 2;
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue