Comment 14 for bug 1159931

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

(In reply to comment #4)
> (In reply to comment #3)
> > Talked to the ghostcript devels and they agree it's a bug in their side, for
> > now they said we can workaround it by adding
> > char *lala = setlocale(LC_ALL, "POSIX");
> > gsaspi_call
> > setlocale(LC_ALL, lala);
> >
> > to our code.
>
> for every call to the GS API?

That's what they said

>
> > Carlos, what do you think?
>
> The problem of that hack is that setlocale might affect other threads
> currently running.

Oh, that's bad

> Do we know which versions exactly are affected by this
> bug?

9.07

> Is it fixed already? is there a patch distros could apply?
No clue, i told them on IRC and they said the bug has been there forever, but it's not since with 9.06 it works, they said they'd fix it but can't find anything in their git log that says it's been fixed. Going to download and compile now to try here