[Nagiosplug-devel] [ nagiosplug-Patches-2802895 ] Enforce C locale usage for parsing text output

SourceForge.net noreply at sourceforge.net
Mon Jun 15 12:37:36 CEST 2009


Patches item #2802895, was opened at 2009-06-08 14:29
Message generated for change (Comment added) made by hweiss
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2802895&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Guillaume Rousse (guillomovitch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enforce C locale usage for parsing text output

Initial Comment:
Many plugins rely on parsing text output. But the formatting of this output varies according to the current system locale, making it quite fragile. It was already reported for instance in https://sourceforge.net/tracker/index.php?func=detail&aid=1433114&group_id=29880&atid=397597

The attached patch, contributed former mandriva package maintainer Oden Eriksson,  enforces the use of C locale for all plugins, fixing the issue.

----------------------------------------------------------------------

>Comment By: Holger Weiß (hweiss)
Date: 2009-06-15 12:37

Message:
This patch would eliminate the locale specific output generated by most
plugins; that's not an option, sorry. Therefore, we can only accept patches
which enforce the C locale specifically for the execution of external
commands (as in #1433114).

----------------------------------------------------------------------

Comment By: Jan Wagner (cyco_dd)
Date: 2009-06-15 11:53

Message:
any chance to get that into 1.4.14?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2802895&group_id=29880




More information about the Devel mailing list