Subject: Re: Bug - O_CREAT
From: [email-masked]

6 Dec 1996 22:48:04 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
X-Authentication-Warning: orca.cs.wisc.edu: Host localhost [127.0.0.1] didn't use HELO protocol
Original-To: Tim Newsham <[email-masked]>
Original-cc: [email-masked]
In-reply-to: Tim Newsham's message of Fri, 06 Dec 1996 15:21:03 -1000.
Original-Sender: [email-masked]

>     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"       [email-masked]   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
"[email-masked]" with one line of text: "help".