aboutsummaryrefslogtreecommitdiff
path: root/locale/lc-collate.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-08 19:09:39 +0000
committerRoland McGrath <roland@gnu.org>1995-04-08 19:09:39 +0000
commit883bc19b7c819edce146ca43b77991f7dcf0608b (patch)
tree33786f9e6d51680425f70d294b35237aa03f71da /locale/lc-collate.c
parent8ab69eb33086a5cb11846414487fe22da5b93154 (diff)
downloadglibc-883bc19b7c819edce146ca43b77991f7dcf0608b.zip
glibc-883bc19b7c819edce146ca43b77991f7dcf0608b.tar.gz
glibc-883bc19b7c819edce146ca43b77991f7dcf0608b.tar.bz2
* locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
mmap call. * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4 for these too. * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly set c_oflag value. * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash. * locale/Makefile (categories): Uncomment collate. * locale/lc-collate.c: New file.
Diffstat (limited to 'locale/lc-collate.c')
-rw-r--r--locale/lc-collate.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/locale/lc-collate.c b/locale/lc-collate.c
new file mode 100644
index 0000000..8684f23
--- /dev/null
+++ b/locale/lc-collate.c
@@ -0,0 +1,22 @@
+/* Define current locale data for LC_COLLATE category.
+Copyright (C) 1995 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., 675 Mass Ave,
+Cambridge, MA 02139, USA. */
+
+#include "localeinfo.h"
+
+_NL_CURRENT_DEFINE (LC_COLLATE);