After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300886 - Patch fixing use of setlocale() calls in psprint code
Patch fixing use of setlocale() calls in psprint code
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
CVS head
Other Linux
: Normal trivial
: 0.95
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-16 18:33 UTC by Radek Krahl
Modified: 2005-04-23 14:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing use of setlocale() calls in psprint code (3.75 KB, patch)
2005-04-16 18:34 UTC, Radek Krahl
none Details | Review
Patch fixing use of setlocale() calls in psprint code v2 (3.89 KB, patch)
2005-04-16 18:41 UTC, Radek Krahl
committed Details | Review

Description Radek Krahl 2005-04-16 18:33:35 UTC
Code which prints to postcript uses temporary changing of locale to avoid
problems with decimal separator in numbers. More appropriate method is to use
g_ascii_* functions from glib.
Comment 1 Radek Krahl 2005-04-16 18:34:04 UTC
Created attachment 45331 [details] [review]
Patch fixing use of setlocale() calls in psprint code
Comment 2 Radek Krahl 2005-04-16 18:41:43 UTC
Created attachment 45332 [details] [review]
Patch fixing use of setlocale() calls in psprint code v2

Forgot to remove #include <locale.h> line, it isn't needed anymore.
Comment 3 Hans Breuer 2005-04-23 14:38:19 UTC
Applied, thanks.

2005-04-23  Hans Breuer  <hans@breuer.org>

	* app/paginate_psprint.c :  fixing use of setlocale() calls
	(Radek Krahl, bug #300886)