From: bolo@cs.wisc.edu
Subject: Re: Bug - O_CREAT
6 Dec 1996 22:48:04 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199612070526.XAA12327.cygnus.gnu-win32@orca.cs.wisc.edu>
X-Authentication-Warning: orca.cs.wisc.edu: Host localhost [127.0.0.1] didn't use HELO protocol
Original-To: Tim Newsham <newsham@aloha.net>
Original-cc: gnu-win32@cygnus.com
In-reply-to: Tim Newsham's message of Fri, 06 Dec 1996 15:21:03 -1000.
Original-Sender: owner-gnu-win32@cygnus.com

>     Stumbled across a problem in cygwin32.  The
> open function does not behave as unix' open.  In
> particular if an O_CREAT flag is passed and the file
> already exists, the file is truncated to zero length.
> The file should not be truncated as the O_TRUNC flag
> was not specified.  As a test:

I recently submitted a fix for this problem.  Hopefully it will make
b17.

| Joe Burger   U of WI-Madison Computer Sciences| "Blessed are the Peacemakers"
| "bolo"       bolo@cs.wisc.edu   uwvax!bolo    | -- Jesus Christ, endorsing
|              http://www.cs.wisc.edu/~bolo/    | Samuel Colt's Revolvers
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
