[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4/locale-fr.m4: workaround NetBSD bug
From: |
Bruno Haible |
Subject: |
Re: m4/locale-fr.m4: workaround NetBSD bug |
Date: |
Sat, 24 Mar 2007 18:05:27 +0100 |
User-agent: |
KMail/1.5.4 |
> 2007-03-17 Bruno Haible <address@hidden>
>
> * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Check also the
> locale's decimal-point character.
This was buggy. Fixing it:
2007-03-24 Bruno Haible <address@hidden>
* m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Fix last change.
--- m4/locale-fr.m4 18 Mar 2007 00:03:06 -0000 1.3
+++ m4/locale-fr.m4 24 Mar 2007 17:04:19 -0000
@@ -1,4 +1,4 @@
-# locale-fr.m4 serial 5 (gettext-0.16.2)
+# locale-fr.m4 serial 6 (gettext-0.16.2)
dnl Copyright (C) 2003, 2005-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -56,7 +56,7 @@
/* Check whether the decimal separator is a comma.
On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
are nl_langinfo(RADIXCHAR) are both ".". */
- if (localeconv () ->decimal_point[0] != '.') return 1;
+ if (localeconv () ->decimal_point[0] != ',') return 1;
return 0;
}
changequote([,])dnl
@@ -144,7 +144,7 @@
/* Check whether the decimal separator is a comma.
On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
are nl_langinfo(RADIXCHAR) are both ".". */
- if (localeconv () ->decimal_point[0] != '.') return 1;
+ if (localeconv () ->decimal_point[0] != ',') return 1;
return 0;
}
changequote([,])dnl