[gs-bugs] [Bug 689624] pdfwriter generates always wrong output with
some locale
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Mon Dec 24 14:58:34 PST 2007
http://bugs.ghostscript.com/show_bug.cgi?id=689624
------- Additional Comments From alex.cherepanov at artifex.com 2007-12-24 14:58 -------
Created an attachment (id=3659)
--> (http://bugs.ghostscript.com/attachment.cgi?id=3659&action=view)
patch
I think there's an easier
approach than re-implementation of printf().
We can use stock sprintf() and modify the output. The same should be done for
scanf(). The suggested patch implements this approach.
The patch has been tested only in the C locale where most of the code is not
executed. Probably, we need to contitionaly compile setlocale() function
into main() when setlocale() is available and requested by a special
compile-time parameter. Then set some wild locale and retest.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list