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
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/flock.cc')
-rw-r--r--winsup/cygwin/flock.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/flock.cc b/winsup/cygwin/flock.cc
index 74374d727..ecd2293fa 100644
--- a/winsup/cygwin/flock.cc
+++ b/winsup/cygwin/flock.cc
@@ -801,7 +801,7 @@ lockf_t::create_lock_obj ()
pinfo p (myself->ppid);
if (!p) /* No access or not a Cygwin parent. */
- return;
+ return;
parent_proc = OpenProcess (PROCESS_DUP_HANDLE
| PROCESS_CREATE_THREAD
@@ -1025,7 +1025,7 @@ fhandler_base::lock (int a_op, struct flock *fl)
case SEEK_END:
if (get_device () != FH_FS)
- start = 0;
+ start = 0;
else
{
NTSTATUS status;
@@ -2015,7 +2015,7 @@ fhandler_disk_file::mand_lock (int a_op, struct flock *fl)
if (CancelSynchronousIo (thr->thread_handle ()))
thr->detach ();
else
- thr->terminate_thread ();
+ thr->terminate_thread ();
if (NT_SUCCESS (lp.status))
NtUnlockFile (get_handle (), &io, &offset, &length, 0);
/* Per SUSv4: If a signal is received while fcntl is waiting,