bug-gv
[Top][All Lists]
Advanced

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

Re: [bug-gv] Working around gs issues by changing to a safe working dir


From: Bernhard R. Link
Subject: Re: [bug-gv] Working around gs issues by changing to a safe working dir
Date: Thu, 3 Jun 2010 13:08:06 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Markus Steinborn <address@hidden> [100602 17:14]:
>> - create the directory on install time
>>
> done - and if it does not exists, a temporary one's created at runtime.  
> In case of normal exit, it's removed again.

+       strcpy(buffer, "/tmp/gv-safe-workdir-XXXXXX");

Hard-coding /tmp is a bit unfortunate. This is different than the
current behaviour which uses .scratchDir for temporary stuff.
If it is not configurable via resources, it should at least look
at TMPDIR environment variable instead of assuming /tmp is the proper
place.

        Bernhard R. Link



reply via email to

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