[Top][All Lists]
[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: |
Markus Steinborn |
Subject: |
Re: [bug-gv] Working around gs issues by changing to a safe working dir |
Date: |
Sun, 30 May 2010 18:46:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4 |
Bernhard R. Link schrieb:
* Markus Steinborn<address@hidden> [100530 18:12]:
I would in case the chdir failed try some more or less convenient places:
GV_LIBDIR (the resource files aren't thought to be a problem)
/ (normally not writeable for ordinary users, so usually you won't
find problematic files there, should work)
Perhaps creating some empty directory in /tmp or $HOME?
Sounds good.
and is it really necessary to quit the whole program on chmod error?
Only the child is exited (that would replace itself with gs, or quit in
the same way when gs cannot be started...)
Well, I see.
But in src/psscan.c (psscan), we have
if (system(cmd) || file_fileIsNotUseful(filename_dsc)) {
which is used to call call ps2dsc. So it did not pass the chdir done on
childs...
I'm sure that has not changed since 3.6.5 and even longer.
Greetings
Markus
PS: "Reply" in my seamonkey addresses the responses to mails from you
only to you,
"Reply all" adresses the responses to mails from you to you with
cc to address@hidden
If others wrote the mail (cc'ing you or to'ing you), it's likewise.