aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/external.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-13 15:46:07 +0000
committerChristopher Faylor <me@cgf.cx>2005-05-13 15:46:07 +0000
commit063f1df2aa2689d45fd7fd7bd8445031338ec9cb (patch)
treed1dc01f28241869f35ad8c728ccaae9e0732d3c5 /winsup/cygwin/external.cc
parenteb6cd95fecef02c261ef266161f8dff6924efa4d (diff)
downloadnewlib-063f1df2aa2689d45fd7fd7bd8445031338ec9cb.zip
newlib-063f1df2aa2689d45fd7fd7bd8445031338ec9cb.tar.gz
newlib-063f1df2aa2689d45fd7fd7bd8445031338ec9cb.tar.bz2
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/external.cc')
-rw-r--r--winsup/cygwin/external.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 60997f8..5268b86 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -294,7 +294,7 @@ cygwin_internal (cygwin_getinfo_types t, ...)
case CW_GET_BINMODE:
{
const char *path = va_arg (arg, const char *);
- path_conv p (path, PC_SYM_FOLLOW | PC_FULL | PC_NULLEMPTY);
+ path_conv p (path, PC_SYM_FOLLOW | PC_NULLEMPTY);
if (p.error)
{
set_errno (p.error);