mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
* syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.
This commit is contained in:
parent
1b61bf152b
commit
f5f0ae3e26
@ -1,3 +1,7 @@
|
||||
2007-08-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.
|
||||
|
||||
2007-08-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* ntdll.h (NtNotifyChangeDirectoryFile): Declare.
|
||||
|
@ -479,7 +479,6 @@ unlink_nt (path_conv &pc)
|
||||
/* Get rid of read-only attribute. */
|
||||
if (access & FILE_WRITE_ATTRIBUTES)
|
||||
{
|
||||
FILE_BASIC_INFORMATION fbi;
|
||||
fbi.CreationTime.QuadPart = fbi.LastAccessTime.QuadPart =
|
||||
fbi.LastWriteTime.QuadPart = fbi.ChangeTime.QuadPart = 0LL;
|
||||
fbi.FileAttributes = (pc.file_attributes () & ~FILE_ATTRIBUTE_READONLY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user