summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-26 04:48:25 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-26 04:48:25 +0000
commit6c163862c4e1322dacb9e6aa54e79c09a8aada63 (patch)
tree88ae046b0666a408620e70b96a317f21cb600b63 /locale
parent0b95971d92a07bdc4719f41fbbb23cfc8decb2f7 (diff)
downloadglibc-6c163862c4e1322dacb9e6aa54e79c09a8aada63.tar.gz
glibc-6c163862c4e1322dacb9e6aa54e79c09a8aada63.tar.xz
glibc-6c163862c4e1322dacb9e6aa54e79c09a8aada63.zip
Update.
2000-09-25  Ulrich Drepper  <drepper@redhat.com>

	* locale/Makefile (routines): Add nl_langinfo_l.
	* locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
	* locale/nl_langinfo_l.c: New file.
Diffstat (limited to 'locale')
-rw-r--r--locale/Makefile2
-rw-r--r--locale/Versions3
-rw-r--r--locale/nl_langinfo_l.c20
3 files changed, 24 insertions, 1 deletions
diff --git a/locale/Makefile b/locale/Makefile
index ce9747bd00..2b278d574f 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -35,7 +35,7 @@ distribute	= localeinfo.h categories.def iso-639.def iso-3166.def \
 			      locfile.h charmap.h repertoire.h localedef.h \
 			      3level.h)
 routines	= setlocale findlocale loadlocale localeconv nl_langinfo \
-		  mb_cur_max codeset_name \
+		  nl_langinfo_l mb_cur_max codeset_name \
 		  newlocale duplocale freelocale
 categories	= ctype messages monetary numeric time paper name \
 		  address telephone measurement identification collate
diff --git a/locale/Versions b/locale/Versions
index e100c6b623..9c3bda4ffd 100644
--- a/locale/Versions
+++ b/locale/Versions
@@ -44,5 +44,8 @@ libc {
 
     # more functions from the experimental locale implementation
     __wctrans_l;
+
+    # missing function from the experimental locale implementation
+    __nl_langinfo_l;
   }
 }
diff --git a/locale/nl_langinfo_l.c b/locale/nl_langinfo_l.c
new file mode 100644
index 0000000000..d333350d94
--- /dev/null
+++ b/locale/nl_langinfo_l.c
@@ -0,0 +1,20 @@
+/* Copyright (C) 2000 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+#define USE_IN_EXTENDED_LOCALE_MODEL 1
+#include <nl_langinfo.c>