delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/23/19:27:34

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10108232323.AA13152@clio.rice.edu>
Subject: _creat* patches
To: djgpp-workers AT delorie DOT com (DJGPP developers)
Date: Thu, 23 Aug 2001 18:23:47 -0500 (CDT)
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Found a problem.  If you _creat* a file with the readonly attribute, you
can write to it, but if you close it and reoopen it you can't open with
write access.

I'll check the open return code and if it fails continue to use the 
LFN handle.  There may be some minor incompatibilies on such files due
to the LFN handle, but they are minor and it's better to retain 
functionality.

When I'm satisfied I'll commit.

- Raw text -


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