[NTG-pdftex] Re: [ pdftex-Feature Requests-87 ] In case of fatal errors, delete the output file

Olaf Weber olaf at infovore.xs4all.nl
Thu Dec 22 11:35:29 CET 2005

Martin Schröder writes:
> On 2005-12-19 21:58:42 +0100, Olaf Weber wrote:
>> For portability, use remove(3) instead of unlink(2).  If the file came

> Ah yes. Done.

>> out of xfopen, then we're already assured that pdftex opened it for
>> writing, so it should definitely be ours to remove.  I don't see
>> security issues here (they'd have to be dealt with at the point where
>> the file is opened).

> Good. Btw: exit(3) or abort(3)?

abort(3) means "leave core dump" on many platforms.

Olaf Weber

               (This space left blank for technical reasons.)

More information about the ntg-pdftex mailing list