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)


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:
> >On Tue, Feb 04, 2003 at 01:22:43PM -0500, Jason Tishler wrote:
> >> Any other ideas?  Or, are Cygwin PostgreSQL PL/Tcl users out of luck
> >> then?
> >
> >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.
> 
> 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.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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