From 063f1df2aa2689d45fd7fd7bd8445031338ec9cb Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 13 May 2005 15:46:07 +0000 Subject: 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. --- winsup/cygwin/spawn.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/spawn.cc') 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; -- cgit v1.2.3