From 4a971ce403ee1dba9d779219310043816a4c4768 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 14 Aug 2007 14:48:52 +0000 Subject: * fhandler.h (fhandler_base::pc): Make public. * fhandler_disk_file.cc (fhandler_disk_file::link): Drop extern declaration of stat_suffixes. Use NT native path in debug output. (fhandler_base::utimes_fs): Simplify closeit case. Use close_fs to close newly opened file handle. (fhandler_base::open_fs): Use NT native path in debug output. * path.cc: Throughout drop extern declaration of stat_suffixes. * path.h (stat_suffixes): Declare. * sec_acl.cc (acl_worker): Drop extern declaration of stat_suffixes. * times.cc (utimes_worker): Take path_conv as parameter instead of single-byte pathnam, drop nofollow argument, accommodate throughout. Compare UNICODE paths when enumerating file descriptors. Fix formatting. Use NT native path in debug output. --- winsup/cygwin/path.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 194a5648d..59734512f 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -45,6 +45,8 @@ struct suffix_info suffix_info (const char *s, int addit = 0): name (s), addon (addit) {} }; +extern suffix_info stat_suffixes[]; + enum pathconv_arg { PC_SYM_FOLLOW = 0x0001, -- cgit v1.2.3