kopensolaris-gnu/glibc.git
17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Sep 2002 07:08:51 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed
from __libc_tsd_threadvar_location.
(__libc_tsd_set, __libc_tsd_get): Update uses.

17 years ago.
roland [Mon, 2 Sep 2002 07:08:35 +0000 (07:08 +0000)]
.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Sep 2002 07:08:21 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-tsd.h (enum __libc_tsd_key_t): Add new keys
CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER.
* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro.
(__libc_internal_tsd_address): Declare it.
* Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add
__libc_internal_tsd_address.
* specific.c (libc_internal_tsd_address): New function.
(__libc_internal_tsd_address): New variable.
* no-tsd.c (__libc_internal_tsd_address): New variable.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Sep 2002 07:08:20 +0000 (07:08 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro.
(__libc_internal_tsd_address): Declare it.
* Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add
__libc_internal_tsd_address.
* specific.c (libc_internal_tsd_address): New function.
(__libc_internal_tsd_address): New variable.
* no-tsd.c (__libc_internal_tsd_address): New variable.

17 years agoUpdate.
drepper [Sun, 1 Sep 2002 20:30:19 +0000 (20:30 +0000)]
Update.

17 years agoRevert last patch.
drepper [Sun, 1 Sep 2002 20:08:47 +0000 (20:08 +0000)]
Revert last patch.

17 years agoUndo last patch.
drepper [Sun, 1 Sep 2002 20:08:18 +0000 (20:08 +0000)]
Undo last patch.

17 years agoUndo the patch before the last one. Put back the macro definitions
drepper [Sun, 1 Sep 2002 20:07:29 +0000 (20:07 +0000)]
Undo the patch before the last one.  Put back the macro definitions
for the standard functions to access the classificaiton and mapping
arrays.

17 years agoPartly revert last patch. Move the macro definitions for the exported
drepper [Sun, 1 Sep 2002 20:04:03 +0000 (20:04 +0000)]
Partly revert last patch.  Move the macro definitions for the exported
functions back to the public header.  #undef all the macros defined
here.

17 years agoUpdate.
drepper [Sun, 1 Sep 2002 18:27:42 +0000 (18:27 +0000)]
Update.

17 years ago(routines): Add isctype.
drepper [Sun, 1 Sep 2002 18:26:06 +0000 (18:26 +0000)]
(routines): Add isctype.

17 years ago(libc): Export isctype and __isctype for GLIBC_2.3.
drepper [Sun, 1 Sep 2002 18:25:22 +0000 (18:25 +0000)]
(libc): Export isctype and __isctype for GLIBC_2.3.

17 years agoisctype implementation.
drepper [Sun, 1 Sep 2002 18:24:55 +0000 (18:24 +0000)]
isctype implementation.

17 years agoAdd declaration of isctype.
drepper [Sun, 1 Sep 2002 18:24:05 +0000 (18:24 +0000)]
Add declaration of isctype.

17 years agoDeclare __isctype.
drepper [Sun, 1 Sep 2002 18:23:10 +0000 (18:23 +0000)]
Declare __isctype.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:39:35 +0000 (12:39 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* tst-ctype.c (main): Use nl_langinfo instead of __ctype_b global.

17 years ago.
roland [Sun, 1 Sep 2002 12:39:34 +0000 (12:39 +0000)]
.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:38:04 +0000 (12:38 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower,
iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank,
towlower, towupper): Macros removed.
* ctype/ctype.h (__tobody): Put parens around macro argument.
(__isctype): Macro removed.
(__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed.
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Macros and inlines removed.
* include/ctype.h [! NOT_IN_libc]
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Define here instead, using _NL_CURRENT.
* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros
using _NL_CURRENT.
* ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise.
* ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper):
Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT.
(__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise.
(__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed.
* locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables,
conditional on SHLIB_COMPAT.  Don't set removed variables at all.
* wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals.
* wcsmbs/wcwidth.h (internal_wcwidth): Likewise.
* resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars.
(ISSORTMASK): Update use.
* intl/localealias.c [__GNUC__]: #undef alloca before #define.
* nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'.
(_nss_files_getENTNAME_r): Likewise.
* nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r):
Likewise.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:38:00 +0000 (12:38 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* Makerules (all-nonlib): Renamed from all-tests.
Include $(others) here too.
* locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef,
CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric,
CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification,
CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader,
CPPFLAGS-charmap-dir): Variables removed.  Instead, catch all
the program modules via cppflags-iterator.mk.
* sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed.
Instead, catch all rpcgen-objs via cppflags-iterator.mk.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:37:57 +0000 (12:37 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass
TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:37:56 +0000 (12:37 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* include/getopt.h: Include <features.h> before <posix/getopt.h>.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:37:55 +0000 (12:37 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count
of new structure to UNDELETABLE.

17 years ago2002-09-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 12:37:53 +0000 (12:37 +0000)]
2002-09-01  Roland McGrath  <roland@redhat.com>

* locale/findlocale.c (_nl_remove_locale): Don't search in
_nl_locale_file_list if DATA->alloc is ld_archive.
Use _nl_unload_locale to do the rest of the work.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Sep 2002 11:11:25 +0000 (11:11 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* posix/tst-getconf.sh: If no third arg, work with static linking.

17 years ago.
roland [Sat, 31 Aug 2002 21:09:35 +0000 (21:09 +0000)]
.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 21:08:12 +0000 (21:08 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/setlocale.c (_nl_category_postload): Use weak refs only under
[_NL_CURRENT_INDIRECT].

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 21:08:10 +0000 (21:08 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/categories.def (LC_TIME): No more _nl_postload_time.

17 years agoUpdate.
drepper [Sat, 31 Aug 2002 20:27:15 +0000 (20:27 +0000)]
Update.

17 years ago(main): Also test strftime with uselocale.
drepper [Sat, 31 Aug 2002 20:15:31 +0000 (20:15 +0000)]
(main): Also test strftime with uselocale.

17 years ago.
roland [Sat, 31 Aug 2002 20:08:18 +0000 (20:08 +0000)]
.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 20:08:01 +0000 (20:08 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c (__newlocale): Don't use strdup for names.
Instead, make the single allocation of the structure larger to hold
the name strings.
* locale/duplocale.c (__duplocale): Don't strdup names individually.
Instead, calculate size for a single allocation and copy into it.
* locale/freelocale.c (__freelocale): Don't free names individually.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 19:02:21 +0000 (19:02 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/xlocale.h (__locale_struct): Move __names member last,
for binary compatibility.

17 years ago.
roland [Sat, 31 Aug 2002 19:00:28 +0000 (19:00 +0000)]
.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 19:00:15 +0000 (19:00 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c (__newlocale): Don't leak old data or names.

17 years agoOnly depend on Versions.v.i for errlist-compat.c if versioning==yes.
drepper [Sat, 31 Aug 2002 18:44:55 +0000 (18:44 +0000)]
Only depend on Versions.v.i for errlist-compat.c if versioning==yes.

17 years ago.
roland [Sat, 31 Aug 2002 18:29:52 +0000 (18:29 +0000)]
.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 18:28:34 +0000 (18:28 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/uselocale.c (__uselocale): Return previous locale when
setting a new one.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 18:28:33 +0000 (18:28 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/duplocale.c (__duplocale): Free names from the right array.

17 years ago2002-08-31 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 18:28:32 +0000 (18:28 +0000)]
2002-08-31  Roland McGrath  <roland@redhat.com>

* locale/newlocale.c: Commit changes from 2002-08-30
batch where I failed to commit this file.

17 years agoUpdate.
drepper [Sat, 31 Aug 2002 18:25:50 +0000 (18:25 +0000)]
Update.

17 years agoOnly depend on Versions.v.i for errlist-compat.c if build-shared==yes.
drepper [Sat, 31 Aug 2002 18:23:37 +0000 (18:23 +0000)]
Only depend on Versions.v.i for errlist-compat.c if build-shared==yes.

17 years agoUpdate.
aj [Sat, 31 Aug 2002 17:45:33 +0000 (17:45 +0000)]
Update.

17 years ago (elf_machine_runtime_setup): Declare
aj [Sat, 31 Aug 2002 17:44:32 +0000 (17:44 +0000)]
(elf_machine_runtime_setup): Declare
external functions with hidden attribute.
(elf_machine_rela): Optimize.

17 years agox86-64 memset implementation.
aj [Sat, 31 Aug 2002 17:42:25 +0000 (17:42 +0000)]
x86-64 memset implementation.

17 years agox86-64 optimized string function.
aj [Sat, 31 Aug 2002 17:41:24 +0000 (17:41 +0000)]
x86-64 optimized string function.

17 years agoOptimized implementation for x86-64.
aj [Sat, 31 Aug 2002 17:33:34 +0000 (17:33 +0000)]
Optimized implementation for x86-64.

17 years agox86-64 bzero implementation.
aj [Sat, 31 Aug 2002 17:30:07 +0000 (17:30 +0000)]
x86-64 bzero implementation.

17 years agoUpdate.
aj [Sat, 31 Aug 2002 10:33:26 +0000 (10:33 +0000)]
Update.

17 years ago Fix algorithm.
aj [Sat, 31 Aug 2002 10:33:06 +0000 (10:33 +0000)]
 Fix algorithm.

17 years ago Add ulps for double tests.
aj [Sat, 31 Aug 2002 10:32:59 +0000 (10:32 +0000)]
 Add ulps for double tests.

17 years agoUpdate.
drepper [Sat, 31 Aug 2002 09:43:13 +0000 (09:43 +0000)]
Update.

17 years ago(generated): Add errlist-compat.c.
drepper [Sat, 31 Aug 2002 09:40:59 +0000 (09:40 +0000)]
(generated): Add errlist-compat.c.

17 years ago(extra-objs): Add $(localedef-aux:=.o).
drepper [Sat, 31 Aug 2002 09:35:03 +0000 (09:35 +0000)]
(extra-objs): Add $(localedef-aux:=.o).

17 years agoUpdate.
drepper [Sat, 31 Aug 2002 09:26:42 +0000 (09:26 +0000)]
Update.

17 years agoPretty printing.
drepper [Sat, 31 Aug 2002 09:23:54 +0000 (09:23 +0000)]
Pretty printing.

17 years ago(process_arg): Remove duplication ifs in form_number handling.
drepper [Sat, 31 Aug 2002 09:21:23 +0000 (09:21 +0000)]
(process_arg): Remove duplication ifs in form_number handling.

17 years agoUpdate.
drepper [Sat, 31 Aug 2002 08:54:32 +0000 (08:54 +0000)]
Update.

17 years agoDon't use rule for crt%.o, spell it out as rules for crti.o and crtn.o.
drepper [Sat, 31 Aug 2002 08:47:35 +0000 (08:47 +0000)]
Don't use rule for crt%.o, spell it out as rules for crti.o and crtn.o.

17 years agoUpdate.
aj [Sat, 31 Aug 2002 08:22:35 +0000 (08:22 +0000)]
Update.

17 years agoAdd ulps for float and long double tests.
aj [Sat, 31 Aug 2002 08:22:05 +0000 (08:22 +0000)]
Add ulps for float and long double tests.

17 years agoUpdate.
aj [Sat, 31 Aug 2002 08:06:48 +0000 (08:06 +0000)]
Update.

17 years ago(sysdep_routines): Add __start_context.
aj [Sat, 31 Aug 2002 08:06:22 +0000 (08:06 +0000)]
(sysdep_routines): Add __start_context.

17 years agoSave and restore all needed registers.
aj [Sat, 31 Aug 2002 08:05:51 +0000 (08:05 +0000)]
Save and restore all needed registers.

17 years agoAdd defines for registers used for passing args.
aj [Sat, 31 Aug 2002 08:05:30 +0000 (08:05 +0000)]
Add defines for registers used for passing args.

17 years agoHelper routine for Linux/x86-64 makecontext implementation.
aj [Sat, 31 Aug 2002 08:05:17 +0000 (08:05 +0000)]
Helper routine for Linux/x86-64 makecontext implementation.

17 years agoLinux/x86-64 makecontext implementation.
aj [Sat, 31 Aug 2002 08:04:45 +0000 (08:04 +0000)]
Linux/x86-64 makecontext implementation.

17 years ago.
roland [Sat, 31 Aug 2002 05:31:31 +0000 (05:31 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 05:31:18 +0000 (05:31 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* Makefile (extra-objs, omit-deps): Add crtn.
($(objpfx)libpthread.so): Depend on $(objpfx)crtn.o.
($(objpfx)libpthread.so: +postinit): Append $(objpfx)crtn.o.
($(objpfx)crtn.S): New target.
($(objpfx)crt%.o): Pattern rule replaces crti.o target.
(generated): Add crtn.S.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 05:31:17 +0000 (05:31 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage
crtn.o pathname too.

17 years agoUpdate.
drepper [Sat, 31 Aug 2002 04:30:45 +0000 (04:30 +0000)]
Update.

17 years ago(elf_get_dynamic_info): Mark with always_inline attribute.
drepper [Sat, 31 Aug 2002 04:09:05 +0000 (04:09 +0000)]
(elf_get_dynamic_info): Mark with always_inline attribute.

17 years ago.
roland [Sat, 31 Aug 2002 03:21:56 +0000 (03:21 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 03:21:40 +0000 (03:21 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* stdlib/tst-setcontext.c (main): If makecontext does nothing,
presume it's the stub and bail without error.

17 years ago.
roland [Sat, 31 Aug 2002 00:02:18 +0000 (00:02 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Sat, 31 Aug 2002 00:02:01 +0000 (00:02 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is
neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]).
* nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one.

17 years ago.
roland [Fri, 30 Aug 2002 23:09:46 +0000 (23:09 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 23:09:29 +0000 (23:09 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New
macros replace the i686 versions for 64-bit mode.

17 years ago.
roland [Fri, 30 Aug 2002 22:07:28 +0000 (22:07 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 22:07:11 +0000 (22:07 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* locale/duplocale.c: Include <string.h>.

17 years ago.
roland [Fri, 30 Aug 2002 21:50:35 +0000 (21:50 +0000)]
.

17 years ago2002-08-30 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 30 Aug 2002 21:50:26 +0000 (21:50 +0000)]
2002-08-30  Jakub Jelinek  <jakub@redhat.com>

        * pthread.c (__pthread_initialize_minimal): Call __uselocale even
        if [! SHARED].

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 21:50:24 +0000 (21:50 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* tst-static-locale.c: New file.
* Makefile (tests, tests-static): Add it.

17 years ago.
roland [Fri, 30 Aug 2002 19:36:12 +0000 (19:36 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 19:35:43 +0000 (19:35 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.
[_LIBC] (category_to_name): Don't define the function.  Instead
define a macro using _nl_category_names.

17 years ago.
roland [Fri, 30 Aug 2002 10:36:44 +0000 (10:36 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 10:36:20 +0000 (10:36 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist
and sys_nerr in the output file.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 10:36:18 +0000 (10:36 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* locale/xlocale.h (struct __locale_struct): New member `__names'.
* locale/xlocale.c (_nl_C_locobj): Update initializer.
* locale/global-locale.c (_nl_global_locale): Likewise.
* locale/duplocale.c (__duplocale): strdup __names elements.
* locale/freelocale.c (__freelocale): Free __names elements.
* locale/localename.c (_nl_current_names): Variable removed.
(__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead.
* locale/localeinfo.h (_nl_current_names): Removed decl.
* locale/setlocale.c: Use _nl_global_locale->__names in place of
_nl_current_names throughout.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 10:36:16 +0000 (10:36 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* locale/xlocale.h (struct __locale_struct): New member `__names'.
* locale/xlocale.c (_nl_C_locobj): Update initializer.
* locale/global-locale.c (_nl_global_locale): Likewise.
* locale/duplocale.c (__duplocale): strdup __names elements.
* locale/freelocale.c (__freelocale): Free __names elements.
* locale/localename.c (_nl_current_names): Variable removed.
(__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead.
* locale/localeinfo.h (_nl_current_names): Removed decl.
* locale/setlocale.c: Use _nl_global_locale->__names in place of
_nl_current_names throughout.
* locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C).

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 10:36:14 +0000 (10:36 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag.
* libio/tst-mmap-offend.c (do_test): Likewise.
* libio/tst-mmap-fflushsync.c (do_test): Likewise.
* libio/tst-mmap-eofsync.c (do_test): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 10:36:11 +0000 (10:36 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment.
* scripts/cpp: Just use the environment variable.

17 years ago.
roland [Fri, 30 Aug 2002 08:11:12 +0000 (08:11 +0000)]
.

17 years ago2002-08-30 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 08:09:31 +0000 (08:09 +0000)]
2002-08-30  Roland McGrath  <roland@redhat.com>

* locale/localename.c: If the current locale is the global locale, use
_nl_current_names; otherwise use the locale object.

17 years ago2002-08-29 Roland McGrath <roland@redhat.com>
roland [Fri, 30 Aug 2002 08:09:29 +0000 (08:09 +0000)]
2002-08-29  Roland McGrath  <roland@redhat.com>

* sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.

17 years agoUpdate I/O mmap entry.
drepper [Fri, 30 Aug 2002 07:12:22 +0000 (07:12 +0000)]
Update I/O mmap entry.

17 years agoUpdate.
drepper [Fri, 30 Aug 2002 07:07:16 +0000 (07:07 +0000)]
Update.

17 years ago(_IO_FILE): Rename _blksize field to _flags2. The former wasn't used
drepper [Fri, 30 Aug 2002 07:05:18 +0000 (07:05 +0000)]
(_IO_FILE): Rename _blksize field to _flags2.  The former wasn't used
(anymore?).
(_IO_FLAGS2_MMAP): New define.

17 years ago(__fopen_maybe_mmap): Use mmap callbacks only if _IO_FLAGS2_MMAP bit is set.
drepper [Fri, 30 Aug 2002 07:04:56 +0000 (07:04 +0000)]
(__fopen_maybe_mmap): Use mmap callbacks only if _IO_FLAGS2_MMAP bit is set.

17 years ago(_IO_new_fdopen): Recognize 'm' mode specifier. Enable mmap-using mode
drepper [Fri, 30 Aug 2002 07:04:46 +0000 (07:04 +0000)]
(_IO_new_fdopen): Recognize 'm' mode specifier.  Enable mmap-using mode
only if 'm' was set.

17 years ago(_IO_no_init): Initialize _flags2 field.
drepper [Fri, 30 Aug 2002 07:04:29 +0000 (07:04 +0000)]
(_IO_no_init): Initialize _flags2 field.

17 years ago(_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O.
drepper [Fri, 30 Aug 2002 07:04:16 +0000 (07:04 +0000)]
(_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O.