delorie.com/archives/browse.cgi | search |
Message-ID: | <39C62F51.678BEA69@softhome.net> |
Date: | Mon, 18 Sep 2000 17:05:53 +0200 |
From: | Laurynas Biveinis <lauras AT softhome DOT net> |
X-Mailer: | Mozilla 4.75 [en] (Win98; U) |
X-Accept-Language: | lt,en |
MIME-Version: | 1.0 |
To: | djgpp-workers AT delorie DOT com |
Subject: | Re: O_APPEND |
References: | <200009171733 DOT TAA19894 AT father DOT ludd DOT luth DOT se> |
Reply-To: | djgpp-workers AT delorie DOT com |
Martin Str|mberg wrote: > newmode = (oldmode & ~(O_BINARY|O_TEXT)) | (mode & (O_BINARY|O_TEXT)); > > becomes: > > newmode = (oldmode & ~(O_BINARY|O_TEXT|O_APPEND)) | (mode & (O_BINARY|O_TEXT|O_APPEND)); I don't know this code, but maybe you should introduce new mask which covers O_BINARY|O_TEXT|O_APPEND and any possible future expansions? > I don't understand this so I don't know if O_APPEND should go beside > O_BINARY and O_TEXT or not. Is there any reason it shouldn't? Laurynas
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |