This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog dcrt0.cc flock.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: Mon, 10 Feb 2014 10:45:51 +0000
- Subject: src/winsup/cygwin ChangeLog dcrt0.cc flock.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2014-02-10 10:45:51
Modified files:
winsup/cygwin : ChangeLog dcrt0.cc flock.cc
Log message:
* dcrt0.cc (child_info_spawn::handle_spawn): Call fixup_lockf_after_exec
with additional argument to specify if the process has been execed
or spawned.
* flock.cc (fixup_lockf_after_exec): Take bool parameter to handle
exec and spawn differently. In case of spawn, just give up POSIX
locks in favor of the still running parent. Add comments to explain.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6320&r2=1.6321
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dcrt0.cc.diff?cvsroot=src&r1=1.452&r2=1.453
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/flock.cc.diff?cvsroot=src&r1=1.58&r2=1.59