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

@ -36,7 +36,7 @@ getwdir(fn)
*p = '/';
return fn;
}
return ".";
return "";
}
#endif NOPP

View file

@ -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;

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