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.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'winsup/cygwin/path.cc') diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 4efc4571c..8a8064ef6 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2863,8 +2863,6 @@ int symlink_worker (const char *oldpath, const char *newpath, bool use_winsym, bool isdevice) { - extern suffix_info stat_suffixes[]; - HANDLE h; int res = -1; path_conv win32_path, win32_oldpath; @@ -3682,8 +3680,6 @@ symlink_info::case_check (char *path) extern "C" int readlink (const char *path, char *buf, int buflen) { - extern suffix_info stat_suffixes[]; - if (buflen < 0) { set_errno (ENAMETOOLONG); @@ -3968,8 +3964,6 @@ cygwin_conv_to_full_posix_path (const char *path, char *posix_path) extern "C" char * realpath (const char *path, char *resolved) { - extern suffix_info stat_suffixes[]; - /* Make sure the right errno is returned if path is NULL. */ if (!path) { -- cgit v1.2.3