summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-30 07:54:01 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-30 07:54:01 +0000
commitab585100568ac2a395d885f14372a2e6c3ea775b (patch)
treeff9f9cd443b2d78c6003b846d60f7a0e64efaad7
parent0abb35a840d29f59b4680b87b28c1f8d18b95390 (diff)
downloaddrakx-ab585100568ac2a395d885f14372a2e6c3ea775b.tar
drakx-ab585100568ac2a395d885f14372a2e6c3ea775b.tar.gz
drakx-ab585100568ac2a395d885f14372a2e6c3ea775b.tar.bz2
drakx-ab585100568ac2a395d885f14372a2e6c3ea775b.tar.xz
drakx-ab585100568ac2a395d885f14372a2e6c3ea775b.zip
add setlocate() and LC_COLLATE for common.pm
-rw-r--r--perl-install/c/stuff.xs.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 15c39bf04..4c95e5b0d 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -38,6 +38,7 @@ print '
#include <net/route.h>
#include <netinet/in.h>
#include <linux/sockios.h>
+#include <locale.h>
// for ethtool structs:
typedef unsigned long long u64;
@@ -242,6 +243,13 @@ init_setlocale()
setlocale(LC_NUMERIC, "C"); /* otherwise eval "1.5" returns 1 in fr_FR for example */
char *
+setlocale(category, locale = 0)
+ int category
+ char * locale
+
+
+
+char *
bindtextdomain(domainname, dirname)
char * domainname
char * dirname
@@ -773,6 +781,7 @@ get_iso_volume_ids(int fd)
MS_MGC_VAL O_WRONLY O_RDWR O_CREAT O_NONBLOCK F_SETFL F_GETFL WNOHANG
VT_ACTIVATE VT_WAITACTIVE VT_GETSTATE CDROM_LOCKDOOR CDROMEJECT CDROM_DRIVE_STATUS
LOG_WARNING LOG_INFO LOG_LOCAL1
+ LC_COLLATE
) ],
);