Remove PC_FULL from path_conv usage throughout.

* path.h (enum pathconv_arg): Change PC_FULL to PC_NOUILL.
* path.cc (path_conv::check): Test for PC_NOFULL rather than !PC_FULL.
(cygwin_conv_to_win32_path): Use PC_NOFULL to force non-absolute path.
This commit is contained in:
Christopher Faylor
2005-05-13 15:46:07 +00:00
parent eb6cd95fec
commit 063f1df2aa
10 changed files with 34 additions and 28 deletions

View File

@@ -59,7 +59,7 @@ perhaps_suffix (const char *prog, path_conv& buf)
char *ext;
debug_printf ("prog '%s'", prog);
buf.check (prog, PC_SYM_FOLLOW | PC_FULL, std_suffixes);
buf.check (prog, PC_SYM_FOLLOW, std_suffixes);
if (!buf.exists () || buf.isdir ())
ext = NULL;