delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/13/03:21:18

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
Message-ID: <3F39E6B5.9020605@x-ray.at>
Date: Wed, 13 Aug 2003 09:20:21 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.4a) Gecko/20030315
X-Accept-Language: de-at, de, en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cannot create <file>: permission denied
References: <20030811180612 DOT GB1136 AT tishler DOT net> <20030811190539 DOT GO3101 AT cygbert DOT vinschen DOT de> <20030811200134 DOT GA1392 AT tishler DOT net> <20030811205002 DOT GT3101 AT cygbert DOT vinschen DOT de> <20030812111203 DOT GA2316 AT tishler DOT net> <001101c360c8$8868c880$2c01a8c0 AT synergyinfotech DOT com>
In-Reply-To: <001101c360c8$8868c880$2c01a8c0@synergyinfotech.com>

Santhosh K schrieb:
> The same file is being opened and appended by other process also but not =
> simultaneously. This problem usually occurs after the size of file is =
> more than 20 Kb.
> Eg :
> 
> while(1)
> {
>     echo "
>         " >> file
>     FileAppend
> }
> 
> Here FileAppend is an executable which opens the same file in append =
> mode writes some data and closes the file.

typical windows io problem:
insert a usleep(100) (glibc) into FileAppend
or wait until it's ready again.

> Cygwin version : 20
> OS : Windows 2000
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019