This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fhandler.cc fhandl ...
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 22 Jul 2009 15:46:36 -0000
- Subject: src/winsup/cygwin ChangeLog fhandler.cc fhandl ...
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-07-22 15:46:36
Modified files:
winsup/cygwin : ChangeLog fhandler.cc fhandler.h flock.cc
Log message:
* fhandler.h (enum del_lock_called_from): New enumeration.
(fhandler_base::del_my_locks): Declare taking a del_lock_called_from
as argument.
* fhandler.cc (fhandler_base::close): Call del_my_locks with "on_close".
(fhandler_base::fixup_after_fork): Call del_my_locks with "after_fork".
(fhandler_base::fixup_after_exec): Call del_my_locks with "after_exec".
* flock.cc (fhandler_base::del_my_locks): Take del_lock_called_from
as argument. Call node->del_my_locks with NULL handle in after_exec
case. Explain why.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4583&r2=1.4584
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.350&r2=1.351
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.373&r2=1.374
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/flock.cc.diff?cvsroot=src&r1=1.23&r2=1.24