delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/06/22:48:04

From: bolo AT cs DOT wisc DOT edu
Subject: Re: Bug - O_CREAT
6 Dec 1996 22:48:04 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT 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 AT aloha DOT net>
Original-cc: gnu-win32 AT cygnus DOT com
In-reply-to: Tim Newsham's message of Fri, 06 Dec 1996 15:21:03 -1000.
Original-Sender: owner-gnu-win32 AT cygnus DOT 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 AT cs DOT wisc DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019