| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | =?iso-8859-1?Q?Dominik_J=E4nicke?= <dominik DOT jaenicke AT softec DOT de> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | fork inherited lock of open files (XP) |
| Date: | Fri, 11 Oct 2002 10:02:17 +0200 |
| Message-ID: | <NEBBLGDJPMPNCOGBFMMPGEOJCBAA.dominik.jaenicke@softec.de> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
| Importance: | Normal |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |