mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-19 07:22:14 +08:00
* fhandler.cc (fhandler_base::open): Use %S for PUNICODE_STRING.
* syscalls.cc (setmode): Ditto.
This commit is contained in:
parent
c622842865
commit
244191b6a9
@ -1,3 +1,8 @@
|
||||
2008-03-07 Brian Dessent <brian@dessent.net>
|
||||
|
||||
* fhandler.cc (fhandler_base::open): Use %S for PUNICODE_STRING.
|
||||
* syscalls.cc (setmode): Ditto.
|
||||
|
||||
2008-03-07 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_socket.cc (fhandler_socket::sendto): Never send more than
|
||||
|
@ -612,7 +612,7 @@ done:
|
||||
status, x, access, pc.get_nt_native_path (), file_attributes,
|
||||
shared, create_disposition, create_options);
|
||||
|
||||
syscall_printf ("%d = fhandler_base::open (%s, %p)",
|
||||
syscall_printf ("%d = fhandler_base::open (%S, %p)",
|
||||
res, pc.get_nt_native_path (), flags);
|
||||
return res;
|
||||
}
|
||||
|
@ -2053,7 +2053,7 @@ setmode (int fd, int mode)
|
||||
else
|
||||
cfd->set_flags ((cfd->get_flags () & ~(O_TEXT | O_BINARY)) | mode);
|
||||
|
||||
syscall_printf ("(%d<%s>, %p) returning %s", fd,
|
||||
syscall_printf ("(%d<%S>, %p) returning %s", fd,
|
||||
cfd->pc.get_nt_native_path (), mode,
|
||||
res & O_TEXT ? "text" : "binary");
|
||||
return res;
|
||||
|
Loading…
x
Reference in New Issue
Block a user