Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-06 08:39:49 +0400
committerChristopher Faylor <me@cgf.cx>2002-09-06 08:39:49 +0400
commit788d78be793689e20bf4b3f1737793fe4c685fdf (patch)
tree8b6fe0ce73a0cdd13f56005a110ad0b61cb28f03 /winsup
parent4898f75e37575cf1db4be818f74834272d9195a0 (diff)
whitespace
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/path.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 3d992926c..eea04ab1b 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;