summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-08-14 14:48:52 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-08-14 14:48:52 +0000
commit4a971ce403ee1dba9d779219310043816a4c4768 (patch)
treee74d19e86394d08b204a6f7bb10df91fe169a85f /winsup/cygwin/path.cc
parent7d2ade334193638dbd55b85e1909408606bcde97 (diff)
downloadcygnal-4a971ce403ee1dba9d779219310043816a4c4768.tar.gz
cygnal-4a971ce403ee1dba9d779219310043816a4c4768.tar.bz2
cygnal-4a971ce403ee1dba9d779219310043816a4c4768.zip
* 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.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc6
1 files changed, 0 insertions, 6 deletions
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)
{