mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 12:59:21 +08:00
* security.cc (read_sd): Eliminate OemToChar.
This commit is contained in:
parent
afb7e7196a
commit
1ec2e52134
@ -1,3 +1,7 @@
|
||||
2000-07-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
||||
|
||||
* security.cc (read_sd): Eliminate OemToChar.
|
||||
|
||||
Mon Jul 4 18:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* poll.cc: New file. Implement `poll' system call.
|
||||
|
@ -487,9 +487,7 @@ read_sd(const char *file, PSECURITY_DESCRIPTOR sd_buf, LPDWORD sd_size)
|
||||
debug_printf("file = %s", file);
|
||||
|
||||
DWORD len = 0;
|
||||
char fbuf[PATH_MAX];
|
||||
OemToChar(file, fbuf);
|
||||
if (! GetFileSecurity (fbuf,
|
||||
if (! GetFileSecurity (file,
|
||||
OWNER_SECURITY_INFORMATION
|
||||
| GROUP_SECURITY_INFORMATION
|
||||
| DACL_SECURITY_INFORMATION,
|
||||
|
Loading…
x
Reference in New Issue
Block a user