delorie.com/archives/browse.cgi | search |
Date: | Thu, 22 Apr 1999 12:01:07 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | DJ Delorie <dj AT delorie DOT com> |
cc: | djgpp-workers AT delorie DOT com |
Subject: | Re: A workaround for Unix-style temporary files |
In-Reply-To: | <199904211620.MAA01705@envy.delorie.com> |
Message-ID: | <Pine.SUN.3.91.990422120056.15748X-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Wed, 21 Apr 1999, DJ Delorie wrote: > > I don't know about Win9x and the DOS variants. > > They corrupt your hard drive if you try this. DOS could cause drive corruption, if the program continues to write after unlinking. Windows 9X is a bit smarter: it fails the `unlink' call, so the file is never removed (but at least your disk isn't toast), and if the program tests the return value, which most don't, you'll see an error message (EACCES, of course ;-).
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |