whitespace
This commit is contained in:
parent
4898f75e37
commit
788d78be79
|
@ -2641,7 +2641,7 @@ symlink (const char *topath, const char *frompath)
|
||||||
set_security_attribute (S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO,
|
set_security_attribute (S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO,
|
||||||
&sa, alloca (4096), 4096);
|
&sa, alloca (4096), 4096);
|
||||||
|
|
||||||
h = CreateFileA(win32_path, GENERIC_WRITE, 0, &sa,
|
h = CreateFile (win32_path, GENERIC_WRITE, 0, &sa,
|
||||||
CREATE_NEW, FILE_ATTRIBUTE_NORMAL, 0);
|
CREATE_NEW, FILE_ATTRIBUTE_NORMAL, 0);
|
||||||
if (h == INVALID_HANDLE_VALUE)
|
if (h == INVALID_HANDLE_VALUE)
|
||||||
__seterrno ();
|
__seterrno ();
|
||||||
|
@ -3037,8 +3037,8 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt)
|
||||||
|
|
||||||
/* Open the file. */
|
/* Open the file. */
|
||||||
|
|
||||||
h = CreateFileA (suffix.path, GENERIC_READ, FILE_SHARE_READ, &sec_none_nih, OPEN_EXISTING,
|
h = CreateFile (suffix.path, GENERIC_READ, FILE_SHARE_READ,
|
||||||
FILE_ATTRIBUTE_NORMAL, 0);
|
&sec_none_nih, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
|
||||||
res = -1;
|
res = -1;
|
||||||
if (h == INVALID_HANDLE_VALUE)
|
if (h == INVALID_HANDLE_VALUE)
|
||||||
goto file_not_symlink;
|
goto file_not_symlink;
|
||||||
|
|
Loading…
Reference in New Issue