Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 4 Feb 2003 20:11:28 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: mmap() issue affects cygipc (and PostgreSQL's PL/Tcl) Message-ID: <20030204191128.GM5822@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20030204165929 DOT GA1400 AT tishler DOT net> <20030204174804 DOT GI5822 AT cygbert DOT vinschen DOT de> <20030204182243 DOT GB1400 AT tishler DOT net> <20030204190043 DOT GK5822 AT cygbert DOT vinschen DOT de> <20030204190919 DOT GA4380 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030204190919.GA4380@redhat.com> User-Agent: Mutt/1.4i 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 AT cygwin DOT 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/