mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 01:40:07 +00:00
c4563d2d66
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. |
||
---|---|---|
.. | ||
bits | ||
elf | ||
netinet | ||
sys | ||
__longjmp.c | ||
_exit.c | ||
_G_config.h | ||
_strerror.c | ||
a.out.h | ||
abort-instr.h | ||
abort.c | ||
accept.c | ||
access.c | ||
acct.c | ||
add_n.c | ||
addmul_1.c | ||
adjtime.c | ||
aio_sigqueue.c | ||
alarm.c | ||
asm-syntax.h | ||
atomicity.h | ||
backtrace.c | ||
backtracesyms.c | ||
backtracesymsfd.c | ||
bb_init_func.c | ||
bcopy.c | ||
bind.c | ||
brdinit.c | ||
brk.c | ||
bsd-_setjmp.c | ||
bsd-setjmp.c | ||
bzero.c | ||
chdir.c | ||
chflags.c | ||
chmod.c | ||
chown.c | ||
chroot.c | ||
clock.c | ||
close.c | ||
closedir.c | ||
cmp.c | ||
configure | ||
configure.in | ||
confstr.h | ||
connect.c | ||
console.c | ||
crypt-entry.c | ||
crypt.h | ||
ctermid.c | ||
cuserid.c | ||
dbl2mpn.c | ||
defs.c | ||
des_impl.c | ||
det_endian.c | ||
dirfd.c | ||
dirstream.h | ||
Dist | ||
div.c | ||
divmod_1.c | ||
divrem.c | ||
dl-cache.c | ||
dl-environ.c | ||
dl-hash.h | ||
dl-librecon.h | ||
dl-machine.h | ||
dl-origin.h | ||
dl-procinfo.h | ||
dl-sysdep.c | ||
dup2.c | ||
dup.c | ||
e_acoshl.c | ||
e_acosl.c | ||
e_asinl.c | ||
e_atan2l.c | ||
e_expl.c | ||
e_fmodl.c | ||
e_j0l.c | ||
e_j1l.c | ||
e_jnl.c | ||
e_lgammal_r.c | ||
e_log10l.c | ||
e_logl.c | ||
e_powl.c | ||
e_rem_pio2l.c | ||
e_sqrtl.c | ||
enbl-secure.c | ||
endutxent.c | ||
entry.h | ||
errlist.c | ||
errno-loc.c | ||
euidaccess.c | ||
exc2signal.c | ||
execve.c | ||
fattach.c | ||
fchdir.c | ||
fchflags.c | ||
fchmod.c | ||
fchown.c | ||
fclrexcpt.c | ||
fcntl.c | ||
fdatasync.c | ||
fdetach.c | ||
fdopen.c | ||
fegetenv.c | ||
fegetround.c | ||
feholdexcpt.c | ||
fesetenv.c | ||
fesetround.c | ||
feupdateenv.c | ||
fexecve.c | ||
ffs.c | ||
ffsll.c | ||
fgetexcptflg.c | ||
flock.c | ||
fork.c | ||
fpathconf.c | ||
fpu_control.c | ||
fpu_control.h | ||
fraiseexcpt.c | ||
fsetexcptflg.c | ||
fstatfs64.c | ||
fstatfs.c | ||
fstatvfs64.c | ||
fstatvfs.c | ||
fsync.c | ||
ftestexcept.c | ||
ftime.c | ||
ftruncate64.c | ||
ftruncate.c | ||
fxstat64.c | ||
fxstat.c | ||
gai_strerror.c | ||
getaddrinfo.c | ||
getcontext.c | ||
getcwd.c | ||
getdents.c | ||
getdomain.c | ||
getdtsz.c | ||
getegid.c | ||
getenv.c | ||
geteuid.c | ||
getgid.c | ||
getgroups.c | ||
gethostid.c | ||
gethostname.c | ||
getitimer.c | ||
getlogin_r.c | ||
getlogin.c | ||
getmsg.c | ||
getpagesize.c | ||
getpeername.c | ||
getpgid.c | ||
getpgrp.c | ||
getpid.c | ||
getpmsg.c | ||
getppid.c | ||
getpriority.c | ||
getpt.c | ||
getresgid.c | ||
getresuid.c | ||
getrlimit64.c | ||
getrlimit.c | ||
getrusage.c | ||
getsid.c | ||
getsockname.c | ||
getsockopt.c | ||
getsysstats.c | ||
gettimeofday.c | ||
getuid.c | ||
getutxent.c | ||
getutxid.c | ||
getutxline.c | ||
glob64.c | ||
glob.c | ||
gmp-mparam.h | ||
grantpt.c | ||
group_member.c | ||
gtty.c | ||
hp-timing.h | ||
htonl.c | ||
htons.c | ||
if_index.c | ||
init-first.c | ||
init-posix.c | ||
inlines.c | ||
intr-msg.h | ||
inttypes.h | ||
ioctl.c | ||
isastream.c | ||
isatty.c | ||
isfdtype.c | ||
jmp-unwind.c | ||
k_cosl.c | ||
k_rem_pio2l.c | ||
k_sinl.c | ||
k_tanl.c | ||
kill.c | ||
killpg.c | ||
labs.c | ||
lchown.c | ||
ldbl2mpn.c | ||
ldiv.c | ||
libc_fatal.c | ||
libc-start.c | ||
link.c | ||
listen.c | ||
llabs.c | ||
lldiv.c | ||
lockf64.c | ||
lockfile.c | ||
longjmp-ts.c | ||
longjmp.c | ||
lseek64.c | ||
lseek.c | ||
lshift.c | ||
lxstat64.c | ||
lxstat.c | ||
machine-gmon.h | ||
machine-lock.h | ||
machine-sp.h | ||
madvise.c | ||
make_siglist.c | ||
makecontext.c | ||
Makefile | ||
memccpy.c | ||
memchr.c | ||
memcmp.c | ||
memcopy.h | ||
memcpy.c | ||
memmem.c | ||
memmove.c | ||
mempcpy.c | ||
memset.c | ||
mig-reply.c | ||
mkdir.c | ||
mkfifo.c | ||
mmap64.c | ||
mmap.c | ||
mod_1.c | ||
morecore.c | ||
mpn2dbl.c | ||
mpn2flt.c | ||
mpn2ldbl.c | ||
mprotect.c | ||
msgctl.c | ||
msgget.c | ||
msgrcv.c | ||
msgsnd.c | ||
msync.c | ||
mul_1.c | ||
mul_n.c | ||
mul.c | ||
munmap.c | ||
nanosleep.c | ||
nice.c | ||
nlist.c | ||
open64.c | ||
open.c | ||
opendir.c | ||
pagecopy.h | ||
pathconf.c | ||
paths.h | ||
pause.c | ||
pipe.c | ||
pipestream.c | ||
poll.c | ||
pread64.c | ||
pread.c | ||
printf_fphex.c | ||
prof-freq.c | ||
profil-counter.h | ||
profil.c | ||
pselect.c | ||
ptrace.c | ||
ptsname.c | ||
putenv.c | ||
putmsg.c | ||
putpmsg.c | ||
pututxline.c | ||
pwrite64.c | ||
pwrite.c | ||
raise.c | ||
rawmemchr.c | ||
read.c | ||
readdir64_r.c | ||
readdir64.c | ||
readdir_r.c | ||
readdir.c | ||
readlink.c | ||
readv.c | ||
reboot.c | ||
recv.c | ||
recvfrom.c | ||
recvmsg.c | ||
register-dump.h | ||
remove.c | ||
rename.c | ||
revoke.c | ||
rewinddir.c | ||
rmdir.c | ||
rshift.c | ||
s_atanl.c | ||
s_erfl.c | ||
s_exp2l.c | ||
s_expm1l.c | ||
s_log1pl.c | ||
s_log2l.c | ||
sbrk.c | ||
sched_getp.c | ||
sched_gets.c | ||
sched_primax.c | ||
sched_primin.c | ||
sched_rr_gi.c | ||
sched_setp.c | ||
sched_sets.c | ||
sched_yield.c | ||
seekdir.c | ||
segfault.c | ||
select.c | ||
semctl.c | ||
semget.c | ||
semop.c | ||
send.c | ||
sendmsg.c | ||
sendto.c | ||
setcontext.c | ||
setdomain.c | ||
setegid.c | ||
setenv.c | ||
seteuid.c | ||
setfpucw.c | ||
setgid.c | ||
setgroups.c | ||
sethostid.c | ||
sethostname.c | ||
setitimer.c | ||
setjmp.c | ||
setlogin.c | ||
setpgid.c | ||
setpriority.c | ||
setregid.c | ||
setreuid.c | ||
setrlimit64.c | ||
setrlimit.c | ||
setsid.c | ||
setsockopt.c | ||
settimeofday.c | ||
setuid.c | ||
setutxent.c | ||
shmat.c | ||
shmctl.c | ||
shmdt.c | ||
shmget.c | ||
shutdown.c | ||
sigaction.c | ||
sigaltstack.c | ||
sigblock.c | ||
sigcontextinfo.h | ||
sigignore.c | ||
sigintr.c | ||
sigjmp.c | ||
siglist.c | ||
signal.c | ||
signame.c | ||
signame.h | ||
sigpause.c | ||
sigpending.c | ||
sigprocmask.c | ||
sigqueue.c | ||
sigreturn.c | ||
sigset-cvt-mask.h | ||
sigset.c | ||
sigsetmask.c | ||
sigstack.c | ||
sigsuspend.c | ||
sigtimedwait.c | ||
sigvec.c | ||
sigwait.c | ||
sigwaitinfo.c | ||
sleep.c | ||
socket.c | ||
socketpair.c | ||
speed.c | ||
sstk.c | ||
stackinfo.h | ||
start.c | ||
statfs64.c | ||
statfs.c | ||
statvfs64.c | ||
statvfs.c | ||
stdint.h | ||
stdio_init.c | ||
stime.c | ||
stpcpy.c | ||
stpncpy.c | ||
strcasecmp_l.c | ||
strcasecmp.c | ||
strcasestr.c | ||
strcat.c | ||
strchr.c | ||
strchrnul.c | ||
strcmp.c | ||
strcpy.c | ||
strcspn.c | ||
strlen.c | ||
strncase_l.c | ||
strncase.c | ||
strncat.c | ||
strncmp.c | ||
strncpy.c | ||
strpbrk.c | ||
strrchr.c | ||
strsep.c | ||
strspn.c | ||
strstr.c | ||
strtoimax.c | ||
strtok_r.c | ||
strtok.c | ||
strtold.c | ||
strtoumax.c | ||
strtsupp.c | ||
stty.c | ||
sub_n.c | ||
submul_1.c | ||
swapcontext.c | ||
swapoff.c | ||
swapon.c | ||
symlink.c | ||
sync.c | ||
syscall.c | ||
sysconf.c | ||
sysd-stdio.c | ||
sysdep.c | ||
sysdep.h | ||
system.c | ||
sysv_signal.c | ||
tcdrain.c | ||
tcflow.c | ||
tcflush.c | ||
tcgetattr.c | ||
tcgetpgrp.c | ||
tcsendbrk.c | ||
tcsetattr.c | ||
tcsetpgrp.c | ||
telldir.c | ||
tempname.c | ||
testrtsig.h | ||
thread_state.h | ||
time.c | ||
times.c | ||
trampoline.c | ||
truncate64.c | ||
truncate.c | ||
ttyname_r.c | ||
ttyname.c | ||
ualarm.c | ||
udiv_qrnnd.c | ||
ulimit.c | ||
umask.c | ||
uname.c | ||
unlink.c | ||
unlockpt.c | ||
updwtmp.c | ||
updwtmpx.c | ||
usleep.c | ||
ustat.c | ||
utime.c | ||
utimes.c | ||
utmp_file.c | ||
utmpxname.c | ||
varargs.h | ||
vdprintf.c | ||
vfork.c | ||
vhangup.c | ||
vlimit.c | ||
vtimes.c | ||
wait3.c | ||
wait4.c | ||
wait.c | ||
waitid.c | ||
waitpid.c | ||
wcstoimax.c | ||
wcstoumax.c | ||
wordcopy.c | ||
write.c | ||
writev.c | ||
xmknod.c | ||
xstat64.c | ||
xstat.c |