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

Martin Schröder martin at oneiros.de
Tue Dec 20 01:30:37 CET 2005


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)?

Best
    Martin
-- 
                    http://www.tm.oneiros.de


More information about the ntg-pdftex mailing list