* syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.
This commit is contained in:
parent
ee945cb382
commit
9e9bc4e144
@ -1,3 +1,7 @@
|
||||
2007-02-02 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.
|
||||
|
||||
2007-02-01 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6
|
||||
|
@ -330,7 +330,7 @@ unlink_nt (path_conv &win32_name, bool setattrs)
|
||||
also means that deleting fails. */
|
||||
syscall_printf ("%p = NtClose (%p)", status, h);
|
||||
if (!lasterr)
|
||||
RtlNtStatusToDosError (status);
|
||||
lasterr = RtlNtStatusToDosError (status);
|
||||
}
|
||||
|
||||
syscall_printf ("Deleting succeeded");
|
||||
|
Loading…
Reference in New Issue
Block a user