diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-01-12 13:14:59 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-01-12 13:14:59 +0300 |
commit | 4ee93264fd8e7fbad277026a21bc7f3f14f4b333 (patch) | |
tree | da7b15f38482b62fa8fe78643de00e9f261a8ffa /winsup/cygwin/dir.cc | |
parent | eeda30d7d5688c707d0c09d68ab342b285361408 (diff) |
* dtable.cc (build_fh_name_worker): Remove. Move all functionality
back into build_fh_name.
(build_fh_name): Drop unused HANDLE parameter. Drop call to pc.fillin.
Remove disabled build_fh_name with UNICODE_STRING name parameter.
* dtable.h (build_fh_name): Drop HANDLE parameter from declaration.
Remove declaration for build_fh_name with UNICODE_STRING name parameter.
* path.cc (path_conv::fillin): Remove.
(symlink_info::check): Fix comment.
* path.h (path_conv::fillin): Remove declaration.
* dir.cc: Accommodate change in build_fh_name parameters throughout.
* sec_acl.cc: Ditto.
* syscalls.cc: Ditto.
* ntea.cc (getxattr_worker): Fix debug output.
(setxattr_worker): Ditto.
* times.cc (utimens_worker): Ditto.
Diffstat (limited to 'winsup/cygwin/dir.cc')
-rw-r--r-- | winsup/cygwin/dir.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index 4bca40cec..641aabe4b 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -1,7 +1,7 @@ /* dir.cc: Posix directory-related routines Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2006, 2007, - 2008, 2009 Red Hat, Inc. + 2008, 2009, 2010 Red Hat, Inc. This file is part of Cygwin. @@ -54,7 +54,7 @@ opendir (const char *name) fhandler_base *fh; DIR *res; - fh = build_fh_name (name, NULL, PC_SYM_FOLLOW); + fh = build_fh_name (name, PC_SYM_FOLLOW); if (!fh) res = NULL; else if (fh->exists ()) @@ -299,7 +299,7 @@ mkdir (const char *dir, mode_t mode) while (p > dir && isdirsep (*p)) *p-- = '\0'; } - if (!(fh = build_fh_name (dir, NULL, PC_SYM_NOFOLLOW))) + if (!(fh = build_fh_name (dir, PC_SYM_NOFOLLOW))) goto done; /* errno already set */; if (fh->error ()) @@ -329,7 +329,7 @@ rmdir (const char *dir) if (efault.faulted (EFAULT)) return -1; - if (!(fh = build_fh_name (dir, NULL, PC_SYM_NOFOLLOW))) + if (!(fh = build_fh_name (dir, PC_SYM_NOFOLLOW))) goto done; /* errno already set */; if (fh->error ()) |