bug-enscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-enscript] enscript and temp file location


From: Tapani Tarvainen
Subject: Re: [bug-enscript] enscript and temp file location
Date: Thu, 13 Nov 2008 15:19:20 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Thu, Nov 13, 2008 at 01:55:45PM +0100, Giulio Orsero (address@hidden) wrote:

> >     divertftp = fdopen(fd,"w+b");

> I need to add something to get the temp file deleted after its use.

Yeah. I guess the easiest way is to do

      unlink(filename);

just after opening it - then it will disappear when it's closed.

-- 
Tapani Tarvainen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]