delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |