From 3c92c79b8428c468105c92a978f8baf9a416b5c8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 30 Sep 2005 11:02:47 +0000 Subject: * fhandler_disk_file.cc: Change calls to pc.set_attributes into calls to pc.file_attributes throughout. * path.h (class path_conv): Remove superfluous set_attributes method. --- winsup/cygwin/fhandler_disk_file.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/fhandler_disk_file.cc') diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index fcd7c9cdb..960e0f8ff 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -128,7 +128,7 @@ fhandler_base::fstat_by_handle (struct __stat64 *buf) /* If the change time is 0, it's a file system which doesn't support a change timestamp. In that case use the LastWriteTime entry, as in other calls to fstat_helper. */ - pc.set_attributes (pfai->BasicInformation.FileAttributes); + pc.file_attributes (pfai->BasicInformation.FileAttributes); return fstat_helper (buf, pfai->BasicInformation.ChangeTime.QuadPart ? *(FILETIME *) &pfai->BasicInformation.ChangeTime : @@ -165,7 +165,7 @@ fhandler_base::fstat_by_handle (struct __stat64 *buf) local.dwFileAttributes = DWORD (pc); } else - pc.set_attributes (local.dwFileAttributes); + pc.file_attributes (local.dwFileAttributes); return fstat_helper (buf, local.ftLastWriteTime, /* see fstat_helper comment */ local.ftLastAccessTime, @@ -196,7 +196,7 @@ fhandler_base::fstat_by_name (struct __stat64 *buf) else if ((handle = FindFirstFile (pc, &local)) != INVALID_HANDLE_VALUE) { FindClose (handle); - pc.set_attributes (local.dwFileAttributes); + pc.file_attributes (local.dwFileAttributes); res = fstat_helper (buf, local.ftLastWriteTime, /* see fstat_helper comment */ local.ftLastAccessTime, -- cgit v1.2.3