This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mmap() issue affects cygipc (and PostgreSQL's PL/Tcl)


Corinna,
Chris,

On Tue, Feb 04, 2003 at 08:11:28PM +0100, Corinna Vinschen wrote:
> On Tue, Feb 04, 2003 at 02:09:19PM -0500, Christopher Faylor wrote:
> > On Tue, Feb 04, 2003 at 08:00:43PM +0100, Corinna Vinschen wrote:
> > >Hmmm.  It looks as if cygipc would have to be changed to allow
> > >working w/o O_TRUNC.  I can't see any chance to change something in
> > >Cygwin to get that working.

Bummers, I thought so.

> > Doesn't CREATE_ALWAYS truncate the file anyway?  Couldn't we skip a
> > TRUNCATE_EXISTING in the case of a CREATE_ALWAYS?
> 
> We do.  Both operations (CREATE_ALWAYS as well as TRUNCATE_EXISTING)
> don't work on mmapped files.  Bad luck.

Chris and your help is appreciated anyways.

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]