delorie.com/archives/browse.cgi | search |
From: | "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be> |
To: | <djgpp-workers AT delorie DOT com> |
Subject: | Re: Our unlink() isn't POSIX |
Date: | Tue, 19 Jun 2001 17:59:19 +0200 |
Message-ID: | <CAEGKOHJKAAFPKOCLHDIIEIBCEAA.tim.van.holder@pandora.be> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
In-Reply-To: | <Pine.SUN.3.91.1010619115603.7390N-100000@is> |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
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 |
> Can't you switch lclint to use `tmpfile' for those files that should > be automatically deleted? `tmpfile' is ANSI, so there shouldn't be a > problem to do that when buffered stdio functions are used for I/O. > (The usual nuisance with this defer-delete-until-closed feature is > with unbuffered Unix-style `open'/`write'/`close' I/O.) I suppose I could, but it would be a LOT of work (everything seems to be geared to use the file table (which holds all files - input files, temporary files, system headers, lclint definition files, ...). Simply adding the calls to the cleanup proc was a simpler solution (and did not require me to grok all the source). Maybe such changes can be made later - for now my goals are to a) autoconfiscate the tarball such that the build process is more or less identical to the current system (using a manually hacked configure script produced by autoconf 2.12 - ouch!) b) get a DJGPP build to work
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |