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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user