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/dir.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/dir.cc') diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index cb49d3a94..df0515220 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -45,7 +45,7 @@ opendir (const char *name) fhandler_base *fh; DIR *res; - fh = build_fh_name (name, NULL, PC_SYM_FOLLOW | PC_FULL); + fh = build_fh_name (name, NULL, PC_SYM_FOLLOW); if (!fh) res = NULL; else if (fh->exists ()) @@ -264,7 +264,7 @@ rmdir (const char *dir) { int res = -1; - path_conv real_dir (dir, PC_SYM_NOFOLLOW | PC_FULL | PC_WRITABLE); + path_conv real_dir (dir, PC_SYM_NOFOLLOW | PC_WRITABLE); if (real_dir.error) set_errno (real_dir.error); -- cgit v1.2.3