glibc/sysdeps/generic
Ulrich Drepper 04ea3b0fbb Update.
2000-08-27  Bruno Haible  <haible@clisp.cons.org>

	* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
	If nrules == 0 and srclen < n, copy only srclen + 1 characters.

	* sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
	If the result is fits in the buffer, copy only as many bytes as needed.

	* sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
	buffer after copying numbuf into it.
	* sysdeps/mach/_strerror.c (__strerror_r): Likewise.

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

	* posix/confstr.c (confstr): When string_len > len, NUL-terminate
	the result.  When string_len < len, don't clear the rest of the buffer.

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

	Support for new LC_COLLATE format.
	* locale/coll-lookup.h: New file.
	* locale/weightwc.h (findidx): When size == 0, call
	collidx_table_lookup.
	* wcsmbs/wcscoll.c: Include coll-lookup.h.
	* wcsmbs/wcsxfrm.c: Likewise.
	* posix/fnmatch.c: Likewise.
	* posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
	collseq_table_lookup.
	* locale/programs/3level.h: New file.
	* locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
	by including "3level.h".
	* locale/programs/ld-collate.c (wchead_table, collidx_table,
	collseq_table): New types, defined by including "3level.h".
	(locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
	(encoding_mask, encoding_byte): Remove.
	(utf8_encode): Use simple shifts instead.
	(collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
	to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
	(collate_output): New local variable tablewc_3level. When
	!oldstyle_tables, set table_size to 0 and names to NULL and fill
	tablewc_3level instead of tablewc. Change format of TABLEWC and
	COLLSEQWC entries written to the file.
	* locale/C-collate.c (collseqwc): Change format.
	(_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
	of COLLSEQWC.
	* locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.

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

	* locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
	(locale_ctype_t): New charnames_idx field.
	(ctype_startup): Initialize charnames_idx field.
	(find_idx): Speed up dramatically by using charnames_idx inverse table.

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

	* locale/C-ctype.c: Switch to new locale format.
	(_nl_C_LC_CTYPE_names): Remove array.
	(STRUCT_CTYPE_CLASS): New macro.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New three-level tables.
	(_nl_C_LC_CTYPE_width): Change from array to three-level table.
	(_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
	to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
	12 class tables and 2 map tables at the end.
	* ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
	(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
	graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
	New declarations.
	(b): Remove trailing semicolon.
	(__ctype_names, __ctype_width): Don't initialize.
	(__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.

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

	* elf/dl-load.c (open_path): Add a argument telling whether *dirsp
	is guaranteed to be allocated with the same malloc() and may be
	passed to free().
	(_dl_map_object): Update open_path calls. If rtld_search_dirs has
	been set to empty by an earlier open_path call, don't pass it again.
2000-08-29 01:20:23 +00:00
..
bits * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove typedefs. * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs. 2000-08-15 19:01:50 +00:00
elf Update. 2000-03-23 20:31:46 +00:00
net * sysdeps/mach/hurd/if_index.c: New file. 2000-03-24 20:59:00 +00:00
netinet
sys Update. 2000-05-23 08:43:26 +00:00
__longjmp.c
_exit.c
_G_config.h
_strerror.c Update. 2000-08-29 01:20:23 +00:00
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
alphasort64.c Update. 2000-08-14 00:57:30 +00:00
asm-syntax.h
atomicity.h
backtrace.c Update. 2000-07-29 08:11:47 +00:00
backtracesyms.c
backtracesymsfd.c
bb_init_func.c
bcopy.c
bind.c
bp-checks.h Update. 2000-08-17 07:38:02 +00:00
bp-semctl.h * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*. 2000-07-27 07:28:10 +00:00
bp-start.h Update. 2000-06-13 07:33:12 +00:00
bp-sym.h Update. 2000-06-13 07:33:12 +00:00
bp-thunks.h * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias): 2000-07-11 19:30:53 +00:00
brdinit.c
brk.c
bsd-_setjmp.c
bsd-setjmp.c
bzero.c
chdir.c
check_fds.c Update. 2000-05-25 05:02:35 +00:00
chflags.c
chmod.c
chown.c
chroot.c
clock_getcpuclockid.c Update. 2000-04-11 07:08:31 +00:00
clock_getres.c
clock_gettime.c
clock_nanosleep.c Update. 2000-06-26 18:12:12 +00:00
clock_settime.c
clock.c
close.c
closedir.c
cmp.c
configure
configure.in
confstr.h
connect.c
console.c
creat64.c
creat.c
ctermid.c
cuserid.c
dbl2mpn.c
defs.c
det_endian.c
dirfd.c
dirstream.h
Dist Update. 2000-08-01 13:06:28 +00:00
div.c
divmod_1.c
divrem.c
dl-cache.c Update. 2000-05-17 11:04:21 +00:00
dl-cache.h Update. 2000-07-12 21:10:41 +00:00
dl-dtprocnum.h Update. 2000-06-08 04:48:56 +00:00
dl-environ.c Update. 2000-05-04 02:46:54 +00:00
dl-hash.h
dl-librecon.h
dl-lookupcfg.h Update. 2000-05-05 07:15:29 +00:00
dl-machine.h Update. 2000-05-05 07:15:29 +00:00
dl-origin.c Update. 2000-03-23 20:31:46 +00:00
dl-osinfo.h Update. 2000-08-22 17:48:22 +00:00
dl-procinfo.h Update. 2000-05-05 15:33:39 +00:00
dl-sysdep.c (_dl_sysdep_start): Move DL_SYSDEP_OSCHECK before the use of the first system call. 2000-08-22 17:59:19 +00:00
dup2.c
dup.c
e_acoshl.c
e_acosl.c
e_asinl.c
e_atan2l.c
e_atanhl.c
e_coshl.c
e_exp10.c
e_exp10f.c
e_exp10l.c
e_expl.c
e_fmodl.c
e_gammal_r.c
e_hypotl.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_scalb.c
e_scalbf.c
e_scalbl.c
e_sinhl.c
e_sqrtl.c
enbl-secure.c
endutxent.c
entry.h
environ.c
errlist.c
errno-loc.c
euidaccess.c
exc2signal.c
execve.c
fattach.c
fchdir.c
fchflags.c
fchmod.c
fchown.c
fclrexcpt.c Update. 2000-04-04 06:03:48 +00:00
fcntl.c
fdatasync.c
fdetach.c
fdopen.c
fedisblxcpt.c
feenablxcpt.c
fegetenv.c * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). 2000-07-12 17:39:24 +00:00
fegetexcept.c
fegetround.c
feholdexcpt.c
fesetenv.c Update. 2000-04-04 06:03:48 +00:00
fesetround.c
feupdateenv.c Update. 2000-04-04 06:03:48 +00:00
fexecve.c
ffs.c
ffsll.c
fgetexcptflg.c Update. 2000-04-05 00:29:26 +00:00
flock.c
fork.c
fpathconf.c
fpu_control.c
fpu_control.h
fraiseexcpt.c Update. 2000-04-04 06:03:48 +00:00
frame.h Update. 2000-07-29 08:11:47 +00:00
fsetexcptflg.c Update. 2000-04-04 06:03:48 +00:00
fstatfs64.c update. 2000-04-14 07:51:02 +00:00
fstatfs.c
fstatvfs64.c
fstatvfs.c
fsync.c
ftestexcept.c
ftime.c
ftruncate64.c
ftruncate.c
fxstat64.c
fxstat.c
gai_strerror.c
get_clockfreq.c Update. 2000-04-11 07:08:31 +00:00
getaddrinfo.c
getcontext.c
getcwd.c
getdents64.c
getdents.c
getdomain.c Update. 2000-08-29 01:20:23 +00:00
getdtsz.c
getegid.c
getenv.c
geteuid.c
getgid.c
getgroups.c
gethostid.c
gethostname.c Update. 2000-04-02 08:05:36 +00:00
getitimer.c
getloadavg.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
getutmp.c
getutmpx.c
getutxent.c
getutxid.c
getutxline.c
glob64.c
glob.c Update. 2000-08-19 16:58:09 +00:00
gmp-mparam.h
grantpt.c
group_member.c
gtty.c
hp-timing.h Update. 2000-04-18 06:35:08 +00:00
htonl.c
htons.c
if_index.c * sysdeps/mach/hurd/if_index.c: New file. 2000-03-24 20:59:00 +00:00
ifreq.h
init-first.c Update. 2000-03-31 05:50:02 +00:00
init-posix.c
initfini.c Update. 2000-06-28 06:25:27 +00:00
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_sincosl.c
k_sinl.c
k_tanl.c
kill.c
killpg.c
labs.c
lchown.c
ldbl2mpn.c
ldiv.c
ldsodefs.h Update. 2000-08-26 23:41:19 +00:00
libc_fatal.c
libc-start.c (__libc_start_main): Initialize thread library for static programs 2000-07-06 21:16:06 +00:00
libm-test-ulps
link.c
listen.c
llabs.c
lldiv.c
lockf64.c Update. 2000-05-08 14:04:59 +00:00
lockf.c
lockfile.c 2000-03-13 Roland McGrath <roland@baalperazim.frob.com> 2000-03-17 09:03:28 +00:00
longjmp-ts.c
longjmp.c
lseek64.c
lseek.c
lshift.c
lxstat64.c
lxstat.c
machine-gmon.h Update. 2000-07-18 17:18:38 +00:00
machine-lock.h
machine-sp.h
madvise.c 2000-04-14 Andreas Jaeger <aj@suse.de> 2000-04-14 17:36:37 +00:00
makecontext.c
Makefile
math_ldbl.h
memccpy.c Update. 2000-05-07 22:33:59 +00:00
memchr.c Fix copy & paste error: Use memchr instead of memrchr. 2000-07-18 08:36:16 +00:00
memcmp.c
memcopy.h
memcpy.c
memmem.c Update. 2000-05-18 05:35:38 +00:00
memmove.c
mempcpy.c
memrchr.c Update. 2000-04-22 07:19:25 +00:00
memset.c
memusage.h Update. 2000-06-20 06:31:59 +00:00
mig-reply.c
mincore.c Update. 2000-03-20 22:54:01 +00:00
mkdir.c
mkfifo.c
mknod.c Update. 2000-06-14 00:55:24 +00:00
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
open64.c * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). 2000-07-12 17:39:24 +00:00
open.c
opendir.c
opensock.c
pagecopy.h
pathconf.c
paths.h
pause.c
pipe.c
pipestream.c
poll.c
posix_fadvise64.c update. 2000-04-14 07:51:02 +00:00
posix_fadvise.c update. 2000-04-14 07:51:02 +00:00
posix_fallocate64.c update. 2000-04-14 07:51:02 +00:00
posix_fallocate.c update. 2000-04-14 07:51:02 +00:00
pread64.c
pread.c
printf_fphex.c Update. 2000-08-01 03:10:27 +00:00
prof-freq.c
profil-counter.h
profil.c
pselect.c
ptrace.c
ptsname.c
pty-private.h
putenv.c
putmsg.c
putpmsg.c
pututxline.c
pwrite64.c
pwrite.c
raise.c
rawmemchr.c Update. 2000-07-05 15:38:00 +00:00
read.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
readelflib.c Update. 2000-05-26 10:23:45 +00:00
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_asinhl.c
s_atanl.c
s_cacos.c
s_cacosf.c
s_cacosh.c
s_cacoshf.c
s_cacoshl.c
s_cacosl.c
s_casin.c
s_casinf.c
s_casinh.c
s_casinhf.c
s_casinhl.c
s_casinl.c
s_catan.c
s_catanf.c
s_catanh.c
s_catanhf.c
s_catanhl.c
s_catanl.c
s_cbrtl.c
s_ccos.c
s_ccosf.c
s_ccosh.c
s_ccoshf.c
s_ccoshl.c
s_ccosl.c
s_cexp.c
s_cexpf.c
s_cexpl.c
s_clog10.c
s_clog10f.c
s_clog10l.c
s_clog.c
s_clogf.c
s_clogl.c
s_cpow.c
s_cpowf.c
s_cpowl.c
s_cproj.c
s_cprojf.c
s_cprojl.c
s_csin.c
s_csinf.c
s_csinh.c
s_csinhf.c
s_csinhl.c
s_csinl.c
s_csqrt.c
s_csqrtf.c
s_csqrtl.c
s_ctan.c
s_ctanf.c
s_ctanh.c
s_ctanhf.c
s_ctanhl.c
s_ctanl.c
s_erfl.c
s_exp2l.c
s_expm1l.c
s_fdim.c
s_fdimf.c
s_fdiml.c
s_fma.c
s_fmaf.c
s_fmal.c
s_fmax.c
s_fmaxf.c
s_fmaxl.c
s_fmin.c
s_fminf.c
s_fminl.c
s_ldexp.c
s_ldexpf.c
s_ldexpl.c
s_log1pl.c
s_log2l.c
s_nan.c
s_nanf.c
s_nanl.c
s_nextafter.c
s_nexttowardf.c
s_nexttowardl.c
s_significand.c
s_significandf.c
s_significandl.c
s_tanhl.c
sbrk.c
scandir64.c Update. 2000-08-14 00:57:30 +00:00
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 Update. 2000-07-29 08:11:47 +00:00
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
setpgrp.c Update. 2000-06-14 00:55:24 +00:00
setpriority.c
setregid.c
setreuid.c
setrlimit64.c Update. 2000-08-21 04:18:25 +00:00
setrlimit.c
setsid.c
setsockopt.c
settimeofday.c
setuid.c
setutxent.c
shm_open.c Update. 2000-04-12 04:59:33 +00:00
shm_unlink.c Update. 2000-04-12 04:59:33 +00:00
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
siglist.h
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 update. 2000-04-14 07:51:02 +00:00
statfs.c
statvfs64.c
statvfs.c
stdint.h Update. 2000-04-01 22:30:22 +00:00
stdio_init.c
stime.c
stpcpy.c
stpncpy.c
strcasecmp_l.c
strcasecmp.c
strcasestr.c
strcat.c
strchr.c Update. 2000-07-05 15:38:00 +00:00
strchrnul.c Update. 2000-07-05 15:38:00 +00:00
strcmp.c
strcpy.c * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to 2000-07-17 22:31:56 +00:00
strcspn.c
strlen.c Update. 2000-07-05 15:38:00 +00:00
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 Update. 2000-08-15 06:12:25 +00:00
strtol_l.c
strtol.c Update. 2000-07-28 17:45:15 +00:00
strtold.c
strtoll_l.c
strtoll.c
strtoul_l.c
strtoul.c
strtoull_l.c
strtoull.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
t_sincosl.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsendbrk.c
tcsetattr.c Update. 2000-05-23 08:43:26 +00:00
tcsetpgrp.c
telldir.c
tempname.c
testrtsig.h
thread_state.h
time.c
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_settime.c
times.c
trampoline.c
truncate64.c
truncate.c
tst-timer.c Update. 2000-06-13 21:48:25 +00:00
ttyname_r.c
ttyname.c
ualarm.c
udiv_qrnnd.c
ulimit.c
umask.c
uname.c
unlink.c
unlockpt.c
updwtmp.c Fix typo. 2000-04-18 19:59:18 +00:00
updwtmpx.c
usleep.c
ustat.c
utime.c
utimes.c
utmp_file.c Update. 2000-08-21 04:18:25 +00:00
utmpxname.c
vdprintf.c
versionsort64.c Update. 2000-08-14 00:57:30 +00:00
vfork.c Update. 2000-05-23 08:43:26 +00:00
vhangup.c
vlimit.c Update. 2000-08-21 04:18:25 +00:00
vtimes.c
w_expl.c
w_sqrt.c
w_sqrtf.c
wait3.c
wait4.c
wait.c
waitid.c
waitpid.c
wcstoimax.c
wcstol_l.c
wcstol.c
wcstoll_l.c
wcstoll.c
wcstoul_l.c
wcstoul.c
wcstoull_l.c
wcstoull.c
wcstoumax.c
wordcopy.c
write.c
writev.c
xmknod.c
xstat64.c
xstat.c