delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/03/04/07:14:35

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AA231A3.4B9D7FF2@yahoo.com>
Date: Sun, 04 Mar 2001 07:14:27 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Joerg Schilling <schilling AT fokus DOT gmd DOT de>
CC: cygwin-developers AT cygwin DOT com
Subject: Re: fcntl(f, F_SETLK, &fl) problem on Cygwin 1.1.8(0.34/3/2)
References: <200103030113 DOT CAA24952 AT fokus DOT gmd DOT de>

This list is to be used among the developers of the Cygwin1.dll API. 
Move your question to a more appropriate list.

Earnie.

Joerg Schilling wrote:
> 
> >From: Christopher Faylor <cgf AT redhat DOT com>
> 
> >On Wed, Feb 28, 2001 at 01:42:05PM +0100, schilling AT fokus DOT gmd DOT de wrote:
> >>It seems that a write lock on a file hold by a process
> >>inhibits read access from the same process:
> 
> >And, your proposed fix is...?
> 
> >This is cygwin-developers, right?  We do cygwin development here.
> 
> OK, so let me ask a bit more precise:
> 
> VED (and similar nvi) does record locking of edited files by first
> opening the file with O_RDWR and applying a record lock. Then it opens
> the the file for reading and reads the file into the buffer.
> 
> This definitely does not work with Cygwin on Win ME.
> 
> -       Will this work on Win NT ?
> 
> If not, I could try to re-use the file descriptor from the record
> locking call for reading in the file and later for writing it out.
> But then there should definitely a fix in cygwin or a hint in the FAQ.
> 
> Jörg
> 
>  EMail:joerg AT schily DOT isdn DOT cs DOT tu-berlin DOT de (home) Jörg Schilling D-13353 Berlin
>        js AT cs DOT tu-berlin DOT de               (uni)  If you don't have iso-8859-1
>        schilling AT fokus DOT gmd DOT de           (work) chars I am J"org Schilling
>  URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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