Ulrich Drepper
0d3fe819f6
Update.
...
1999-05-01 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
Prevent warnings from multiplication with 0x01010101 by another cast.
1999-05-01 00:16:16 +00:00
Ulrich Drepper
23f5f62d4b
Update.
...
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* string/bits/string2.h (memset): Revert to previous version if
unaligned writes are not available.
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
better code in presence of the asm.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* stdlib/fmtmsg.c (keywords): Increase array size for faster
indexing.
* locale/localeinfo.h (_nl_category_names): Increase array element
size for faster indexing.
* locale/setlocale.c (_nl_category_names): Adjusted.
1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* iconv/gconv_conf.c (add_alias): Remove wrong cast.
1999-04-30 17:44:43 +00:00
Ulrich Drepper
c5883607f5
(__memset_gc): Help generating better code in presence of the asm.
1999-04-30 17:37:52 +00:00
Andreas Schwab
ad8fa1c670
1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
...
* sysdeps/m68k/stackinfo.h: New file.
1999-04-30 17:33:00 +00:00
Andreas Schwab
faf3af9d9c
New file.
1999-04-30 17:27:14 +00:00
Ulrich Drepper
9e83c2fba3
Update.
...
* string/tester.c (test_strchrnul): New function.
(test_memset): Test one more special case.
* sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1999-04-30 17:12:16 +00:00
Ulrich Drepper
d8b29eea29
Update.
...
* sysdeps/i386/strchrnul.S: Fix bugs which let to wrong results in
25% of all cases.
1999-04-30 16:53:27 +00:00
Ulrich Drepper
68d7943fa2
Update.
...
* sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
base types.
1999-04-30 16:26:39 +00:00
Ulrich Drepper
cf5464810d
Update.
...
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* string/bits/string2.h: Fix bugs I introduced in last change.
* sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
register stall.
Extend memset optimization.
Correct i686 version of memchr.
1999-04-30 15:48:19 +00:00
Ulrich Drepper
6c8f9de31c
Fix bugs I introduced in last change.
1999-04-30 15:43:09 +00:00
Roland McGrath
1fafbbda1a
* sysdeps/i386/bzero.c: Add #undef __bzero.
1999-04-30 14:38:02 +00:00
Roland McGrath
55bdfe275c
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
...
* sysdeps/i386/bzero.c: Add #undef __bzero.
1999-04-30 14:36:46 +00:00
Ulrich Drepper
6df34c4b46
Improve last change a bit.
1999-04-30 14:07:17 +00:00
Roland McGrath
1b4331b2ac
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
exec server simulated a SIGTRAP before we even started up, so gdb is
already happy.
1999-04-30 13:53:34 +00:00
Roland McGrath
deb8346419
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
exec server simulated a SIGTRAP before we even started up, so gdb is
already happy.
1999-04-30 13:52:59 +00:00
Ulrich Drepper
71c356ecbe
Update.
...
1999-04-30 Ulrich Drepper <drepper@cygnus.com>
* nss/digits_dots.c: Always initialize not_ok.
1999-04-30 13:45:27 +00:00
Ulrich Drepper
c1d226e77f
Update.
...
1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* string/bits/string2.h (memset): Avoid arithmetic overflow at
compile time, which produces obnoxious warnings. If GCCv2 is
in use, map __bzero to __builtin_memset to enable that
optimization.
1999-04-30 09:36:37 +00:00
Ulrich Drepper
9943472996
Update.
...
* string/bits/string2.h: Add more memset optimizations.
1999-04-29 18:28:07 +00:00
Ulrich Drepper
8a40ed6807
Update.
...
* resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1999-04-29 18:20:05 +00:00
Ulrich Drepper
61fab08af7
Update.
...
* resolv/inet_pton.c (inet_pton4): Little optimizations.
(inet_pton6): Likewise.
1999-04-29 16:26:38 +00:00
Ulrich Drepper
554b880018
Update.
...
* Makefile (install-locales): Allow specifying charset in locale
name but omit it in locale definition file.
1999-04-29 15:04:27 +00:00
Ulrich Drepper
49cee6968b
Update.
...
* SUPPORTED: Don't generate ru_SU.
* locales/ru_SU: Removed.
1999-04-29 14:56:45 +00:00
Ulrich Drepper
344c67b616
Update.
...
1999-04-29 Ulrich Drepper <drepper@cygnus.com>
* nss/getXXbyYY_r.c: Include assert.h.
* nss/getXXbyYY.c: Likewise.
1999-04-29 13:19:45 +00:00
Ulrich Drepper
619cba73db
Update.
...
1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* termios/tcgetsid.c (tcgetsid): Rename variable to
tiocgsid_does_not_work.
1999-04-29 12:43:25 +00:00
Ulrich Drepper
3a07823a8b
Update.
...
1999-04-29 Ulrich Drepper <drepper@cygnus.com>
* inet/getnameinfo.c (nrl_domainname): Fix last patch.
1999-04-29 12:41:52 +00:00
Ulrich Drepper
16b0f634a0
Update.
...
1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
This allows e.g. gethostbyname to accept "10.1234".
Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
* nss/test-netdb.c (test_hosts): Add test for gethostbyname and
non quad IPv4 numbers.
loaded shared object with all loaded objects. Initialize l_ino
1999-04-29 12:18:08 +00:00
Ulrich Drepper
2c68584cdd
Update.
...
1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1999-04-29 10:56:31 +00:00
Ulrich Drepper
c4563d2d66
Update.
...
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
* argp/argp-parse.c (_argp_hang): Likewise.
* argp/argp-pv.c (argp_program_version): Likewise.
* argp/argp-pvh.c (argp_program_version_hook): Likewise.
* inet/ether_hton.c (ether_hton, startp): Likewise.
* inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
* inet/getnetgrent_r.c (setup, startp): Likewise.
* intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
* intl/localealias.c (string_space, string_space_act, string_space_max,
nmap, maxmap): Likewise.
* libio/iopopen.c (proc_file_chain): Likewise.
* libio/oldiopopen.c (old_proc_file_chain): Likewise.
* locale/lc-collate.c (__collate_table, __collate_extra,
__collate_element_hash, __collate_element_strings,
__collate_element_values): Likewise.
* malloc/mcheck.c (mcheck_used): Likewise.
* malloc/mtrace.c (added_atexit_handler): Likewise.
* malloc/set-freeres.c (already_called): Likewise.
* misc/getpass.c (getpass) [buf, bufsize]: Likewise.
* misc/syslog.c (LogStat, LogTag): Likewise.
* nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
* nss/getXXbyYY_r.c (startp): Likewise.
* posix/getopt.c (optarg, __getopt_initialized): Likewise.
* posix/regex.c (init_syntax_once) [done]: Likewise.
(debug): Likewise.
* string/strfry.c (init): Likewise.
* sunrpc/svc_run.c (svc_top): Likewise.
* posix/euidaccess.c (have_ids): Likewise.
* sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
* sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
* time/getdate.c (getdate_err): Likewise.
* time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
Likewise.
* time/tzset.c (old_tz, is_initialized): Likewise.
* inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
of static data with zero.
* signal/allocrtsig.c (init): Likewise.
* string/Makefile (routines): Add strchrnul.
* string/Versions [GLIBC_2.1.1]: Add strchrnul.
* string/string.c: Add strchrnul prototype.
* include/string.h: Add __strchrnul prototype.
* sysdeps/generic/strchrnul.c: New file.
* sysdeps/i386/strchrnul.S: New file.
* sysdeps/i386/bits/string.c: Add strchrnul optimization.
* sysdeps/i386/i486/bits/string.c: Likewise.
* argp/argp-help.c (argp_args_usage): Use __strchrnul.
* inet/ether_line.c (ether_line): Likewise.
* nscd/nscd_conf.c (nscd_parse_file): Likewise.
* nss/nsswitch.c (nss_parse_file): Likewise.
* posix/execvp.c (execvp): Likewise.
* posix/fnmatch.c (internal_fnmatch): Likewise.
* resolv/res_hconf.c (_res_hconv_init): Likewise.
* resolv/res_init.c (res_init): Likewise.
* stdlib/fmtmsg.c (init): Likewise.
* stdlib/getsubopt.c (getsubopt): Likewise.
* catgets/catgets.c (catopen): Only allocate one memory block.
(catclose): Only one free call necessary.
* catgets/open_catalog.c (__open_catalog): Simplify handling of
file descriptor.
* ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
of real functions. Simplify _tolower and _toupper.
* grp/initgroups.c (compat_call): Remove unnecessary use of pointer
variable.
* iconv/gconv.h (struct gconv_info): Change data element from pointer
to array of size 0.
* iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
* iconv/gconv_close.c (__gconv_close): Don't free data.
* iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
insert new alias.
* iconv/gconv_db.c (add_derivation): More efficient copying. Check
for error while inserting in tree.
* include/time.h: Pretty print.
* inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
in table and lots of relocations.
* posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
string pointers in table and lots of relocations.
* intl/finddomain.c: Remove definition of strchr macro.
* io/ftw.c (nftw_arr, ftw_arr): Make const.
* locale/loadlocale.c (_nl_load_locale): Optimize string copying.
* locale/localeinfo.h (_nl_category_names): Change into an array with
fixed width char string elements.
* locale/setlocale.c (_nl_category_names): Likewise.
(_nl_current): Make global.
* locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
* malloc/Makefile (distribute): Add stackinfo.h.
* sysdeps/generic/stackinfo.h: New file.
* sysdeps/i386/stackinfo.h: New file.
* posix/execl.c: Use stackinfo.h in optimizing alloca use.
* posix/execle.c: Likewise.
* posix/execlp.c: Likewise.
* nis/nis_table.c (__create_ib_request): Always use realloc.
* posix/execvp.c (execute): Rename to script_execute and keep only
code to execute using shell.
(execvp): Call execv directly and only fall back on script_execute.
* resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
and always use xdigits instead.
* resolv/res_init.c (res_init): Use rawmemchr instead of strchr
where appropriate.
* stdlib/fpioconst.h (__tens): New declaration.
(struct mp_power): Remove array, add arrayoff element.
* stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
__tens array and add in _fpioconst_pow10 offsets into __tens.
* stdio-common/printf_fp.c: Rewrite to use new __tens array.
* stdlib/strtod.c: Likewise.
* stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
* stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
of the list.
* stdlib/atexit.c (__exit_funcs): Don't initialize.
* stdlib/fmtmsg.c (keywords): Make name element fixed width array.
* sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
a single and an array with offsets.
* sunrpc/des_soft.c (partab): Make it const.
* sunrpc/key_call.c (trytimeout, tottimeout): Make const.
(__key_encryptsession_pk_LOCAL): Don't initialize with 0.
(__key_decryptsession_pk_LOCAL): Likewise.
(__key_gendes_LOCAL): Likewise.
(MESSENGER): Mark const.
(key_call_private_main): Don't initialize with 0.
(use_keyenvoy): Don't initialize with 0.
(key_call): Rewrite to reverse logic of use_doors variable.
* sunrpc/netname.c (OPSYS): Define as array, not pointer.
(startp): Don't initialize with zero.
* sunrpc/openchild.c (_openchild): Make first argument const.
* sunrpc/pmap_rmt.c (timeout): Mark const.
* sunrpc/xcrypt.c (hex): Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
initialization of global variables.
* sysdeps/unix/sysv/linux/getpt.c: Likewise.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.
* termios/tcgetsid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
fxsr to osfxsr.
* time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
block. Add function to free memory if wanted.
* time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
* wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
* wcsmbs/wmemset.c: Little code optimization.
1999-04-28 23:13:52 +00:00
Ulrich Drepper
89afc233db
Update.
...
* sysdeps/pthread/bits/libc-lock.h (__libc_lock_define_initialized):
Don't use initializer since it is all zeroes.
(__libc_once_define): Likewise.
1999-04-28 21:58:40 +00:00
Ulrich Drepper
390500b147
Update.
...
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_allocate_stack): Optimize initialization of new
thread descriptor.
1999-04-28 21:56:46 +00:00
Ulrich Drepper
fbb9cc9129
Fix typos.
...
1999-04-23 Paul Eggert <eggert@twinsun.com>
prefers loopback device.
1999-04-28 16:04:58 +00:00
Ulrich Drepper
b0f88c14a7
Update.
...
1999-04-23 Paul Eggert <eggert@1twinsun.com>
* stdlib/strtoull.c: Surround strong_alias and weak_alias with
ifdef _LIBC.
1999-04-28 15:52:17 +00:00
Ulrich Drepper
914333fff9
Surround strong_alias and weak_alias with ifdef _LIBC.
1999-04-28 15:29:01 +00:00
Roland McGrath
af275feae5
1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
...
* sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
implementation and just always fail with ENOSYS. This entry point is
obsolete. Add link warning to that effect.
1999-04-28 12:03:33 +00:00
Roland McGrath
f2a2816c0a
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/get-host.c: Include <hurd/lookup.h>.
1999-04-28 11:10:11 +00:00
Roland McGrath
b6bebf51da
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/get-host.c: Include <hurd/lookup.h>.
1999-04-28 11:09:53 +00:00
Ulrich Drepper
7c2b945e1f
Update.
...
* malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
is != NULL.
1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
ISO C9x and Unix98.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1999-04-28 10:20:18 +00:00
Ulrich Drepper
925ed47cfb
Update.
...
* libio/iofopncook.c (_IO_cookie_seek): Correct return value.
Patch by Peter Miller <millerp@canb.auug.org.au>.
1999-04-27 Thorsten Kukuk <kukuk@suse.de>
* sunrpc/pmap_clnt.c: Add own get_myaddress function, which
prefers loopback device.
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1999-04-28 10:00:35 +00:00
Ulrich Drepper
66f93c2d97
Update.
...
1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Finish incomplete
no_leading_period change.
* posix/testfnm.c: More test cases.
1999-04-28 09:23:09 +00:00
Ulrich Drepper
980e58323a
Update.
...
* include/dirent.h: Remove __getdirentries declaration, add __getdents
and __getdents64.
* sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
* sysdeps/unix/readdir_r.c: Likewise.
* sysdeps/unix/sysv/linux/readdir64.c: Likewise.
* sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
__getdirentries. Remove fourth argument.
* sysdeps/unix/sysv/linux/getdirentries.c: New file.
* sysdeps/unix/sysv/linux/getdirentries64.c: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
Add getdirentries and getdirentries64.
* sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1999-04-27 13:06:39 +00:00
Ulrich Drepper
b6a7609d56
Update.
...
* posix/testfnm.c: Add more test cases.
1999-04-27 09:15:56 +00:00
Ulrich Drepper
10bb450d11
Update.
...
1999-04-27 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Correctly reset string
pointer in case of an invalid [[: expression.
1999-04-27 09:04:24 +00:00
Ulrich Drepper
c0e18e5ed0
(internal_fnmatch): Correctly reset string pointer in case of an invalid [[: expression.
1999-04-27 09:01:47 +00:00
Roland McGrath
8a495c0922
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
set, pass EXEC_SIGTRAP flag in exec RPC.
1999-04-27 01:28:50 +00:00
Roland McGrath
20d138126f
1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
set, pass EXEC_SIGTRAP flag in exec RPC.
1999-04-27 01:26:54 +00:00
Ulrich Drepper
d8aaef00a7
Update.
...
1999-04-26 Ulrich Drepper <drepper@cygnus.com>
* posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
extra parameter. Fix several more bugs involving wildcard and
ranges.
(fnmatch): New function. Call internal_fnmatch.
* posix/testfnm.c: More test cases.
1999-04-26 23:21:01 +00:00
Ulrich Drepper
80127c749b
Update.
...
1999-04-26 Ulrich Drepper <drepper@cygnus.com>
* charmaps/SAMI-WS2: Add one more alias.
1999-04-26 16:31:24 +00:00
Ulrich Drepper
f76d7052fa
Update.
...
1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Explain that
files are changed in the source directory.
Closes PR libc/981.
(Configuring and compiling): Explain situation with PARALLELMFLAGS
in the source directory.
1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-ctype.c: Spelling fixes.
(ctype_finish): Fix argument of error message format.
* locale/programs/ld-messages.c: Spelling fixes.
* locale/programs/ld-monetary.c: Spelling fixes.
* locale/programs/ld-time.c (time_finish): Make sure that name and
format of era_entries are adjacent.
(time_output): Reduce the size of the io vector.
1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* manual/filesys.texi (Attribute Meanings): Move a misplaced
paragraph.
1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* locale/programs/ld-collate.c (collate_output): Convert
undefined_offset to an array index. Fix computation of other
endian extra table.
1999-04-26 14:02:38 +00:00
Ulrich Drepper
cb78ea2300
(collate_output): Convert undefined_offset to an array index. Fix computation of other endian extra table.
1999-04-26 14:00:56 +00:00
Roland McGrath
6e4184e465
1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
...
* hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
return success with empty value.
1999-04-26 13:44:45 +00:00