From fcc83a44eaa1702c21373c569acb96d0d212f0af Mon Sep 17 00:00:00 2001 From: corinna Date: Mon, 24 Mar 2008 15:12:24 +0000 Subject: [PATCH] * flock.cc: Fix typo in comment. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/flock.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4440b0eab5..71fb0b75a0 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2008-03-24 Corinna Vinschen + * flock.cc: Fix typo in comment. + +2008-03-24 Corinna Vinschen + * fhandler.cc (fhandler_base::dup): Drop setting flags in the parent. Implement advisory file locking. diff --git a/winsup/cygwin/flock.cc b/winsup/cygwin/flock.cc index 1367060ea3..8ec6e160b1 100644 --- a/winsup/cygwin/flock.cc +++ b/winsup/cygwin/flock.cc @@ -138,7 +138,7 @@ descriptors, or when all such descriptors have been closed. If a process uses open(2) (or similar) to obtain more than one - descrip- tor for the same file, these descriptors are treated + descriptor for the same file, these descriptors are treated independently by flock(). An attempt to lock the file using one of these file descriptors may be denied by a lock that the calling process has already placed via another descriptor. */ -- 2.11.0