Ulrich Drepper
a352ab4ca5
Add const to first parameter of find_entry, iterate_table, and lookup.
2001-12-10 01:18:36 +00:00
Geoff Keating
ba2dfdef58
* sysdeps/powerpc/Dist: Update for recent FP changes.
...
* sysdeps/powerpc/fpu/Dist: Likewise.
2001-12-07 Geoff Keating <geoffk@redhat.com>
* sysdeps/powerpc/Dist: Update for recent FP changes.
* sysdeps/powerpc/fpu/Dist: Likewise.
2001-12-07 23:59:15 +00:00
Andreas Schwab
3685531817
* sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.
2001-12-07 15:39:43 +00:00
Andreas Schwab
b8794ed34e
Include <string.h>.
2001-12-07 15:39:30 +00:00
Geoff Keating
79d91867cc
Remade for development-2.2.90
2001-12-06 23:48:26 +00:00
Geoff Keating
6f064efa4c
* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
...
save/restore functions here.
(libm-support): Don't define these functions here.
* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
functions here.
* sysdeps/powerpc/fe_nomask.c: Move to...
* sysdeps/powerpc/fpu/fe_nomask.c: ... here.
* sysdeps/powerpc/fprrest.S: Move to...
* sysdeps/powerpc/fpu/fprrest.S: ... here.
* sysdeps/powerpc/fprsave.S: Move to...
* sysdeps/powerpc/fpu/fprsave.S: ... here.
2001-12-06 Geoff Keating <geoffk@redhat.com>
* sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
save/restore functions here.
(libm-support): Don't define these functions here.
* sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
functions here.
* sysdeps/powerpc/fe_nomask.c: Move to...
* sysdeps/powerpc/fpu/fe_nomask.c: ... here.
* sysdeps/powerpc/fprrest.S: Move to...
* sysdeps/powerpc/fpu/fprrest.S: ... here.
* sysdeps/powerpc/fprsave.S: Move to...
* sysdeps/powerpc/fpu/fprsave.S: ... here.
2001-12-06 23:41:33 +00:00
Ulrich Drepper
231340451b
Update.
...
2001-12-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/opensock.c: New file.
2001-12-06 23:05:22 +00:00
Ulrich Drepper
c7f031cb93
Open socket for communication with network layer.
2001-12-06 23:02:00 +00:00
Geoff Keating
675322a535
* config.make.in (with-fp): Define from configure.
...
* configure.in: Substitute with_fp.
* configure: Regenerate.
* powerpc/Makefile: Set -msoft-float when --without-fp is specified,
and don't change FPU environment.
2001-12-06 Geoff Keating <geoffk@redhat.com>
* config.make.in (with-fp): Define from configure.
* configure.in: Substitute with_fp.
* configure: Regenerate.
* sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is
specified, and don't change FPU environment.
2001-12-06 09:17:26 +00:00
Ulrich Drepper
383bd1c503
Update.
...
2001-12-06 Ulrich Drepper <drepper@redhat.com>
* libio/vasprintf.c (_IO_vasprintf): Free buffer on failure.
* assert/assert.c: Check result of __asprintf call and don't use
string if it failed.
* assert/assert-perr.c: Likewise.
* inet/rcmd.c: Likewise.
* locale/programs/localedef.c (main): Check result of
construct_output_path and exit if it failed.
(construct_output_path): Check result of asprintf and mkdir calls and
fail if they failed.
* posix/getopt.c: Check result of __asprintf calls and fail if
they failed.
Patch by Dmitry V. Levin <ldv@alt-linux.org>.
2001-12-06 08:49:08 +00:00
Ulrich Drepper
1e06620a7b
Update.
...
* string/tester.c: Add tests for strcasecmp and strncasecmp.
* Versions.def (libc): Add GCC_3.0.
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0.
2001-12-06 07:59:42 +00:00
Ulrich Drepper
f5e6e2ee30
Update.
...
* sysdeps/generic/strncase.c: Likewise.
2001-12-06 05:11:32 +00:00
Ulrich Drepper
c7b4c95cd1
Update.
...
2001-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance
patch.
2001-12-06 04:44:33 +00:00
Ulrich Drepper
516a9b2a85
(__strcasecmp): Little performance patch.
2001-12-06 01:22:25 +00:00
Geoff Keating
71ede9a8f8
* scripts/cpp: Test the exit status from 'type', not 'awk'.
...
* scripts/cpp: Test the exit status from 'type', not 'awk'.
2001-12-06 01:21:03 +00:00
Geoff Keating
5786183905
* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
...
* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.
2001-12-05 Geoff Keating <geoffk@redhat.com>
* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.
2001-12-06 00:12:11 +00:00
Ulrich Drepper
fa13c459a1
Update.
...
* locales/bg_BG: Rewrite.
Patch by Alexander Shopov <al_shopov@web.bg>.
2001-12-05 22:32:52 +00:00
Ulrich Drepper
d803132604
Update.
...
* iconvdata/testdata/TCVN-5712: New file.
* iconvdata/testdata/TCVN-5712..UTF8: New file.
2001-12-05 19:32:18 +00:00
Ulrich Drepper
29132b9151
Update.
...
* iconvdata/ibm1129.h: Remove duplicate mappings.
* iconvdata/ibm937.c: Handle overflow errors. Handle new tables.
* iconvdata/ibm937.h: Reorganize table to safe a lot of space.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
* timezone/zic.c: Fix handling of turnaround times.
Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.
2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com>
* sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
overflow problem.
2001-12-05 Ulrich Drepper <drepper@redhat.com>
* posix/regex.c: For use outside glibc defined bounded pointer
macros here. Patch by Jim Meyering <jim@meyering.net>.
2001-12-05 19:19:20 +00:00
Ulrich Drepper
350b053ae9
Update.
...
2001-12-05 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add TCVN5712-1.
* iconvdata/TESTS: Add TCVN5712-1.
* iconvdata/gconv-modules: Likewise.
* iconvdata/tcvn5712-1.c: New file.
* iconvdata/testdata/TCVN5712-1: New file.
* iconvdata/testdata/TCVN5712-1..UTF8: New file.
2001-12-05 10:11:07 +00:00
Ulrich Drepper
aaa19e67ad
Update.
...
2001-12-04 Ulrich Drepper <drepper@redhat.com>
* iconvdata/cp1258.c: Optimize conversion from UCS4.
2001-12-05 04:30:39 +00:00
Ulrich Drepper
715e158fc7
Update.
...
2001-12-03 Ulrich Drepper <drepper@redhat.com>
* locales/translit_neutral: Define transliteration for dong sign.
2001-12-04 00:02:32 +00:00
Ulrich Drepper
04ffe32d00
Define transliteration for dong sign.
2001-12-04 00:00:55 +00:00
Roland McGrath
c337dc4c8b
* mach/Makefile, mach/Machrules: Move comments out of \ continuations.
2001-12-02 22:13:05 +00:00
Roland McGrath
4f904363e4
* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
...
Reported by Jeff Bailey <jbailey@nisa.net>.
Reported by Jeff Bailey <jbailey@nisa.net>.
2001-12-02 19:45:22 +00:00
Roland McGrath
5ca3ec06e0
* hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
2001-12-02 19:43:55 +00:00
Roland McGrath
ce944fef4e
* mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
...
* mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
Reported by Jeff Bailey <jbailey@nisa.net>.
2001-12-02 19:34:28 +00:00
Roland McGrath
c21b1e2f8f
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
...
missing backslash in test arguments.
* sysdeps/mach/hurd/configure: Regenerated.
2001-11-26 Roland McGrath <roland@frob.com>
* hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null.
Reported by John Tobey <jtobey@john-edwin-tobey.org>.
2001-12-02 00:01:27 +00:00
Roland McGrath
9ad72f61cc
2001-12-01 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
missing backslash in test arguments.
* sysdeps/mach/hurd/configure: Regenerated.
2001-12-02 00:01:20 +00:00
Ulrich Drepper
f67125e3c7
Update.
...
2001-11-30 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add ARMSCII-8.
* iconvdata/gconv-modules: Add entries for ARMSCII-8.
* iconvdata/armscii-8.c: New file.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call.
2001-12-01 07:10:53 +00:00
Ulrich Drepper
c3317d1e8b
Update.
...
2001-11-30 Andreas Schwab <schwab@suse.de>
* pthread.c (pthread_handle_sigcancel) [THREAD_SELF]: Double check
that self is the manager thread, and initialize the thread
register if not.
(thread_self_stack) [THREAD_SELF]: New function to find self via
stack pointer.
* manager.c (pthread_handle_create): Don't block cancel signal any
more.
(THREAD_GETMEM_NC):
2001-11-30 21:14:09 +00:00
Ulrich Drepper
096f115125
Update.
...
2001-11-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces
don't match, fix {{a,b},c} globbing, clean up.
Patch by Flavio Veloso <flaviovs@magnux.com>.
* posix/globtest.sh: Add new tests.
2001-11-29 21:57:56 +00:00
Ulrich Drepper
638670cd4e
(next_brace_sub): Return NULL if braces don't match, fix {{a,b},c} globbing, clean up.
2001-11-29 21:53:29 +00:00
Andreas Jaeger
647530279e
Update.
...
* sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl.
2001-11-29 16:44:59 +00:00
Andreas Jaeger
a47fd6810c
Update.
...
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl
call.
2001-11-29 16:28:03 +00:00
Andreas Jaeger
42060dad5d
Update.
...
2001-11-29 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/abort.c: Include libioP.h for
_IO_flush_all_lockp prototype.
2001-11-29 11:12:04 +00:00
Andreas Jaeger
f43cc81c01
Include libioP.h for _IO_flush_all_lockp prototype.
2001-11-29 11:11:36 +00:00
Ulrich Drepper
8343eaee4a
Update.
...
2001-11-29 Ulrich Drepper <drepper@redhat.com>
* posix/regex.h: Define __restrict_arr correctly.
2001-11-29 08:51:52 +00:00
Ulrich Drepper
03a2c6475b
Update.
...
* iconvdata/ibm1163.c: New file.
* iconvdata/ibm1163.h: New file.
* iconvdata/ibm1164.c: New file.
* iconvdata/ibm1164.h: New file.
* iconvdata/TESTS: Add entries for IBM1163 and IBM1164.
* iconvdata/Makefile: Likewise.
* iconvdata/testdata/IBM1163: New file.
* iconvdata/testdata/IBM1163..UTF8: New file.
* iconvdata/testdata/IBM1164: New file.
* iconvdata/testdata/IBM1164..UTF8: New file.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
* iconvdata/ibm1046.h: Optimize. Remove duplicate mappings.
* iconvdata/ibm1124.h: Likewise.
* iconvdata/ibm1132.h: Likewise.
* iconvdata/ibm1133.h: Likewise.
* iconvdata/ibm1160.h: Likewise.
* iconvdata/ibm1161.h: Likewise.
* iconvdata/ibm1162.h: Likewise.
* iconvdata/ibm856.h: Likewise.
* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/ibm930.c: Pretty printing.
* iconvdata/ibm937.c: Avoid access accross array boundary.
2001-11-29 07:43:03 +00:00
Ulrich Drepper
e0e86ccb1d
Update.
...
* iconv/gconv_open.c (__gconv_open): Empty codeset name now means using
the current locale's codeset.
* iconv/iconv_open.c (iconv_open): Don't strip out everything for
empty input string.
* iconv/iconv_prog.c: Pass empty strings as default value for to-
and from-charset. Don't determine locale's charset here.
if libio is used [PR libc/2575].
2001-11-29 05:00:56 +00:00
Ulrich Drepper
c6baa867d3
Update.
...
2001-11-28 Ulrich Drepper <drepper@redhat.com>
* libio/genops.c (_IO_flush_all_lockp): New function. The same code
as the old _IO_flush_all but lock only if parameter is nonzero.
(_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter.
* libio/libioP.h: Add prototype for _IO_flush_all_lockp.
* sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0)
if libio is used.
2001-11-28 23:35:29 +00:00
Ulrich Drepper
cf6a2367e8
Update.
...
2001-11-22 Wolfram Gloger <wg@malloc.de>
* pthread.c (pthread_onexit_process): Don't call free
after threads have been asynchronously terminated.
* manager.c (pthread_handle_exit): Surround cancellation
of threads with __flockfilelist()/__funlockfilelist().
2001-11-28 22:27:20 +00:00
Ulrich Drepper
4e735c9aaf
Update.
...
2001-11-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
__signbitl): Only define for ISO C99.
2001-11-28 21:12:46 +00:00
Ulrich Drepper
04484feb73
Update.
...
2001-11-22 Thorsten Kukuk <kukuk@suse.de>
* nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set
herrnop to NETDB_INTERNAL if we run out of buffer space.
2001-11-28 20:22:08 +00:00
Ulrich Drepper
3fd13f9e1b
Update.
...
2001-11-28 Ulrich Drepper <drepper@redhat.com>
* nss/nss_files/files-XXX.c (internal_getent): Correct input
overflow test for platforms with signed char.
Reported by Andrew Haley <aph@cambridge.redhat.com>.
2001-11-28 20:12:17 +00:00
Ulrich Drepper
cd0392d880
Update.
...
2001-11-28 Bruno Haible <bruno@clisp.org>
* locale/programs/simple-hash.c (lookup_2): Remove function.
(insert_entry_2): Call lookup instead of lookup_2.
2001-11-28 17:22:21 +00:00
Ulrich Drepper
0555fccea7
Update.
...
2001-03-04 Bruno Haible <bruno@clisp.org>
* intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.
2001-10-31 Bruno Haible <bruno@clisp.org>
* intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
2001-03-21 Bruno Haible <bruno@clisp.org>
* intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
chokes on empty macro arguments.
* intl/plural.y: Add #pragma for alloca on AIX 3.
2001-11-27 Ulrich Drepper <drepper@redhat.com>
* intl/dcigettext.c (guess_category_value): Only implement for
glibc. Otherwise rely on function _nl_locale_name which isn't
present in the glibc sources.
2001-09-24 Bruno Haible <bruno@clisp.org>
* intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
transliteration when building on a glibc system but outside glibc.
2001-09-22 Bruno Haible <bruno@clisp.org>
* intl/plural-eval.c: New file, extracted from dcigettext.c.
* intl/dcigettext.c (plural_eval): Remove function, moved to
intl/plural-eval.c.
(plural_lookup): Call PLURAL_EVAL instead of plural_eval.
Include plural-eval.c.
2001-09-22 Bruno Haible <bruno@clisp.org>
* intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
don't start with a digit; nplurals must be positive.
2001-09-02 Bruno Haible <bruno@clisp.org>
* intl/plural-exp.h: New file, extracted from gettextP.h.
* intl/plural-exp.c: New file, extracted from loadmsgcat.c.
* intl/gettextP.h (struct expression, struct parse_args,
__gettext_free_exp, __gettextparse): Move to plural-exp.h.
* intl/loadmsgcat.c: Include plural-exp.h.
(PLURAL_PARSE): Move macro to plural-exp.h.
(plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
plural-exp.c.
(_nl_load_domain): Move plural handling code to plural-exp.c. Call
EXTRACT_PLURAL_EXPRESSION.
(_nl_unload_domain): Update.
* intl/dcigettext.c: Include plural-exp.h.
* intl/plural.y: Include plural-exp.h, not gettextP.h.
(FREE_EXPRESSION): Move macro to plural-exp.h.
* intl/Makefile (routines): Add plural-exp.
(distribute): Add plural-exp.h.
2001-07-28 Bruno Haible <bruno@clisp.org>
* intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
isdigit, tolower argument to 'unsigned char'.
* intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
'unsigned char'.
* intl/localealias.c (read_alias_file): Cast isspace argument to
'unsigned char'.
2001-10-20 Bruno Haible <bruno@clisp.org>
Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
anyway.)
* intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
with the variable 'index' in plural_lookup.
* intl/l10nflist.c (strchr): Likewise.
* intl/localealias.c (strchr): Likewise.
Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
* intl/bindtextdom.c: Likewise.
* intl/dcigettext.c: Likewise.
* intl/dgettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/explodename.c: Likewise.
* intl/finddomain.c: Likewise.
* intl/gettext.c: Likewise.
* intl/l10nflist.c: Likewise.
* intl/loadmsgcat.c: Likewise.
* intl/localealias.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/gettext.h: Assume <limits.h> exists.
2001-11-28 00:09:26 +00:00
Ulrich Drepper
8a2072042b
Update.
...
2001-11-27 Ulrich Drepper <drepper@redhat.com>
* stdio-common/Makefile (tests): Add scanf11.
* stdio-common/scanf11.c: New file.
2001-11-27 08:33:32 +00:00
Ulrich Drepper
120aad5443
Update.
...
* version.h (RELEASE): Define as development.
(VERSION): Set to 2.2.90.
2001-11-22 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_compat/compat-grp.c: Print group id as unsigned long.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Likewise.
* nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.
* nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
* nis/nss_nisplus/nisplus-parser.c: Likewise.
* nis/nss_nisplus/nisplus-publickey.c: Likewise.
* nscd/grpcache.c: Use strtoul instead of atol.
* nscd/pwdcache.c: Likewise.
* nss/getent.c: Likewise.
2001-11-27 Paul Eggert <eggert@twinsun.com>
* sysdeps/posix/tempname.c (__gen_tempname): Try at least
ATTEMPTS_MIN or TMP_MAX times, whichever is greater.
2001-11-19 Bruno Haible <bruno@clisp.org>
* locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
90%.
(compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
improves the quality of the hash function, especially for short
strings.
2001-11-26 Ulrich Drepper <drepper@redhat.com>
2001-11-27 04:07:09 +00:00
Ulrich Drepper
5d6c813948
Update.
...
2001-11-26 Ulrich Drepper <drepper@redhat.com>
* locales/de_CH: Define decimal point to '.' and thousands
separator to ' '. Patch by Niklaus Giger <ngiger@mus.ch>.
2001-11-27 03:52:15 +00:00