| delorie.com/archives/browse.cgi | search |
| From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
| Message-Id: | <200301192132.h0JLWrS25230@brother.ludd.luth.se> |
| Subject: | Re: _createnew |
| To: | djgpp-workers AT delorie DOT com |
| Date: | Sun, 19 Jan 2003 22:32:53 +0100 (MET) |
| In-Reply-To: | <3E2AEE88.311F6390@phekda.freeserve.co.uk> from "Richard Dawe" at Jan 19, 2003 06:29:28 PM |
| X-Mailer: | ELM [version 2.5 PL2] |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
According to Richard Dawe: > Martin Stromberg wrote: > > _creatnew does not honour the flags passed to it - it always opens it > > read-write mode > > If we really think we should do something, how about this for > > implementation: set some fd_props to say that only reading is allowed > > (and if somebody reads there's nothing to read as it's empty). > > I'm not sure I like that. Wouldn't it be better (more consistent) to rely on > DOS to maintain this information? Yes, if possible. But remember the potential race condition. Right, MartinS
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |