Corinna, On Tue, Feb 04, 2003 at 06:48:04PM +0100, Corinna Vinschen wrote: > On Tue, Feb 04, 2003 at 11:59:30AM -0500, Jason Tishler wrote: > > The root cause of the problem is opening the file with the "O_TRUNC" > > flag -- without it, the open (in open2) succeeds. Unfortunately, > > cygipc seems to need open with truncation semantics for proper > > operation. > > I'm surprised that this is meant to work at all.
Me too. Looking "under the hood" of cygipc, is a little scary... :,) > However, did you check to omit the O_CREAT? Yes, and I just tried again to be sure. Without O_CREAT (but with O_TRUNC) still fails in the same way, without O_TRUNC (but with O_CREAT) does not fail. > I could easiliy imagine that Win32 doesn't like to remove and recreate > a file which is mmapped currently... Me too. Any other ideas? Or, are Cygwin PostgreSQL PL/Tcl users out of luck then? 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/