empty string in directory list now means current directory
This commit is contained in:
parent
1e19db9d3a
commit
f7790b0e8e
|
@ -38,7 +38,7 @@ getwdir(fn)
|
|||
*p = '/';
|
||||
return fn;
|
||||
}
|
||||
return ".";
|
||||
return "";
|
||||
}
|
||||
#endif NOPP
|
||||
|
||||
|
|
|
@ -92,7 +92,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;
|
||||
|
|
Loading…
Reference in a new issue