From 94befdcfdb03f8793df34f3016fad1f90906ccf9 Mon Sep 17 00:00:00 2001 From: cgf Date: Fri, 6 Sep 2002 04:39:49 +0000 Subject: [PATCH] whitespace --- winsup/cygwin/path.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 3d992926cd..eea04ab1ba 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -406,7 +406,7 @@ path_conv::fillin (HANDLE h) fs.serial = local.dwVolumeSerialNumber; } fs.drive_type = DRIVE_UNKNOWN; -} +} /* Convert an arbitrary path SRC to a pure Win32 path, suitable for passing to Win32 API routines. @@ -2641,7 +2641,7 @@ symlink (const char *topath, const char *frompath) set_security_attribute (S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO, &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); if (h == INVALID_HANDLE_VALUE) __seterrno (); @@ -3037,8 +3037,8 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt) /* Open the file. */ - h = CreateFileA (suffix.path, GENERIC_READ, FILE_SHARE_READ, &sec_none_nih, OPEN_EXISTING, - FILE_ATTRIBUTE_NORMAL, 0); + h = CreateFile (suffix.path, GENERIC_READ, FILE_SHARE_READ, + &sec_none_nih, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); res = -1; if (h == INVALID_HANDLE_VALUE) goto file_not_symlink; -- 2.11.0