summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-02-20 00:16:18 +0000
committerChristopher Faylor <me@cgf.cx>2007-02-20 00:16:18 +0000
commit510a85cbf974e4e1590a5eb625177795642ac9b8 (patch)
tree8c68ab8e8193d54a52f37ab507427ee6cfb62190 /winsup/cygwin/syscalls.cc
parentb440e09025fc34d119c8f3f03a3ba6088e8c05ae (diff)
downloadcygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.tar.gz
cygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.tar.bz2
cygnal-510a85cbf974e4e1590a5eb625177795642ac9b8.zip
Remove extraneous whitespace.
* pinfo.cc (commune_process): Use default argument to lock_process. * sigproc.cc: Update copyright. * select.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 6a0e45fb5..9a1eaa1fa 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -253,10 +253,10 @@ unlink_nt (path_conv &win32_name, bool setattrs)
is opened "delete on close", the rename operation in try_to_bin fails
with STATUS_ACCESS_DENIED. So directories must be deleted using
NtSetInformationFile, class FileDispositionInformation, which works fine.
-
+
Correction, moving a directory opened with delete-on-close fails ONLY
on XP. Note to myself: Never take anything for granted on Windows!
-
+
Don't try "delete on close" if the file is on a remote share. If two
processes have open handles on a file and one of them calls unlink, then
it happens that the file is removed from the remote share even though the