diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-13 15:46:07 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-13 15:46:07 +0000 |
commit | 063f1df2aa2689d45fd7fd7bd8445031338ec9cb (patch) | |
tree | d1dc01f28241869f35ad8c728ccaae9e0732d3c5 /winsup/cygwin/spawn.cc | |
parent | eb6cd95fecef02c261ef266161f8dff6924efa4d (diff) | |
download | cygnal-063f1df2aa2689d45fd7fd7bd8445031338ec9cb.tar.gz cygnal-063f1df2aa2689d45fd7fd7bd8445031338ec9cb.tar.bz2 cygnal-063f1df2aa2689d45fd7fd7bd8445031338ec9cb.zip |
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.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 8cb8b7dc1..b65e00320 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -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; |