From: "Tim Van Holder" To: Subject: Re: Our unlink() isn't POSIX Date: Tue, 19 Jun 2001 17:59:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: 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 Precedence: bulk > 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