From 8bdd924cac64f6776873726d2b1894630995b89e Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Sat, 28 Apr 2007 13:56:33 +0000 Subject: scanf behavior is locale-dependent, and the numeric type shouldn't be. 2007-04-28 Vincent Untz * desktop-entry-spec.xml: scanf behavior is locale-dependent, and the numeric type shouldn't be. Specify that the value is a floating point number as recognized by scanf in the C locale. Thanks to Dan Winship for catching this. http://lists.freedesktop.org/archives/xdg/2007-April/009732.html --- desktop-entry/ChangeLog | 8 ++++++++ desktop-entry/desktop-entry-spec.xml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'desktop-entry') diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog index 4b632ce..a494d49 100644 --- a/desktop-entry/ChangeLog +++ b/desktop-entry/ChangeLog @@ -1,3 +1,11 @@ +2007-04-28 Vincent Untz + + * desktop-entry-spec.xml: scanf behavior is locale-dependent, and the + numeric type shouldn't be. Specify that the value is a floating point + number as recognized by scanf in the C locale. + Thanks to Dan Winship for catching this. + http://lists.freedesktop.org/archives/xdg/2007-April/009732.html + 2007-04-28 Vincent Untz * desktop-entry-spec.xml: clarify description for the TryExec key. diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml index 0dbb940..9d510c2 100644 --- a/desktop-entry/desktop-entry-spec.xml +++ b/desktop-entry/desktop-entry-spec.xml @@ -186,7 +186,7 @@ Values of type numeric must be a valid floating point number as recognized by the %f specifier for - scanf. + scanf in the C locale. -- cgit v1.2.3-54-g00ecf