empty string in directory list now means current directory

This commit is contained in:
ceriel 1989-02-16 11:46:39 +00:00
parent 1e19db9d3a
commit f7790b0e8e
2 changed files with 2 additions and 2 deletions

View file

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

View file

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