delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/25/07:30:43

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200103251230.OAA12137@mother.ludd.luth.se>
Subject: Bug 323
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Sun, 25 Mar 2001 14:30:27 +0200 (MEST)
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

As you didn't like my previous attempt how about this:

RCS file: /cvs/djgpp/djgpp/include/fcntl.h,v
retrieving revision 1.5
diff -p -u -r1.5 fcntl.h
--- fcntl.h     2001/02/01 19:17:17     1.5
+++ fcntl.h     2001/03/07 01:12:42
@@ -37,13 +37,13 @@ extern "C" {

 #define O_BINARY       0x0004  /* must fit in char, reserved by dos */
 #define O_TEXT         0x0008  /* must fit in char, reserved by dos */
+#define O_APPEND       0x0010
 #define O_NOINHERIT    0x0080  /* DOS-specific */

 #define O_CREAT                0x0100  /* second byte, away from DOS bits */
 #define O_EXCL         0x0200
 #define O_NOCTTY       0x0400
 #define O_TRUNC                0x0800
-#define O_APPEND       0x1000
 #define O_NONBLOCK     0x2000

 #include <sys/types.h>


Right,

						MartinS

- Raw text -


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