summary refs log tree commit diff
path: root/sysdeps/sparc/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-08 21:20:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-08 21:20:06 +0000
commitd3d99893eeedbb681f6b9b76427c33129d69834d (patch)
tree104144f66e8fba0b8b8d1fd958b9df8bd2236c56 /sysdeps/sparc/bits
parenta1e88b9a2fe01ed6bb3ba749af7d98e89bb14d3f (diff)
downloadglibc-d3d99893eeedbb681f6b9b76427c33129d69834d.tar.gz
glibc-d3d99893eeedbb681f6b9b76427c33129d69834d.tar.xz
glibc-d3d99893eeedbb681f6b9b76427c33129d69834d.zip
Update.
	* catgets/gencat.c (main): Don't use exit() to avoid warnings with
	broken compilers.

	* include/features.h (__STDC_ISO_10646__): Correct value to be
	200009L.  Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.

2000-11-08  H.J. Lu  <hjl@gnu.org>

	* pwd/Versions (GLIBC_2.1.2): Add getpwnam_r.

2000-11-08  Jakub Jelinek  <jakub@redhat.com>

	* string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are
	defined, not _HAVE_STRING_ARCH_.
	* sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset,
	_USE_STRING_ARCH_strchr): Define.
	* sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset,
	_USE_STRING_ARCH_strchr): Define.
	* sysdeps/sparc/bits/string.h: New file.

2000-11-08  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Tweak <U2014> result.
	* locale/C-translit.h: Regenerated.

2000-11-08  Ulrich Drepper  <drepper@redhat.com>

	* posix/unistd.h: Add attribute((const)) to sysconf prototype.
Diffstat (limited to 'sysdeps/sparc/bits')
-rw-r--r--sysdeps/sparc/bits/string.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/sysdeps/sparc/bits/string.h b/sysdeps/sparc/bits/string.h
new file mode 100644
index 0000000000..a4c5ff10e2
--- /dev/null
+++ b/sysdeps/sparc/bits/string.h
@@ -0,0 +1,26 @@
+/* Optimized, inlined string functions.  SPARC version.
+   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.  */
+
+#ifndef _STRING_H
+# error "Never use <bits/string.h> directly; include <string.h> instead."
+#endif
+
+/* sparc32 and sparc64 strchr(x, '\0') perform better than
+   __rawmemchr(x, '\0').  */
+#define _HAVE_STRING_ARCH_strchr 1