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, 04 Feb 2003 15:11:10 -0500 From: Jason Tishler Subject: Re: mmap() issue affects cygipc (and PostgreSQL's PL/Tcl) In-reply-to: <20030204191128.GM5822@cygbert.vinschen.de> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20030204201110.GG1400@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i 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> <20030204191128 DOT GM5822 AT cygbert DOT vinschen DOT de> 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/