[gs-bugs] [Bug 691164] PDF loads blank when not Administrator on Vista using GS 8.7
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Fri Apr 30 06:59:04 UTC 2010
http://bugs.ghostscript.com/show_bug.cgi?id=691164
--- Comment #10 from Masaki Ushizaka <masaki.ushizaka at artifex.com> 2010-04-30 06:59:01 UTC ---
Created an attachment (id=6240)
--> (http://bugs.ghostscript.com/attachment.cgi?id=6240)
b691164_b6.patch
Henry taught me this is not Windows only problem. On systems those have
mkstemp(), current code tries to create temporary files in current directory.
If current directory is read only, it just fails. This should be considered as
a bad behavior for a program like ghostscript, which tent to be run as a
daemon.
In this patch, I implemented a logic Ray suggested in comment 8, and wrote a
kind of mkstemp() for Windows.
I confirmed this runs correctly on Mac OS X (has mkstemp()) and on read only
current directory. This works on usual Windows system as well.
I would like Ken to test this patch on Vista, to confirm this patch fixes
original problem. I don't have Windows Vista and have not tested on it.
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list