This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
fork inherited lock of open files (XP)
- From: Dominik Jänicke <dominik dot jaenicke at softec dot de>
- To: <cygwin at cygwin dot com>
- Date: Fri, 11 Oct 2002 10:02:17 +0200
- Subject: fork inherited lock of open files (XP)
Hello,
under WinXP fork() inherited lock of open files.
Following Scenario:
WinPrg1 open file with lock and exec the bash.
The Bash start "cmd /c start WinPrg2" and exits without wait for WinPrg2.
WinPrg1 close its files.
All files opend by WinProg1 locked (access --> permission denied) until
WinProg2 ends.
Is this a bug in fork() ?
The same Scenario works with WinNt, e.g. access is possible.
cygwin rel-1.3.12-2
MfG
Dominik Jaenicke
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/