Update.
[glibc.git] / ChangeLog
blob4ab9d7bd4859bdccabb1f05e027b4bab54c804d6
1 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
3         * grp/initgroups.c: Handle directives from nsswitch.conf file.
5 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
7         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
8         __ino64_t definition.
9         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
10         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
12         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
13         script if lddlibc4 failed.
14         Reported by B. D. Elliott <bde@accessone.com>.
16 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
18         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
19         Improve generated strings a bit.
21 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
23         * posix/Makefile (generated): Remove $(objpfx) from the names.
25 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
28         format string.
30         * libio/iofread_u.c: Include <stdio.h> for prototype.
31         * libio/iofwrite_u.c: Likewise.
33 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
35         * db2/Versions: New file.
37 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
39         * Makefile (lib-noranlib): Don't depend on sysd-versions.
40         ($(common-objpfx)sysd-versions): Remove rule.
41         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
42         Pass name of Versions.def file to script and redirect output to
43         target.  Include it and make all generated version maps depend on
44         it.
45         * versions.awk: Print out variable definition containing all
46         generated version maps.  Print error messages to stderr.  Remove
47         temp file.
49 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
51         * posix/annexc.c (check_header): Terminate macro name before
52         comparing.
53         (get_null_defines): Allow builtin macros with parameters.
54         (fmt, testfmt): Add -D_LIBC.
55         * posix/Makefile: Remove bogus duplicate include directories from
56         annexc test command.
58 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
60         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
61         password scheme.
62         (_nss_nis_getpwnam_r): Likewise.
63         (_nss_nis_getpwuid_r): Likewise.
65 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
67         * libio/Versions: Move symbols whose source lives in
68         stdio-common to ...
69         * stdio-common/Versions: ... here.
70         * stdio/Versions: Add missing symbols.
72 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
74         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
75         __syscall_sendmsg.
76         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
77         __syscall_recvmsg.
78         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
79         and make __recvmsg and recvmsg weak aliases.
80         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
81         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
82         and __syscall_sendmsg.
84 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
86         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
87         stream.
88         * inet/ruserpass.c (token): Likewise.
89         * nss/nsswitch.c (nss_parse_file): Likewise.
90         * intl/localealias.c: Likewise.  Also for ferror.
91         * time/getdate.c (__getdate_r): Likewise.
93         * libio/Makefile (routines): Add iofgets_u.
94         * libio/iofgets_u.c: New file.
95         * libio/Versions: Add fgets_unlocked.
96         * libio/stdio.h: Add prototype for fgets_unlocked.
98         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
99         * misc/getusershell.c (initshells): Likewise.
100         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
101         fgets_unlocked.
102         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
103         * resolv/res_init.c (res_init): Likewise.
104         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
106 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
108         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
109         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
111 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
113         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
114         _unlocked functions.
116         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
117         is a private FILE.
119 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
121         * csu/Makefile: Build crt files in lib pass.
122         * db2/Makefile (distribute): Add mutex/sco.cc.
123         * mach/Machrules: Don't generate .udeps files if no_deps is set.
124         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
125         s-proto.d if avoid-generated is set.
127         * sysdeps/alpha/Dist: List only one file per line.
128         * sysdeps/generic/Dist: Likewise.
129         * sysdeps/m68k/fpu/switch/Dist: Likewise.
130         * sysdeps/sparc/sparc32/Dist: Likewise.
131         * sysdeps/unix/Dist: Likewise.
132         * sysdeps/unix/sysv/irix4/Dist: Likewise.
134         * sysdeps/mach/hurd/i386/Dist: New file.
135         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
136         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
137         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
138         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
140 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
142         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
143         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
145         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
147         * time/tzfile.c (decode): Optimize by using bswap_32.
148         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
149         __tzname array values.
150         (__tzfile_compute): Correct setting of __tzname array values.
151         * time/tzset.c (__tzstring): Clean up a bit.
153 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
155         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
157 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
159         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
160         that fd can be bigger than FD_SETSIZE.
162 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
164         * nscd/grpcache.c: Include <unistd.h>.
165         * nscd/pwdcache.c: Likewise.
167         * nis/nis_modify.c: Include <string.h>.
168         * nis/nis_add.c: Likewise.
169         * nis/nis_checkpoint.c: Likewise.
170         * posix/runptests.c: Likewise.
171         * sysdeps/generic/statvfs64.c: Likewise.
172         * sysdeps/generic/fstatvfs64.c: Likewise.
174 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
176         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
177         to match data from Unicode.
178         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
180 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
182         * stdio-common/printf.h: Define printf_function and
183         printf_arginfo_function types using __PMT not __P.
184         Reported by Marc Lehmann.
186 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
188         * assert/test-assert.c: New test.
189         * assert/test-assert-perr.c: New test.
190         * assert/Makefile (tests): Add test-assert and test-assert-perr.
192 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
194         BSD-style SCM_CREDS support.
196         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
197         SCM_CREDS.
198         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
199         visible SCM_CREDS packet to what the kernel wants.
200         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
201         SCM_CREDS packet output by kernel to what users want.
203         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
204         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
205         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
206         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
208         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
209         __sendmsg and __recvmsg to sysdep_routines.
210         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
212 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
214         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
215         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
216         * nscd/nscd.c: Check, if pthread_create fails.
218 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
220         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
221         format strings.
222         * stdio-common/bug1.c (main): Likewise.
223         * stdio-common/bug5.c (main): Likewise.
224         * stdio-common/tstgetln.c (main): Likewise.
225         * elf/sprof.c (generate_call_graph): Likewise.
226         (load_shobj): Likewise.
227         * posix/runptests.c (main): Likewise.
228         * string/tst-strlen.c (main): Likewise.
230         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
231         variable q3.
232         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
234 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
236         * wctype/Versions: Add __towctrans.
237         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
239 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
241         * grp/initgroups.c (compat_call): Only call dynamically loaded
242         functions if they are really present.
244 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
246         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
247         #ifdef that contains __BEGIN_DECLS.
249 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
251         * libio/iofwrite.c: Fix return value when size == 0.
253 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
255         * posix/Makefile (distribute): Add annexc.c.
256         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
258 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
261         bits/pthreadtypes.h here, and do not clobber headers.
263         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
265 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
267         * timezone/tst-timezone.c: Add tests for tzname variable.
269 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
271         * Makefile [versioning=yes]: Build the mapfiles with a pattern
272         rule that lists all of them as targets.
273         (sysd-versions): Depend only on Versions.def.  Write a Makefile
274         fragment that defines $(vers-libs) based on contents of that file;
275         then include it.
276         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
277         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
278         Predicate all this on avoid-generated unset as well as versioning.
280 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
282         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
284 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
286         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
287         a copy.
288         * Makefile: Add rules to generate map files.
289         (distribute): Remove libc.map, add Versions.def and versions.awk.
290         * Makerules: Change rules to find map files on common-objpfx.
291         * elf/Makefile: Likewise.
292         * md5-crypt/Makefile: Likewise.
293         * nis/Makefile (libnsl-map): Remove.
294         * Versions.def: New file.
295         * versions.awk: New file.
296         * argp/Versions: New file.
297         * assert/Versions: New file.
298         * catgets/Versions: New file.
299         * csu/Versions: New file.
300         * ctype/Versions: New file.
301         * db/Versions: New file.
302         * debug/Versions: New file.
303         * dirent/Versions: New file.
304         * elf/Versions: New file.
305         * gmon/Versions: New file.
306         * grp/Versions: New file.
307         * hesiod/Versions: New file.
308         * hurd/Versions: New file.
309         * iconv/Versions: New file.
310         * inet/Versions: New file.
311         * intl/Versions: New file.
312         * io/Versions: New file.
313         * libio/Versions: New file.
314         * linuxthreads/Versions: New file.
315         * locale/Versions: New file.
316         * login/Versions: New file.
317         * malloc/Versions: New file.
318         * math/Versions: New file.
319         * md5-crypt/Versions: New file.
320         * misc/Versions: New file.
321         * nis/Versions: New file.
322         * nss/Versions: New file.
323         * posix/Versions: New file.
324         * pwd/Versions: New file.
325         * resolv/Versions: New file.
326         * resource/Versions: New file.
327         * rt/Versions: New file.
328         * setjmp/Versions: New file.
329         * shadow/Versions: New file.
330         * signal/Versions: New file.
331         * socket/Versions: New file.
332         * stdio/Versions: New file.
333         * stdio-common/Versions: New file.
334         * stdlib/Versions: New file.
335         * streams/Versions: New file.
336         * string/Versions: New file.
337         * sunrpc/Versions: New file.
338         * sysdeps/alpha/Versions: New file.
339         * sysdeps/alpha/fpu/Versions: New file.
340         * sysdeps/i386/Versions: New file.
341         * sysdeps/sparc/Versions: New file.
342         * sysdeps/unix/sysv/Versions: New file.
343         * sysdeps/unix/sysv/linux/Versions: New file.
344         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
345         * sysdeps/unix/sysv/linux/i386/Versions: New file.
346         * sysdeps/unix/sysv/linux/mips/Versions: New file.
347         * sysvipc/Versions: New file.
348         * termios/Versions: New file.
349         * time/Versions: New file.
350         * wcsmbs/Versions: New file.
351         * wctype/Versions: New file.
352         * libc.map: Removed.
353         * db/libdb.map: Removed.
354         * elf/libdl.map: Removed.
355         * hesiod/libnss_hesiod.map: Removed.
356         * hurd/libhurduser.map: Removed.
357         * hurd/libmachuser.map: Removed.
358         * linuxthreads/libpthread.map: Removed.
359         * locale/libBrokenLocale.map: Removed.
360         * login/libutil.map: Removed.
361         * math/libm.map: Removed.
362         * md5-crypt/libcrypt.map: Removed.
363         * nis/libnsl.map: Removed.
364         * nis/libnsl_compat.map: Removed.
365         * nis/libnss_nis.map: Removed.
366         * nis/libnss_nisplus.map: Removed.
367         * nss/libnss_db.map: Removed.
368         * nss/libnss_files.map: Removed.
369         * resolv/libnss_dns.map: Removed.
370         * resolv/libresolv.map: Removed.
371         * rt/librt.map: Removed.
373         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
374         Fix typos.
376         * elf/rtld.c (process_dl_debug): Recognize 'all'.
377         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
379         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
380         correct size.
382 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
384         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
385         in comment.
387         * nscd/nscd.c: Include unistd.h.
389 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
391         * math/libm-test.c: Adjust delta for indentities1_test because gcc
392         became cleverer.
394 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
396         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
398 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
400         * scripts/test-installation.pl: Include <stdio.h> in test program
401         to make it strictly conforming.
403 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
405         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
406         not a strong alias.
407         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
409         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
410         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
412 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
414         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
415         not a strong alias.
417 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
419         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
420         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
421         bits/pthreadtypes.h.
423 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
425         * include/aio.h: New file.
426         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
427         (tests): Build and run annexc program.
428         * posix/annexc.c: New file.
429         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
430         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
431         * rt/aio_misc.c: Include limits.h.
432         * rt/aio_notify.c: Include errno.h.
433         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
434         Define size_t.
435         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
436         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
437         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
438         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
439         kernel doesn't do this.
440         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
441         __USE_LARGEFILE64 is defined.
442         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
443         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
444         if requested.
445         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
447         * stdlib/isomac.c: Avoid include_next warning.
449 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
451         * argp/argp.h: Use __PMT instead of __P for function pointer.
452         * iconv/gconv.h: Likewise.
453         * io/fts.h: Likewise.
454         * io/ftw.h: Likewise.
455         * libio/libio.h: Likewise.
456         * malloc/mcheck.h: Likewise.
457         * misc/search.h: Likewise.
458         * posix/glob.h: Likewise.
459         * resolv/resolv.h: Likewise.
460         * signal/signal.h: Likewise.
461         * stdlib/stdlib.h: Likewise.
462         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
463         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
465 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
467         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
469 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
471         * posix/wordexp.c (parse_param): Fix memory leak.
473 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
475         * libc.map: Export _IO_ftrylockfile.
477 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
479         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
480         __get[pu]id.
482 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
484         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
486         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
487         same search list twice.
489 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
491         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
492         used to optimize loop/select.
494 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
496         * sysdeps/generic/init-first.c: Don't define __libc_pid.
497         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
498         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
499         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
500         * sysdeps/arm/init-first.c: Likewise.
501         * posix/getopt_init.c: Don't use __libc_pid.
502         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
503         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
504         * libc.map: Remove __libc_uid and __libc_pid.
506 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
508         * sunrpc/rtime.c (rtime): Use poll instead of select.
510 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
512         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
513         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
514         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
515         Patches from FreeBSD current.
517 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
519         * nscd/connections.c (handle_new_request): Handle POLLHUP
520         correctly.
521         (close_sockets): Correct parameter to dbg_log.
523 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
525         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
526         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
527         (elf_machine_fixup_plt): Likewise.
528         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
529         _dl_pagesize not set, use system call to always get correct answer.
530         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
531         (__syscall_getpagesize): Add
533 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
535         * resolv/res_send.c (res_send): Fix typo.
537 1998-06-25  Andi Kleen <ak@muc.de>
539         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
540         * resolv/res_send.c (res_send): Likewise.
542 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
544         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
545         * sysdeps/unix/sysv/linux/poll.c: Likewise.
547 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
549         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
550         * math/atest-exp2.c (exp_mpn, main): Likewise.
551         * math/atest-sincos.c (main): Likewise.
553         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
554         base handling away from strtoul.  Always reset errno.
556         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
558         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
559         _dl_profile_map if _dl_name_match_p.
560         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
561         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
563         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
564         as early-clobber.
566         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
567         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
568         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
570 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
572         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
574 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
576         * nis/nis_call.c: Don't copy server structure.
577         * nis/nis_intern.h: Remove unused entries.
578         * nis/nis_table.c: Rewrite __create_ib_request.
580 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
582         * configure.in: Check for -fexceptions.
583         * config.make.in: Define exceptions, not no-exceptions.
584         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
585         __P to use throw().
586         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
587         $(exceptions).
588         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
589         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
590         lfind, and lsearch prototpypes.
591         * stdlib/stdlib.h: Likewise for bsearch and qsort.
593 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
595         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
597 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
599         * Makefile (remove-old-headers): Make phony.
601         * configure.in: Substitute @old_glibc_headers@.
603 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
605         * libc.map: Remove __libc_uid.
607 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
609         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
610         typos.
612 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
614         * libc.map: Add Alpha-specific io function from protected namespace.
616 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
618         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
619         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
620         CPPFLAGS.
622         * libc.map: Export __sigaction.
624 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
626         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
627         (from Linux 2.1.107).
629 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
631         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
632         position when file was opened here.
633         Reported by Howard Chu <hyc@platinum.com>.
635         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
636         undefined in a second inclusion.
638 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
640         * sysdeps/mach/hurd/i386/Makefile: New file.
641         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
642         __libc_init_secure.
643         (_hurd_stack_setup): Renamed
644         from __libc_init_first.
645         (__libc_init_first): New function.
646         * sysdeps/mach/hurd/i386/static-start.S: New file.
648 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
650         * sysdeps/mach/hurd/i386/init-first.c
652 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
654         * grp/initgroups.c: Use _CALL_DL_FCT.
656 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
658         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
660 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
662         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
664 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
666         * config.make.in: Remove LDAP support.
667         * nss/Makefile: Likewise.
669 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
671         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
672         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
673         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
674         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
676 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
678         * mach/Makefile: Change `mv' invocations to `mv -f'.
679         * mach/Machrules: Likewise.
681 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
683         * config.make.in (old-glibc-headers): Add it.
685         * configure.in: Add test for glibc 2.0.x headers.
687         * Makefile (headers2_0): New variable - contains so far only
688         Linux/Intel glibc 2.0.x headers.
689         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
690         (install): Depend on remove-old-headers.
692 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
694         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
695         make ftruncate a weak alias.
696         * sysdeps/mach/hurd/ftruncate.c: Really define function as
697         __ftruncate.
698         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
699         (truncate): Fix function defenition to match prototype.
701 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
703         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
704         unlockpt, ptsname, ptsname_r, openpty and forkpty.
706 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
708         * sysdeps/generic/glob.c: Make it possible to include glob.h
709         before loading glob.c.
710         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
712 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
714         * nscd/connections.c: Use poll() instead of select().
716 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
718         * sysdeps/generic/Dist: Fix typo.
720 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
722         * nis/nis_add.c: Avoid unnecessary strlen () calls.
723         * nis/nis_addmember.c: Likewise.
724         * nis/nis_call.c: Likewise.
725         * nis/nis_creategroup.c: Likewise.
726         * nis/nis_destroygroup.c: Likewise.
727         * nis/nis_findserv.c: Likewise.
728         * nis/nis_ismember.c: Likewise.
729         * nis/nis_print.c: Likewise.
730         * nis/nis_print_group_entry.c: Likewise.
731         * nis/nis_removemember.c: Likewise.
732         * nis/nis_verifygroup.c: Likewise.
733         * nis/ypclnt.c: Likewise.
735         * nis/nis_file.c: Close file handles.
737         * nis/nis_callback.c: Fix typo.
739 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
741         * nis/Makefile: Add nis-initgroups and compat-initgroups.
742         * nis/libnss_compat.map: Add _nss_compat_initgroups.
743         * nis/libnss_nis.map: Add _nss_nis_initgroups.
744         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
745         * nis/nss_nis/nis-initgroups.c: Likewise.
746         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
747         __nss_lookup_function and make it public.
748         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
749         module if exists, else use old method.
751 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
753         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
754         definition.
755         * nss/getXXent_r.c (set_function, end_function, get_function):
756         Likewise.  Reported by Thorsten Kukuk.
758         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
760 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
762         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
763         1998-06-16 and distribute kernel_termios.h.
765         * nis/Makefile (distribute): Add nis_xdr.h.
767 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
769         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
770         kernels that don't have sigaltstack.
772 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
774         * sysdeps/generic/bits/sem.h: Don't define union semun.
776         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
778         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
779         here.
780         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
781         definition here.
783 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
785         * signal/signal.h: Add prototype for __sigaltstack.
786         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
787         Remove sigstack entry.
788         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
789         * sysdeps/unix/sysv/linux/sigstack.c: New file.
791         * sysdeps/i386/backtrace.c: Add casts.
793 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
795         * intl/dcgettext.c: use complete type name.
796         * intl/hash-string.h: Likewise.
798         * intl/localealias.c: Undo patch from 1998-04-29.
799         * intl/l10nflist.c: Likewise.
800         * intl/loadinfo.h: Likewise.
802 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
804         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
806 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
808         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
809         _dl_mcount, _dl_mcount_wrapper.
810         * elf/Makefile (routines): Add dl-profstub.
811         * elf/dl-profstub.c: New file.
812         * elf/dl-support.c: Don't define _dl_profile_map.
813         * elf/rtld.c: Likewise.
814         * elf/dlfcn.h: Define DL_CALL_FCT macro.
815         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
816         Define _CALL_DL_FCT.
817         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
818         loaded object.
819         * iconv/gconv_db.c: Likewise.
820         * iconv/skeleton.c: Likewise.
821         * nss/getXXbyYY_r.c: Likewise.
822         * nss/getXXent_r.c: Likewise.
823         * nss/nsswitch.c: Likewise.
825 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
827         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
828         * sysdeps/libm-i387/e_scalbf.S: Likewise.
829         * sysdeps/libm-i387/e_scalbl.S: Likewise.
831 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
833         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
834         longestdbl.
836 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
838         * iconvdata/Makefile (modules): Add MACINTOSH.
839         (MACINTOSH-routines): New variable.
840         (distribute): Add macintosh.c.
841         (awk-generated-headers): Add macintosh.h.
842         Add rule for macintosh.h generation.
843         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
844         * iconvdata/macintosh.c: New file.
846 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
848         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
850         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
851         only should happen for cy != 0.
853         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
854         glob.h.
856 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
858         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
859         to compare stack addresses.
861 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
863         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
864         defining prototypes.
866 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
868         * sysdeps/sparc/sparc32/dl-machine.h
869         (elf_machine_fixup_plt): During rtld bootstrap, always perform
870         flushes as the kernel will emulate it when the underlying cpu does
871         not implement flush.
873         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
874         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
876         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
877         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
878         trampoline code.
880         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
881         (__clone): Branch to label .Lerror not __clone_syscall_error.
882         (.Lerror): Fixup EINVAL setting.
883         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
884         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
885         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
886         (__syscall_getgroups, __syscall_setgroups): Add.
888         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
889         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
890         around sa_mask data.
892 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
894         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
896         * string/Makefile: Make sure test-ffs does not use builtins.
898 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
900         * sunrpc/svc.c: Check for NULL pointer.
902         * nis/libnsl.map: Add public NIS+ xdr functions.
904         * nis/rpcsvc/nis_callback.h: New file.
905         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
906         * nis/nis_xdr.h: ... here.
908         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
909         pointers, use NIS+ defines where possible.
910         * nis/nis_cache.c: Likewise.
911         * nis/nis_cache2_xdr.c: Likewise.
912         * nis/nis_call.c: Likewise.
913         * nis/nis_checkpoint.c: Likewise.
914         * nis/nis_clone_dir.c: Likewise.
915         * nis/nis_clone_obj.c: Likewise.
916         * nis/nis_clone_res.c: Likewise.
917         * nis/nis_creategroup.c: Likewise.
918         * nis/nis_file.c: Likewise.
919         * nis/nis_free.c: Likewise.
920         * nis/nis_getservlist.c: Likewise.
921         * nis/nis_local_names.c: likewise.
922         * nis/nis_lookup.c: Likewise.
923         * nis/nis_mkdir.c: Likewise.
924         * nis/nis_modify.c: Likewise.
925         * nis/nis_ping.c: Likewise.
926         * nis/nis_print.c: Likewise.
927         * nis/nis_remove.c: Likewise.
928         * nis/nis_removemember.c: Likewise.
929         * nis/nis_rmdir.c: Likewise.
930         * nis/nis_server.c: Likewise.
931         * nis/nis_table.c: Likewise.
932         * nis/nis_util.c: Likewise.
933         * nis/nis_verifygroup.c: Likewise.
934         * nis/nis_xdr.c: Likewise.
935         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
936         * nis/nis_xdr.c: ... to here.
938 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
940         * iconvdata/ksc5601.h: Clean up a bit.
942 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
944         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
945         and process incoming data.
946         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
947         fragments as invalid.
948         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
950 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
952         Removal of duplicates like "the the".
953         * manual/time.texi (TZ Variable): Likewise.
954         * manual/users.texi (Manipulating the Database): Likewise.
955         * manual/sysinfo.texi (Filesystem handling): Likewise.
956         * manual/signal.texi (Signaling Yourself): Likewise.
957         * manual/message.texi (Message Translation): Likewise.
958         (Common Usage): Likewise.
959         * manual/llio.texi: Likewise.
960         * manual/arith.texi (Old-style number conversion): Likewise.
961         * manual/argp.texi (Argp): Likewise.
962         (Argp Parsers): Likewise.
963         (Argp Help Filtering): Likewise.
965         * hesiod/README.hesiod: Correct typo.
967         * manual/llio.texi: Correct typos.
968         * manual/sysinfo.texi: Likewise.
970 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
972         * rt/aio.h: Rename __op to __operation for g++.
974 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
976         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
977         script.
978         * iconvdata/gen-8bit-gap-1.sh: Likewise.
979         * iconvdata/gen-8bit.sh: Clean up sed script.
981         * iconvdata/Makefile: Remove all PERL conditionals; build all
982         the modules all the time.  Export AWK.
983         (gen-8bit-gap): Delete setting of PERL.
984         (gen-8bit-gap-1): Likewise.
985         (perl-generated-headers): Renamed awk-generated-headers.
987         * iconvdata/gap.pl: Removed.
988         * iconvdata/gaptab.pl: Removed.
989         * iconvdata/gap.awk: New file.
990         * iconvdata/gaptab.awk: New file.
992 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
994         * sysdeps/generic/Dist: Add errno-loc.c.
996         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
997         __new_* functions.
999 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1001         * stdio-common/bug12.c: New test for fread()/fseek().
1002         * stdio-common/Makefile (tests): Add bug12.
1004 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1006         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1007         constant.
1008         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1009         * debug/execinfo.h: Update declaration.
1011 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1013         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1014         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1015         * debug/execinfo.h: Update declaration.
1017 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1019         * manual/llio.texi: Fix spelling.
1020         * manual/sysinfo.texi: Fix spelling.
1022 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1024         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1025         alias for old name.  Put this on __libc_subfreeres.
1026         * misc/search.h: Declare it.
1028 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1030         * string/bits/string2.h (strcmp): Add missing parens around macro
1031         parameters.
1033 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1035         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1037         * manual/filesys.texi: Document LFS functions.
1038         * manual/llio.texi: Likewise.
1039         * manual/stdio.texi: Likewise.
1040         * manual/time.texi: Likewise.
1042         * manual/llio.texi: Document AIO functions.
1044         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1045         * sysdeps/generic/setrlimit.c: Likewise.
1046         * sysdeps/generic/setrlimit64.c: Likewise.
1047         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1048         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1050 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1052         * sysdeps/generic/getenv.c: Fix last change.
1054 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1056         * sysdeps/generic/backtrace.c: Provide generic implementation.
1058 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1060         * configure.in: Give visual feedback of the default directories we
1061         added.
1063 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1065         * io/fts.c (fts_build): Define oflag only if needed.
1067 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1069         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1071 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1073         * libc.map: Don't export argp's fmtstream handling functions.
1075         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1076         * manual/llio.texi: Document more LFS functions and start documenting
1077         the AIO functions.
1079 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1081         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1082         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1083         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1084         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1086 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1088         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1089         makes it easier to undump emacs.
1090         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1091         for when the endianness can't be determined.
1093 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1095         * nss/Makefile: Add files publickey database support.
1096         * nss/libnss_files.map: Export the required functions.
1097         * nss/nss_files/files-key.c: Implement it.
1098         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1100 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1102         * iconv/gconv_builtin.h: Add aliases for CORBA.
1103         * iconvdata/gconv-modules: Likewise.
1105 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1107         * math/libm-test.c (main): Call exp10_test.
1108         (exp10_test): New function which tests exp10.
1110 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1112         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1113         sigstack.
1115         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1116         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1117         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1119 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1121         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1122         in the variable, not its GOT slot.
1124 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1126         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1127         inline.
1128         * sysdeps/m68k/fpu/e_exp10.c: New file.
1129         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1130         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1132         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1133         _dl_profile_map only if the name matches.
1134         (_dl_start_user): Remember stack address.
1135         * sysdeps/m68k/elf/start.S: Pass new argument to
1136         __libc_start_user.
1138         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1139         definition.
1140         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1141         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1142         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1143         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1144         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1146 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1148         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1149         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1150         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1151         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1152         prototypes.
1153         * sysdeps/libm-i387/e_exp10.S: New file.
1154         * sysdeps/libm-i387/e_exp10f.S: New file.
1155         * sysdeps/libm-i387/e_exp10l.S: New file.
1156         * sysdeps/libm-ieee754/e_exp10.c: New file.
1157         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1158         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1159         * sysdeps/libm-ieee754/w_exp10.c: New file.
1160         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1161         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1162         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1164 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1166         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1167         sys/elf.h and sys/reg.h.
1168         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1169         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1170         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1171         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1173         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1174         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1176 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1178         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1179         __data member only for gcc.  Reported by ak@muc.de.
1181         * misc/mntent.h: Undo last patch.
1182         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1183         * misc/tst/mntent.c: Adjust code for this change.
1185         * io/fts.c: Updated from a slightly more recent BSD version.
1186         * io/fts.h: Likewise.
1188         * libc.map: Add __libc_stack_end.
1190         * db2/Makefile (routines): Add lock_region.
1191         * db2/config.h: Update from db-2.4.14.
1192         * db2/db.h: Likewise.
1193         * db2/db_185.h: Likewise.
1194         * db2/db_int.h: Likewise.
1195         * db2/btree/bt_close.c: Likewise.
1196         * db2/btree/bt_compare.c: Likewise.
1197         * db2/btree/bt_conv.c: Likewise.
1198         * db2/btree/bt_cursor.c: Likewise.
1199         * db2/btree/bt_delete.c: Likewise.
1200         * db2/btree/bt_open.c: Likewise.
1201         * db2/btree/bt_page.c: Likewise.
1202         * db2/btree/bt_put.c: Likewise.
1203         * db2/btree/bt_rec.c: Likewise.
1204         * db2/btree/bt_recno.c: Likewise.
1205         * db2/btree/bt_rsearch.c: Likewise.
1206         * db2/btree/bt_search.c: Likewise.
1207         * db2/btree/bt_split.c: Likewise.
1208         * db2/btree/bt_stat.c: Likewise.
1209         * db2/btree/btree.src: Likewise.
1210         * db2/btree/btree_auto.c: Likewise.
1211         * db2/clib/getlong.c: Likewise.
1212         * db2/common/db_appinit.c: Likewise.
1213         * db2/common/db_apprec.c: Likewise.
1214         * db2/common/db_byteorder.c: Likewise.
1215         * db2/common/db_err.c: Likewise.
1216         * db2/common/db_log2.c: Likewise.
1217         * db2/common/db_region.c: Likewise.
1218         * db2/common/db_salloc.c: Likewise.
1219         * db2/common/db_shash.c: Likewise.
1220         * db2/db/db.c: Likewise.
1221         * db2/db/db.src: Likewise.
1222         * db2/db/db_auto.c: Likewise.
1223         * db2/db/db_conv.c: Likewise.
1224         * db2/db/db_dispatch.c: Likewise.
1225         * db2/db/db_dup.c: Likewise.
1226         * db2/db/db_overflow.c: Likewise.
1227         * db2/db/db_pr.c: Likewise.
1228         * db2/db/db_rec.c: Likewise.
1229         * db2/db/db_ret.c: Likewise.
1230         * db2/db/db_thread.c: Likewise.
1231         * db2/db185/db185.c: Likewise.
1232         * db2/db185/db185_int.h: Likewise.
1233         * db2/dbm/dbm.c: Likewise.
1234         * db2/hash/hash.c: Likewise.
1235         * db2/hash/hash.src: Likewise.
1236         * db2/hash/hash_auto.c: Likewise.
1237         * db2/hash/hash_conv.c: Likewise.
1238         * db2/hash/hash_debug.c: Likewise.
1239         * db2/hash/hash_dup.c: Likewise.
1240         * db2/hash/hash_func.c: Likewise.
1241         * db2/hash/hash_page.c: Likewise.
1242         * db2/hash/hash_rec.c: Likewise.
1243         * db2/hash/hash_stat.c: Likewise.
1244         * db2/include/btree.h: Likewise.
1245         * db2/include/btree_ext.h: Likewise.
1246         * db2/include/clib_ext.h: Likewise.
1247         * db2/include/common_ext.h: Likewise.
1248         * db2/include/cxx_int.h: Likewise.
1249         * db2/include/db.h.src: Likewise.
1250         * db2/include/db_185.h.src: Likewise.
1251         * db2/include/db_am.h: Likewise.
1252         * db2/include/db_auto.h: Likewise.
1253         * db2/include/db_cxx.h: Likewise.
1254         * db2/include/db_dispatch.h: Likewise.
1255         * db2/include/db_ext.h: Likewise.
1256         * db2/include/db_int.h.src: Likewise.
1257         * db2/include/db_page.h: Likewise.
1258         * db2/include/db_shash.h: Likewise.
1259         * db2/include/db_swap.h: Likewise.
1260         * db2/include/hash.h: Likewise.
1261         * db2/include/hash_ext.h: Likewise.
1262         * db2/include/lock.h: Likewise.
1263         * db2/include/lock_ext.h: Likewise.
1264         * db2/include/log.h: Likewise.
1265         * db2/include/log_ext.h: Likewise.
1266         * db2/include/mp.h: Likewise.
1267         * db2/include/mp_ext.h: Likewise.
1268         * db2/include/mutex_ext.h: Likewise.
1269         * db2/include/os_ext.h: Likewise.
1270         * db2/include/os_func.h: Likewise.
1271         * db2/include/queue.h: Likewise.
1272         * db2/include/shqueue.h: Likewise.
1273         * db2/include/txn.h: Likewise.
1274         * db2/lock/lock.c: Likewise.
1275         * db2/lock/lock_conflict.c: Likewise.
1276         * db2/lock/lock_deadlock.c: Likewise.
1277         * db2/lock/lock_region.c: Likewise.
1278         * db2/lock/lock_util.c: Likewise.
1279         * db2/log/log.c: Likewise.
1280         * db2/log/log.src: Likewise.
1281         * db2/log/log_archive.c: Likewise.
1282         * db2/log/log_auto.c: Likewise.
1283         * db2/log/log_compare.c: Likewise.
1284         * db2/log/log_findckp.c: Likewise.
1285         * db2/log/log_get.c: Likewise.
1286         * db2/log/log_put.c: Likewise.
1287         * db2/log/log_rec.c: Likewise.
1288         * db2/log/log_register.c: Likewise.
1289         * db2/mp/mp_bh.c: Likewise.
1290         * db2/mp/mp_fget.c: Likewise.
1291         * db2/mp/mp_fopen.c: Likewise.
1292         * db2/mp/mp_fput.c: Likewise.
1293         * db2/mp/mp_fset.c: Likewise.
1294         * db2/mp/mp_open.c: Likewise.
1295         * db2/mp/mp_pr.c: Likewise.
1296         * db2/mp/mp_region.c: Likewise.
1297         * db2/mp/mp_sync.c: Likewise.
1298         * db2/mutex/68020.gcc: Likewise.
1299         * db2/mutex/mutex.c: Likewise.
1300         * db2/mutex/parisc.gcc: Likewise.
1301         * db2/mutex/parisc.hp: Likewise.
1302         * db2/mutex/sco.cc: Likewise.
1303         * db2/os/os_abs.c: Likewise.
1304         * db2/os/os_alloc.c: Likewise.
1305         * db2/os/os_config.c: Likewise.
1306         * db2/os/os_dir.c: Likewise.
1307         * db2/os/os_fid.c: Likewise.
1308         * db2/os/os_fsync.c: Likewise.
1309         * db2/os/os_map.c: Likewise.
1310         * db2/os/os_oflags.c: Likewise.
1311         * db2/os/os_open.c: Likewise.
1312         * db2/os/os_rpath.c: Likewise.
1313         * db2/os/os_rw.c: Likewise.
1314         * db2/os/os_seek.c: Likewise.
1315         * db2/os/os_sleep.c: Likewise.
1316         * db2/os/os_spin.c: Likewise.
1317         * db2/os/os_stat.c: Likewise.
1318         * db2/os/os_unlink.c: Likewise.
1319         * db2/progs/db_archive/db_archive.c: Likewise.
1320         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1321         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1322         * db2/progs/db_dump/db_dump.c: Likewise.
1323         * db2/progs/db_dump185/db_dump185.c: Likewise.
1324         * db2/progs/db_load/db_load.c: Likewise.
1325         * db2/progs/db_printlog/db_printlog.c: Likewise.
1326         * db2/progs/db_recover/db_recover.c: Likewise.
1327         * db2/progs/db_stat/db_stat.c: Likewise.
1328         * db2/txn/txn.c: Likewise.
1329         * db2/txn/txn.src: Likewise.
1330         * db2/txn/txn_auto.c: Likewise.
1331         * db2/txn/txn_rec.c: Likewise.
1333         * elf/rtld.c: Move definition of __libc_stack_end to ...
1334         * sysdeps/generic/dl-sysdep.h: ...here.
1336         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1337         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1338         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1340         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1341         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1342         before following it.
1344 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1346         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1347         from mntent correctly.
1349 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1351         * sunrpc/Makefile (generated): Correct typo.
1353 1998-06-04  Philip Blundell  <philb@gnu.org>
1355         * elf/elf.h (EM_ARM, et al.): New definitions.
1356         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1358 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1360         * localedata/SUPPORTED: Add sk_SK.
1361         * localedata/locales/sk_SK: New file.
1363 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1365         * Makeconfig (subdirs): Add debug.
1366         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1367         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1368         backtrace_symbols.
1369         * sysdeps/generic/backtrace.c: New file.
1370         * sysdeps/generic/backtracesyms.c: New file.
1371         * sysdeps/generic/elf/backtracesyms.c: New file.
1372         * sysdeps/i386/backtrace.c: New file.
1373         * debug/Makefile: New file.
1374         * debug/backtrace-tst.c: New file.
1375         * debug/execinfo.h: New file.
1377 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1379         * elf/sprof.c: Implement call graph profiling.
1381         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1383 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1385         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1386         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1387         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1388         Noticed by Jake Garver <garver@valkyrie.net>.
1390 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1392         * libio/genops.c (__underflow): Read character from read pointer
1393         as unsigned.
1394         (__uflow): Likewise.
1396 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1398         * libc.map: Add _dl_profile.
1399         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1400         this to ELF_DYNAMIC_RELOCATE.
1401         Always allocate array for relocation result if LD_PROFILE is defined.
1402         * elf/ldsodefs.h: Adjust prototypes.
1403         * elf/dl-open.c (_dl_open): Call relocation function with extra
1404         argument.
1405         * elf/rtld.c: Likewise.
1406         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1407         Correct loop condition.
1408         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1409         consider_profile to runtime setup function.
1410         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1411         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1413         * elf/dl-support.c: Define __libc_stack_end.
1414         * elf/rtld.c: Likewise.
1415         * sysdeps/generic/libc-start.c: Store last stack address in
1416         __libc_stack_end.
1417         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1418         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1420         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1421         Include <stdint.h>, not <inttypes.h>.
1423         * elf/sprof.c: Implement flat profiling.
1425         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
1426         _IO_funlockfile explicitly.
1427         * libio/fileops.c: Likewise.
1428         * libio/fputc.c: Likewise.
1429         * libio/freopen.c: Likewise.
1430         * libio/freopen64.c: Likewise.
1431         * libio/fseek.c: Likewise.
1432         * libio/fseeko.c: Likewise.
1433         * libio/fseeko64.c: Likewise.
1434         * libio/ftello.c: Likewise.
1435         * libio/ftello64.c: Likewise.
1436         * libio/getc.c: Likewise.
1437         * libio/getchar.c: Likewise.
1438         * libio/iofclose.c: Likewise.
1439         * libio/iofflush.c: Likewise.
1440         * libio/iofgetpos.c: Likewise.
1441         * libio/iofgetpos64.c: Likewise.
1442         * libio/iofgets.c: Likewise.
1443         * libio/iofputs.c: Likewise.
1444         * libio/iofread.c: Likewise.
1445         * libio/iofsetpos.c: Likewise.
1446         * libio/iofsetpos64.c: Likewise.
1447         * libio/ioftell.c: Likewise.
1448         * libio/iofwrite.c: Likewise.
1449         * libio/iogetdelim.c: Likewise.
1450         * libio/iogets.c: Likewise.
1451         * libio/ioputs.c: Likewise.
1452         * libio/ioseekoff.c: Likewise.
1453         * libio/ioseekpos.c: Likewise.
1454         * libio/iosetbuffer.c: Likewise.
1455         * libio/iosetvbuf.c: Likewise.
1456         * libio/ioungetc.c: Likewise.
1457         * libio/iovsprintf.c: Likewise.
1458         * libio/iovsscanf.c: Likewise.
1459         * libio/oldfileops.c: Likewise.
1460         * libio/oldiofclose.c: Likewise.
1461         * libio/peekc.c: Likewise.
1462         * libio/putc.c: Likewise.
1463         * libio/putchar.c: Likewise.
1464         * libio/rewind.c: Likewise.
1466         * malloc/mtrace.c: Pretty print.
1468         * misc/mntent.h (struct mentent): Make string elements const char *.
1470         * nis/nis_printf.c: Optimize I/O a little bit.
1472         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
1473         * sysdeps/generic/sigset-cvt-mask.h: New file.
1474         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
1475         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
1476         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
1477         sigset-cvt-mask.h to do the dirty work.
1478         Patches by Joe Keane.
1480         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
1482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
1483         syscall_error label in case of PIC anonymous.
1484         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
1485         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
1486         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
1487         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
1488         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
1489         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
1490         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
1492 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
1494         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
1495         we cannot declare the struct element as const.
1496         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
1497         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
1499 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1501         * manual/Makefile: Include ../Makeconfig earlier.
1502         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
1503         exist.
1504         (dir-add.texinfo): Remove useless $(SHELL).
1506 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1508         * Makefile (others): Build programs from install-bin.
1509         * configure.in: Modify config.make only if is was just created and
1510         move that command to second argument of AC_OUTPUT.  Add command to
1511         set config_vars in config.status.
1513 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1515         * malloc/Makefile (address-width): Fix conditional.
1517 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1519         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
1520         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
1521         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
1522         version GLIBC_2.1.
1524 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1526         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
1527         (Floating Point Parameters): Likewise.
1529 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1531         * hurd/Makefile (routines): Add cthreads.
1533 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1535         * login/login.c (login): Let pututline take care of finding the
1536         positin to insert the UTMP entry.  This corrects a bug where ssh
1537         was not reusing UTMP entries marked as DEAD_PROCESS.
1538         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1540 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1542         * login/Makefile (tests): New variable, add tst-utmp and
1543         tst-utmpx.
1544         * login/tst-utmp.c: New file.
1545         * login/tst-utmpx.c: New file.
1547 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1549         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1550         aliases for _hurd_nerr, for programs that don't use sys_errlist,
1551         but need sys_err.
1553 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1555         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1556         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1558 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1560         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1561         make __read a weak alias.  Use ANSI-style function definition.
1562         * sysdeps/mach/hurd/write.c: Likewise.
1564 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1566         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1567         _sys_errlist.
1569 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1571         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1572         Renamed from librtld.so.
1574 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1576         * libc.map: Remove _IO_getline_info which was erroneously
1577         introduced in section GLIBC_2.0.
1578         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1580 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1582         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1583         created a weak alias.
1584         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1586 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
1588         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1589         ftruncate function, and create a weak alias to ftruncate.
1591 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1593         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1594         * inet/getnetgrent_r.c: Likewise.
1595         * nss/getXXbyYY_r.c: Likewise.
1596         * nss/getXXent_r.c: Likewise.
1597         * pwd/fgetpwent_r.c: Likewise.
1598         * shadow/sgetspent_r.c: Likewise.
1599         * shadow/fgetspent_r.c: Likewise.
1600         * sunrpc/publickey.c: Likewise.
1602 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1604         * hurd/libhurduser.map: New file.
1605         * mach/libmachuser.map: Likewise.
1607         * libc.map: Add Hurd-specific functions to version 2.1.
1608         Add __flshfp and __fillbf.
1610 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1612         * manual/signal.texi (Basic Signal Handling): Fix typo.
1613         * manual/errno.texi (Error Codes): Likewise.
1615 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
1617         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1618         instead of <sys/socket.h>.
1619         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1621         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1622         Finally make it working.
1623         Patch by Mark Hatle <fray@kernel.crashing.org>.
1625 1998-03-22  Paul Eggert  <eggert@twinsun.com>
1627         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1628         a Solaris 2.6 bug.
1630 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
1632         * stdlib/gmp-impl.h: Support strange mixed-endian double format
1633         used by ARM systems.
1634         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1635         FE_EXCEPT_SHIFT.
1636         * sysdeps/arm/bits/fenv.h: Deleted.
1637         * sysdeps/arm/fpu/ieee754.h: New file.
1638         * sysdeps/arm/gmp-mparam.h: New file.
1639         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1640         implementation.
1642 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
1644         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1646         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1647         of ((unused)).  Reported by Bruno Haible.
1649 1998-05-31  Philip Blundell  <philb@gnu.org>
1651         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1652         referring to errno and _errno.
1654         * sysdeps/arm/fpu/feholdexcpt.c: New file.
1656         * sysdeps/i386/fpu_control.h: Fix typo.
1658         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1659         (_JMPBUF_UNWINDS): Added.
1660         * sysdeps/arm/fpu/bits/setjmp.h: New file.
1662 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
1664         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1665         order to build header files, not `generated'.
1667         * Rules (before-compile): New target which depends on all
1668         $(before-compile) files.
1670 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1672         * nis/nis_call.c: Make directory search faster.
1674         * nis/nis_callback.c: Insert public key of user in callback data.
1676         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
1678         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
1680         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
1682         * nis/nis_intern.h: Remove duplicated prototype.
1684 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1686         * sunrpc/auth_des.c: Move prototypes from here ...
1687         * sunrpc/rpc/auth.h: ... to here.
1689         * sunrpc/clnt_tcp.c: Add more control flags.
1690         * sunrpc/clnt_udp.c: Likewise.
1692         * sunrpc/netname.c (host2netname): Remove prefixing dot from
1693         domainname.
1695         * sunrpc/rpc/clnt.h: Document, which control flags are not
1696         implementable.
1698         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
1700 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
1702         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
1703         files crash the program.
1705         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
1706         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
1707         Reported by Deborah Wallach <kerr@pa.dec.com>.
1709 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1711         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
1712         on whether this is a stable release or not (keeps snapshot bug
1713         reports out of the database).
1715         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
1716         * sysdeps/arm/sysdep.h: Likewise.
1717         * sysdeps/i386/sysdep.h: Likewise.
1718         * sysdeps/m68k/sysdep.h: Likewise.
1719         * sysdeps/mach/mips/sysdep.h: Likewise.
1720         * sysdeps/mach/sys/reboot.h: Likewise.
1721         * sysdeps/mach/sysdep.h: Likewise.
1722         * sysdeps/unix/alpha/sysdep.h: Likewise.
1723         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
1724         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
1725         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
1726         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
1727         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
1728         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
1729         * sysdeps/unix/i386/sysdep.h: Likewise.
1730         * sysdeps/unix/mips/sysdep.h: Likewise.
1731         * sysdeps/unix/sparc/sysdep.h: Likewise.
1732         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
1733         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1734         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1735         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1736         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
1737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1738         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1739         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
1741 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1743         * mach/Machrules: Use $(move-if-change).
1745 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1747         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
1748         * Makerules (lib%.so): Depend on $(+interp).
1749         (libc.so): Add interp.os to list of dependencies.
1750         (interp-obj): Remove variable.
1751         * mach/Machrules (+interp): Define to empty since libhurduser and
1752         libmachuser don't need to have the interpreter set.
1754 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1756         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
1758         * resolv/gethnamaddr.c: Likewise.
1760         * resolv/res_comp.c: Likewise.
1762 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
1764         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
1765         so that transparent union works.
1767 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
1769         * manual/texinfo.tex: Update to last available version.
1771         * timezone/africa: Update from tzdata1998e.
1772         * timezone/antarctica: Likewise.
1773         * timezone/asia: Likewise.
1774         * timezone/australasia: Likewise.
1775         * timezone/europe: Likewise.
1776         * timezone/iso3166.tab: Likewise.
1777         * timezone/northamerica: Likewise.
1778         * timezone/tzselect.ksh: Likewise.
1779         * timezone/zone.tab: Likewise.
1781 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
1783         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
1784         Reported by Matt McLean <keys@brio.yikes.com>.
1786 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1788         * catgets/Makefile ($(objpfx)de.cat): Renamed from
1789         do-gencat-test.  Use automatic variables.
1790         ($(objpfx)de.msg): Fix reference to po file.
1792 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1794         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
1795         $(move-if-change).
1797 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1799         * intl/dcgettext.c: Fix typo.
1801 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1803         * configure.in: Allow more make versions e.g 3.76.90.
1805 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
1807         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
1809         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
1810         for Hurd.  Patch by Mark Kettenis.
1812 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
1814          * mach/Machrules (+preinit, +postinit): Define these variables to
1815          empty because libhurduser and libmachuser don't need startup
1816          files.
1818 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
1820          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
1821          instead of a raw bitmask.
1823 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1825         * Makeconfig (rpath-dirs): New variable.
1826         (rpath-link): Use it.
1827         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
1828         (db-objpfx): Removed.
1829         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
1830         * md5-crypt/Makefile: Likewise.
1831         * sysdeps/mach/hurd/Makefile: Likewise.
1833         * Makeconfig (move-if-change): New variable.
1834         * iconvdata/Makefile (move-if-change): Removed.
1835         * manual/Makefile (move-if-change): Set only if undefined, use
1836         local script by default.
1837         * sunrpc/Makefile (move-if-change): Removed.
1838         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1839         $(move-if-change).
1841          * elf/Makefile: Remove all references to obsolete file
1842          $(objpfx)rtldtbl.h.
1843          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
1845 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1847         * elf/dl-close.c (_dl_close): Add debugging message.
1849 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1851         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
1852         to get Linux version and not gcc version.
1853         Reported by Alan Curry <pacman@cqc.com>.
1855 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1857         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
1858         pointers - return unknown error message instead.
1859         Reported by Alan Curry <pacman@cqc.com>.
1861 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1863         * iconvdata/Makefile (modules, sed-generated-headers,
1864         perl-generated-headers): ibm424.h is perl generated.  Make
1865         necessary modifications to compile without perl.
1867 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1869         * hesiod/hesiod.c (read_config_file): Fix typo.
1871 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
1873         * version.h: Bump VERSION.
1875         * csu/Makefile (distribute): Add munch-tmpl.c.
1877 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1879         * nis/nis_defaults.c: Fix buffer problems and typos.
1881 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
1883         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
1884         Patch by Fred Fish.
1886 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1888         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
1889         overwriting bugs.
1891         * libio/strops.c (_IO_str_underflow): Read newly available
1892         character from buffer as unsigned.
1894 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
1896         * catgets/Makefile (distribute): Add xopen-msg.h.
1897         (generated): Add de.msg and de.cat.
1898         (tests): Add do-gencat-test.
1899         (do-gencat-test): New goal.  Run gencat on a generated msg file.
1900         * catgets/xopen-msg.h: New file.
1902 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1904         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
1905         functions.  Optimize filename creation a bit.
1907 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
1909         * stdlib/random_r.c: Help gcc to optimize the code.
1910         Patch by Joe Keane <jgk@jgk.org>.
1912 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1914         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
1915         tsearch calls.
1917 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1919         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
1920         it.
1922 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
1924         * wcsmbs/wcsnrtombs.c: Correct computation of result.
1925         * wcsmbs/wcsrtombs.c: Likewise.
1927         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
1928         * wcsmbs/wcsmbs-tst1.c: New file.
1930         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
1932         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
1933         as 1.
1935         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
1936         weak.
1938 1998-05-21  Philip Blundell  <philb@gnu.org>
1940         * sysdeps/arm/fpu_control.h: Replace stub file with real
1941         implementation.
1942         * sysdeps/arm/fpu/bits/fenv.h: New file.
1943         * sysdeps/arm/fpu/fesetround.c: Likewise.
1944         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1945         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
1946         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
1947         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1948         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1949         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1951 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
1953         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
1954         read instead of mmap.
1956 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
1958         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
1959         directly instead of include_next.  Add missing semicolons.
1960         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
1961         Add missing semicolons.
1963 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1965         * iconvdata/gconv-modules: Add more aliases to please java
1966         environments.
1968 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1970         * stdio-common/vfprintf.c (process_arg): Fix typo.
1972         * iconvdata/TESTS: New tests for EUC-KR.
1974         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
1975         * iconvdata/testdata/EUC-KR: New file.
1977 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
1979         * math/libm-test.c (hypot_test): Fix a typo.
1981 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1983         * stdio-common/vfprintf.c: When precision is specified for %ls or
1984         %S handle it correctly.
1986 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1988         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
1989         the" in one line - fixed it.
1990         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1991         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1992         * posix/unistd.h: Likewise
1994 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1996         * Makeconfig (rpath-link): Add resolvobjdir.
1997         (resolvobjdir): New variable.
1998         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2000 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2002         * elf/dl-close.c: Call shared object terminators at the right time.
2003         Patch by Philippe Troin <phil@fifi.org>.
2005 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2007         * Make-dist (+tsrcs): Also add *.map for every member of
2008         $(extra-libs).
2010         * Makefile (distribute): Don't distribute scripts/printsources and
2011         scripts/=__ify.  Distribute FAQ.in.
2012         (rpm/%): Don't pass subdirs to sub-make.
2014         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2015         instead of $(no_deps).
2017 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2019         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2020         (KNOWN_VALUE, STORE_VALUE): Do it right.
2021         (setenv): Remove unused variable.
2023 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2025         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2026         (CFLAGS-zdump.c): Add $(tz-cflags).
2028         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2029         return type.
2031 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2033         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2034         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2035         if use_localtime.
2036         * time/tzset.c: Update prototype of __tzfile_compute.
2037         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2038         tm_zone and tm_offset here if __use_tzfile.
2040 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2042         * Makerules: Install libc.a even if there are no object file.
2044 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2046         * Makerules (do-makelib): Don't force creating library from
2047         scratch, which is faster and gets correct behaviour if $(subdirs)
2048         is incomplete.
2050 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2052         * Makerules (do-stamp): Make it work when building in source
2053         directory.
2055 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2057         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2058         inhibit-rpath.
2059         * elf/dl-support.c: Likewise.
2060         * elf/ldsodefs.h: Likewise.
2061         * elf/rtld.c: Likewise.
2062         * iconvdata/run-iconv-test.sh: Likewise.
2064 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2066         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2067         variable using the value.
2068         * elf/ldsodefs.h: Declare _dl_ignore_path.
2069         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2070         object against list in _dl_ignore_path and ignore RPATH if on the list.
2071         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2072         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2073         to make sure we get the correct helper libraries loaded.
2075         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2076         "RPATH" string in call to fillin_rpath instead.
2077         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2079 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2081         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2082         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2084 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2086         * manual/terminal.texi (I/O Queues): Fix typo.
2088         * manual/stdio.texi (Closing Streams): Fix grammar.
2090         * manual/arith.texi (Absolute Value): Correct typo.
2091         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2093 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2095         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2096         LD_PROFILE_OUTPUT in SUID binaries.
2097         * intl/dcgettext.c: In SUID binaries don't let language part of
2098         locale value contain path elements.
2099         * intl/explodename.h: Define new function _nl_find_language.
2100         * intl/loadinfo.h: Declare _nl_find_language.
2101         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2102         language part it drop the value is path element is contained.
2104         * locale/setlocale.c: Fix typo.
2106 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2108         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2110         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2112         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2113         log, not a byte-count.
2115         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2116         a.out compatibility.
2118 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2120         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2121         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2122         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2123         * posix/unistd.h: Likewise.
2124         * math/math.h: Likewise.
2125         * manual/users.texi (Manipulating the Database): Likewise.
2126         * manual/signal.texi (Job Control Signals): Likewise.
2127         * manual/message.texi (The gencat program): Likewise.
2128         * manual/filesys.texi (Hard Links): Likewise.
2129         * manual/math.texi (SVID Random): Likewise.
2130         * manual/llio.texi (Waiting for I/O): Likewise.
2131         * manual/io.texi (File Name Errors): Likewise.
2132         * manual/conf.texi (String Parameters): Likewise.
2133         * manual/arith.texi (Infinity): Likewise.
2134         * malloc/malloc.c: Likewise.
2135         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2136         * csu/Makefile: Likewise.
2138 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2140         * manual/memory.texi: Add back accidently removed line.
2142 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2144         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2145         (timeout_handler): New function.
2146         (LOCK_FILE, UNLOCK_FILE): New macros.
2147         Implement file locking with timeout.
2148         (getutent_r_file, internal_getut_r, getutline_r_file,
2149         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2150         locking.
2152 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2154         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2155         directory.
2157 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2159         * rpm/Makefile: Delete inclusion of version.mk.
2161 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2163         * libc.map: Add all libio functions needed libstdc++ with version
2164         2.0, sort entries.
2166 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2168         * iconvdata/Makefile (generated): Add *.stmp files.
2170 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2172         * timezone/Makefile (testdata, build-testdata): New variables, use
2173         them in rules for test data.
2174         ($(objpfx)tst-timezone.out): Depend on test data.
2175         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2176         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2177         New rules to build test data.
2178         (tst-timezone-ENV): Pass TZDIR to point to test data.
2180 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2182         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2183         (the designation sequence is disturbing).
2185 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2187         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2188         * sunrpc/xdr_rec.c: Likewise.
2190 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2192         * posix/Makefile (tests): Add runptests.
2193         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2194         (before-compile): Add ptestcases.h.
2195         (ptestscases.h): Add rule to generate from PTESTS.
2196         * posix/runptests.c: New file.
2197         * posix/PTESTS: New file.
2198         * posix/PTESTS2C.sed: New file.
2200 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2202         * iconv/loop.c: Let user add code to use and set paramaters.
2204         * iconvdata/iso-2022-kr.c: Correct to-loop.
2206         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2207         point to output buffer.
2209         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2210         hanja.
2212         * iconvdata/TESTS: Add ISO-2022-KR test.
2213         * iconvdata/testdata/ISO-2022-KR: New file.
2215 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2217         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2218         and internal_use.
2219         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2220         and internal_use.
2221         * wcsmbs/btowc.c: Likewise.
2222         * wcsmbs/mbrtowcs.c: Likewise.
2223         * wcsmbs/mbsnrtowcs.c: Likewise.
2224         * wcsmbs/mbsrtowcs.c: Likewise.
2225         * wcsmbs/wcrtomb.c: Likewise.
2226         * wcsmbs/wcsnrtombs.c: Likewise.
2227         * wcsmbs/wcsrtombs.c: Likewise.
2228         * wcsmbs/wctob.c: Likewise.
2229         * iconv/skeleton.c: Increment invocation_counter.
2230         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2231         sequence first.
2233         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2234         * iconvdata/iso-2022-jp.c: Likewise.
2235         * iconvdata/iso646.c: Likewise.
2237         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2239 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2241         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2243         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2244         overwriting existing values if it fits.
2246 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2248         * posix/wordexp-test.c: Avoid duplicate messages.
2250         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2251         tsearch.  Correctly interpret values returned by those functions.
2252         (unsetenv): Store pointer to string, not pointer to string pointer.
2254         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2255         DST information and offset in them.
2256         * time/tzset.c (__tz_convert): Pass extra parameters to
2257         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2259 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2261         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2262         stamp files to avoid unnecessary recompilation.
2263         (gen-8bit-gap-table): Likewise.
2264         (move-if-change): New variable.
2265         (all generated .h rules): Change to be .stmp rules.
2266         (%.h): New rule; depend on %.stmp; no commands.
2267         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2268         gen-8bit-gap-1.sh.
2270 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2272         * Makerules (libc-map): Deleted.
2273         (load-map-file): Set to the appropriate compiler switch, not
2274         just the file name.  If libfoo-map is not set, look for a
2275         libfoo.map in the current directory and $(..).
2276         (map-file): New variable, contains just the mapfile name.
2277         (build-shlib): Adjust for new value of load-map-file.
2278         (libc.so): Correct dependencies.
2280         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2281         may not be set anymore.
2283         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2284         Delete libdl-map.  Tweak ld.so link rule to work with changed
2285         variable settings in Makerules.
2286         * iconvdata/Makefile: Tweak build-module to work with changed
2287         variable settings in Makerules.
2289         * db/Makefile: Delete libdb-map.
2290         * hesiod/Makefile: Delete libnss_hesiod-map.
2291         * linuxthreads/Makefile: Delete libpthread-map.
2292         * locale/Makefile: Delete libBrokenLocale-map.
2293         * login/Makefile: Delete libutil-map.
2294         * math/Makefile: Delete libm-map.
2295         * md5-crypt/Makefile: Delete libcrypt-map.
2296         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2297         libnss_nisplus-map, and libnss_compat-map.
2298         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2299         libnss_ldap-map.
2300         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2301         * rt/Makefile: Delete librt-map.
2303 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2305         * configure.in: Instead of substituting `yes' or `no' for whether
2306         --no-whole-archive is available, set @no_whole_archive@ to the
2307         appropriate gcc switch or the empty string.  Likewise for
2308         -fno-exceptions.
2309         * config.make.in: Replace have-no-whole-archive with
2310         no-whole-archive and have-no-exceptions with no-exceptions.
2311         * Makerules: Delete stanzas setting no-whole-archive and
2312         no-exceptions.
2314         * sunrpc/Makefile: Use move-if-change to update generated .h
2315         and .c files.
2317 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2319         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2320         of strchr loop.
2322 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2324         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2325         (__tzfile_compute): Likewise.
2327 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2329         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2330         defines from Linux 2.1.102.
2332 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2334         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2336 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2338         * inet/netinet/in.h: Add defines for multicast.
2339         Reported by Jeremy Hall <jhall@UU.NET>.
2341         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2342         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2343         and unsetenv.  Optimize _LIBC case.
2344         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2345         Define functions with leading __.
2347         * time/tzfile.c: Correct handling of global variables daylight,
2348         timezone, and tzname.
2349         * time/tzset.c: Likewise.
2350         * timezone/Makefile (tests): Add tst-timezone.
2351         * timezone/tst-timezone.c: New file.
2353 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2355         * timezone/asia: Update from tzdata1998d.
2356         * timezone/australasia: Likewise.
2357         * timezone/europe: Likewise.
2359 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2361         * string/string.h: Don't use the optimized versions for the string
2362         functions if optimizing for space.
2364         * stdlib/tst-strtod.c: Add test for -0.0.
2366         * io/ftwtest-sh: Prevent tests from being run by root.
2368         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2369         last addition.  Patch by wkpark@chem.skku.ac.kr.
2371 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2373         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2374         table.
2376 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2378         * iconvdata/gen-8bit.sh: New file.
2379         * iconvdata/gen-8bit-gap.sh: New file.
2380         * iconvdata/gen-8bit-gap-1.sh: New file.
2381         * iconvdata/Makefile (generate-8bit-table): Use shell script
2382         instead of writing the commands directly.
2383         (generate-8bit-gap-table): Likewise.
2384         ($(objpfx)iso8859-7jp.h): Likewise.
2385         (generated headers): Depend on shell script instead of Makefile.
2386         (before-compile): Add $(perl-generated-headers) only if perl is
2387         available.
2388         (headers): Depend on $(perl-generated-headers) only if perl is
2389         available.
2390         (sed-generated-headers): Remove iso8859-7jp.h.
2392 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2394         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2395         (/): Removed.
2397 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2399         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2400         formed charset names to getfct.  Let user override charset
2401         selection by mention charset in locale name.
2403 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2405         * posix/glob.c: Move to ...
2406         * sysdeps/generic/glob.c: ...here.
2407         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2408         elements.
2409         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2410         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2411         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2412         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2413         subdir.
2414         * libc.map [GLIBC_2.1]: Add glob and globfree.
2416 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2418         * sunrpc/Makefile (generated): Restore old list.
2420 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2422         * rt/Makefile (tests): Define only if we have a thread library.
2424         * nis/ypclnt.c: Add: #include <errno.h>.
2426 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2428         * configure.in: Define and substitute RELEASE as well as
2429         VERSION.
2430         * config.make.in: Add RELEASE and VERSION to be substituted.
2431         * Makeconfig: Delete all references to version.mk.
2432         * Make-dist: Likewise.
2433         * MakeTAGS: Likewise.
2434         * elf/Makefile: Likewise.
2436 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2438         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
2439         yp_get_default_domain.
2441 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2443         * sysdeps/posix/profil.c (__profil): Don't define act and timer
2444         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
2446 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2448         * malloc/malloc.c: Fix for NO_THREADS case.
2450 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
2452         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2453         Remove statfs and fstatfs.
2454         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
2455         and pwrite as EXTRA.
2456         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2458 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
2460         * libc.map: Add capget and capset.
2462 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2464         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2465         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
2466         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
2467         and Matt McLean <keys@brio.yikes.com>.
2469 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
2471         * misc/Makefile (tests): Add tst-mntent.
2472         * misc/tst-mntent.c: New file.
2474 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2476         * autolock.sh: Removed.
2477         * manual/move-if-change: Removed.
2479         * scripts: New directory.
2480         * =__ify: Moved to scripts.
2481         * config.guess: Likewise.
2482         * config.sub: Likewise.
2483         * gen-FAQ.pl: Likewise.
2484         * install-sh: Likewise.
2485         * mkinstalldirs: Likewise.
2486         * move-if-change: Likewise.
2487         * printsources: Likewise.
2488         * rellns.sh: Likewise.
2489         * test-installation.pl: Likewise.
2491         * configure.in: Look in scripts for config.guess, config.sub,
2492         install-sh.
2493         * Makefile: Distribute all above files in their
2494         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
2495         * manual/Makefile: Find mkinstalldirs and move-if-change in
2496         $(..)scripts.  Drop them from distribute.  Minor cleanups.
2497         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
2498         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
2499         * timezone/Makefile: Find rellns-sh in scripts.
2501 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2503         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
2504         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
2506 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2508         * Makefile (+subdir-inits): Delete variable.
2509         (+init_subdirs): Likewise.
2510         (aux): Likewise.
2511         (before-compile): Likewise.
2512         (libc-init): Delete stanza.
2513         (version-info.h): Delete rule and associated variable.
2514         (distribute): Don't distribute moved files.
2515         * Makerules (interp-obj): It lives in elf now.  Only use it
2516         if $(elf) is set.  Delete rule to build it.
2517         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
2518         version.o and version-info.h.  Minor cleanups.
2519         (routines): Add libc-init, sysdep, version.
2520         (generated): Add version-info.h.
2521         * elf/Makefile: Build interp.os.
2523         * interp.c: Moved to elf.
2524         * set-init.c: Moved to csu.
2525         * munch-init.c: Likewise.
2526         * munch.awk: Likewise.
2527         * version.c: Likewise.
2529         * Rules: Unconfuse syntax highlighting with a fake comment.
2531 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2533         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
2534         syscalls.
2536 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2538         * iconvdata/Makefile (generated): Set to *-generated-headers
2539         plus gconv-modules.
2540         (tests): Set to iconv-test.
2541         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2542         * posix/Makefile (generated): Set to wordexp-test-result*.
2543         * sunrpc/Makefile (generated): Remove rpcsvc/*.
2544         (generated-dirs): Add rpcsvc.
2545         * libio/Makefile: Clean up.
2547 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
2549         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2550         * Makerules: Likewise.
2551         (+depfiles): Also add sysdep-others.
2552         * Rules: Likewise.
2553         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2554         * iconvdata/Makefile (distribute): Add TESTS.
2555         * localedata/Makefile (repertoires): Rename to repertoiremaps.
2556         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2557         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2558         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2559         sysdep-others, not others.
2560         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2561         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2563 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
2565         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2566         cost_hi and cost_lo.
2567         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2568         Cost parameter and set cost_lo to INT_MAX.
2569         (add_module): Take new parameter and use it to initialize cost_lo.
2570         (read_conf_file): Count modules being loaded and use counter for
2571         new parameter to add_module.
2572         * iconv/gconv_db.c (find_derivation): When look for cost examine
2573         cost_hi and cost_lo.
2575 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
2577         * string/bits/string2.h: Don't use unsigned char * unless really
2578         necessary since this disturbs C++.
2579         * sysdeps/i386/i486/bits/string.h: Likewise.
2580         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2582 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2584         * malloc/malloc.c (top_check): Fix last change.
2586 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2588         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2589         Patch by Matt McLean <keys@brio.yikes.com>.
2591 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2593         * Makerules (lib): Put back dependency on lib-noranlib.
2594         ($(subdirs-stamps)): Remove dependency on stamp.* again.
2596 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2598         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2599         test in __pow2 implementation.
2601 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2603         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2604         Still need *FLAGS-.o because we still sometimes build .o files.
2605         * db2/Makefile: Don't build libndbm.a if !build-static.
2607 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2609         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2611 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2613         * configure.in: New test for broken gcc on PowerPC.
2614         * sysdeps/powerpc/atomicity.h: Use result of test.
2615         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2617         * math/libm-test.c: Update many of the epsilon to match actual
2618         performance.
2620         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2621         * sysdeps/libm-ieee754/e_expf.c: Likewise.
2622         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2623         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2625         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2627         * sysdeps/powerpc/elf/libc-start.c: New file.
2628         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2629         * sysdeps/powerpc/elf/start.c: Delete.
2631         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2632         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
2634         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2635         few patches.
2637 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
2639         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2640         test for integer.
2642         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2643         * sysdeps/libm-i387/e_powl.S: Likewise.
2645 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2647         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2648         (malloc_check, free_check, realloc_check, memalign_check): Use
2649         them to improve overrun checking.  Overruns of a single byte and
2650         corruption of the top chunk are now detected much more reliably.
2652 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2654         * math/libm-test.c (pow_test): Add test for special value from PR
2655         libc/590.
2657 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
2659         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2660         including linux/errno.h.
2662 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
2664         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2665         Use correct types.
2666         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
2667         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
2669 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2671         * Makerules (elide-routines.*): Fix assignments.
2672         (do-makelib): Fix typo.
2673         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
2674         makefile.
2676 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2678         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
2679         $(objpfx)sysd-dirs): Move them...
2680         * Makeconfig: ... here.
2681         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
2682         (stubs): Fix circular depedency.
2683         (do-makelib): Clean up.
2684         (lib): Don't depend on lib-noranlib.
2685         ($(objpfx)stamp.oS): Remove special case for empty
2686         static-only-routines.
2687         (elide-routines.o): Add $(static-only-routines).
2688         (elide-routines$o): Define this instead of elide-routines.$o.
2689         * manual/Makefile (stubs): Fix circular dependency.
2691 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2693         * libio/Makefile (routines): Remove duplicate oldiofclose.
2695 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2697         * string/strcoll.c: Use uint32_t instead of u_int32_t.
2699 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2701         * libio/stdio.h: Fix typo in __REDIRECT.
2702         * io/sys/stat.h: Likewise.
2703         Reported by Myles Uyema <myles@uyema.nws.net>.
2705 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2707         * locale/programs/localedef.c (options): Fix help message.
2709 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2711         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
2712         relocations.  Patch by Joe Keane <jgk@jgk.org>.
2714 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
2716         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
2717         ptmalloc_unlock_all, but re-initializes the mutexes instead.
2718         (ptmalloc_init): Use new function in thread_at_fork call.
2719         (thread_atfork_static): Likewise.
2720         Suggested by Wolfram Gloger and Xavier Leroy.
2722 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2724         * signal/signal.h: Move definitions of struct sigstack and
2725         struct sigaltstack into separate file and include it.
2726         * sysdeps/generic/bits/sigstack.h: New file.
2727         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
2728         * signal/Makefile (headers): Add bits/sigstack.h.
2730 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2732         * elf/rtld.c (dl_main): Fix check for number of references to
2733         interpreter object.
2735 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2737         * elf/rtld.c (dl_main): Check has_interp after executing platform
2738         specific code.
2740 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2742         * iconvdata/run-iconv-test.sh: Fix typo.
2744 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2746         * Makerules (+depfiles): Add depfiles for $(tests-static).
2747         Simplified.
2749 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2751         * manual/terminal.texi (Special Characters): Fix description of
2752         c_cc indexes.
2754 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2756         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
2757         array.
2758         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
2759         of c_cc array.
2761 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2763         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
2765 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2767         * intl/locale.alias: Update russian entry.
2769 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2771         * Makerules (static-only-routines): Reimplement in terms of
2772         elide-routines.os.
2773         (shared-only-routines): Reimplement in terms of
2774         elide-routines.X [where X is all object-suffixes except .os].
2776         (stubs): Create stubs file inside the subdir.
2777         (common-mostlyclean): Remove stubs file from inside the subdir.
2778         * Makefile (subdir-stubs): Look for stubs files inside the
2779         subdirs.
2780         * manual/Makefile (stubs): Create dummy stubs file inside the
2781         subdir.
2783 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2785         Build speed improvement: make ar less of a bottleneck.
2787         * Makerules (stamp$o): Just record the object list for later
2788         use.
2789         (libc_foo.a): New rule, depends on subdir stamp files; builds
2790         and ranlibs the library from the lists saved in those files.
2792         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
2793         (subdirs-stamp-o): Likewise.
2795         (ar-symtab-name): Delete variable.
2796         (lib%.a): Delete target.
2797         (libc_foo.a(bar.%)): Delete target.
2798         (libc_foo.a($(ar-symtab-name))): Delete target.
2800         (objects objs): Just depend on libobjs and extra-objs.
2801         (libobjs): Depend on the stamp files, not the objects.
2802         (extra-objs): New target, just depends on the extra-objs list.
2804         (CREATE_ARFLAGS): Kill the `ar S' hack.
2806         * config.make.in (have-ar-S): Deleted.
2807         * configure.in: Delete test for `ar S'.  Add test to determine
2808         whether ranlib does anything useful.
2810 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2812         * inet/tst-ether_aton.c: Include <stdio.h>.
2814 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
2816         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
2818         * locale/Makefile (distribute): Add programs/repertoire.h.
2819         (localedef-modules): Add repertoire.
2820         (CPPFLAGS): Define REPERTOIREMAP_PATH.
2821         * locale/programs/repertoire.c: New file.
2822         * locale/programs/repertoire.h: New file.
2823         * locale/programs/charmap.c: Starting fixing character set handling
2824         to handle multi-byte encodings.
2825         * locale/programs/charset.c: Likewise.
2826         * locale/programs/charset.h: Likewise.
2827         * locale/programs/ld-collate.c: Likewise.
2828         * locale/programs/ld-ctype.c: Likewise.
2829         * locale/programs/linereader.c: Likewise.
2830         * locale/programs/localedef.c: Likewise.
2831         * locale/programs/locfile-kw.gperf: Likewise.
2832         * locale/programs/locfile-kw.h: Likewise.
2833         * locale/programs/locfile-token.h: Likewise.
2834         * locale/programs/locfile.h: Likewise.
2835         * locale/programs/stringtrans.c: Likewise.
2837         * locale/programs/locfile.c: Interpret I18NPATH value as base of
2838         path, extended with "/locales/".
2840 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
2842         * sysdeps/arm/memset.S: Fix off by one error.
2844         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
2845         __syscall_error rather than syscall_error directly.
2847 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
2849         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
2850         mmap() syscall for ARM.
2852         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
2853         binaries.
2855 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
2857         * locale/programs/localedef.c: Recognize repertoire-map option.
2859 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2861         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
2862         converting non-hex numbers.
2863         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
2865 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
2867         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
2868         check overflow.
2869         * resolv/Makefile (tests): New, add tst-aton.
2870         * resolv/tst-aton.c: New file.
2872 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2874         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
2875         semicolon.
2877 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
2879         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
2880         by letting the later modify the variable computing the total directly.
2881         * wcsmbs/mbsrtowcs.c: Likewise.
2882         * wcsmbs/wcsnrtombs.c: Likewise.
2883         * wcsmbs/wcsrtombs.c: Likewise.
2885         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
2886         it is not used.
2887         * wcsmbs/wctoc.c: Likewise.
2889         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
2890         * wcsmbs/wcsrtombs.c: Likewise.
2892         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
2894 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2896         * iconv/skeleton.c: Correct counting of actually converted
2897         characters.
2899         * intl/localealias.c (read_alias_file): Use unsigned char for
2900         local variables.  Remove unused variable tp.
2901         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
2902         for type of codeset.  For loosing Solaris systems.
2903         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
2904         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
2905         len if not needed.
2906         Patches by Jim Meyering.
2908         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
2909         wcsrtombs must put it into initial state.
2911 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2913         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
2914         argument of bswap_XX macro.
2916 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2918         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
2919         variable name.
2921 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
2923         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
2924         semun and use stdarg macros to get the value.
2925         * sysdeps/generic/semctl.c: Don't use union semun.
2927         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
2929         * string/basename.c [!_LIBC]: Define function as gnu_basename.
2931         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
2932         strings.h.
2934         * stdlib/grouping.h: Accept ungrouped numbers even if locale
2935         defines grouping.
2937         * intl/hash-string.h: Don't include values.h.
2939         * inet/Makefile (tests): Add tst-ether_aton.
2940         * inet/tst-ether_aton.c: New file.
2942         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
2943         in hex conversion.
2944         * inet/ether_aton.c (ether_aton): Declare result variable static.
2945         Reported by ahyung@unixg.ubc.ca.
2947         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
2948         Define macro _SEM_SEMUN_UNDEFINED instead.
2949         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
2951         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
2952         * stdio-common/Makefile (tests): Add tst-wc-printf.
2954 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
2956         * manual/stdio.texi (Variable Arguments Output): Correct variable
2957         name.  Patch from Ewan Mellor <em@nexus.co.uk>
2959 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2961         * intl/dcgettext.c: Remove unneeded definition of
2962         internal_function.
2964 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2966         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
2967         instead of do-iconv-test.
2968         ($(objpfx)gconv-modules): Define rule only if objpfx is not
2969         empty.
2971 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2973         * string/string.h: Fix feature test.
2975 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2977         * iconvdata/iso646.c (BODY): Don't use character constants that
2978         depend on signedness of char.
2980 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2982         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
2983         (sysdep_routines): Add s_pread64 and s_pwrite64.
2985 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
2987         * iconvdata/Makefile (distribute): Remove generated .h files.
2988         * iconvdata/koi8-r.h: Removed.
2989         * iconvdata/latin-greek-1.h: Removed.
2990         * iconvdata/latin-greek.h: Removed.
2992         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
2993         * iconvdata/KOI-8: Likewise.
2994         * iconvdata/KOI-8..UTF8: Likewise.
2995         * iconvdata/KOI8-R: Likewise.
2996         * iconvdata/KOI8-R..UTF8: Likewise.
2998 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3000         * streams/Makefile (headers): Add sys/stropts.h.
3001         * streams/sys/stropts.h: New file.
3003 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3005         * sysdeps/unix/sysv/linux/ttyname.c,
3006         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3007         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3009 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3011         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3012         argument of _itoa_word.
3014 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3016         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3017         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3018         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3019         sigprocmask, resp., instead of EXTRA.
3021         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3022         s_pread64 and s_pwrite64.
3024 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3026         * iconvdata/Makefile: Correct rules to generate gap table.
3027         * iconvdata/gap.pl: Simplify.
3029         * iconvdata/TESTS: Name new tests.
3030         * iconvdata/testdata/CP1250: New file.
3031         * iconvdata/testdata/CP1250..UTF8: New file.
3032         * iconvdata/testdata/CP1251: New file.
3033         * iconvdata/testdata/CP1251..UTF8: New file.
3034         * iconvdata/testdata/CP1252: New file.
3035         * iconvdata/testdata/CP1252..UTF8: New file.
3036         * iconvdata/testdata/CP1253: New file.
3037         * iconvdata/testdata/CP1253..UTF8: New file.
3038         * iconvdata/testdata/CP1254: New file.
3039         * iconvdata/testdata/CP1254..UTF8: New file.
3040         * iconvdata/testdata/CP1255: New file.
3041         * iconvdata/testdata/CP1255..UTF8: New file.
3042         * iconvdata/testdata/CP1256: New file.
3043         * iconvdata/testdata/CP1256..UTF8: New file.
3044         * iconvdata/testdata/CP1257: New file.
3045         * iconvdata/testdata/CP1257..UTF8: New file.
3047 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3049         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3050         * iconvdata/iso-2022-kr.c: New file.
3052         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3053         and ISO-2022-KR.
3055 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3057         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3058         iso8859-8 and iso8859-10.
3059         * iconvdata/iso8859-5.c: Change to use gap method.
3060         * iconvdata/iso8859-7.c: Likewise.
3061         * iconvdata/iso8859-8.c: Likewise.
3062         * iconvdata/iso8859-10.c: Likewise.
3064         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3065         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3066         end of the loop.
3067         * iconvdata/iso-2022-jp.c: New file.
3069         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3070         * iconvdata/ksc5601.h: Unify function interfaces.
3071         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3072         * iconvdata/uhc.c: Likewise.
3074         * iconvdata/gb2312.h: Use correct types.
3076         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3077         size elements of data.
3079 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3081         * string/tst-svc.expect: Adapt for change in .input.
3082         * string/tst-svc.input: More tests.
3084 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3086         * iconvdata/Makefile: Add rules for new modules.
3087         * iconvdata/gconv-modules: Likewise.
3088         * iconvdata/cp737.c: New file.
3089         * iconvdata/cp737.h: New file.
3090         * iconvdata/cp775.c: New file.
3091         * iconvdata/cp775.h: New file.
3092         * iconvdata/cp874.c: New file.
3093         * iconvdata/cp874.h: New file.
3095 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3097         * iconvdata/Makefile: Create target directory before generating
3098         headers.
3100 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3102         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3103         __USER_LABEL_PREFIX__.
3104         (__ASMNAME, __ASMNAME2): New macros.
3106 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3108         * elf/dl-load.c: Include sys/param.h for MAX.
3110 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3112         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3113         __ftruncate the strong symbol, and add weak alias.
3114         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3116 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3118         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3119         Patch by Joe Keane <jgk@jgk.org>.
3121         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3122         free()ing.
3124 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3126         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3127         Patch by Thomas Bushnell, n/BSG.
3129 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3131         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3133 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3135         * iconvdata/Makefile: Put generated headers in build directory.
3137 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3139         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3140         strsep as current directory.
3142         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3143         Java.  Add definitions for unicodelittle implementation.
3144         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3145         * iconv/gconv_simple.c: Define unicodelittle functions.
3147         * iconv/iconv_prog.c: Make program print information about position
3148         of illegal character in input.
3150         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3151         comparison of charset name.
3152         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3153         * iconvdata/ebcdic-at-de-a.c: Likewise.
3154         * iconvdata/ebcdic-at-de.c: Likewise.
3155         * iconvdata/ebcdic-ca-fr.c: Likewise.
3156         * iconvdata/euccn.c: Likewise.
3157         * iconvdata/eucjp.c: Likewise.
3158         * iconvdata/euckr.c: Likewise.
3159         * iconvdata/euctw.c: Likewise.
3160         * iconvdata/hp-roman8.c: Likewise.
3161         * iconvdata/iso6937.c: Likewise.
3162         * iconvdata/iso8859-1.c: Likewise.
3163         * iconvdata/iso8859-10.c: Likewise.
3164         * iconvdata/iso8859-2.c: Likewise.
3165         * iconvdata/iso8859-3.c: Likewise.
3166         * iconvdata/iso8859-4.c: Likewise.
3167         * iconvdata/iso8859-5.c: Likewise.
3168         * iconvdata/iso8859-6.c: Likewise.
3169         * iconvdata/iso8859-7.c: Likewise.
3170         * iconvdata/iso8859-8.c: Likewise.
3171         * iconvdata/iso8859-9.c: Likewise.
3172         * iconvdata/johab.c: Likewise.
3173         * iconvdata/koi-8.c: Likewise.
3174         * iconvdata/koi8-r.c: Likewise.
3175         * iconvdata/latin-greek-1.c: Likewise.
3176         * iconvdata/latin-greek.c: Likewise.
3177         * iconvdata/sjis.c: Likewise.
3178         * iconvdata/t61.c: Likewise.
3179         * iconvdata/uhc.c: Likewise.
3181         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3182         * iconvdata/TESTS: Add tests for ISO646 module.
3183         * iconvdata/gconv-modules: Add new modules.
3184         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3185         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3186         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3187         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3188         * iconvdata/testdate/DIN_66003: Likewise.
3189         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3190         * iconvdata/testdate/DS_2089: Likewise.
3191         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3192         * iconvdata/testdate/ES: Likewise.
3193         * iconvdata/testdate/ES..UTF8: Likewise.
3194         * iconvdata/testdate/ES2: Likewise.
3195         * iconvdata/testdate/ES2..UTF8: Likewise.
3196         * iconvdata/testdate/GB_1988-80: Likewise.
3197         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3198         * iconvdata/testdate/IT: Likewise.
3199         * iconvdata/testdate/IT..UTF8: Likewise.
3200         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3201         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3202         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3203         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3204         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3205         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3206         * iconvdata/testdate/KSC5636: Likewise.
3207         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3208         * iconvdata/testdate/MSZ_7795.3: Likewise.
3209         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3210         * iconvdata/testdate/NC_NC00-10: Likewise.
3211         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3212         * iconvdata/testdate/NF_Z_62-010: Likewise.
3213         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3214         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3215         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3216         * iconvdata/testdate/NS_4551-1: Likewise.
3217         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3218         * iconvdata/testdate/NS_4551-2: Likewise.
3219         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3220         * iconvdata/testdate/PT: Likewise.
3221         * iconvdata/testdate/PT..UTF8: Likewise.
3222         * iconvdata/testdate/PT2: Likewise.
3223         * iconvdata/testdate/PT2..UTF8: Likewise.
3224         * iconvdata/testdate/SEN_850200_B: Likewise.
3225         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3226         * iconvdata/testdate/SEN_850200_C: Likewise.
3227         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3229         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3230         * iconvdata/cns11643l1.h: Likewise.
3231         * iconvdata/latin-greek-1.h: Likewise.
3232         * iconvdata/latin-greek.h: Likewise.
3233         * iconvdata/koi8-r.h: Likewise.
3234         * iconvdata/jis0212.h: Likewise.
3235         * iconvdata/gb2312.h: Likewise.
3236         * iconvdata/ksc5601.h: Likewise.
3238         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3240         * iconvdata/Makefile: Add rules for lots of more modules.
3241         * iconvdata/cp1250.c: New file.
3242         * iconvdata/cp1251.c: New file.
3243         * iconvdata/cp1252.c: New file.
3244         * iconvdata/cp1253.c: New file.
3245         * iconvdata/cp1254.c: New file.
3246         * iconvdata/cp1255.c: New file.
3247         * iconvdata/cp1256.c: New file.
3248         * iconvdata/cp1257.c: New file.
3249         * iconvdata/ebcdic-dk-no-a.c: New file.
3250         * iconvdata/ebcdic-dk-no.c: New file.
3251         * iconvdata/ebcdic-es-a.c: New file.
3252         * iconvdata/ebcdic-es-s.c: New file.
3253         * iconvdata/ebcdic-es.c: New file.
3254         * iconvdata/ebcdic-fi-se-a.c: New file.
3255         * iconvdata/ebcdic-fi-se.c: New file.
3256         * iconvdata/ebcdic-fr.c: New file.
3257         * iconvdata/ebcdic-is-friss.c: New file.
3258         * iconvdata/ebcdic-it.c: New file.
3259         * iconvdata/ebcdic-pt.c: New file.
3260         * iconvdata/ebcdic-uk.c: New file.
3261         * iconvdata/ebcdic-us.c: New file.
3262         * iconvdata/ibm037.c: New file.
3263         * iconvdata/ibm038.c: New file.
3264         * iconvdata/ibm1004.c: New file.
3265         * iconvdata/ibm1026.c: New file.
3266         * iconvdata/ibm1047.c: New file.
3267         * iconvdata/ibm256.c: New file.
3268         * iconvdata/ibm273.c: New file.
3269         * iconvdata/ibm274.c: New file.
3270         * iconvdata/ibm275.c: New file.
3271         * iconvdata/ibm277.c: New file.
3272         * iconvdata/ibm278.c: New file.
3273         * iconvdata/ibm280.c: New file.
3274         * iconvdata/ibm281.c: New file.
3275         * iconvdata/ibm284.c: New file.
3276         * iconvdata/ibm285.c: New file.
3277         * iconvdata/ibm290.c: New file.
3278         * iconvdata/ibm297.c: New file.
3279         * iconvdata/ibm420.c: New file.
3280         * iconvdata/ibm423.c: New file.
3281         * iconvdata/ibm424.c: New file.
3282         * iconvdata/ibm437.c: New file.
3283         * iconvdata/ibm500.c: New file.
3284         * iconvdata/ibm850.c: New file.
3285         * iconvdata/ibm851.c: New file.
3286         * iconvdata/ibm852.c: New file.
3287         * iconvdata/ibm855.c: New file.
3288         * iconvdata/ibm857.c: New file.
3289         * iconvdata/ibm860.c: New file.
3290         * iconvdata/ibm861.c: New file.
3291         * iconvdata/ibm862.c: New file.
3292         * iconvdata/ibm863.c: New file.
3293         * iconvdata/ibm864.c: New file.
3294         * iconvdata/ibm865.c: New file.
3295         * iconvdata/ibm868.c: New file.
3296         * iconvdata/ibm869.c: New file.
3297         * iconvdata/ibm870.c: New file.
3298         * iconvdata/ibm871.c: New file.
3299         * iconvdata/ibm875.c: New file.
3300         * iconvdata/ibm880.c: New file.
3301         * iconvdata/ibm891.c: New file.
3302         * iconvdata/ibm903.c: New file.
3303         * iconvdata/ibm904.c: New file.
3304         * iconvdata/ibm905.c: New file.
3305         * iconvdata/ibm918.c: New file.
3307         * locale/iso-4217.def: Update.
3308         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3310         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3311         formats.
3313 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3315         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3316         LD_LIBRARY_PATH.
3318 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3320         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3321         * Makefile: Likewise.
3322         * posix/Makefile: Likewise.
3323         * sysdeps/mach/hurd/Makefile: Likewise.
3325 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3327         * sysdeps/mach/hurd/bits/dirent.h: New file.
3328         * sysdeps/mach/hurd/readdir64.c: New file.
3329         * sysdeps/mach/hurd/readdir64_r.c: New file.
3331 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3333         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3334         dprintf): Synchronize declarations with libio/stdio.h.
3336 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3338         * elf/dlerror.c (dlerror): Don't assume that
3339         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3340         well-protected, so just use it directly.
3342 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3344         * io/ftw.h (ftw): Fix typo.
3346 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3348         * sysdeps/gnu/utmp_file.c: Fix typo.
3350 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3352         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3353         one part of a test fails move on to the next test.
3355 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3357         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3359 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3361         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3362         as pointers, not signed integers.
3364 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3366         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3368 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3370         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3371         asm symbol name of functions.
3372         * include/features.h: Kill redundant test.
3374         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3375         * io/ftw.h: Likewise.
3376         * io/sys/stat.h: Likewise.
3377         * io/sys/statfs.h: Likewise.
3378         * io/sys/statvfs.h: Likewise.
3379         * libio/stdio.h: Likewise.
3380         * resource/sys/resource.h: Likewise.
3381         * rt/aio.h: Likewise.
3383         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3384          __FAVOR_BSD.
3385         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3387         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3388         a dummy library.
3389         * misc/bsd-compat.c: Removed.
3391 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3393         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3394         function declaration.
3395         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3396         and use them in conversion function.
3397         * iconvdata/Makefile (modules): Re-add ISO6446.
3398         * iconvdata/TEST: Add tests for ASCII variants.
3399         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3400         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3401         * iconvdata/testdata/BS_4730: New file.
3402         * iconvdata/testdata/BS_4730..UTF8: New file.
3404 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3406         * iconv/gconv.h (struct gconv_step): Add element stateful.
3407         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3408         to zero for all internal conversions.
3409         * iconv/skeleton.c: Initialize stateful depending on whether or not
3410         RESET_STATE is defined to one or zero respectively.
3411         * stdlib/mblen.c: Use stateful element of currently selected
3412         converter for result if S is NULL.
3413         * stdlib/mbtowc.c: Likewise.
3414         * stdlib/wctomb.c: Likewise.
3416 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
3418         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3420         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3422         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
3423         character in comparison with uint32_t.
3424         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
3425         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
3426         Optimize BODY a bit.
3428         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
3429         be defined.
3431         * iconv/skeleton.c: Also reset converted counter in case of an error.
3432         Call reset function using correct value for output buffer start.
3434         * iconvdata/Makefile: Re-enable tests.
3436         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
3437         value for to-conversion.
3439         * iconvdata/TESTS: Add new third column.
3440         * iconvdata/run-iconv-test.sh: Add support for charsets which are
3441         not ASCII based.
3442         * iconvdata/testdata/suntzus: New file.
3444         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
3445         while reading.  Correctly used base.  Little optimization.
3446         (__strtoul_internal): Likewise.
3448         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
3449         was wrong.  Use explicit variable.
3451 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3453         * configure.in: Check for awk.
3454         * config.make.in: Add AWK to be substituted.
3456         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
3457         * manual/users.texi: Fix typo exposed by above rewrite.
3459         * Makefile: Invoke awk using AWK variable.
3460         * csu/Makefile: Likewise.
3461         * elf/Makefile: Likewise.
3462         * mach/Makefile: Likewise.
3463         * manual/Makefile: Likewise.
3464         * sysdeps/gnu/Makefile: Likewise.
3465         * sysdeps/mach/hurd/Makefile: Likewise.
3466         * sysdeps/unix/Makefile: Likewise.
3467         * timezone/Makefile: Likewise.
3469 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3471         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
3472         array index translation.
3473         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
3474         these are defined.
3476         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
3478         * sysdeps/mach/hurd/errlist.c: New file.
3479         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
3480         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
3481         semantics, so rename it.
3483 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3485         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
3486         conversions.
3488 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
3490         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
3491         * wcsmbs/wcsnrtombs.c: Likewise.
3493 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
3495         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
3497         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
3499         * time/strftime.c (my_strftime): Initialize pad variable in
3500         declaration.
3502         * iconvdata/big5.c: Don't use character constants in comparisons
3503         with unsigned value.
3505 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
3507         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
3508         __libc_siglongjmp to GLIBC_2.1.
3510         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
3511         __strerror_r.
3513         * iconv/Makefile: Don't run tests now.
3515         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
3516         with correct output buffer.
3518         Major rewrite of the low-level gconv functionality.
3519         * iconv/gconv.c: Rewritten.
3520         * iconv/gconv.h: Likewise.
3521         * iconv/gconv_builtin.c: Likewise.
3522         * iconv/gconv_builtin.h: Likewise.
3523         * iconv/gconv_conf.c: Likewise.
3524         * iconv/gconv_int.h: Likewise.
3525         * iconv/gconv_open.c: Likewise.
3526         * iconv/gconv_simple.c: Likewise.
3527         * iconv/iconv.c: Likewise.
3528         * iconvdata/8bit-gap.c: Likewise.
3529         * iconvdata/8bit-generic.c: Likewise.
3530         * iconvdata/Makefile: Likewise.
3531         * iconvdata/big5.c: Likewise.
3532         * iconvdata/cns11643.c: Likewise.
3533         * iconvdata/cns11643.h: Likewise.
3534         * iconvdata/cns11643l1.c: Likewise.
3535         * iconvdata/cns11643l1.h: Likewise.
3536         * iconvdata/ebcdic-at-de-a.c: Likewise.
3537         * iconvdata/ebcdic-at-de.c: Likewise.
3538         * iconvdata/ebcdic-ca-fr.c: Likewise.
3539         * iconvdata/euccn.c: Likewise.
3540         * iconvdata/eucjp.c: Likewise.
3541         * iconvdata/euckr.c: Likewise.
3542         * iconvdata/euctw.c: Likewise.
3543         * iconvdata/gb2312.c: Likewise.
3544         * iconvdata/gb2312.h: Likewise.
3545         * iconvdata/hp-roman8.c: Likewise.
3546         * iconvdata/iso646.c: Likewise.
3547         * iconvdata/iso6937.c: Likewise.
3548         * iconvdata/iso8859-1.c: Likewise.
3549         * iconvdata/iso8859-10.c: Likewise.
3550         * iconvdata/iso8859-2.c: Likewise.
3551         * iconvdata/iso8859-3.c: Likewise.
3552         * iconvdata/iso8859-4.c: Likewise.
3553         * iconvdata/iso8859-5.c: Likewise.
3554         * iconvdata/iso8859-6.c: Likewise.
3555         * iconvdata/iso8859-7.c: Likewise.
3556         * iconvdata/iso8859-8.c: Likewise.
3557         * iconvdata/iso8859-9.c: Likewise.
3558         * iconvdata/jis0201.c: Likewise.
3559         * iconvdata/jis0201.h: Likewise.
3560         * iconvdata/jis0208.c: Likewise.
3561         * iconvdata/jis0208.h: Likewise.
3562         * iconvdata/jis0212.c: Likewise.
3563         * iconvdata/jis0212.h: Likewise.
3564         * iconvdata/johab.c: Likewise.
3565         * iconvdata/koi-8.c: Likewise.
3566         * iconvdata/koi8-r.c: Likewise.
3567         * iconvdata/ksc5601.c: Likewise.
3568         * iconvdata/ksc5601.h: Likewise.
3569         * iconvdata/latin-greek-1.c: Likewise.
3570         * iconvdata/latin-greek.c: Likewise.
3571         * iconvdata/run-iconv-test.sh: Likewise.
3572         * iconvdata/sjis.c: Likewise.
3573         * iconvdata/t61.c: Likewise.
3574         * iconvdata/uhc.c: Likewise.
3575         * wcsmbs/btowc.c: Likewise.
3576         * wcsmbs/mbrtowc.c: Likewise.
3577         * wcsmbs/mbsnrtowcs.c: Likewise.
3578         * wcsmbs/mbsrtowcs.c: Likewise.
3579         * wcsmbs/wcrtomb.c: Likewise.
3580         * wcsmbs/wcsmbsload.c: Likewise.
3581         * wcsmbs/wcsnrtombs.c: Likewise.
3582         * wcsmbs/wcsrtombs.c: Likewise.
3583         * wcsmbs/wctob.c: Likewise.
3584         * iconv/loop.c: New file.
3585         * iconv/skeleton.c: New file.
3587         * stdlib/mblen.c: Handle empty input string correctly.
3588         * stdlib/mbtowc.c: Likewise.
3590         * posix/getopt.c: Various cleanups.
3592         * sysdeps/arm/bits/setjmp.h: Add copyright text.
3593         * sysdeps/i386/bits/setjmp.h: Likewise.
3594         * sysdeps/m68k/bits/setjmp.h: Likewise.
3595         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3596         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3598         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3599         and make longjmp weak alias.
3601 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
3603         * iconv/Makefile (routines): Only include gconv_dl if building for
3604         an ELF system - dynamic linking is not available on a.out.
3605         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3606         due to above check.
3607         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3608         routines from gconv_dl.
3610 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
3612         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3613         we can compile without libio.
3615 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
3617         * sysdeps/mach/hurd/Subdirs: Remove login.
3619 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
3621         * db2/compat.h: Include <errno.h>, to make sure we get the
3622         definition of EFTYPE before we define it ourselves.
3624 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3626         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3627         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3628         Fix typo to allow inclusion from sys/ioctl.h again.
3630 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3632         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
3634 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3636         * libc.map: Export __strerror_r.  Remove _strerror_internal.
3638 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3640         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3641         Also undefine __strcasestr.
3643 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3645         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3646         aliases do not work with global variables due to copy relocations.
3648 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
3650         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
3652 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
3654         * signal/sighold.c: Include stddef.h for NULL definition.
3655         * signal/sigrelse.c: Likewise.
3656         * sysdeps/posix/sigignore.c: Likewise.
3657         * sysdeps/posix/sigset.c: Likewise.
3658         * sysdeps/posix/waitid.c: Likewise.
3659         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3660         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3661         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3662         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3663         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3665 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
3667         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3668         * login/getutent.c (getutxent): Remove alias.
3669         * login/getutent_r.c (setutxent, pututxline, endutxent):
3670         Remove aliases.
3671         * login/getutid.c (getutxid): Remove alias.
3672         * login/getutline.c (getutxline): Remove alias.
3673         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
3674         __getutid, __getutline and __pututline.
3675         * login/utmpx.h: Moved to ...
3676         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
3677         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
3678         and updwtmpx.
3679         * login/updwtmp.c: Moved to ...
3680         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
3681         allowing file name transformation.
3682         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
3683         additional file name transformation.
3684         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
3685         * login/utmp_file.c: Moved to ...
3686         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
3687         Generalized by allowing file name transformation.  Do not
3688         print error message.  Library functions should not print them.
3689         Reported by Jim Meyering.
3690         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
3691         with additional file name transformation.
3692         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
3693         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
3694         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
3695         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
3696         and bits/utmpx.h.
3697         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
3698         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
3699         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
3700         Define if __USE_GNU.
3701         * sysdeps/generic/setutxent.c: New file.
3702         * sysdeps/generic/getutxent.c: New file.
3703         * sysdeps/generic/endutxent.c: New file.
3704         * sysdeps/generic/getutxid.c: New file.
3705         * sysdeps/generic/getutxline.c: New file.
3706         * sysdeps/generic/pututxline.c: New file.
3707         * sysdeps/generic/utmpxname.c: New file.
3708         * sysdeps/generic/updwtmpx.c: New file.
3709         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
3710         * sysdeps/generic/bits/utmpx.h: Remove.
3712 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
3714         * posix/wordexp-test.c (main): Initialize ifs element of ts for
3715         ~root test.
3717 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
3719         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
3721 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
3723         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
3724         variable using _G_stat64.
3725         * libio/fileops.c: Remove macro definition of fstat, it is in the
3726         global header.
3727         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3729 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
3731         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
3732         <willy@odie.barnet.ac.uk>.
3734 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
3736         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
3737         required by IPv6 Basic API.
3738         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
3739         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
3740         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
3741         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
3743 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
3745         Don't name internal representation since it might be different from
3746         the external form (namely on little endian machines).
3747         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
3748         UCS4 into references to INTERNAL.
3749         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
3750         Add endianess support to UCS functions.  Change references to
3751         UCS4 into references to INTERNAL.
3752         * iconv/gconv_int.h: Change references to UCS4 into references to
3753         INTERNAL.
3754         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
3755         * iconvdata/gconv-modules: Change accordingly.
3756         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
3758         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
3759         overflow.
3760         * iconvdata/8bit-gap.c: Likewise.
3761         * iconvdata/8bit-generic.c: Likewise.
3762         * iconvdata/big5.c: Likewise.
3763         * iconvdata/euccn.c: Likewise.
3764         * iconvdata/eucjp.c: Likewise.
3765         * iconvdata/euckr.c: Likewise.
3766         * iconvdata/euctw.c: Likewise.
3767         * iconvdata/iso646.c: Likewise.
3768         * iconvdata/iso6937.c: Likewise.
3769         * iconvdata/iso8859-1.c: Likewise.
3770         * iconvdata/johab.c: Likewise.
3771         * iconvdata/sjis.c: Likewise.
3772         * iconvdata/t61.c: Likewise.
3773         * iconvdata/uhc.c: Likewise.
3775         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
3776         * iconvdata/8bit-generic.c: Likewise.
3778         * iconvdata/TESTS: Add more tests.
3780         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
3782 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
3784         * iconvdata/Makefile: Better rules to run tests.
3786         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
3787         * iconvdata/testdata/ISO-8859-10: Likewise.
3788         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
3789         * iconvdata/testdata/ISO-8859-2: Likewise.
3790         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
3791         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
3792         * iconvdata/testdata/ISO-8859-3: Likewise.
3793         * iconvdata/testdata/ISO-8859-4: Likewise.
3794         * iconvdata/testdata/ISO-8859-5: Likewise.
3795         * iconvdata/testdata/ISO-8859-6: Likewise.
3796         * iconvdata/testdata/ISO-8859-7: Likewise.
3797         * iconvdata/testdata/ISO-8859-8: Likewise.
3798         * iconvdata/testdata/ISO-8859-9: Likewise.
3800 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
3802         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
3803         intermediate result (if available).
3805         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
3806         last change.
3808         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
3809         (distribute): Add run-iconv-test.sh and testdata/*.
3811         * stdlib/testmb.c (main): Simplify mbc array handling.
3813 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3815         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
3816         return value on overflow.
3818 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3820         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
3821         bits.
3823 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3825         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
3826         of non-standard function setbuffer.
3828 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3830         * stdio-common/perror.c: Include <string.h> for __strerror_r.
3832 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
3834         * iconvdata/Makefile: Add rules to run tests.
3835         * iconvdata/TESTS: New file.
3836         * iconvdata/run-iconv-test.sh: New file.
3837         * iconvdata/testdata/ISO-8859-1: New file.
3839         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
3840         not stdout.
3842 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
3844         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3845         counter element of step.
3847         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
3849         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
3850         termination test.
3851         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
3852         ACTUALLY.
3853         (__gconv_transform_utf8_ucs4): Correct test for empty input.
3855 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3857         * Makefile: Include makeconfig before defining rule to regenerate
3858         configure files.
3860         * configure.in: Remove restriction on compiling without static
3861         libs.
3863 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
3865         * test-skeleton.c: Provide hook for initializing code before the fork.
3866         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
3867         removed.
3869         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
3870         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
3871         * libio/libioP.h: Adopt _IO_cleanup prototype.
3873         * stdlib/Makefile (tests): Add test-canon2.
3874         * stdlib/test-canon2.c: New file.
3875         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
3876         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
3877         symlink sequences.
3878         (__realpath): Make real function which checks RESOLVED parameter for
3879         not being NULL.
3881 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3883         * catgets/open_catalog.c (__open_catalog): Fix problems with
3884         reading non-files.  Always close file.
3885         Reported by Cristian Gafton <gafton@redhat.com>.
3887         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
3889 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
3891         * libc.map: Add various low-level I/O functions.
3893 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3895         * string/Makefile (routines): Remove strerror_r.
3896         * string/strerror_r.c: Removed.
3897         * string/strerror.c: Call __strerror_r for doing the real work.
3898         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
3899         add weak alias strerror_r.
3900         * sysdeps/mach/_strerror.c: Likewise.
3901         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
3902         * elf/dl-error.c (_dl_signal_error): Likewise.
3903         * elf/dl-profile.c (_dl_start_profile): Likewise.
3904         * gmon/gmon.c (write_gmon): Likewise.
3905         * stdio-common/perror.c: Likewise.
3906         * stdio-common/vfprintf.c: Likewise.
3908 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
3910         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
3911         (sysdep_headers): Add netatalk/at.h.
3913 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3915         * manual/socket.texi, manual/creature.texi, manual/time.texi:
3916         Formatting fixes.
3918 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3920         * posix/regex.c: Rename __re_syntax_options back to
3921         re_syntax_options, aliases do not work with global variables due
3922         to copy relocations.
3923         (regex_compile): Use syntax parameter instead of
3924         re_syntax_options.
3926 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3928         * configure.in: Document that enable-force-install is default.
3930 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
3932         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
3933         all needed 36 bits.
3934         * sysdeps/posix/mkstemp.c: Likewise.
3936 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
3938         * iconvdata/8bit-gap.c: Simplify step data handling.
3939         * iconvdata/8bit-generic.c: Likewise.
3940         * iconvdata/big5.c: Likewise.
3941         * iconvdata/euccn.c: Likewise.
3942         * iconvdata/eucjp.c: Likewise.
3943         * iconvdata/euckr.c: Likewise.
3944         * iconvdata/euctw.c: Likewise.
3945         * iconvdata/iso6937.c: Likewise.
3946         * iconvdata/iso8859-1.c: Likewise.
3947         * iconvdata/jis0208.h: Likewise.
3948         * iconvdata/jis0212.c: Likewise.
3949         * iconvdata/jis0212.h: Likewise.
3950         * iconvdata/johab.c: Likewise.
3951         * iconvdata/ksc5601.h: Likewise.
3952         * iconvdata/sjis.c: Likewise.
3953         * iconvdata/t61.c: Likewise.
3954         * iconvdata/uhc.c: Likewise.
3956 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
3958         * manual/texinfo.texi: Updated from last version.
3960 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
3962         * iconvdata/cns11643.c: New file.
3963         * iconvdata/cns11643.h: New file.
3964         * iconvdata/cns11643l1.c: New file.
3965         * iconvdata/cns11643l1.h: New file.
3966         * iconvdata/euctw.c: New file.
3967         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
3968         * iconvdata/gconv-modules: Likewise.
3970         * iconvdata/eucjp.c: Several bug fixes and improvements.
3971         * iconvdata/gb2312.h: Likewise.
3972         * iconvdata/jis0201.h: Likewise.
3973         * iconvdata/jis0208.h: Likewise.
3974         * iconvdata/jis0212.h: Likewise.
3976 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
3978         * iconvdata/eucjp.c: New file.
3979         * iconvdata/euccn.c: New file.
3980         * iconvdata/gb2312.h: New file.
3981         * iconvdata/gb2312.c: New file.
3982         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
3983         * iconvdata/gconv-modules: Likewise.
3985         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
3987 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
3989         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3990         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
3991         Patch by Mark Hatle <fray@kernel.crashing.org>.
3993 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
3995         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
3996         comment.
3997         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
3998         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4000 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4002         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4004         * iconvdata/Makefile: Add rules for big5 conversion.
4005         * iconvdata/gconv-modules: Likewise.
4006         * iconvdata/big5.c: New file.
4008         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4009         Patch by Jim Meyering.
4011 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4013         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4015         * rt/lio_listio.c: Correct total counter handling.
4017         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4018         from request queue.
4020         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4021         of signal on exit even more.
4023         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4024         instead of call to pthread_cond_init.
4025         * rt/lio_listio.c (lio_listio): Likewise.
4026         * rt/lio_listio64.c (lio_listio64): Likewise.
4028         * nis/nis_findserv.c: Include sys/socket.h.
4030 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4032         * Makeconfig (rtobjdir): New variable.
4033         (rpath-link): Add rtobjdir and thread directory, if available.
4035         * test-skeleton.c: Add support to remove temporary files.
4036         Always define test_dir.  Improve message about expected signal.
4038         * rt/Makefile (tests): Add tst-aio.
4039         Add rules for tst-aio to be linked with librt and thread library.
4040         * rt/aio_misc.c: Correct fundamental bugs.
4041         * rt/aio_suspend.c: Correct bug in test for available request.
4042         Initialize conditional variable.
4043         * rt/lio_listio.c: Initialize conditional variable.
4044         * rt/lio_listio64.c: Likewise.
4045         * rt/tst-aio.c: New file.
4047         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4048         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4049         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4050         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4051         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4052         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4053         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4055 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4057         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4059 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4061         * elf/dl-load.c (open_path): Use correct name for test whether
4062         directory in load path exists.
4064         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4065         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4066         Patches by Tom Rini <trini@kernel.crashing.org>.
4068         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4069         * wcsmbs/wcstod_l.c: Likewise.
4070         * wcsmbs/wcstold_l.c: Likewise.
4072         * include/byteswap.h: New file.
4074         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4075         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4077         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4078         declaration.  Patch by Richard Henderson.
4080 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4082         * manual/process.texi (SIGCHLD example): Save errno.
4084 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4086         * posix/regex.c: Define regerror really as __regerror.
4087         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4088         regerror and regfree.
4090         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4091         * stdlib/strtod_l.c: Likewise.
4092         * stdlib/strtold_l.c: Likewise.
4094         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4096         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4098         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4099         Patch by Christian Gafton.
4101 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4103         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4104         for if_indextoname.
4106 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4108         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4110         * manual/socket.texi (Interface Naming): Fix typo.
4112 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4114         * manual/examples/filesrv.c (main): Remove filename first.
4116         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4117         ?F_UNIX.
4119         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4120         instead of PF_UNIX.
4122         * manual/examples/filecli.c (main): Use AF_LOCAL
4123         instead of AF_UNIX.
4125 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4127         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4128         signgam weak alias.
4129         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4130         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4131         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4132         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4133         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4134         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4136         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4138 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4140         * configure.in: Add new option --enable-force-install.  Substitute
4141         force_install.
4142         * config.make.in (force-install): Set from configure.
4143         * Makerules (force-install): New phony target.
4144         * Makeconfig (+force): New variable.
4145         * Makefile: Use it in dependency list of installation targets.
4146         * db/Makefile: Likewise.
4147         * db2/Makefile: Likewise.
4148         * elf/Makefile: Likewise.
4149         * hurd/Makefile: Likewise.
4150         * iconv/Makefile: Likewise.
4151         * iconvdata/Makefile: Likewise.
4152         * intl/Makefile: Likewise.
4153         * localedata/Makefile: Likewise.
4154         * login/Makefile: Likewise.
4155         * po/Makefile: Likewise.
4156         * sunrpc/Makefile: Likewise.
4157         * sysdeps/mach/hurd/Makefile: Likewise.
4158         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4159         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4160         * timezone/Makefile: Likewise.
4162 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4164         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4165         alloc_size.  Pass return value of getcwd syscall to realloc.
4167 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4169         * manual/socket.texi: Spelling fixes.
4171 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4173         * elf/dl-load.c (print_search_path): Remove unused variable.
4175 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4177         * login/utmp_file.c: use __ftruncate not ftruncate.
4178         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4179         for system call and make ftruncate weak alias.
4180         * posix/unistd.h: Add prototype for __ftruncate.
4181         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4182         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4183         instead of snprintf and readv.
4184         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4185         snprintf.
4186         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4187         directly.
4189 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4191         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4192         * iconv/gconv_db.c: Use __ protected regex functions.
4193         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4194         * posix/getopt_init.c: Use __getpid not getpid.
4195         * posix/regex.c: Rename all global functions to start with __ and
4196         make old names weak aliases.
4197         * posix/regex.h: Adopt prototypes for this.
4198         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4199         a weak alias and use __getcwd instead of getcwd.
4200         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4201         * stdlib/strtod.c: Use __btowc instead of btowc.
4202         * stdlib/strtol.c: Likewise.
4203         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4204         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4205         and sys_errlist are weak.
4206         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4207         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4208         * wcsmbs/mbsnrtowcs.c: Likewise.
4209         * wcsmbs/mbsrtowcs.c: Likewise.
4210         * wcsmbs/wcsnrtombs.c: Likewise.
4211         * wcsmbs/wcsrtombs.c: Likewise.
4212         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4213         weak alias.
4214         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4215         * wctype/wctype.c: Define function as __wctype and make wctype
4216         weak alias.
4217         * wctype/wctype.h: Declare __wctype.
4219 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4221         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4223 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4225         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4226         stat64.
4227         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4228         functions.
4229         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4230         for __llseek.
4231         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4232         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4233         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4234         make it a weak alias.
4235         * posix/unistd.h: Declare __lseek64.
4237         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4238         (_IO_file_stat): Fix typo.
4239         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4240         block size from the file.  Use __mempcpy if _LIBC.
4242 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4244         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4245         * wcsmbs/mbrtowc.c: Likewise.
4246         * wcsmbs/mbsnrtowcs.c: Likewise.
4247         * wcsmbs/mbsrtowcs.c: Likewise.
4248         * wcsmbs/wcrtomb.c: Likewise.
4249         * wcsmbs/wcsnrtombs.c: Likewise.
4250         * wcsmbs/wcsrtombs.c: Likewise.
4251         * wcsmbs/wctob.c: Likewise.
4253         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4254         position of next output character correctly.
4255         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4257         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4259         * stdlib/strtod.c: Don't use mbtowc.
4261 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4263         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4264         what we want is smaller than a buffer.
4266 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4268         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4269         this function.
4271 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4273         * configure.in: Recognize --with-headers flag and determine
4274         commandline options to be used in compilation.
4275         * Makeconfig (+includes): Use $(sysincludes).
4276         * config.make.in (sysincludes): Define from SYSINCLUDES.
4277         * glibcbug.in: Use SYSINCLUDES information.
4278         Patches by Zack Weinberg.
4280 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4282         * glibcbug.in: On linux, report version of kernel headers seen
4283         by compiler.
4285 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4287         * libc.map: Add __asprintf to GLIBC_2.1.
4288         * elf/dlerror.c: Use __asprintf, not asprintf.
4289         * libio/stdio.h: Declare __asprintf.
4290         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4291         a weak alias.
4293         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4294         to avoid inclusion from libc_pic.a.
4296         * elf/dl-runtime.c: Undo last patch.
4298         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4300         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4301         as default, use NULL.
4303 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4305         * resolv/Makefile: Include ../Makeconfig - needed for building
4306         static NSS module.
4308 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4310         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4311         static-nss since we don't want hesiod in the static NSS.
4313         * nss/Makefile: Build only nss_files as static.
4315         * nss/function.def: Remove support for service db.
4317 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4319         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4321 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4323         * posix/wordexp-test.c: Make IFS per test-case.
4325 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4327         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4328         ENVIRONMENT.
4330 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4332         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4333         `-print-file-name' to find as and ld.
4335 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4337         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4338         template is wrong.  Remove unused varaible `ignored'.
4340 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4342         * libc.map: Export __libc_sa_len.
4344         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4346 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4348         * iconv/gconv.c: Take care for NULL arguments.
4349         * iconv/gconv_dl.c: Make find_func function global.
4350         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4351         Add prototypes for ASCII conversion functions.
4352         * iconv/gconv_simple.c: Add ASCII conversion functions.
4353         * locale/C-ctype.c: Correct charset name.
4355         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4356         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4357         wcsmbsload.
4358         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4359         * wcsmbs/mbrtowc.c: Likewise.
4360         * wcsmbs/mbsnrtowcs.c: Likewise.
4361         * wcsmbs/mbsrtowcs.c: Likewise.
4362         * wcsmbs/wcrtomb.c: Likewise.
4363         * wcsmbs/wcsnrtombs.c: Likewise.
4364         * wcsmbs/wcsrtombs.c: Likewise.
4365         * wcsmbs/wctob.c: Likewise.
4366         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4367         prototypes for wmemr*.
4368         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4369         * wcsmbs/wcsnlen.c: New file.
4370         * wcsmbs/wcsmbsload.c: New file.
4371         * wcsmbs/wcsmbsload.h: New file.
4373         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4375         * manual/install.texi: Describe some more critical points.
4377         * string/string.h: Add prototype for __strnlen.
4378         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4380         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4381         much less predictable names.
4382         * sysdeps/posix/mkstemp.c: Likewise.
4384 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4386         * manual/libc.texinfo (Top): Change "file namespace" to "local
4387         namespace".
4389         * manual/socket.texi: Change file namespace to local namespace.
4390         (Out-of-Band Data): Remove unneeded variable link.
4391         (Host Address Functions): Use uint32_t consequently and add a
4392         number of clarifications for IPv4/IPv6, classless addresses.
4393         (Internet Namespace): Added some paragraphs about IPv6.
4394         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4396 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4398         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4400         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4401         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4402         (AI_NUMERICHOST): Define.
4403         (getnodebyname): New prototype.
4404         (AI_V4MAPPED, et al.): New constants.
4406         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4407         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4408         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4409         for socket.
4410         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4411         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4413         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4415         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4416         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4417         * socket/Makefile (headers): Add bits/sockunion.h.
4418         * socket/sys/socket.h: Include <bits/sockunion.h>
4419         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4420         <sys/socket.h>, to avoid getting sockaddr_union defined.
4421         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4422         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4423         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4425         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
4426         (2.2.x kernels won't have it).
4428 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
4430         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
4431         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
4432         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
4433         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
4435 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4437         * manual/socket.texi (Socket Addresses): Fix a typo.
4438         (Interface Naming): New section.
4440 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4442         * configure.in: Check for CC using $ac_tool_prefix, to handle
4443         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
4444         * config.make.in: Add MIG to be substituted.
4445         * mach/Machrules: Don't define MIG variable.
4447         Patch by Gordon Matzigkeit <gord@profitpress.com>.
4449 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
4451         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
4452         strdupa to copy rpath.
4454 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4456         * configure.in: Fix gcc version check.
4458         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
4459         confusing.
4461 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
4463         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
4464         of ptsname_r.
4466         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
4467         like ttyname_r.
4468         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
4469         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
4470         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
4471         of __ptsname_r accordingly.
4472         * login/openpty.c (openpty): Likewise.
4474 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
4476         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
4478 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4480         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
4482         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
4484 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4486         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
4487         return value for better error checking.
4489 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
4491         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
4492         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
4494         * elf/elf.h (EM_SPARC64): Remove.
4495         (EM_SPARC32PLUS, EM_SPARCV9): Add.
4496         (HWCAP_SPARC_V9): Add.
4498         * elf/ldsodefs.h (_dl_hwcap): Declare.
4499         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
4500         Weaken so dlopen from static progies works.
4501         (WEAKADDR): New macro.
4502         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
4503         (LD_SO_PRELOAD): New macro.
4504         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
4505         (elf_machine_rela): Weaken _dl_rtld_map.
4507         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
4508         to __clone, and remove the later's alias.
4509         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4511         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
4512         the kernel's structure.
4514         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
4515         Sparc needs a custom value of __KERNEL_NCCS.
4517 1998-04-06  Richard Henderson  <rth@cygnus.com>
4519         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
4521         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
4522         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4524 1998-04-06  Richard Henderson  <rth@cygnus.com>
4526         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
4527         as the buffer is not properly aligned.
4528         Reported by Juan Cespedes <cespedes@debian.org>.
4530 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4532         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
4533         instead of AF_FILE.
4535 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
4537         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
4538         and wc*tomb* functions.
4540 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
4542         * sysdeps/unix/start.c: Fix typo.
4544 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
4546         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4548 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
4550         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4551         expressions and using array variables.
4552         * sysdeps/libm-ieee754/e_asin.c: Likewise.
4553         * sysdeps/libm-ieee754/e_j0.c: Likewise.
4554         * sysdeps/libm-ieee754/e_j1.c: Likewise.
4555         * sysdeps/libm-ieee754/e_log.c: Likewise.
4556         * sysdeps/libm-ieee754/e_pow.c: Likewise.
4557         * sysdeps/libm-ieee754/k_cos.c: Likewise.
4558         * sysdeps/libm-ieee754/k_sin.c: Likewise.
4559         * sysdeps/libm-ieee754/k_tan.c: Likewise.
4560         * sysdeps/libm-ieee754/s_atan.c: Likewise.
4561         * sysdeps/libm-ieee754/s_erf.c: Likewise.
4562         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4563         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4564         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4566 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
4568         * iconv/gconv.c: Rewrite of the low-level of gconv.
4569         * iconv/gconv.h: Likewise.
4570         * iconv/gconv_builtin.h: Likewise.
4571         * iconv/gconv_close.c: Likewise.
4572         * iconv/gconv_db.: Likewise.
4573         * iconv/gconv_dl.c: Likewise.
4574         * iconv/gconv_int.h: Likewise.
4575         * iconv/gconv_open.c: Likewise.
4576         * iconv/gconv_simple.c: Likewise.
4577         * iconvdata/8bit-gap.c: Adapt for rewrite.
4578         * iconvdata/8bit-generic.c: Likewise.
4579         * iconvdata/euckr.c: Likewise.
4580         * iconvdata/iso646.c: Likewise.
4581         * iconvdata/iso6937.c: Likewise.
4582         * iconvdata/iso8859-1.c: Likewise.
4583         * iconvdata/johab.c: Likewise.
4584         * iconvdata/sjis.c: Likewise.
4585         * iconvdata/t61.c: Likewise.
4586         * iconvdata/uhc.c: Likewise.
4588 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
4590         * iconv/gconv_int.h: New file.  Internal header.
4591         * iconv/Makefile (distribute): Add gconv_int.h.
4592         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4593         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4594         * iconv/gconv_close.c: Likewise.
4595         * iconv/gconv_conf.c: Likewise.
4596         * iconv/gconv_db.c: Likewise.
4597         * iconv/gconv_dl.c: Likewise.
4598         * iconv/gconv_int.h: Likewise.
4599         * iconv/gconv_open.c: Likewise.
4600         * iconv/iconv.c: Likewise.
4601         * iconv/iconv_close.c: Likewise.
4602         * iconv/iconv_open.c: Likewise.
4603         * iconv/iconv_prog.c: Likewise.
4605 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4607         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4608         missing braces.
4610 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4612         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4614 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4616         Based on patch from Pat Beirne:
4617         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4618         PIC and non-PIC now.  Correctly negate error number.
4619         (errno): Use `%' not `@' in .type directives.
4621 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4623         * sysdeps/i386/strtok.S: Change to use single exit point.
4624         * sysdeps/i386/i686/strtok.S: Likewise.
4626 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4628         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4629         default.
4631 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4633         * Makerules (installed-libcs): Fix typo.
4635 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4637         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4638         (UHC-routines): Remove ksc5601.
4640 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4642         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4643         introduced in last change.
4645 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
4647         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4648         before 2.1.92.
4650 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4652         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4654         * stdlib/isomac.c: Use -isystem instead of -I for system include
4655         dir.
4657 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
4659         * resolv/res_comp.c (underscorechar): New.
4660         (middlechar): Allow '_'.
4662 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4664         * intl/explodename.c (stdlib.h): Include that file only if
4665         STDC_HEADERS or _LIBC.
4666         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4667         Patch by Philippe De Muyter <phdm@macqel.be>.
4669 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4671         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
4672         (AC_PROG_CHECK_VER): New macro.
4673         * configure.in: Use AC_PROG_CHECK_VER to check versions of
4674         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
4676 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
4678         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
4679         * sysdeps/i386/i686/strtok.S: New file
4680         * sysdeps/i386/i686/strtok_r.S: New file
4682 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
4684         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
4685         type to __off64_t.
4686         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
4687         parameter as __off64_t instead of __off_t.
4688         (ftello): Make alias for ftello64 instead of ftello.  Change
4689         return type to __off64_t.
4691 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4693         * sysdeps/i386/bits/string.h: Fix various typos.
4694         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
4696         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
4698 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4700         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
4701         lchown syscall correctly.  [PR libc/541].
4703 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
4705         * localedata/Makefile: Correct testsuite rules.
4707         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
4708         * iconvdata/iso646.c: Fix conversion from UCS4.
4710         * elf/ldsodefs.h: Mark internal function with internal_function.
4711         * elf/dl-addr.c: Likewise.
4712         * elf/dl-close.c: Likewise.
4713         * elf/dl-debug.c: Likewise.
4714         * elf/dl-deps.c: Likewise.
4715         * elf/dl-error.c: Likewise.
4716         * elf/dl-fini.c: Likewise.
4717         * elf/dl-init.c: Likewise.
4718         * elf/dl-load.c: Likewise.
4719         * elf/dl-lookup.c: Likewise.
4720         * elf/dl-object.c: Likewise.
4721         * elf/dl-open.c: Likewise.
4722         * elf/dl-profile.c: Likewise.
4723         * elf/dl-reloc.c: Likewise.
4724         * elf/dl-runtime.c: Likewise.
4725         * elf/dl-symbol.c: Likewise.
4726         * elf/dl-version.c: Likewise.
4727         * elf/dlerror.c: Likewise.
4728         * sysdeps/generic/dl-sysdep.c: Likewise.
4729         * sysdeps/i386/dl-machine.h: Likewise.
4730         * intl/finddomain.c: Likewise.
4731         * intl/gettextP.h: Likewise.
4732         * intl/loadmsgcat.c: Likewise.
4734 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
4736         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
4737         * iconv/gconv_builtin.h: Add definitions for new builtins.
4738         * iconv/gconv.h: Add prototypes for new builtins.
4740         * iconvdata/Makefile (modules): Add ISO646.
4741         Add rules for ISO646 module.
4742         (distribute): Add iso646.c.
4743         * iconvdata/gconv-modules: Add module and alias definition for
4744         ISO646 charsets.
4745         * iconvdata/iso646.c: New file.
4747 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
4749         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
4750         * iconv/iconv_prog.c: Implement --list option to print available
4751         coded character sets.
4753 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4755         Make fread() read large blocks straight to the user buffer.
4757         * libio/fileops.c (_IO_file_xsgetn): New function.
4758         (_IO_file_jumps): Use it.
4759         * libio/libioP.h: Prototype it.
4761 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4763         * iconv/gconv_conf.c (builtin_aliases): New variable.
4764         (__gconv_read_conf): Add builtin aliases.
4765         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
4766         noop macro before including gconv_builtin.h.
4767         * iconv/gconv_builtin.h: Add alias names.
4769         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
4770         number of converted bytes correctly.
4772 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4774         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
4775         we only wait for a replay.
4777 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4779         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
4780         EUC-KR modules.
4782 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
4784         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
4785         use PLTJMP() rather than explicit (PLT).
4787         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
4788         __libc_start_main().
4790         Based on patch from Pat Beirne:
4791         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
4792         Always define, not only #ifndef PIC.
4793         (DO_CALL): Pass fifth argument correctly in R4.
4794         (PSEUDO): Correct test for error, call syscall_error through PLT
4795         if PIC.
4797 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
4799         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
4800         definitions.
4802 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4804         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
4805         JOHAB.so.
4807 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
4809         * io/Makefile (static-only-routines): Add stat64, fstat64 and
4810         lstat64.
4812 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4814         * manual/Makefile: Use object-suffixes-for-libc instead of
4815         object-suffixes.
4816         * rpm/Makefile (install-lib): Likewise.
4818 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4820         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
4822         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
4823         `m68*', not only `m68k'.
4825 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4827         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
4829         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
4830         install lddlibc4.
4832 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4834         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
4835         EUC-KR.
4837         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
4838         comment.
4840 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
4842         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
4843         the init stuff.
4845 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4847         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
4848         adjtimex syscall.
4849         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4850         adjtimex.
4851         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
4853 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4855         * Makerules (install): Change comment for libc.so following the
4856         libc_nonshared changes.
4858 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4860         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
4862         * iconvdata/gap.pl: Avoid using %#06x.
4864 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4866         * Makerules: Use $? instead of S^ when invoking ar.
4868 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4870         * db2/compat.h: Allow EFTYPE being defined.
4871         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
4872         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
4873         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
4874         * sysdeps/mach/bits/libc-lock.h: Fix typo.
4875         (__libc_once): Correctly unlock semaphore.
4876         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
4877         * sysdeps/unix/bsd/getpt.c: Fix typo.
4878         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
4880 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4882         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
4883         macros.
4885 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
4887         * include/mntent.h: New file.
4889         * elf/Makefile (trusted-dirs.h): Append slash to filename.
4890         * elf/dl-load.c: Rewrite search path handling.
4891         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
4892         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
4893         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
4894         * elf/ldsodefs.h: Add prototype.
4896 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
4898         * nss/nsswitch.c (__nss_lookup): Adjust comment.
4900         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
4901         function.
4903         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
4905         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
4906         New function.
4907         (HWCAP_IMPORTANT): New definition.
4909 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
4911         * elf/dl-open.c (_dl_open): Fix a typo.
4912         (_dl_global_scope_alloc): Make it static.
4914 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
4916         * Makerules: Remove duplicate rules to handle stamp.oS.
4918 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4920         * manual/examples/inetsrv.c (main): Change prototype of
4921         make_socket following change in mkisock.c.
4923         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
4924         example host.
4925         (main): Change prototype of init_sockaddr following change in
4926         isockadd.c.
4928         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
4929         * manual/examples/isockad.c (init_sockaddr): Likewise.
4931         * manual/examples/mkfsock.c (make_named_socket): Removed blank
4932         lines for clarification.
4933         (make_named_socket): Use strncpy instead of strcpy.
4934         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4936 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
4938         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
4939         determining libs to remove.
4940         (postclean): Add soversions.mk.
4941         * Makerules (common-mostlyclean): Add tests-static and generated
4942         files.
4944 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
4946         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
4947         scanning for \0.
4948         (__strncat_g): Add i686 specific code.
4950 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4952         * manual/install.texi (Reporting Bugs): Ask to include section
4953         names in reports.
4955 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4957         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
4958         guard against direct inclusion.
4960 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4962         Rework support for libc_nonshared.a:
4963         * Makeconfig (object-suffixes-for-libc): New variable.
4964         * Rules: Remove handling of static-only and shared-only routines.
4965         * Makerules: Handle them here instead.  Use
4966         object-suffixes-for-libc instead of object-suffixes when dealing
4967         with libc objects.
4968         (object-suffixes-for-rules): Remove variable.
4969         (elide-routines.oS): Elide all routines except static-only
4970         routines.
4971         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
4972         empty.
4973         (installed-libcs): Remove special case for .oS.
4974         (rmobjs): Likewise.
4976 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4978         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
4979         do-tst-rpmatch): New targets.
4980         (test): Use them.
4981         (install-locales): Ignore comment lines.
4983 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4985         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
4986         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
4987         ($(objpfx)rtldtbl.h): Likewise.
4988         (CPPFLAGS-dl-load.c): Fix reference to object directory.
4990 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
4992         * manual/string.texi (Finding Tokens in a String): Extend strsep
4993         description and correct example.
4995 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4997         * manual/socket.texi: Remove misguided explicit line breaks and
4998         fix the formatting problem instead by reformulating the
4999         paragraphs.
5000         * manual/filesys.texi: Likewise.
5001         * manual/conf.texi: Likewise.  Don't typeset table with index
5002         fonts, that looks worse than a minimally overfull line.
5004 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5006         * nscd/Makefile (nscd-modules): Move definition outside of
5007         conditional.
5009         * pwd/Makefile: Use have-thread-library to test for thread
5010         library.
5012 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5014         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5016         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5018 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5020         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5022 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5024         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5026         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5027         Reported by Andreas Jaeger.
5029 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5031         * elf/Makefile: Fix typo.
5032         (distribute): Add dl-librecon.h.
5033         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5034         * elf/ldd.sh.in: Likewise.
5035         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5036         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5037         Use strsep correctly.
5038         (process_envvars): Allow platform specific variables.
5039         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5040         (_dl_load_cache_lookup): Test cache IDs found against
5041         _dl_correct_cache_id.
5042         * sysdeps/generic/dl-librecon.h: New file.
5043         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5045         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5047 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5049         * config.make.in (ldd-rewrite-script): New variable.
5050         * configure.in: Substitute ldd-rewrite-script.
5051         * elf/Makefile: Rewrite rules to generate ldd script.
5052         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5053         * elf/ldd.sh.in: Likewise.
5054         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5055         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5056         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5057         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5058         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5060 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5062         * inet/rcmd.c (iruserok): Remain setuid to the local user
5063         while .rhosts is actually read, to make .rhosts-over-NFS work
5064         (PR libc/524).  Use iruserfopen() for security checks on both
5065         hosts.equiv and .rhosts.  General cleanup.
5066         (iruserfopen): New function, performs careful checking on
5067         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5068         stuff plus hard links to files.
5070 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5072         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5074         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5076 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5078         * sysdeps/i386/i486/bits/string.h: Fix typos.
5080 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5082         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5083         strong alias.
5085         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5087         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5088         Added.  Used by libm.so on alpha.
5090 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5092         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5093         defined.
5095 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5097         * Makerules (object-suffixes-for-rules): Add .oS only for
5098         building shared library.
5099         Add ranlib rule for nonshared library.
5100         (rmobjs): Fix typo.
5102         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5103         into for shared library only.
5104         (CPPFLAGS-.oS): Add -DPIC.
5105         (libtypes): Use $(object-suffixes-for-rules) instead of
5106         $(object-suffixes).
5108 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5110         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5111         and install lddlibc4.
5113 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5115         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5116         hash.
5117         * iconvdata/gaptab.pl: Likewise.
5119 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5121         * Rules: Allow Makefiles to specify test-static for tests which
5122         cannot be linked dynamically.
5123         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5124         tests-static.
5126         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5128         * misc/error.c: Pretty print.
5130 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5132         * Makerules (libc_nonshared-name): Remove variable.
5133         (installed-libcs): Use libc-name instead.
5134         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5135         dynamic linker.
5137         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5138         libc.a.  Remove explicit reference to dynamic linker.
5140 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5142         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5143         to wchar_t.
5144         * iconv/iconv_prog.c: Correctly test for write failure.
5145         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5146         * iconvdata/gconv-modules: Likewise.
5147         * iconvdata/euckr.c: New file.
5148         * iconvdata/johab.c: New file.
5149         * iconvdata/ksc5601.c: New file.
5150         * iconvdata/ksc5601.h: New file.
5151         * iconvdata/uhc.c: New file.
5152         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5154         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5155         * stdio/fopen.c: Correct handling of 'x' flag.
5156         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5158 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5160         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5161         * sunrpc/rpcsvc/key_prot.x: Likewise.
5162         * sunrpc/key_prot.c: Likewise.
5164 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5166         * sysdeps/i386/bits/string.h: Correct things which never worked.
5167         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5168         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5170 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5172         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5173         defined.  Reported by Thorsten Kukuk.
5175 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5177         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5179 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5181         * manual/install.texi (Supported Configurations): Add
5182         arm-linuxaout and arm-none.
5184 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5186         * version.h (VERSION): Bump to 2.0.93.
5188 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5190         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5192         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5194         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5195         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5197 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5199         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5201 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5203         Put the static-only routines in a separate library.
5204         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5205         variables.
5206         (all-object-suffixes): Add .oS.
5207         * Makerules (libc_static-name): New variable.
5208         (installed-libcs): Add libc_nonshared.a.
5209         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5210         (object-suffixes-for-rules): New variable.  Use it instead of
5211         object-suffixes for generating compilation rules.
5212         (rmobjs): Also remove *.oS.
5213         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5214         ($(objpfx)stamp.oS): New target.
5216 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5218         * Makefile (FAQ): Automatically check in regenerated FAQ.
5220 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5222         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5224 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5226         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5227         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5229         * sysdeps/generic/stub_warning: Removed.
5231         * Makefile (distribute): Add include/des.h.
5233         * manual/Makefile (distribute): Change dir-add.texi to
5234         dir-add.texinfo.
5236         * glibcbug.in: Create files safely when mktemp is not available.
5238         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5239         Patch by a sun <asun@saul1.u.washington.edu>.
5241 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5243         * libc.map: Rename getname to getnetname.
5245 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5247         * manual/maint.texi: Use supported platform in examples.
5249         * manual/install.texi: Document some installation tips.
5251 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5253         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5254         Fix a bug so that it returns an error if a numeric parameter is
5255         unset and WRDE_UNDEF is set.
5256         Patch by Andreas Schwab and Tim Waugh.
5257         * posix/wordexp-test.c: Add new new test.
5259 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5261         * posix/regex.c (regex_compile): Last patch wasn't entirely
5262         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5264 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5266         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5268 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5270         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5271         clobbered registers don't appear as operands.
5273 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5275         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5276         Solaris' sake.
5278         * posix/regex.c (regex_compile): Don't allow non-alphabet
5279         characters in character set name.
5281 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5283         * posix/wordexp.c (w_newword): New function.
5284         (do_parse_glob): New function.
5285         (parse_glob): Use do_parse_glob.  Now handles the case where a
5286         variable expansion causes a field-split.
5287         (wordexp): Use w_newword.
5288         (parse_arith): Likewise.
5289         (exec_comm): Likewise.
5290         (parse_comm): Likewise.
5291         (parse_param): Likewise.
5292         (parse_backtick): Likewise.
5294 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5296         * posix/wordexp-tst.sh: Another test.
5298         * posix/wordexp-test.c: Two new tests.
5300         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5301         directly (the code using realloc was buggy).
5302         (parse_param): Fix typo in comment.
5304 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5306         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5308 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5310         * libc.map: Add more rpc auth functions/variables.
5312         * nscd/nscd.c: Add -g option to argp options.
5314 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5316         * configure.in: Be prepared for gcc 2.9.10 and up.
5317         * configure.in: Add missing disabling of quote characters in
5318         compiler version check.  Reported by HJ Lu.
5320 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5322         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5324 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5326         * intl/locale.alias: Fix spelling of romanian.
5328         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5329         (distribute): Remove des.h.
5330         * include/des.h: New file.
5331         * sunrpc/des.h: Moved to ...
5332         * sunrpc/rpc/rpc_des.h: ...here.
5334 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5336         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5337         Fix paren.
5339 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5341         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5342         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5344 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5346         * elf/ldsodesf.h: New file.
5347         * elf/Makefile (distribute): Add ldsodefs.h.
5348         * elf/link.h: Separate internal information in exter header.
5349         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5350         * elf/dl-minimal.c: Likewise.
5351         * sysdeps/generic/dl-sysdep.c: Likewise.
5352         * elf/sprof.c: Likewise.
5353         * elf/dlsym.c: Likewise.
5354         * elf/dlvsym.c: Likewise.
5355         * elf/dlerror.c: Likewise.
5356         * elf/dladdr.c: Likewise.
5357         * elf/dlclose.c: Likewise.
5358         * elf/dlopen.c: Likewise.
5359         * elf/dl-addr.c: Likewise.
5360         * elf/dl-close.c: Likewise.
5361         * elf/dl-debug.c: Likewise.
5362         * elf/dl-deps.c: Likewise.
5363         * elf/dl-error.c: Likewise.
5364         * elf/dl-fini.c: Likewise.
5365         * elf/dl-init.c: Likewise.
5366         * elf/dl-load.c: Likewise.
5367         * elf/dl-lookup.c: Likewise.
5368         * elf/dl-object.c: Likewise.
5369         * elf/dl-open.c: Likewise.
5370         * elf/dl-profile.c: Likewise.
5371         * elf/dl-reloc.c: Likewise.
5372         * elf/dl-runtime.c: Likewise.
5373         * elf/dl-support.c: Likewise.
5374         * elf/dl-symbol.c: Likewise.
5375         * elf/dl-version.c: Likewise.
5376         * sysdeps/generic/dl-cache.c: Likewise.
5377         * sysdeps/generic/libc-start.c: Likewise.
5378         * iconv/gconv_dl.c: Likewise.
5379         * nss/nsswitch.c: Likewise.
5381 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5383         * manual/nss.texi: The database is not called network but networks.
5384         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5386 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5388         * configure.in: Correct test for compiler version.
5389         Check that LD_LIBRARY_PATH doesn't contain current path.
5391 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5393         * elf/dl-close.c (_dl_close): Fix byte count while removing
5394         the shared object from the global scope list and optimize
5395         a little bit.
5397 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5399         * manual/filesys.texi (Scanning Directory Content): Add missing
5400         closing brace.
5401         (Scanning Directory Content): Fix text.
5403 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5405         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5406         explaining difference of -lmcheck and MALLOC_CHECK_.
5408 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5410         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5411         typos in comments.
5413 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5415         * test-skeleton.c (main): Fix test for exit signal.
5417 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5419         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5421 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5423         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
5424         appropriate.
5426 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5428         * libc.map: Export __strtok_r.
5430 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
5432         * posix/regex.c (re_compile_fastmap): Remove unused variable
5433         num_regs and adjust comment.
5434         Patch by Jim Meyering <meyering@ascend.com>.
5436         * math/math.h (M_*l): Extend long double constants to be usable
5437         for 128 bit floats.  Patch by Richard Henderson.
5439 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5441         * sysdeps/m68k/m68020/wordcopy.S: New file.
5443 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
5445         * posix/wordexp.c: Rewrite parse_param.
5446         Patch by Tim Waugh and Andreas Schwab.
5448 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5450         * Rules: Update timestamps on empty object files.
5452 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
5454         * manual/filesys.texi (Scanning Directory Content): Add description
5455         of 64 bits scandir function and friends.
5457 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5459         * glibcbug.in: Use mktemp to generate unique file name for
5460         temporary files.
5462         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
5463         ptsname_r.  Use cast for execve call.
5465 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
5467         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
5468         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
5469         * io/sys/statvfs.h: New file.
5470         * sysdeps/generic/fstatvfs.h: New file.
5471         * sysdeps/generic/statvfs.h: New file.
5472         * sysdeps/generic/fstatvfs64.h: New file.
5473         * sysdeps/generic/statvfs64.h: New file.
5474         * sysdeps/generic/bits/statvfs.h: New file.
5475         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
5476         * sysdeps/unix/sysv/linux/statvfs.c: New file.
5477         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
5479         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
5480         and f_ffree elements.
5482         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
5483         mount options in enum.
5485 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5487         * configure.in: Check for recent egcs/gcc.
5489 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5491         * libc.map: Add alphasort64, scandir64, versionsort64.
5492         * dirent/Makefile (routines): Add scandir64, alphasort64, and
5493         versionsort64.
5494         * dirent/alphasort64.c: New file.
5495         * dirent/scandir64.c: New file.
5496         * dirent/versionsort64.c: New file.
5497         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
5498         versionsort.
5499         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
5500         old name weak alias.
5501         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5503         * dirent/alphasort.c: Use strcoll instead of strcmp.
5505         * dirent/scandir.c: Optimize a bit.
5507         * dirent/versionsort.c: Pretty print.
5509 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5511         * string/string.h: Add prototype for __strtok_r.
5513 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5515         * posix/Makefile: Fix typo in last change.
5517 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5519         * dirent/dirent.h (scandir): Make argument of select function const.
5520         * dirent/scandir.c (scandir): Likewise.
5521         Reported by David.Faure@insa-lyon.fr [PR libc/512].
5523 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
5525         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
5526         weak alias.
5527         * sysdeps/i386/strtok_r.c: Likewise.
5529         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
5530         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
5531         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
5532         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
5533         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
5534         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
5536 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5538         * intl/localealias.c: Remove unneeded define for strdup.
5540 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
5542         * manual/argp.texi: Adjust for better TeX output.
5543         * manual/arith.texi: Likewise.
5544         * manual/conf.texi: Likewise.
5545         * manual/filesys.texi: Likewise.
5546         * manual/header.texi: Likewise.
5547         * manual/lgpl.texinfo: Likewise.
5548         * manual/math.texi: Likewise.
5549         * manual/message.texi: Likewise.
5550         * manual/pattern.texi: Likewise.
5551         * manual/process.texi: Likewise.
5552         * manual/signal.texi: Likewise.
5553         * manual/socket.texi: Likewise.
5554         * manual/startup.texi: Likewise.
5555         * manual/stdio.texi: Likewise.
5556         * manual/terminal.texi: Likewise.
5557         * manual/examples/rprintf.c: Likewise.
5558         * manual/examples/testopt.c: Likewise.
5559         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5561 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
5563         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5564         parameter name after seeing a digit if it's enclosed in braces.
5566 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5568         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5570 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5572         * manual/memory.texi (Heap Consistency Checking): Document
5573         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
5575 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5577         * manual/Makefile: Add missing rules.
5579 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5581         * timezone/Makefile (generated): Define to remove all stamp files.
5583         * sysdeps/generic/strsep.c: Also undefine __strsep.
5585         * string/strdup.c: Undefine __strdup and strdup first.
5586         * string/strndup.c: Likewise.
5588         * string/bits/string2.h: Correct strtok_r and strsep.
5589         Add strndup optimization.
5591         * sysdeps/generic/strsep.c: Little optimization.
5593 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
5595         * string/bits/string2.h: Add optimization for strdup.
5596         Always define __strsep and __strtok_r and make real names available
5597         when feature select macros are defined.
5599 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5601         * manual/install.texi (Installation): Use i486-linux as example
5602         instead of the unsupported sunos4.
5603         (Reporting Bugs): Mention glibcbug script.
5604         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5606 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5608         * posix/wordexp-tst.sh: Make portable.  Add more tests.
5610         * posix/Makefile (do-globtest do-wordexp-test): New targets.
5612 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
5614         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5615         * sysdeps/generic/libc-start.c: ...here, replacing former content.
5617         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5618         netpacket/packet.h.
5620         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5622 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5624         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5625         in enumerator for strict standard compliance.
5626         * sysdeps/generic/bits/resource.h: Likewise.
5628 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
5630         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5631         (PLTJMP): New macro.
5633         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5634         longjmp() when floating point enabled.
5635         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5636         * sysdeps/arm/__longjmp.S: Remove floating point code.
5637         * sysdeps/arm/setjmp.S: Likewise.
5639         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5640         * sysdeps/arm/bsd-_setjmp.S: Likewise.
5642         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5643         memset().
5645         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5646         prototype.
5648 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
5650         Based on patches from Pat Beirne and Scott Bambrough:
5652         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5654         * sysdeps/arm/bits/fenv.h: New file.
5656         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
5657         * sysdeps/arm/elf/setjmp.S: Likewise.
5658         * sysdeps/arm/elf/start.S: Likewise.
5659         * sysdeps/arm/init-first.c: Likewise.
5660         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5661         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
5662         comment about floating point to reflect current reality.
5664         * sysdeps/unix/arm/brk.S: Support PIC.
5665         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5666         re-entrant code.
5667         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5668         return; call syscall_error through PLT.
5669         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
5671 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
5673         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
5674         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
5675         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
5677 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5679         * dirent/list.c (test): Return error value.
5680         (main): Exit with error value.
5682         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
5684         * Makefile (distribute): Add test-skeleton.c.
5685         * test-skeleton.c: New file.
5686         * dirent/Makefile (tests): Add opendir-tst1.
5687         * dirent/opendir-tst1.c: New file.
5689 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5691         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
5692         Optimize memory handling.
5693         * sysdeps/unix/closedir.c: Optmize memory handling.
5695 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
5697         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
5698         handling.  Optimize a bit.
5700 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
5702         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
5703         (parse_param): Fold in Andreas' fixes to do with when the end of
5704         the parameter name has been reached, and quoting inside ${...}.
5705         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
5706         $((echo);(ls)).
5708 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5710         * manual/maint.texi: Split out installation and contribution
5711         sections to their own appendices.  Misc cleanups.
5712         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
5713         * manual/contrib.texi: New file.
5714         * manual/libc.texinfo: Pull in new appendices.
5715         * manual/header.texi: Correct node pointer.
5717 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5719         * manual/process.texi (Process Completion): Clarify return value
5720         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
5722 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5724         * posix/wordexp-test.c: Add more tests.
5725         (testit): Fix logic.
5727         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
5728         /dev/null instead of closing it, close pipe.  Always chop off all
5729         trailing newlines.  Kill and reap child before returning error.
5730         (w_addword, parse_glob): Fix memory leak.
5731         (wordexp): Fix dangling pointer problem.
5733 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
5735         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
5737         * posix/wordexp-test.c (main): Fix little thinkos and typos.
5739         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
5740         directory index by only the language.
5742 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
5744         * posix/wordexp-tst.sh: Store test results in the
5745         ${common_objpfx}posix directory.
5747         * posix/wordexp-test.c: Remove temporary directory afterwards.
5749 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5751         * libc.map: Export internal versions of cancelable functions.
5753 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5755         * Makerules (MAKEFLAGS): Append `r'.
5757 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5759         * Makeconfig: Define have-thread-library, shared-thread-library
5760         and static-thread-library if a thread library is available.  Don't
5761         define rt.
5762         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
5763         nscd-routines to nscd-modules.  Use shared-thread-library and
5764         static-thread-library in dependencies.
5765         * rt/Makefile: Only compile librt if have-thread-library is
5766         defined.
5767         * Makefile (subdirs): Always include rt subdir.
5769 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5771         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
5773 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
5775         * configure.in: Recognize variations for 32 MIPS processors.
5776         Don't assume ELF systems always have .weak, test for .weakext.
5778 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5780         * configure.in: Irix6 is an ELF platform.
5782 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
5784         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
5785         unmapping the last loaded segment.
5787 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
5789         * configure.in: Set base_os for Irix6.
5790         Correct test for .weakext.
5792 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5794         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
5795         (new_line) to _dl_debug_message call.
5797 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5799         * posix/wordexp.c (parse_param): Perform field-splitting after
5800         expanding positional parameter.
5802         * posix/wordexp-tst.sh: Test that field-splitting is performed
5803         after expanding positional parameter.
5805         * posix/wordexp.c (parse_param): Fixed memory leak in
5806         field-splitting after parameter expansion.
5808 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5810         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
5811         (get_toplvl_escape): Correctly terminate loop at EOF.
5812         Patch by Cristian Gafton <gafton@redhat.com>.
5814 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
5816         * string/tester.c (test_strpbrk): Add more strpbrk tests.
5817         (test_strsep): Likewise.  Correct horrible bugs.
5819         * string/bits/string2.h (strcspn): Optimize also reject string of
5820         length 2 and 3.
5821         (strspn): Likewise.
5822         (strpbrk): Likewise.
5823         (strsep): Likewise.  Correct bug with successive separators and
5824         separators at the end of the string.
5825         * sysdeps/generic/strsep.c: Correct bug with successive separators
5826         and separators at the end of the string.
5828 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5830         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
5831         etc) now handled, as well as $$ (pid).
5833         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
5834         (distribute): Add wordexp-tst.sh.
5836         * posix/wordexp-tst.sh: New file.
5838         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
5839         number of positional parameters.  Renamed substitute_length to
5840         seen_hash.
5841         Don't free(env) is env is NULL.
5843 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
5845         * libc.map: Add pthread_attr_init to GLIBC_2.1.
5847 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
5849         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
5850         for output file replacing gmon.out.
5851         Patch by Dean Gaudet <dgaudet@arctic.org>.
5853 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5855         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
5856         up namespace.  Optimize finding end of line.
5858 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5860         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
5861         securely.  Optimized.
5862         (process_dl_debug): Add ':' to list of separators.  Optimized.
5864 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5866         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
5867         isless, islessequal, islessgreater, isunordered): Return zero or
5868         one.
5870 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5872         * posix/wordexp-test.c: More tests.
5873         (main): Set up arena for pathname expansion tests (in a temporary
5874         directory).
5875         (testit): Don't check word count or word vector if return value is
5876         non-zero.
5878         * posix/wordexp.c (exec_comm): Always chop off terminating
5879         linefeed (just like bash does).
5880         (parse_param): Change lots of occurrences of "if (!*env)" to "if
5881         (!env || !*env)".
5882         (parse_param): For assignment inside parameter expansion, use all
5883         expanded words in assignment rather than just the first.
5884         (parse_param): Corrected return value for parameter expansion of
5885         an unset variable when WRDE_UNDEF is in effect.
5886         (parse_dollars): Don't field-split if quoted.
5887         (wordexp): Opening brace character isn't allowed unquoted.
5889 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5891         * elf/dlerror.c: Fix concurrency problems with error string and
5892         number.
5894         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
5895         filter/auxiliary are being loaded.
5897 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
5899         * elf/dlerror.c (last_object_name): Removed.
5900         (dlerror): Don't use last_object_name.
5901         (_dl_error_run): Omit second argument to _dl_catch_error.
5902         * elf/dl-error.c (struct catch): Remove objname member.
5903         (_dl_signal_error): Construct string including objname when given.
5904         (_dl_catch_error): Remove objname handling.
5905         * elf/link.h (_dl_catch_error): Fix prototype and comment.
5906         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
5907         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
5908         * nss/nsswitch.c (nss_dlerror_run): Likewise.
5909         * iconv/gconv_dl.c (dlerror_run): Likewise.
5910         [Corrects PR libc/501].
5912 1998-03-12  Matthias Urlichs <smurf@noris.de>
5914         * nscd/nscd.c: Ignore SIGPIPE.
5916 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5918         * nscd/nscd_getgr_r.c: Use __ protected names.
5919         * nscd/nscd_getpw_r.c: Likewise.
5921 1998-03-12  Matthias Urlichs <smurf@noris.de>
5923         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
5924         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
5925         null bytes are not transmitted.
5927 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5929         * powerpc/syscalls.list: Correct typo.
5930         * alpha/syscalls.list: Likewise.
5931         * mips/syscalls.list: Likewise.
5933 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5935         * socket/sys/socket.h: Add prototype for __socket.
5937 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5939         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
5941         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
5942         constants.
5944         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
5945         definition here.
5946         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
5947         definition here.
5949         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
5950         AF_* and PF_* constants.
5952         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
5954 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
5956         * elf/rtld.c: Update help message.
5957         Install link maps for preloaded objects using main_map as loader.
5959         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
5960         * elf/dl-profile.c: Likewise.
5962         * elf/dlsym.c: Little optimization.
5963         * elf/dlvsym.c: Likewise.
5965 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
5967         * posix/wordexp-test.c: Move test for parameter list at the very
5968         beginning.
5970 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5972         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
5973         WRDE_REUSE flag is set.
5974         (parse_param): Allow `*', `@', and numbers in parameter names.
5975         (parse_dollars): Differentiate between arithmetic expansion and a
5976         command substitution that starts immediately with a sub-shell
5977         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
5978         (parse_param): Memory allocated with __alloca in a block was
5979         referenced outside that block.  Adjusted to use malloc/free.
5980         (parse_param): Adjusted field-splitting algorithm so that there is
5981         not necessarily a field split at the end of a parameter expansion.
5983 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5985         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
5986         don't free words that have already been allocated.
5987         (parse_param): A dollar sign on its own will never have a pattern
5988         associated with it (like "${HOME%%/}" has), so don't try to free it.
5989         (parse_glob): Attempt to glob when an unquoted `[' is found
5990         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
5991         (parse_glob): Sorted out quoting in a glob-able word.
5992         (parse_param): Added $* and $@ handling.
5994 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
5996         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
5997         parsing it.
5999 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6001         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6002         _dl_debug_message.
6004 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6006         * elf/dl-misc.c: Default for debug output should be stderr.
6007         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6008         * elf/dl-lookup.c: reference_name may be NULL or empty.
6010 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6012         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6014 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6016         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6018         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6020 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6022         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6025 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6027         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6028         init stuff.
6030 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6032         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6033         flag.
6035         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6036         syslog daemon.
6037         (closelog_internal): Don't do anything if not connected.
6039 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6041         * libc.map: Add _dl_debug_message.
6042         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6043         before every line.
6044         * elf/fini.c: Correctly use new _dl_debug_message function.
6045         * elf/init.c: Likewise.
6046         * elf/dl-lookup.c: Likewise.
6047         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6048         * elf/dl-load.c: Likewise.  Add more debugging prints.
6049         * elf/dl-reloc.c: Likewise.
6050         * elf/dl-version.c: Likewise.
6051         * elf/dl-support.c: Add variables for debugging.
6052         * elf/rtld.c: Likewise.  Recognize new debug options.
6053         * elf/link.h: Declare new variables.
6055         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6057 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6059         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6060         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6062 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6064         * posix/wordexp-test.c (command_line_test): New function to allow
6065         testing of specific cases from the command-line.
6067 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6069         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6070         * elf/dl-fini.c (_dl_fini): Likewise.
6071         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6073         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6074         symbol in debug message.
6075         (_dl_lookup_versioned_symbol_skip): Likewise.
6077 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6079         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6080         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6081         * manual/filesys/texi: Document this.
6083 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6085         * manual/filesys.texi: Document the change below.
6087 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6089         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6090         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6092 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6094         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6095         instead scope.  If debugging display information about symbol
6096         resolving.
6097         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6098         (_dl_lookup_symbol_skip): Likewise.
6099         (_dl_lookup_versioned_symbol): Likewise.
6100         (_dl_lookup_versioned_symbol_skip): Likewise.
6101         * elf/dl-support.c: Define _dl_debug_symbols.
6102         * elf/link.h: Add declaration for _dl_debug_symbols.
6103         * elf/rtld.c: Define _dl_debug_symbols.
6104         (process_dl_debug): Recognize symbols option.
6106 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6108         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6109         in correct format.
6110         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6111         with correct parameters.
6112         [!PIC]: Initialize __libc_multiple_libcs.
6114 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6116         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6117         * elf/rtld.c (_dl_debug_bindings): Add definition.
6118         (process_dl_debug): Recognize bindings option.  Update help message.
6119         * elf/link.h (struct link_map): Add l_versyms member.
6120         (_dl_debug_bindings): Add declaration.
6121         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6122         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6123         and l_reloc_result.
6124         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6125         (sym_val): Remove a member, add m as link_map.
6126         (do_lookup): Return result appropriately.
6127         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6128         Call do_lookup correctly.
6129         (_dl_lookup_symbol_skip): Likewise.
6130         (_dl_lookup_versioned_symbol): Likewise.
6131         (_dl_lookup_versioned_symbol_skip): Likewise.
6133 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6135         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6136         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6138         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6139         * libc.map: Add chown to GLIBC_2.1.
6140         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6141         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6143 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6145         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6146         weak alias.
6147         * sysdeps/alpha/ffs.c: Likewise.
6148         * sysdeps/am29k/ffs.c: Likewise.
6149         * sysdeps/i386/ffs.c: Likewise.
6150         * sysdeps/i960/ffs.c: Likewise.
6151         * sysdeps/m68k/ffs.c: Likewise.
6152         * sysdeps/m88k/ffs.c: Likewise.
6153         * sysdeps/powerpc/ffs.c: Likewise.
6154         * sysdeps/rs6000/ffs.c: Likewise.
6155         * sysdeps/vax/ffs.s: Likewise.
6156         * string/string.h: Declare __ffs.
6157         * libc.map: Export it.
6158         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6159         __builtin_ffs, which is not guaranteed to be namespace clean.
6161 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6163         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6164         table, which is much more likely to exist than debugging symbols.
6165         (printsym): Remove const.
6166         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6167         header table.
6169         * libc.map: Export __profile_frequency, used by elf/sprof, to
6170         avoid infinite recursion during startup.
6172 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6174         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6175         Readd lost negate.
6177         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6179 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6181         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6183 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6185         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6186         LD_PRELOAD, and LD_VERBOSE.
6187         (dl_main): Use global variables set by process_envvars instead of
6188         calling getenv.
6189         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6190         LD_LIBRARY_PATH value, this comes with the parameter.
6191         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6192         ("LD_LIBRARY_PATH") to _dl_init_paths.
6194 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6196         * elf/rtld.c (dl_main): Delay initialization of path structure if
6197         the dynamically linker is invoked implicitly until we read the
6198         dynamic section.
6200 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6202         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6204 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6206         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6207         Linux 2.0 and 2.1.
6209         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6211 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6213         * Makeconfig (nisobjdir): Set to path to nis directory.
6214         (rpath-link): Add nisobjdir.
6215         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6217         * elf/Makefile: Pretty print.
6218         * elf/dl-lookup.c: Include unistd.h.
6219         * elf/dl-runtime.c: Likewise.
6221         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6222         (distribute): Add tst-rpmatch.sh.
6223         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6225         New tests for rpmatch function by
6226         Jochen Hein <jochen.hein@delphi.central.de>.
6227         * localedata/tst-rpmatch.c: New file.
6228         * localedata/tst-rpmatch.sh: New file.
6230         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6231         * localedata/locales/de_AT: Likewise.
6233         * posix/getopt.c: Update contact address.
6234         * posix/getopt1.c: Pretty print.
6236         * sysdeps/generic/libc-start.c: Do most of the initialization now
6237         here instead of in start.S.
6238         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6239         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6241         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6242         profil_counter to be public.
6244 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6246         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6247         (parse_param): Coded parameter length expansion (${#var}).
6248         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6249         (parse_param): Cleaned up (fixed) error handling.
6251         * posix/wordexp-test.c: IFS now includes non-whitespace character
6252         (comma).  Added more tests.
6254 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6256         * elf/link.h: Fix typos.
6257         Reported by Andreas Jaeger.
6259         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6260         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6262 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6264         * argp/argp-help.c: Remove last bits of using gettext instead of
6265         dgettext.
6267 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6269         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6270         __libc_start_main.
6271         * csu/Makefile (routines): Add libc-start.
6272         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6273         * elf/dl-lookup.c: Likewise.
6274         * elf/dl-version.c: Likewise.
6275         * sysdeps/i386/dl-machine.h: Likewise.
6276         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6277         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6278         _dl_sysdep_message macros which use _dl_sysdep_output.
6279         * elf/dl-fini.c: Write out which destructor is called while debugging.
6280         * elf/dl-init.c: Likewise for constructor.
6281         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6282         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6283         _dl_sysdep_message.  Add _dl_sysdep_output.
6284         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6285         this file can be opened.
6286         For LD_DEBUG=libs also set _dl_debug_impcalls.
6287         * sysdeps/generic/dl-cache.c: Include unistd.h.
6288         * sysdeps/generic/libc-start.c: New file.
6289         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6290         * sysdeps/i386/elf/start.S: Don't call main directly, call
6291         __libc_start_main instead.
6293         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6295 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6297         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6299 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6301         * argp/argp.h (struct argp): Add new field domain.
6302         * argp/argp-help.c: Change all gettext calls to dgettext and use
6303         domain field from appropriate argp in call.
6304         * argp/argp-parse.c: Likewise.
6306 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6308         * posix/wordexp-test.c: Change testsuite so that it can run even
6309         for ~root != /root.
6311 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6313         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6315 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6317         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6318         Don't store into global errno if we already store through
6319         __errno_location.
6320         * sysdeps/unix/i386/sysdep.S: Likewise.
6321         * sysdeps/unix/alpha/sysdep.S: Likewise.
6322         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6323         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6325         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6326         PIC).
6328 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6330         * sysdeps/generic/sysdep.h (L): Remove definition.
6331         * sysdeps/i386/sysdep.h (L): Define it here instead.
6333 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6335         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6337         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6339 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6341         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6342         declaration style to avoid warnings.
6344 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6346         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6347         "LD_DEBUG".
6349 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6351         * posix/Makefile (tests): Add wordexp-test.
6352         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6353         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6355 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6357         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6358         dependencies.
6360         * elf/link.h (struct r_search_path_elem): Add two new field for
6361         lib path debugging.
6362         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6363         variable accordingly.
6364         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6365         is considered next along with information about load paths.
6366         * sysdeps/generic/dl-cache.c: Likewise.
6367         * elf/dl-support.c: Define _dl_debug_libs.
6368         * elf/genrtldtbl.awk: Add initializers for two new field in
6369         struct r_search_path_elem.
6371 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6373         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6374         * sysdeps/m68k/lshift.S: Likewise.
6375         * sysdeps/m68k/rshift.S: Likewise.
6376         * sysdeps/m68k/sub_n.S: Likewise.
6377         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6378         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6379         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6381         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6382         [_LIBC_REENTRANT]: Don't store into global errno.
6384         * sysdeps/m68k/sysdep.h: New file.
6385         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6386         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6387         (DO_CALL): Change to expect syscall name as argument.
6388         (PSEUDO): Pass syscall_name to DO_CALL.
6389         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6390         errno.
6392 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6394         * elf/rtld.c: Speed up processing of environment variables.  Do
6395         only one run on the environment by avoiding to call getenv.
6396         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6397         function.  Used by patch above.
6399 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6401         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6402         running nscd.
6403         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6404         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6405         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6407 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6409         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6410         module cannot be found.  Reported by Andreas Jaeger.
6412 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6414         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6415         on platforms which default to unsigned chars.
6416         * nscd/nscd_getpw_r.c: Likewise.
6417         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6418         defining it.
6420 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6422         * elf/Makefile (install-bin): Change = to += for sprof to install
6423         ldd also.
6425 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
6427         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
6429 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
6431         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
6433 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6435         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
6436         that a failure to connect to nscd doesn't change errno.
6438 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6440         * manual/maint.texi (Reporting Bugs): Change
6441         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
6443         * locale/iso-4217.def: Likewise
6445 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
6447         * manual/texinfo.tex: Updated.
6449 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6451         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
6452         value.
6453         * sysdeps/posix/pathconf.c: Likewise.
6454         * posix/getconf.c: Print `undefined' if pathconf returns -1
6455         without setting errno.
6457 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
6459         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
6460         problem.
6461         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
6462         Patches by Elliot Lee <sopwith@cuc.edu>.
6464 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
6466         * elf/link.h (struct link_map): Add new field l_reloc_result.
6467         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
6468         of relocation for the object to be profiled.
6469         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
6470         to NULL.
6471         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
6472         array here.
6473         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
6474         contains a result from a previous run use this instead of computing
6475         the value again.
6476         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
6478 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6480         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
6481         offsets into the GOT.
6482         (RTLD_START): Likewise.
6484 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
6486         * elf/sprof.c: Cleanup a bit.
6488 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
6490         * sysdeps/generic/sysdep.h (L): New. Define.
6492         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
6494         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
6496         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
6497         to have only one exit point for functions.
6498         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6499         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
6500         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
6501         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6502         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6504 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6506         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
6507         reset errno so that errno isn't set to ENOSYS in the first call.
6508         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
6509         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6510         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6511         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6513 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
6515         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
6516         * sysdeps/i386/addmul_1.S: Likewise.
6517         * sysdeps/i386/lshift.S: Likewise.
6518         * sysdeps/i386/mul_1.S: Likewise.
6519         * sysdeps/i386/rshift.S: Likewise.
6520         * sysdeps/i386/sub_n.S: Likewise.
6521         * sysdeps/i386/submul_1.S: Likewise.
6522         * sysdeps/i386/i586/add_n.S: Likewise.
6523         * sysdeps/i386/i586/addmul_1.S: Likewise.
6524         * sysdeps/i386/i586/lshift.S: Likewise.
6525         * sysdeps/i386/i586/mul_1.S: Likewise.
6526         * sysdeps/i386/i586/rshift.S: Likewise.
6527         * sysdeps/i386/i586/sub_n.S: Likewise.
6528         * sysdeps/i386/i586/submul_1.S: Likewise.
6530         * sysdeps/i386/sysdep.h: Extend last change.
6532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
6533         to have only one exit point for functions.
6535 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6537         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
6538         search.
6540 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
6542         * Makerules: Generate libc.so with absolute paths for the used
6543         shared objects.
6545         * config.make.in: Add MAKEINFO definition.
6547 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6549         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6550         (ENTRY): Use STABS_FUN.
6551         (END): Use STABS_FUN_END.
6552         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6554         * elf/Makefile: Add rules to build sprof program.
6555         * elf/sprof.c: New file.
6557 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6559         * misc/syslog.c (openlog_internal): Insert missing closing brace.
6561 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6563         * configure.in: Check for working msgfmt version (from GNU gettext
6564         0.10 or later).
6566 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6568         * configure.in: Avoid //s in sysdirs.
6569         Patch by Roland McGrath.
6571         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6573 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
6575         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6576         setting _dl_global_scope for RTLD_GLOBAL.
6578 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6580         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6581         possible lists of object-suffixes are taken care of.
6583 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
6585         * timezone/private.h: Update from tzcode1998c.
6586         * timezone/zic.c: Likewise.
6587         * timezone/antarctica: Updated from tzdata1998c.
6588         * timezone/asia: Likewise.
6589         * timezone/australasia: Likewise.
6590         * timezone/europe: Likewise.
6591         * timezone/southamerica: Likewise.
6593 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6595         * posix/glob.c (glob_in_dir): Add support for cases insensitive
6596         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6598 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
6600         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6601         Changed type of TWO43, TWO52 from float to double.
6602         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6603         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6604         Changed type of TWO43 from float to double.
6605         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6606         Use __isinff.
6608 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
6610         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6611         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6612         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6614 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
6616         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6617         kernel_termios.h.
6618         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6619         Clean up random whitespace.
6620         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6621         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6623         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6625 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
6627         * shlib-versions: Match alpha*.
6628         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6629         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6631         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6632         Implement copysign* with and without __ prefix.
6633         Likewise for fabs; use builtin for gcc 2.8.
6634         (floor*): New.
6635         (fdim*): New.
6637         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6638         (R_SPARC*): Match current v9 ABI.
6640         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6642         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6643         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6644         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6645         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6646         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6647         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6648         * sysdeps/unix/grantpt.c (argv): Fix consts.
6649         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6650         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6652 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6654         * misc/syslog.c: Change to allow user the interpretation of the
6655         outcome even with syslog having no return value.
6657 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6659         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6660         that the number of program headers is >0 (which is wrong for the
6661         loader itself).
6663 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6665         * Makefile (distribute): Add README.libm.
6667 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6669         * time/clocktest.c (main): Correct typo: "--" -> "==".
6671 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
6673         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
6674         inline function.
6675         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
6676         inline functions.
6678         * math/libm.map (__atan2): Added.
6680 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6682         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
6683         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6685         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
6686         bug.
6688 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6690         * manual/arith.texi (Old-style number conversion): Correct
6691         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6693 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6695         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
6696         but does not require it.  Handle missing argv[] values gracefully.
6697         * posix/execl.c: Likewise.
6698         * posix/execle.c: Likewise.
6700 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6702         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
6703         bit.
6704         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
6706 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6708         * libc.map: Add __adjtimex.
6710 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6712         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
6713         Remove memset.
6715 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
6717         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
6718         to 64.
6720         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
6722         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
6723         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
6725         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
6726         for shared library.
6728         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
6730         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6731         Added adjtimex and old_adjtimex.
6733         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
6734         New.
6735         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
6736         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
6738         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
6739         symbols only for shared library.
6740         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6741         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6742         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6743         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6744         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6745         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6746         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6748         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
6749         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6750         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6751         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6752         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6753         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6754         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6755         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6757         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
6758         rusage pointer.
6760         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
6761         New macros.
6762         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
6763         timex and __adjtimex, respectively.
6765         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
6767         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
6769 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
6771         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
6772         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
6774 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
6776         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
6778 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6780         * Makefile.in: Disable built-in rules.
6782 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6784         * sysdeps/i386/fpu/t_exp.c: Move to ...
6785         * sysdeps/libm-i387/t_exp.c: ... here.
6787 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
6789         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
6790         from __exp2_deltatable.
6792 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
6794         * nis/ypclnt.c (yp_master): Check result of strdup.
6795         Patch by Thorsten Kukuk.
6797 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6799         * nis/ypclnt.c: Give clnt handle after error checking free, change
6800         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
6802 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
6804         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
6805         Patch by Joe Keane <jgk@jgk.org>.
6807         * misc/fstab.h (struct fstab): Change fs_type member to be const.
6808         * misc/fstab.c: Remove casts in fs_type assignments.
6810 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6812         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
6813         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
6814         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
6815         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
6816         * sysdeps/powerpc/bits/fenv.h: Likewise.
6817         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
6818         * sysdeps/generic/bits/fenv.h: Likewise.
6819         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6820         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
6821         * sysdeps/powerpc/test-arith.c (main): Likewise.
6823 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6825         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
6826         the comparison macros.
6828 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
6830         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
6831         (__log2): Fixed return values.
6832         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
6834 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6836         * math/math.h (isunordered): Rename local variables to ensure
6837         correct code.  Reported by HJ Lu.
6839 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
6841         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6842         isless, islessequal, islessgreater, isunordered): Fix syntax for
6843         fucompip instruction.
6844         (isless, islessequal): Fix logic.
6846 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6848         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
6849         (comparisons_test): New tests for comparison macros.
6851 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
6853         * Makeconfig: Filter out frame-pointer effecting options when
6854         compiling profiling or debugging code.
6855         * config.h.in (internal_function): Don't define here if PROF is
6856         defined.
6857         * gmon/gmon.c (__moncontrol): Don't change state if already in error
6858         state.
6859         (__monstartup): If calloc fails set error state and mark array as
6860         not allocated.
6861         (_mcleanup): Don't call write_gmon if in error state.  Don't try
6862         to free array if not  successfully allocated.
6864         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
6865         Include elf.h to get macro definitions.
6866         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
6868 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
6870         * elf/ldd.sh.in: Add compatibility for broken old shells.
6871         * elf/ldd.bash.in: Likewise.
6873 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
6875         * sunrpc/rpc_main.c (open_input): Check pipe return error.
6877         * time/clocktest.c (main): Check signal return error.
6879 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6881         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
6882         "/" and use do-install-program. Reported by Mark M. Kettenis.
6883         (subdir_install):  Likewise.
6885 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6887         * sunrpc/rpc_sample.c: Fix typo.
6889         * nscd/connections.c: Use locale.
6890         * nscd/grpcache.c: Add debug messages, gidtbl should get the
6891           calloc result.
6892         * nscd/nscd.c: Check if init functions fails.
6893         * nscd/nscd_conf.c: Allow disabling of group cache.
6894         * nscd/nscd_getgr_r.c: Fix return code if group not found.
6895         * nscd/pwdcache.c: Fix debug messages.
6897 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6899         * libc.map: Add __monstartup and _mcleanup for profiling support.
6901 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6903         * libc.map: Export __getpagesize, for binary compatibility with
6904         2.0.
6906 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6908         * posix/globtest.sh: Use --library-path instead of
6909         LD_LIBRARY_PATH.
6910         * localedata/sort-test.sh: Likewise.
6911         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
6913 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6915         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
6916         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
6917         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6919         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
6920         kernel_sigaction): Define.
6921         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
6922         kernel_sigaction): Define.
6924 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6926         * math/libm-test.c: Change epsilons for libm-ieee754.
6928 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
6930         * sysdeps/i386/__longjmp.S: Fix race condition.
6931         Reported by Bruno Haible <haible@ilog.fr>.
6933 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
6935         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
6936         * iconvdata/8bit-gap.c: Likewise.
6937         * iconvdata/8bit-generic.c: Likewise.
6938         * iconvdata/iso6937.c: Likewise.
6939         * iconvdata/iso8859-1.c: Likewise.
6940         * iconvdata/sjis.c: Likewise.
6941         * iconvdata/t61.c: Likewise.
6943 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6945         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
6946         feature tests by positive feature tests.
6948 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6950         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
6952 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
6954         * elf/dlvsym.c (dlvsym_doit): More corrections.
6955         Patch by Andreas Jaeger.
6957 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6959         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
6961 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
6963         * libc.map: More reordering for GLIBC_2.1 symbols.
6965 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6967         * libc.map: Move some functions from version GLIBC_2.0 to
6968         GLIBC_2.1, reorder declarations.
6970 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6972         * resolv/gethnamaddr.c (addrsort): Make this function extern.
6973         Patch by zab@thebrain.grumblesmurf.net.
6975 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6977         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
6978         NIS+ functions with version GLIBC_2.1.
6980 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
6982         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
6983         with 2.0 binaries.  Reported by Thorsten Kukuk.
6985 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6987         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
6989         * elf/dlsym.c (dlsym_doit): Likewise.
6991 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6993         * elf/link.h: Correct typos.
6995         * iconv/iconv_prog.c: Correct typo.
6997 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
6999         * iconv/Makefile: Add rules to build and install iconv program.
7000         * iconv/iconv_prog.c: New file.
7002 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7004         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7005         _dl_lookup_symbol_skip call.
7006         * elf/dlvsym.c (dlvsym_doit): Likewise.
7008 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7010         * libio/iovsscanf.c: Do not include errno.h.
7012 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7014         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7015         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7016         pulling in the whole error list.
7017         (__dcgettext, dcgettext): Removed.
7018         * libc.map: Export _strerror_internal.
7020 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7022         * sysdeps/i386/fpu/t_exp.c: New file.
7024 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7026         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7027         everything with version GLIBC_2.1.
7028         * hesiod/libnss_hesiod.map: Likewise.
7030 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7032         * manual/arith.texi (Old-style number conversion): This node is a
7033         section, not a subsection.
7035 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7037         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7039 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7041         * elf/rtld.c (dl_main): Make sure that the library search paths
7042         have been initialized before the first call to _dl_map_object.
7044 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7046         * Makerules (common-generated): Add libc_pic.os.
7048 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7050         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7051         of the executable.
7053 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7055         * sysdeps/m68k/fpu/t_exp.c: New file.
7057 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7059         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7060         to global errno variable anymore.
7062 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7064         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7065         If PRELOADED is nonzero check in case of an SUID application
7066         whether the shared object has the SUID bit set.
7067         Fix some other problems with handling shared objects in system
7068         specific directories.
7069         (_dl_map_object): Also take extra parameter and pass it to open_path.
7070         * elf/link.h (_dl_map_object): Correct prototype and comment.
7071         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7072         * elf/dl-open.c (_dl_open): Likewise.
7073         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7075         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7077 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7079         * math/libm-test.c (modf_test): Add test for 1.5.
7081         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7082         0 to get always an int.
7084 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7086         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7087         version GLIBC_2.1.
7089 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7091         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7092         trying to read another character.
7094 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7096         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7097         name to lowercase.
7099         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7100         name to lowercase, add test for big enough buffer.
7102 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7104         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7105         Make compatible with older kernels.  Patch by Richard Henderson.
7107 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7109         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7111         * localedata/tst-locale.sh: Comment out first test for now.
7113 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7115         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7116         as 1.
7117         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7118         Likewise.
7120         * libio/iogetline.c (_IO_getline_info): Renamed from
7121         _IO_getline.
7122         (_IO_getline): Just call _IO_getline_info.
7124         * libio/libioP.h (_IO_getline_info): New declaration.
7126         * libc.map (_IO_getline_info, __write): Added.
7128 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7130         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7131         const char* to shut up gcc.
7133 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7135         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7136         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7138         * math/math.h: Define M_* constants always as `double' and add new
7139         macros M_*l which are of type `long double'.
7140         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7141         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7142         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7143         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7144         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7145         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7146         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7147         * math/libm-tst.c: Likewise.
7149         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7150         define as long double unconditionally.
7152 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7154         * manual/arith.texi (Old-style number conversion): Correct some
7155         typos.
7157 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7159         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7160         Restore.
7162         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7164 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7166         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7167         on $(rtld-ldscript).
7169         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7170         starting from 0 not only from `from'.
7171         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7173 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7175         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7176         pass value (or NULL) to _dl_init_paths.
7177         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7178         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7179         environment variable.
7180         * elf/link.h: Change prototype for _dl_init_paths.
7181         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7183         * localedata/Makefile (distribute): Add test files.
7185 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7187         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7188         test1.def, test2.def, test3.def, test4.def}: Simple input files
7189         for localedef. Contributed by Yung-Ching Hsiao
7190         <yhsiao@cae.wisc.edu>.
7192         * localedata/Makefile (tests): Call tst-locale.sh.
7194         * localedata/tst-locale.sh: New file, regression tests for some
7195         localedef problems.
7197 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7199         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7201         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7202         terminated.
7203         * nis/nss_nisplus/nisplus-network.c: Likewise.
7204         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7205         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7206         * nis/nss_nisplus/nisplus-service.c: Likewise.
7208         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7209         and support generating thread safe RPC code.
7210         * sunrpc/rpc_main.c: Add changes.
7211         * sunrpc/rpc_clntout.c: Likewise.
7212         * sunrpc/rpc_cout.c: Likewise.
7213         * sunrpc/rpc_hout.c: Likewise.
7214         * sunrpc/rpc_parse.c: Likewise.
7215         * sunrpc/rpc_sample.c: Likewise.
7216         * sunrpc/rpc_scan.c: Likewise.
7217         * sunrpc/rpc_svcout.c: Likewise.
7218         * sunrpc/rpc_util.c: Likewise.
7219         * sunrpc/rpc_util.h: Add new structs and prototypes.
7220         * sunrpc/proto.h: Remove prototypes for static functions.
7222 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7224         * locale/programs/ld-messages.c (messages_finish): Don't skip
7225         error checking when being quiet.
7226         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7227         (set_class_defaults): Likewise.
7228         * locale/programs/charmap.c (parse_charmap): Likewise.
7229         * locale/programs/ld-collate.c (collate_finish): Likewise.
7230         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7231         * locale/programs/ld-time.c (time_finish): Likewise.
7232         * locale/programs/locfile.c (write_locale_data): Likewise.
7234         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7235         unknown characters and empty ranges.
7236         * locale/programs/ld-collate.c (collate_order_elem): When
7237         processing an ellipsis properly form a linked list in the result
7238         table, fix typo when allocating ordering array.
7239         [PR libc/419]
7241 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7243         * elf/Makefile (ld-map): Define.
7244         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7245         `$(rtld-ldscript)'.
7246         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7247         on $(ld-map).
7248         (rtld-link): Combine the two versions of this definition.  Fixed
7249         to make it work when no symbol versioning is used.
7251 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7253         * Makeconfig (build-program-cmd): Use --library-path parameter to
7254         ld.so instead of environment variable.
7256         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7257         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7259 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7261         * Make-dist: Respect with-cvs setting.
7262         * MakeTAGS (all-pot): Likewise.
7263         * sysdeps/sparc/sparc32/Makefile: Likewise.
7264         * sysdeps/mach/hurd/Makefile: Likewise.
7265         * stdlib/Makefile: Likewise.
7266         * posix/Makefile: Likewise.
7267         * intl/Makefile: Likewise.
7268         * po/Makefile (linguas): Likewise
7270 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7272         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7274 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7276         * libc.map: Add __strcasecmp.
7278         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7279         module.
7281         * nss/getXXent_r.c: If no more module is found don't try to call
7282         setXXent functions but leave unsuccessfully.
7284         * malloc/obstack.h: Cleanups.
7286         * sysdeps/wordsize-32/stdint.h: New file.
7287         * sysdeps/wordsize-64/stdint.h: New file.
7288         * sysdeps/generic/stdint.h: New file.
7289         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7290         * sysdeps/wordsize-64/inttypes.h: Likewise.
7291         * stdlib/Makefile (headers): Add stdint.h.
7293 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7295         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7297 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7299         * timezone: New directory.
7300         * time/README, time/africa, time/antarctica, time/asia,
7301         time/australasia, time/backward, time/checktab.awk,
7302         time/etcetera, time/europe, time/factory, time/ialloc.c,
7303         time/iso3166.tab, time/leapseconds, time/northamerica,
7304         time/pacificnew, time/private.h, time/scheck.c,
7305         time/solar87, time/solar88, time/solar89, time/southamerica,
7306         time/systemv, time/test-tz.c, time/tzfile.h,
7307         time/tzselect.ksh, time/yearistype, time/zdump.c,
7308         time/zic.c, time/zone.tab: Moved to timezone.
7309         * time/tzfile.c: Include tzfile.h from timezone subdir.
7310         * time/tzset.c: Likewise.
7311         * time/Makefile: Cut out all code relating to timezones...
7312         * timezone/Makefile: ...and paste it in here.
7313         * Makefile (subdirs): Add timezone.
7315 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7317         * libc.map (_sys_nerr): Added.
7319         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7320         versioned symbol.
7322 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7324         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7325         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7326         Reported by Craig Metz <cmetz@inner.net>.
7328 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7330         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7331         instead of strcasecmp.
7332         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7334         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7336 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7338         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7339         Patch by Dean Gaudet <dgaudet@arctic.org>.
7341 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7343         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7345 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7347         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7348         with no poll syscall, just include the BSD version.
7349         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7350         kernel without the syscall, include the stub version.
7351         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7352         * sysdeps/generic/getresuid.c: New file.
7353         * sysdeps/generic/getresgid.c: New file.
7355 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7357         * stdio-common/vfscanf.c: Correct last change a bit.
7359 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7361         * elf/Makefile: Don't use --version-script parameter to link ld.so
7362         unconditionally.
7364 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7366         * math/Makefile: Add t_exp.
7367         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7368         constants.
7369         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7370         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7371         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7372         better accuracy.
7373         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7374         algorithm for very large/very small arguments.
7375         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7376         correct algorithm for very large/very small arguments; adjust for
7377         new table.
7378         * sysdeps/libm-ieee754/t_exp.c: New file.
7379         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7381         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7382         back, with comment that explains what breaks when you remove it :-(.
7384         * localedata/xfrm-test.c: Avoid integer overflow.
7386         * stdlib/strfmon.c: char is unsigned, sometimes.
7388         * sysdeps/powerpc/Makefile: Remove quad float support.
7389         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7390         * sysdeps/powerpc/quad_float.h: Likewise.
7391         * sysdeps/powerpc/test-arith.c: Likewise.
7392         * sysdeps/powerpc/test-arithf.c: Likewise.
7394         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7395         * sysdeps/generic/s_exp2f.c: Likewise.
7397         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7398         don't try anything if _SOFT_FLOAT.
7400 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7402         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7403         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7404         * wctype/wctype.c: Likewise.
7405         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7406         changed.  They are incompatible with the _ISxxx values from
7407         <ctype.h> on little endian machines.
7408         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7409         bit number.  This fixes the real bug and restores the integrity of
7410         the ctype locale file.
7411         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7412         * wctype/wcfuncs_l.c: Likewise.
7413         * wctype/wcextra.c: Likewise.
7414         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7415         byte swapping.
7417 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7419         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7420         into .bss segment instead of .common, so that aliases on it work.
7422         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
7423         .size directives, put into .bss segment instead of initializing it
7424         to 4.
7426 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
7428         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
7430         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
7431         functions.
7432         Make names without __ weak aliases.
7433         (__libc_release, __libc_version): Make them static.
7435         * include/gnu/libc-version.h: New file.
7436         * Makefile (headers): Add gnu/libc-version.h.
7438 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
7440         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
7441         and use x for member name.
7442         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
7444         * stdlib/drand48.c: Change according to member name change.
7445         * stdlib/drand48_r.c: Likewise.
7446         * stdlib/lcong48_r.c: Likewise.
7447         * stdlib/lrand48.c: Likewise.
7448         * stdlib/lrand48_r.c: Likewise.
7449         * stdlib/mrand48.c: Likewise.
7450         * stdlib/mrand48_r.c: Likewise.
7451         * stdlib/seed48.c: Likewise.
7452         * stdlib/seed48_r.c: Likewise.
7453         * stdlib/srand48_r.c: Likewise.
7455 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7457         * nss/test-netdb.c: Add some more test cases.
7459 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
7461         * libio/iovsscanf.c: Undo last change modifying errno.
7463 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7465         * stdio-common/vfscanf.c: Never try to read another character
7466         after EOF.  Don't decrement read_in after EOF, it wasn't
7467         incremented in the first place.
7468         (NEXT_WIDE_CHAR): Set First, not first.
7470 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
7472         * db/Makefile ($(inst_libdir)/libndbm.a,
7473         $(inst_libdir)/libndbm.so): New targets.
7474         * db2/Makefile: Likewise.
7476 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
7478         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
7479         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
7481 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7483         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
7484         <streambuf.h>.
7485         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7487 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7489         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
7490         versioned symbols.
7492 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
7494         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
7495         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
7496         Added for libdl.so.
7498 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7500         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
7501         extra syscall.
7503         * grp/Makefile: Fix logic when checking for thread package.
7504         * pwd/Makefile: Likewise.
7506 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
7508         * elf/Makefile (rtld-map): Replaced by libc-map.
7510         * elf/rtld.map: Removed.
7512         * libc.map (__libc_enable_secure, _dl_catch_error,
7513         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
7514         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
7515         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
7516         _dl_object_relocation_scope, _dl_relocate_object,
7517         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
7518         _r_debug): Added for ld.so.
7520 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
7522         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
7523         DO_VERSIONING.
7524         * libio/iofdopen.c: Ditto.
7525         * libio/iofopen.c: Ditto.
7526         * libio/oldfileops.c: Ditto.
7528         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
7529         version GLIBC_2.1.
7531         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
7532         oldsiglist from sysdep_routines and shared-only-routines.
7534         * sysdeps/unix/sysv/linux/errlist.c: New.
7535         * sysdeps/unix/sysv/linux/errlist.h: New.
7536         * sysdeps/unix/sysv/linux/sizes.h: New.
7537         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
7538         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
7540         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
7542         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
7543         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
7544         directive.
7546         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
7548         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
7549         (oldsiglist.c): Removed.
7551         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
7552         (_sys_siglist): Use SYS_SIGLIST instead.
7553         (_sys_nerr): Use SYS_NERR instead.
7555         * sysdeps/gnu/errlist.c: Rebuilt.
7557 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
7559         * elf/Makefile (others-static): New, set to ldconfig.
7560         ($(objpfx)ldconfig): Removed.
7562         * Rules (binaries-all, binaries-static, binaries-shared): New.
7563         Create targets for $(binaries-static) and $(binaries-shared).
7565         * Makeconfig (+link-static, link-libc-static,
7566         link-extra-libs-static): New for static linking.
7568 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7570         * manual/memory.texi (Using the Memory Debugger): Fix typo.
7572         * math/libm-test.c (modf_test): Add one more test for modf.
7574 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
7576         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7577         Rename from __libc_have_rt_sigs and leave as COMMON data.
7579 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
7581         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
7582         of __finite.
7584 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
7586         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
7588 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
7590         * misc/tst-efgcvt.c: Add yet more tests.
7591         * misc/efgcvt_r.c: And correct for these tests again.
7592         Reported by HJ Lu.
7594         * isomac.c: Move to...
7595         * stdlib/isomac.c: ...here.
7596         * Makefile: Move rules for handling isomac...
7597         * stdlib/Makefile: ...to here.
7599 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7601         * misc/tst-efgcvt.c: Add more tests.
7602         * misc/efgcvt_r.c: Correct result for above new tests.
7604 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
7606         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
7607         NDIGIT <= 0.
7609 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
7611         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
7612         if the programs weren't built.
7614 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
7616         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
7617         FE_TONEAREST, soldier on regardless and do the best we can.
7618         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
7620 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
7622         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
7623         _STDIO_H, before including <bits/stdio_lim.h>.
7625         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
7627         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
7628         exist.
7630         * sysdeps/arm/sys/ucontext.h: New file.
7632 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
7634         * manual/stdio.texi (Formatted Output Functions): Explicitly say
7635         that the return value from snprintf() does not count the
7636         terminating NUL as a character.
7638 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7640         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
7641         add description for sete[ug]id and general cleanup.
7642         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7644 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7646         * Makefile (parent-clean): Don't remove makefile fragments here.
7647         (postclean): New variable.
7648         (clean): Remove makefile fragments here.
7649         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
7650         (generated): Add isomac and isomanc.out.
7651         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
7652         avoid-generated is set.
7653         (postclean-generated): Add soversion.mk.
7654         ($(common-objpfx)version.mk): Don't include if avoid-generated is
7655         set.
7656         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
7657         avoid-generated is set.
7658         (common-generated): Add libc.so and libc.so$(libc.so-version).
7659         (generated): Add versioned libraries.
7660         (common-mostlyclean): Also remove %.so and %_pic.a.
7661         * csu/Makefile (generated): Add abi-tag.h.
7662         * db2/Makefile (extra-objs): Add getlong.o.
7663         * elf/Makefile (generated): Add ld.so, ldd and
7664         $(rtld-installed-name).
7665         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
7666         * malloc/Makefile (generated): Add mtrace.
7667         * po/Makefile: Don't include version.mk, not needed any more.
7668         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
7669         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
7670         syscall.h -> sys/syscall.h.
7671         (common-generated): Add s-proto.d.
7672         (postclean-generated): Add sysd-syscalls.
7673         * localedata/Makefile (test-output): Add all output files.
7674         (generated): Add test-input and test-output.
7675         (generated-dirs): Add all the dirs.
7677 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7679         * Makefile (test-output, generated, generated-dirs): New
7680         variables.
7682 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7684         * resolv/nss_dns/dns-host.c: Various code cleanups.
7686 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
7688         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
7689         From Philip Blundell <pb@nexus.co.uk>.
7690         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
7692 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7694         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
7695         Suggested by debian/sparc porters.
7697 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7699         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
7700         for ecvt and fcvt.
7702 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
7704         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
7705         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
7707         * signal/signal.h: Always define sigset_t if __need_sigset_t is
7708         defined even if __USE_POSIX is not defined.
7710 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7712         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
7713         to support obsolete tty major numbers correctly.
7715 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
7717         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
7718         directory first and ignore install error.
7720         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
7721         128 from ptyno and fix a typo for the BSD style pty.
7723 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7725         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
7726         syscalls.list's.
7728 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7730         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7731         getresuid and getresgid.
7733         * sysdeps/unix/sysv/linux/getresuid.c: New file.
7734         * sysdeps/unix/sysv/linux/getresgid.c: New file.
7736         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
7737         s_getres[ug]id.
7739         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
7740         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7741         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7742         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
7744 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
7746         * nscd/grpcache.c: Include <stdlib.h>.
7748 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
7750         * stdlib/atoll.c: Fix comments.
7752         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
7753         * sysdeps/posix/ttyname_r.c: Ditto.
7755 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7757         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
7758         __USE_MISC, independent of __USE_UNIX98.
7760 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
7762         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7763         Rename from __libc_have_rt_sigs and leave as COMMON data.
7765 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
7767         * Makeconfig (CFLAGS-.os): Kill -fno-common.
7768         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
7770         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
7771         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
7772         version symbols.
7773         * include/libc-symbols.h (symbol_version, default_symbol_version):
7774         Provide asm versions and correct !DO_VERSIONING versions.
7775         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
7776         the weak symbol list.
7778         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
7779         Rename from __libc_have_rt_sigs and leave as COMMON data.
7780         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7781         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7782         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7784 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7786         * sunrpc/Makefile: Correct dependencies of rpcgen.
7788 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
7790         * nscd/Makefile: Fix test for available linuxthreads add-on.
7791         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7793 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7795         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
7797 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7799         * sysdeps/gnu/Makefile: Respect with-cvs variable.
7801         * manual/errno.texi (Error Messages): Correct description of
7802         strerror_r.  Pointed out by jonas@bagge.se.
7804 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7806         * manual/socket.texi (Host Address Functions): Clarify description
7807         of inet_network.
7809 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7811         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
7812         (grantpt): Delete superfluous cast.
7814 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7816         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
7817         elf/ldso_install instead of elf/subdir_install.
7818         (elf/ldso_install): New target.
7820         * elf/Makefile (ldso_install): New target.
7822 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7824         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
7825         of 1998-01-06.
7827 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7829         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
7830         constant expressions.
7832 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7834         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
7835         for __nss_configure_lookup.
7836         (output_hostent): Remove unused variable.
7838 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7840         * string/tst-inlcall.c: Fix format string.
7842 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7844         * inet/netinet/in.h: Rename second parameter of bindresvport to
7845         avoid buggy gcc warning. [PR libc/412]
7847 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
7849         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
7850         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
7852         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
7853         Follow POSIX and make tv_sec a time_t.
7854         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
7855         new tv64 syscall as well as fall back to tv32.
7856         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7857         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7858         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7859         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7860         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7861         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7862         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7863         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
7865         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
7866         * include/rpcsvc/nis_tags.h: Likewise.
7867         * include/rpcsvc/nislib.h: Likewise.
7869 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
7871         * libc.map: Add _h_errno.
7872         * inet/herrno.c: Make _h_errno weak alias.
7874         * login/Makefile (distribute): Add pty-internal.h.
7876         * nscd/Makefile (distribute): Add all the files missing.
7878         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
7879         are available.
7881         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
7882         and report status at the end.
7884         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
7886         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
7887         variable.
7888         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
7889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
7890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
7892 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
7894         * configure.in: Fix --enable-add-ons code.
7896 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7898         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
7899         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
7900         [PR libc/441]
7902         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
7903         occurence in cache.  Reported by Rudolf Leitgeb
7904         <leitgeb@leland.stanford.edu>.
7905         [PR libc/440]
7907 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
7909         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
7910         that it never is EINTR (which is tested for in _IO_vfscanf).
7912         * Makefile.in: Call sub-make with CVSOPTS.
7914         * elf/Makefile (distribute): Add dl-procinfo.h.
7916         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
7918 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
7920         * version.h (VERSION): Bump to 2.0.92.
7922 1998-01-31  Phil Blundell  <philb@gnu.org>
7924         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
7925         alias for __new_sys_siglist.
7927 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
7929         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
7930         getgrgid_r.c if thread package is available.
7931         * pwd/Makefile: Likewise.
7932         * grp/getgrnam_r.c: Remove USE_NSCD definition.
7933         * grp/getgrgid_r.c: Likewise.
7934         * pwd/getpwnam_r.c: Likewise.
7935         * pwd/getpwuid_r.c: Likewise.
7937 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
7939         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
7940         with error to allow user intervention.
7941         * nss/getXXent_r.c: Likewise.
7943 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
7945         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
7946         AT_PLATFORM string.  Pretty print AT_BASE info.
7948         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
7949         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
7950         * sysdeps/generic/dl-procinfo.h: New file.
7951         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
7953 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
7955         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
7957         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
7958         thread and not pthread_detach.
7960         * nscd/nscd.c: Rewrite to use argp instead of getopt.
7962 1998-01-31  Phil Blundell  <philb@gnu.org>
7964         * configure.in: Add --without-cvs option to suppress automatic
7965         checkin of regenerated files.
7966         * config.make.in: Likewise.
7967         * Makefile: Respect with-cvs setting.
7968         * Makerules: Likewise.
7970         * configure.in: Allow the standalone ARM port to be configured.
7972 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7974         * grp/getgrgid_r.c: Define USE_NSCD.
7975         * grp/getgrnam_r.c: Likewise.
7976         * pwd/getpwuid_r.c: Likewise.
7977         * pwd/getpwnam_r.c: Likewise.
7979         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
7981         * nss/getXXbyYY_r.c: Try at first nscd.
7983         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
7984         * nscd/connections.c: New file.
7985         * nscd/dbg_log.c: New file.
7986         * nscd/dbg_log.h: New file.
7987         * nscd/grpcache.c: New file.
7988         * nscd/nscd.c: New file.
7989         * nscd/nscd.h: New file.
7990         * nscd/nscd_conf.c: New file.
7991         * nscd/nscd_stat.c: New file.
7992         * nscd/pwdcache.c: New file.
7994         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
7995         * nscd/nscd_getpw_r.c: Likewise.
7996         * nscd/nscd_proto.h: New, prototypes for client functions.
7998         * nscd/nscd.conf: New, example for a configuration file.
7999         * nscd/nscd.init: New, example for a startup script.
8001         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8002         avoid deadlocks.
8003         * nscd/getgrnam_r.c: Likewise.
8004         * nscd/getpwnam_r.c: Likewise.
8005         * nscd/getpwuid_r.c: Likewise.
8007 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8009         * intl/Makefile: Use CVSOPTS in cvs invocation.
8010         * po/Makefile: Likewise.
8011         * posix/Makefile: Likewise.
8012         * stdlib/Makefile: Likewise.
8014 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8016         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8017         [PR libc/410]
8018         * misc/Makefile (tests): Add tst-efgcvt.
8019         * misc/tst-efgcvt.c: New file.
8021 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8023         * posix/regex.c: Add some more cleanups by Akim Demaille.
8025 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8027         * signal/signal.h: Revert last change.
8028         * string/strsignal.c: Regard signal number NSGI as illegal.
8029         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8030         members.
8032 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8034         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8035         * Makerules: Use CVSOPTS in cvs invocation.
8036         * Makefile: Likewise.
8037         * MakeTAGS: Likewise.
8038         * Make-dist: Likewise.
8040 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8042         * sysdeps/generic/memmem.c: Correct last change.
8044 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8046         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8047         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8049 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8051         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8052         before using RPC.
8054 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8056         * manual/memory.texi (Heap Consistency Checking): mcheck is
8057         declared in <mcheck.h>.
8058         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8060 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8062         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8063         beginning of haystack.
8065 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8067         * nss/nss_files/files-service.c: Correct last patch.
8069 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8071         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8072         __libc_have_rt_sigs.
8073         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8074         including <bits/setjmp.h>.
8075         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8076         Patch from the Debian glibc/SPARC package.
8078 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8080         * sysdeps/alpha/bzero.S: Fix a typo.
8081         * sysdeps/alpha/htonl.S: Ditto.
8082         * sysdeps/alpha/htons.S: Ditto.
8084 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8086         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8088 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8090         * include/cpio.h: Move to ...
8091         * posix/cpio.h: ...here.
8093         * locale/programs/ld-collate.c: Fix typo.
8095         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8097         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8099         * login/utmp_file.c (pututline_file): Don't always report success
8100         if similar entry is found.  Patch by Mark M. Kettenis.
8102 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8104         * manual/Makefile: Don't try to install the info files if makeinfo
8105         is not available.
8107 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8109         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8110         kernel's network ioctls, rather than using <linux/sockios.h> to
8111         get them.  This way we are sure of maintaining compatibility if
8112         the kernel interface should change.
8114 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8116         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8118 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8120         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8123 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8125         Implement System V pseudoterminal handling.
8127         * login/Makefile
8128         (routines): Add getpt, grantpt, unlockpt, ptsname.
8129         (libutil-routines): Remove pty. Add openpty, forkpty.
8130         (distribute): New internal header pty-internal.h.
8131         (others): Add the helper program, pt_chown.
8132         (install-others): Install it, in $(libexecdir), mode 4755.
8134         * login/pty-internal.h: New file.
8135         * login/openpty.c: New file.
8136         * login/forkpty.c: New file.
8137         * login/programs/pt_chown.c: New file.
8139         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8140         * stdlib/stdlib.h: Prototype them.
8142         * config.make.in: Define $(libexecdir).
8143         * Makeconfig: Define $(inst_libexecdir).
8145         * sysdeps/generic/pty.c: Removed.
8146         * sysdeps/unix/sysv/linux/pty.c: Removed.
8148         * sysdeps/generic/getpt.c: Stub out.
8149         * sysdeps/generic/grantpt.c: Likewise.
8150         * sysdeps/generic/ptsname.c: Likewise.
8151         * sysdeps/generic/unlockpt.c: Likewise.
8153         * sysdeps/unix/grantpt.c: New file.
8154         * sysdeps/unix/bsd/getpt.c: New file.
8155         * sysdeps/unix/bsd/unlockpt.c: New file.
8156         * sysdeps/unix/sysv/linux/getpt.c: New file.
8157         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8158         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8160 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8162         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8164 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8166         * nss/Makefile (tests): Add rule for test-netdb.c.
8168         * nss/test-netdb.c: New file.
8170 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8172         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8173         really kept as a variable.  Patch by Richard Henderson,
8174         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8176         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8177         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8178         entries as not existing.
8180 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8182         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8183         zero in alternate form with precision of zero, which must produce
8184         "0".  Add braces to avoid ambiguous `else'.
8186 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8188         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8189         problem with strncpy.
8190         * nis/nss_compat/compat-pwd.c: Likewise.
8191         * nis/nss_compat/comapt-spwd.c: Likewise.
8193 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8195         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8196         by uch@nop.or.jp. [PR libc/437]
8198 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8200         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8202 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8204         * stdio-common/test-popen.c: Include <errno.h>.
8206         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8207         close.
8209         * inet/getnetgrent_r.c: Include <errno.h>.
8211         * db2/db/db_conv.c: Include <string.h> for memcpy.
8213         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8214         so that memcpy is declared.
8216         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8218         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8220 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8222         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8223         overflow while reading line with fgets.
8224         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8226 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8228         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8229         unsigned short, not short.
8230         Reported by Andreas Jaeger.
8232 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8234         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8235         (ccept->accept).
8237         * sysdeps/generic/inttypes.h: Fix spelling.
8239 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8241         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8243         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8245 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8247         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8248         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8249         field for hh modifier.
8250         * stdio-common/vfprint.c: Use is_char field and do not depend in
8251         is_short having the value 2.
8252         Bug reported by Andreas Jaeger.
8254 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8256         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8257         PIC && DO_VERSIONING.
8259 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8261         * Rules: Add rules for $(common-objpfx)dummy$o.
8263 1998-01-26  Richard Henderson  <rth@cygnus.com>
8265         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8266         unimplemented OSF/1 definitions so that they are not accidentally seen.
8268         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8269         of the trampoline function into the macro.
8270         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8271         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8272         kernel 2.1.82 has this fixed.
8274         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8275         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8277 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8279         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8280         support sigaction on kernels > 2.1.7x.
8282 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8284         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8285         if it is empty.
8287         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8288         Patch by David Engel <david@sw.ods.com>.
8290         * configure.in: Fix another typo in --enable-add-ons code.
8292 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8294         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8296 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8298         * nss/nss_files/files-network.c: Correct order of parameters for
8299         getnetbyaddr.
8301 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8303         * db2/Makefile (routines): Add os_alloc.
8304         * db2/db.h: Update from db-2.3.16.
8305         * db2/db_185.h: Likewise.
8306         * db2/db_int.h: Likewise.
8307         * db2/btree/bt_close.c: Likewise.
8308         * db2/btree/bt_cursor.c: Likewise.
8309         * db2/btree/bt_delete.c: Likewise.
8310         * db2/btree/bt_open.c: Likewise.
8311         * db2/btree/bt_page.c: Likewise.
8312         * db2/btree/bt_put.c: Likewise.
8313         * db2/btree/bt_rec.c: Likewise.
8314         * db2/btree/bt_recno.c: Likewise.
8315         * db2/btree/btree_auto.c: Likewise.
8316         * db2/common/db_appinit.c: Likewise.
8317         * db2/common/db_apprec.c: Likewise.
8318         * db2/common/db_err.c: Likewise.
8319         * db2/common/db_region.c: Likewise.
8320         * db2/common/db_shash.c: Likewise.
8321         * db2/db/db.c: Likewise.
8322         * db2/db/db_auto.c: Likewise.
8323         * db2/db/db_conv.c: Likewise.
8324         * db2/db/db_dispatch.c: Likewise.
8325         * db2/db/db_dup.c: Likewise.
8326         * db2/db/db_pr.c: Likewise.
8327         * db2/db/db_rec.c: Likewise.
8328         * db2/db185/db185.c: Likewise.
8329         * db2/dbm/dbm.c: Likewise.
8330         * db2/hash/hash.c: Likewise.
8331         * db2/hash/hash_auto.c: Likewise.
8332         * db2/hash/hash_dup.c: Likewise.
8333         * db2/hash/hash_page.c: Likewise.
8334         * db2/hash/hash_rec.c: Likewise.
8335         * db2/include/btree_ext.h: Likewise.
8336         * db2/include/clib_ext.h: Likewise.
8337         * db2/include/common_ext.h: Likewise.
8338         * db2/include/db.h.src: Likewise.
8339         * db2/include/db_185.h.src: Likewise.
8340         * db2/include/db_am.h: Likewise.
8341         * db2/include/db_ext.h: Likewise.
8342         * db2/include/db_int.h.src: Likewise.
8343         * db2/include/hash_ext.h: Likewise.
8344         * db2/include/lock_ext.h: Likewise.
8345         * db2/include/log.h: Likewise.
8346         * db2/include/log_auto.h: Likewise.
8347         * db2/include/log_ext.h: Likewise.
8348         * db2/include/mp.h: Likewise.
8349         * db2/include/mp_ext.h: Likewise.
8350         * db2/include/mutex_ext.h: Likewise.
8351         * db2/include/os_ext.h: Likewise.
8352         * db2/include/os_func.h: Likewise.
8353         * db2/include/txn_ext.h: Likewise.
8354         * db2/lock/lock.c: Likewise.
8355         * db2/lock/lock_util.c: Likewise.
8356         * db2/log/log.c: Likewise.
8357         * db2/log/log.src: Likewise.
8358         * db2/log/log_archive.c: Likewise.
8359         * db2/log/log_auto.c: Likewise.
8360         * db2/log/log_get.c: Likewise.
8361         * db2/log/log_put.c: Likewise.
8362         * db2/log/log_rec.c: Likewise.
8363         * db2/log/log_register.c: Likewise.
8364         * db2/mp/mp_bh.c: Likewise.
8365         * db2/mp/mp_fget.c: Likewise.
8366         * db2/mp/mp_fopen.c: Likewise.
8367         * db2/mp/mp_fput.c: Likewise.
8368         * db2/mp/mp_pr.c: Likewise.
8369         * db2/mp/mp_sync.c: Likewise.
8370         * db2/mutex/mutex.c: Likewise.
8371         * db2/os/os_alloc.c: Likewise.
8372         * db2/os/os_config.c: Likewise.
8373         * db2/os/os_stat.c: Likewise.
8374         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8375         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8376         * db2/progs/db_load/db_load.c: Likewise.
8377         * db2/progs/db_printlog/db_printlog.c: Likewise.
8378         * db2/progs/db_recover/db_recover.c: Likewise.
8379         * db2/progs/db_stat/db_stat.c: Likewise.
8380         * db2/txn/txn.c: Likewise.
8382         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8383         Unmap memory blocks in reverse order of allocation.
8384         Call munmap with load address added to offset.
8385         Bug reported by Miguel de Icaza.
8387         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8388         up weight array.
8390         * localedata/locales/cs_CZ: Update by Michael Mraka
8391         <michael@informatics.muni.cz>.
8393         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8394         __USE_BSD.
8396         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8397         reading line with fgets.
8398         * nis/nss_compat/compat-pwd.c: Likewise.
8399         * nis/nss_compat/compat-spwd.c: Likewise.
8400         * nss/nss_files/files-XXX.c: Likewise.
8401         * nss/nss_files/files-alias.c: Likewise.
8402         * shadow/fgetspent_r.c: Likewise.
8404         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8406         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8407         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8408         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8410         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8411         FP register content in ucontext_t.
8413 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8415         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8416         calculation.  Patch by Markus Schoder
8417         <Markus.Schoder@dresdner-bank.de>.
8419         * math/libm-test.c (modf_test): Add more tests for modf.
8421         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8422         munlock according to Unix98.
8424 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8426         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
8427         AF_INET.
8429 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
8431         * sysdeps/posix/ttyname.c: Handle symbolic links.
8432         * sysdeps/posix/ttyname_r.c: Ditto.
8434 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
8436         * db2/makedb.c (process_input): Write terminating \0 for value.
8437         (print_database): Simply print value string, don't use length.
8439 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8441         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
8442         exit of loop.
8444 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8446         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
8447         close all sockets.
8449 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
8451         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
8452         sigset.
8453         * signal/sighold.c: New file.
8454         * signal/sigrelse.c: New file.
8455         * sysdeps/generic/sigignore.c: New file.
8456         * sysdeps/generic/sigset.c: New file.
8457         * sysdeps/posix/sigignore.c: New file.
8458         * sysdeps/posix/sigset.c: New file.
8459         * signal/signal.h: Add prototypes for new functions.
8461         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
8462         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
8463         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
8464         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
8466 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
8468         * posix/wordexp.c: Added IFS field-splitting in parameter and
8469         command substitution.  Fixed an IFS-related bug that caused an
8470         infinite loop.
8472 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
8474         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
8475         and swapcontext.
8476         * stdlib/ucontext.h: Correct prototypes.
8477         * sysdeps/generic/getcontext.c: New file.
8478         * sysdeps/generic/setcontext.c: New file.
8479         * sysdeps/generic/makecontext.c: New file.
8480         * sysdeps/generic/swapcontext.c: New file.
8481         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
8483 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
8485         * resource/sys/resource.h: Remove #include of ulimit.h which is
8486         not allowed by SUSv2 and not available on other systems.
8487         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
8489         * streams/Makefile: New file.
8490         * streams/stropts.h: New file.
8491         * sysdeps/generic/bits/stropts.h: New file.
8492         * sysdeps/generic/isastream.c: New file.
8493         * sysdeps/generic/getmsg.c: New file.
8494         * sysdeps/generic/getpmsg.c: New file.
8495         * sysdeps/generic/putmsg.c: New file.
8496         * sysdeps/generic/putpmsg.c: New file.
8497         * sysdeps/generic/fattach.c: New file.
8498         * sysdeps/generic/fdetach.c: New file.
8499         * sysdeps/unix/inet/Subdirs: Add streams.
8500         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
8501         __t_uscalar_t.
8502         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8503         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8504         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8505         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8507         * sysdeps/mach/_strerror.c: Follow changes of generic version to
8508         handle small buffers correctly.
8510 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
8512         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8513         Remove the 3rd arg and add declaration for _dl_runtime_resolve
8514         and _dl_runtime_profile.
8516 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
8518         * include/cpio.h: New file.  Mainly copied from GNU cpio.
8519         * posix/Makefile (headers): Add cpio.h.
8521 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8523         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
8524         to routines.
8525         * nis/nis_cache.c: New file.
8526         * nis/nis_cache2.h: New file.
8527         * nis/nis_cache2_xdr.c: New file.
8528         * nis/nis_call.c: Changes for cache2_info parameter.
8529         * nis/nis_checkpoint.c: Likewise.
8530         * nis/nis_intern.h: Likewise.
8531         * nis/nis_mkdir.c: Likewise.
8532         * nis/nis_ping.c: Likewise.
8533         * nis/nis_rmdir.c: Likewise.
8534         * nis/nis_server.c: Likewise.
8535         * nis/nis_util.c: Likewise.
8537 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8539         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
8540         return/errnop codes.
8541         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8542         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8543         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8544         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8545         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8546         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8547         * nis/nss_nisplus/nisplus-rpc.c: Likewise
8548         * nis/nss_nisplus/nisplus-service.c: Likewise.
8549         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8551 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8553         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
8554         * nis/nss_nis/nis-ethers.c: Likewise.
8555         * nis/nss_nis/nis-grp.c: Likewise.
8556         * nis/nss_nis/nis-hosts.c: Likewise.
8557         * nis/nss_nis/nis-network.c: Likewise.
8558         * nis/nss_nis/nis-proto.c: Likewise.
8559         * nis/nss_nis/nis-hosts.c: Likewise.
8560         * nis/nss_nis/nis-network.c: Likewise.
8561         * nis/nss_nis/nis-proto.c: Likewise.
8562         * nis/nss_nis/nis-publickey.c: Likewise.
8563         * nis/nss_nis/nis-pwd.c: Likewise.
8564         * nis/nss_nis/nis-rpc.c: Likewise.
8565         * nis/nss_nis/nis-service.c: Likewise.
8566         * nis/nss_nis/nis-spwd.c: Likewise.
8568 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
8570         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
8571         Added to follow latest kernel development.
8573 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
8575         * nss/db-Makefile: Handle empty and comment lines better.
8576         ($(VAR_DB)/services.db): Generate entries with missing protocol
8577         value.
8579 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8581         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
8582           NULL.
8583           (getservbyname): Allow proto == NULL.
8584           Pointed out by David N. Welton <davidw@gate.cks.com>.
8585           [PR libc/430].
8587 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
8589         * nis/nislib/nislib.h: Finally removed.
8591         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
8592         C compiler.  From Kaveh Ghazi.
8593         (TYPE_MINIMUM): Define.
8594         (TYPE_MAXIMUM): Define.
8595         (TIME_T_MIN): Use TYPE_MINIMUM.
8596         (TIME_T_MAX): Use TYPE_MAXIMUM.
8597         Patch by Jim Meyering <meyering@ascend.com>.
8599 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
8601         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
8602         __pread64, __pwrite64, and __getpid.
8604         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
8605         versions.
8607 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8609         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
8610         cancelable socket functions as __libc_xxx with __xxx as weak
8611         alias.
8612         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8613         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8615         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
8616         redefined.
8617         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8618         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
8619         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
8620         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8622         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
8623         and __xxx a weak alias.
8624         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8625         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8626         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8627         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8628         * sysdeps/unix/sysv/linux/send.S: Likewise.
8629         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8630         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8632 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8634         * locale/langinfo.h: Add defines.
8636         * dirent/dirent.h: Add defines for DT_*, check also for
8637         _DIRENT_HAVE_D_TYPE.
8638         Suggested by Roland McGrath.
8640 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8642         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
8643         Update from Linux 2.1.73+79.
8645         * README.template: Update information about possible
8646         configurations.
8648         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
8649         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8650         [PR libc/417].
8652         * manual/time.texi (Priority): Correct description of
8653         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8654         [PR libc/416].
8656 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
8658         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
8659         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
8661 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
8663         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
8664         Andreas Jaeger.
8666 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
8668         * locale/programs/ld-collate.c: Little optimizations.
8670         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
8672         * string/Makefile (tests): Add tst-inlcall.
8673         * string/tst-inlcall.c: New file.
8675         * string/strsignal.c: Add support for real-time signals.
8677         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
8678         presense of small buffer.
8680         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
8682         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
8683         for i686.
8685         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
8686         _NSIG + 1.
8688 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
8690         * Rules: Add explicit rule for dummy.o; at least one library needs
8691           it and it isn't autogenerated by the default rules.
8693 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8695         * math/libm-test.c: Tweak epsilons.
8697 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8699         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
8700         child.
8701         (feenv_mask_test): Likewise.
8703 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8705         * Makeconfig: Don't export CPPFLAGS.
8707 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8709         * sunrpc/rpc_main.c (parseargs): Use perror to print error
8710         message.
8712 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8714         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
8715         terminating null in key size.
8717 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8719         * nss/nss_files/files-service.c: Fix allocation size to include
8720         length of PROTO.
8722         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
8723         applicable.  Fix return value and error checking.
8724         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
8725         unparsable lines.
8726         (DB_LOOKUP): Allocate space for terminating null byte.
8728         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
8729         uids specially.
8731         * db2/makedb.c (process_input): Continue processing if a duplicate
8732         key is encountered.
8734 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
8736         * time/tzfile.h: Updated from tzcode1998b.
8737         * time/zdump.c: Likewise.
8738         * time/zic.c: Likewise.
8739         * time/africa: Update from tzdata1998b.
8740         * time/antarctica: Likewise.
8741         * time/asia: Likewise.
8742         * time/australasia: Likewise.
8743         * time/etcetera: Likewise.
8744         * time/europe: Likewise.
8745         * time/leapseconds: Likewise.
8746         * time/northamerica: Likewise.
8747         * time/southamerica: Likewise.
8749 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8751         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
8752         lookups ignoring case.
8753         * nss/nss_files/files-network.c: Do network lookups ignoring
8754         case.
8755         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
8756         case.
8757         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
8758         case insensitive comparing.
8759         Patches by Cristian Gafton <gafton@redhat.com>.
8761 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8763         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
8764         by Roland McGrath. [PR libc/395]
8766 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8768         * manual/arith.texi (Parsing of Integers): Correct description of
8769         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
8770         [PR libc/396]
8772 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
8774         * misc/lsearch.c (lsearch): Return a pointer to the new element
8775         if one was "allocated".
8777 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8779         * string/strsignal.c: NSIG is not a valid index into
8780         _sys_siglist.  Don't zap the last character of the "Unknown
8781         signal" message.
8783 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
8785         * locale/programs/charmap.c (parse_charmap): Correct parsing of
8786         ellipsis expressions.
8788         * locale/programs/charset.c (insert_char): Correctly insert value
8789         of eliipsis expression.
8791 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
8793         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
8794         <bits/setjmp.h>.
8795         * sysdeps/powerpc/setjmp.S: Likewise.
8796         Patches by Matt McLean <keys@keys.got.net>.
8798         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
8800         * Makefile: Undo last patch.
8801         (distribute): Add test-installation.pl.
8803         * configure.in: Correct handling of --enable-add-ons without parameter.
8804         Correct address of WWW pages.
8806         * libc.map: Add _nl_domain_bindings.
8808         * db2/mutex/tsl_parisc.s: New file.
8810         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
8811         and extra-module.mk.
8813         * localedata/Makefile (distribute): New.  Add all the files.
8815         * stdlib/Makefile (headers): Add inttypes.h.
8816         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
8817         * sysdeps/generic/inttypes.h: New file.
8818         * sysdeps/generic/strtoimax.c: New file.
8819         * sysdeps/generic/strtoumax.c: New file.
8820         * sysdeps/generic/wcstoimax.c: New file.
8821         * sysdeps/generic/wcstoumax.c: New file.
8822         * sysdeps/wordsize-32/Dist: Removed.
8823         * sysdeps/wordsize-32/Makefile: Removed.
8824         * sysdeps/wordsize-64/Dist: Removed.
8825         * sysdeps/wordsize-64/Makefile: Removed.
8826         * sysdeps/generic/bits/environments.h: New file.
8828         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
8829         header is still not correct.
8831         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
8832         * posix/unistd.h: Likewise.
8833         * sysdeps/generic/sys/mman.h: Likewise.
8834         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
8836         * manual/arith.texi: Change definition of mul macro.
8837         * manual/math.texi: Likewise.
8839         * misc/Makefile (routines): Add mmap64.
8840         * sysdeps/generic/mmap64.c: New file.
8841         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
8842         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
8843         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
8844         aliases to mmap.
8845         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8847         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
8849         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
8851         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
8853         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
8854         FOPEN_MAX also when included by limits.h.
8855         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
8857         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
8858         and netrom/netrom.h.
8859         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
8860         oldsiglist to sysdep_routines, not aux.
8861         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
8863         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
8864         and SOL_NETROM definition.
8866         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
8868         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
8869         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
8871 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
8873         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
8875         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
8876         sa_handler with k_sa_handler.
8877         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
8878         strong alias.
8879         Reported by a sun.
8881         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
8882         __libc_have_rt_sigs here.
8883         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
8884         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8885         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
8886         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8888 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
8890         * sysdeps/powerpc/atomicity.h: New file.
8891         * sysdeps/mach/powerpc/machine-lock.h: New file.
8893         * Rules: Use -fpic to build anything that might end up in a users'
8894         shared library.
8896         * sysdeps/powerpc/s_fdim.c: New file.
8897         * sysdeps/powerpc/s_fdimf.c: New file.
8898         * sysdeps/powerpc/s_fmax.S: New file.
8899         * sysdeps/powerpc/s_fmaxf.S: New file.
8900         * sysdeps/powerpc/s_fmin.S: New file.
8901         * sysdeps/powerpc/s_fminf.S: New file.
8902         * sysdeps/powerpc/s_llrint.c: Now is for double.
8903         * sysdeps/powerpc/s_llrintf.c: New file.
8904         * sysdeps/powerpc/s_llround.c: Now is for double.
8905         * sysdeps/powerpc/s_llroundf.c: New file.
8906         * sysdeps/powerpc/s_lrint.c: Now is for double.
8907         * sysdeps/powerpc/s_lrintf.S: New file.
8908         * sysdeps/powerpc/s_lround.c: Now is for double.
8909         * sysdeps/powerpc/s_lroundf.c: New file.
8910         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
8911         lrintf, fdim, fdimf.
8913         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
8914         file directly, use its parent.
8916         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
8917         (for the third time).
8919 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
8921         * posix/sched.h: timespec is in <time.h>.
8923         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
8925 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
8927         * configure.in: Stop with error if --disable-static is used when
8928         the shared lib uses this library.
8930         * gen-FAQ.pl: I've perl installed in /usr/bin.
8932         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
8934         Fix Unix98 conformance problems in the headers.
8935         * catgets/nl_types.h: Define nl_item.
8936         * grp/grp.h: Define gid_t.
8937         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
8938         * include/nl_types.h: New file.
8939         * include/ulimit.h: New file.
8940         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
8941         constants in POSIX mode.
8942         * io/utime.h: Get definition for time_t.
8943         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
8944         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
8945         * libio/stdio.h: Define va_list.  Make snprintf also available is
8946         __USE_UNIX98.  Declare getopt function and variables.
8947         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
8948         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
8949         * math/math.h: Defined M_* constants as double for Unix98 mode.
8950         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
8951         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
8952         * posix/regex.h: Define REG_NOSYS.
8953         * posix/wordexp.h: Define WRDE_NOSYS.
8954         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
8955         500 for Unix98.
8956         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
8957         somewhere else as well.  Define clock_t for Unix98.
8958         * posix/sys/wait.h: Define pid_t.
8959         * pwd/pwd.h: Define gid_t, uid_t.
8960         * resource/Makefile (headers): Add ulimit.h.
8961         * resource/ulimit.h: New file.
8962         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
8963         instead of second argument.
8964         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
8965         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
8966         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
8967         * signal/signal.h: Define pid_t.
8968         * string/string.h: Don't declare BSD string functions in POSIX mode.
8969         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
8970         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
8971         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
8972         and POSIX.
8974         * inet/test_ifindex.c: Change test so that it does not fail for
8975         interface aliases.
8977         * locale/programs/locale.c (show_info): Use correct cast sequence
8978         for 64bit machines.
8980         * malloc/malloc.c: __malloc_initialized now signals three states:
8981         uninitialized, initializing, initialized.  Used in mcheck.
8982         * malloc/mcheck.c (mabort): Add '\n' to messages.
8983         (mcheck): Allow installation when malloc is uninitialized or is
8984         just initializing.
8986         * manual/memory.texi: Explain mtrace output a bit more.
8988         * math/libm-test.c: Add more epsilons.
8990         * misc/regexp.h (compile): Remove __ prefix from parameter names.
8992         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
8993         instead of strcpy for security.
8994         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
8995         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
8996         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
8998         * nss/digits_dots.c: Pretty print.
9000         * posix/getconf.c (vars): Add symbols for programming environment
9001         recognition.  Recognize --version.
9003         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9004         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9005         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9007         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9008         __need_FOPEN_MAX.
9009         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9010         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9011         __need_FOPEN_MAX.
9013         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9014         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9016         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9017         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9018         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9019         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9020         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9021         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9023         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9024         SCNu*.
9025         * sysdeps/wordsize-64/inttypes.h: Likewise.
9027         * time/africa: Update from tzdata1997j.
9028         * time/antarctica: Likewise.
9029         * time/asia: Likewise.
9030         * time/australasia: Likewise.
9031         * time/backward: Likewise.
9032         * time/etcetera: Likewise.
9033         * time/europe: Likewise.
9034         * time/factory: Likewise.
9035         * time/northamerica: Likewise.
9036         * time/pacificnew: Likewise.
9037         * time/southamerica: Likewise.
9039         * time/tzfile.h: Update from tzcode1997h.
9040         * time/zic.c: Likewise.
9042         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9043         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9044         isw*() functions for Unix98.
9045         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9046         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9047         is defined.
9049 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9051         * locale/duplocale.c: Increase usage_count only if less than
9052         MAX_USAGE_COUNT.
9053         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9054         MAX_USAGE_COUNT.
9055         * locale/setlocale.c: Likewise.
9057 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9059         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9060         dependency to make it easier to install it selectively.
9062         * Makerules (.SUFFIXES): Don't define any suffixes.
9064 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9066         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9067         * sysdeps/generic/statfs64.c: Emulate using statfs.
9068         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9069         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9070         * sysdpes/generic/ftruncate64.c: New file.
9071         * sysdpes/generic/truncate64.c: New file.
9073         * sysdeps/generic/bits/stat.h: Add LFS support.
9074         * sysdeps/generic/bits/statfs.h: Likewise.
9076         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9077         [__USE_FILE_OFFSET64]: Make long long constant.
9078         (RLIM64_INFINITY): Likewise.
9080         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9081         for LFS support.
9082         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9083         * sysdeps/generic/bits/resource.h: Likewise.
9085         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9087         * include/features.h: Don't prevent LFS support from defining BSD
9088         and SYSV things.
9090         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9091         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9092         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9094         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9095         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9096         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9098         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9099         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9100         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9101         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9102         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9103         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9104         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9105         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9106         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9107         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9108         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9109         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9110         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9111         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9112         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9113         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9114         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9115         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9116         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9117         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9119         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9120         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9121         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9122         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9123         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9125         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9126         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9127         [$(subdir)=dirent]: Add getdents64.
9128         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9130         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9132 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9134         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9136         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9137         * sysdeps/generic/getrlimit64.c: Likewise.
9138         * sysdeps/generic/setrlimit.c: Likewise.
9139         * sysdeps/generic/setrlimit64.c: Likewise.
9141 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9143         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9144         using versioning.
9146         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9148         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9150 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9152         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9153         after the codeset name.
9155 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9157         * libc.map: Add get_kernel_syms.
9159 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9161         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9162         static.
9163         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9164         Likewise.  Fix condition.
9166 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9168         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9170 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9172         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9173         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9175 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9177         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9178         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9179         instead.  Oops.
9181 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9183         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9185 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9187         * math/libm-test.c (catanh_test): Change epsilon.
9188         Reported by H.J. Lu.
9190 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9192         * libc.map (__getpid): Added for linuxthreads.
9194 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9196         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9197         it if gcc uses static variable in DWARF2 unwind information
9198         for exception support.
9200         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9202         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9203         HAVE_DWARF2_UNWIND_INFO_STATIC.
9205         * libc.map (__register_frame*, __deregister_frame*): Make them
9206         global.
9208 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9210         * math/libm-test.c: Add more tests for "normal" values.
9212 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9214         * stdio-common/printf_fphex.c: Fix printing of long double number
9215         with a biased exponent of zero.  Fix rounding.
9217 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9219         * sunrpc/rpc_main.c: Accept new flag -$.
9220         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9222 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9224         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9225         dynamic linker first, in case the interface has changed.
9227 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9229         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9230         order.
9232 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9234         * math/tgmath.h: Check for double first, for architectures where
9235         sizeof (long double) == sizeof (double).
9237 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9239         * math/libm-test.c: New tests for "normal" values added for most
9240         functions.
9242 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9244         * version.h (VERSION): Bump to 2.0.91.
9246         * db2/makedb.c (process_input): Fix typo in message.
9247         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9249         * elf/dynamic-link.h: Pretty print.
9251         * elf/rtld.c: Allow multiple preloading of a shared object.
9253         * include/limits.h: Prevent multiple inclusion.
9255         * malloc/Makefile (headers): Add mcheck.h.
9256         (distribute): Remove it here.
9257         * malloc/mcheck.h: Pretty print.
9258         * malloc/mtrace.c (mallenv): Make `const'.
9259         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9260         are none.
9261         * manual/memory.texi: Update descriptor of malloc hooks.
9263         * posix/Makefile (routines): Add waitid.
9264         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9265         on __id_t.
9266         * posix/sys/wait.h: Define idtype_t type.
9267         Add prototype for waitid.
9268         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9269         * sysdeps/generic/waitid.c: Stub for waitid.
9270         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9271         the __need_siginfo_t defined.
9272         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9273         * sysdeps/generic/bits/types.h: Define __id_t.
9274         Correct definition of __FDMASK.
9275         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9276         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9277         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9279         * sysdeps/posix/waitid.c: New file.
9280         Provided by Zack Weinberg.
9282         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9284         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9285         Add missing parameters.
9287         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9288         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9289         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9290         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9291         initialized.
9293         * sysdeps/i386/dl-machine.h: Little cleanup.
9295         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9296         (__finite): Mark function as const.
9297         Add inline code for __ieee754_atan2.
9299         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9300         (but don't use it now).
9301         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9302         __atan.
9303         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9304         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9305         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9306         real part.
9307         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9308         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9309         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9310         __ieee754_atan2 to base 10.
9311         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9312         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9314         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9315         old_kernel_sigaction.
9317         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9319         * wctype/Makefile (routines): Add wctype_l.
9320         * wctype/wctype.h: Add declaration of __wctype_l.
9321         * wctype/wctype_l.c: New file.
9323 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9325         * locale/C-ctype.c: Correct data for isw* functions.
9326         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9327         byte order.
9328         * wctype/test_wctype.c: Add test for isw* functions.
9329         * wctype/wctype.c: Return value with expected byte order.
9331 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9333         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9335 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9337         * iconvdata/Makefile: Fix a typo.
9339         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9340         oldsiglist for shared library.
9342         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9343         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9345         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9346         sys_siglist, sys_sigabbrev): New file. Make them as the old
9347         version GLIBC_2.0.
9349         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9350         to GLIBC_2.1.
9352 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9354         * libio/iofgets.c (_IO_fgets): Return an error only if there
9355         is a new error.
9356         * libio/iogets.c (_IO_gets): Ditto.
9358 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9360         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9362         * libio/Makefile (routines, shared-only-routines): Add
9363         oldiofdopen.
9365         * libio/fileops.c: Don't use _IO_FILE_complete.
9366         * libio/iofdopen.c: Ditto.
9367         * libio/iofopen.c: Ditto.
9368         * libio/iofopen64.c: Ditto.
9369         * libio/iopopen.c: Ditto.
9370         * libio/iovdprintf.c: Ditto.
9372         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9374         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9375         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9377         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9378         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9380         * libio/libio.h (_IO_FILE): Add more fields.
9381         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9382         one if _IO_USE_OLD_IO_FILE is defined
9383         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9384         them _IO_FILE_complete.
9386         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9387         to adjust vtable.
9388         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9389         _IO_JUMPS.
9390         (_IO_FILE_complete): Commented out.
9392         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9393         * libio/oldiofclose.c: Ditto.
9394         * libio/oldiofopen.c: Ditto.
9395         * libio/oldstdfiles.c: Ditto.
9397         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9398         for the old _IO_FILE.
9400         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9401         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9402         and stderr.
9404         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9405         and remove INAME.
9407         * libio/stdio.c (stdin, stdout, stdin): Don't use
9408         _IO_FILE_complete.
9410         * libio/oldiofdopen.c: New.
9412         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9413         hp->_vtable_offset to 0.
9415 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
9417         * libc.map (_IO_file_open): Added.
9419         * libio/libioP.h (_IO_file_open): Declared.
9421         * libio/fileops.c (_IO_file_open): New.
9422         (_IO_file_fopen): Call _IO_file_open ().
9424         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
9425         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9427 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9429         * signal/signal.h: Fix selection of signal semantics to match
9430         comment.
9432 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9434         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
9435         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
9436         rt_sigreturn.
9437         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9438         [$(subdir)=signal]: Remove rt_sigreturn.
9439         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
9440         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
9441         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
9443 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9445         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
9446         declarations.
9448 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9450         * iconvdata/extra-module.mk: Expand extra-objs now.
9452 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9454         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
9455         inline functions by feature tests to avoid warning about missing
9456         prototype declarations.
9458 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9460         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
9461         return code for non existent +name entries.
9462         * nis/nss_compat/compat-pwd.c: Likewise.
9463         * nis/nss_compat/compat-spwd.c: Likewise.
9465 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
9467         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
9468         (EIO): Likewise.
9469         (ENOSPC): Likewise.
9470         (EEXIST): Likewise.
9471         (__errno_location): Likewise.
9473         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
9475         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
9477 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9479         * sunrpc/publickey.c: Use new NSS interface.
9481 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
9483         * manual/malloc.texi: Document mtrace/muntrace and the concept.
9485 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9487         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
9488         value, to match spirit of the standard.
9489         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
9490         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
9491         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
9493 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9495         * manual/signal.texi (Signal Stack): Remove spurious @item.
9497 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9499         * rt/aio.h: Remove double semicolon.
9501         * rt/librt.map: Add aio_init.
9503 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
9505         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
9506         * Makefile (subdirs): Replace rt by $(rt).
9508         * shlib-versions: Use version .2 for NSS modules.
9510         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
9511         argument.
9512         * pwd/fgetpwent_r.c: Likewise.
9513         * spwd/fgetspent_r.c: Likewise.
9514         * spwd/sgetspent_r.c: Likewise.
9515         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
9516         Store error number in *ERRNOP.  Little optimization.
9517         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
9518         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
9519         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9520         (__internal_getnetgrent_r): New argument.
9521         Call __internal_setnetgrent_reuse with new argument.
9522         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
9523         * inet/netgroup.h: Add argument to prototypes.
9524         * nis/nisplus-parser.h: Likewise.
9525         * nis/nss_compat/compat-grp.c: Change everything to store error
9526         code through provided pointer and not use errno.
9527         * nis/nss_compat/compat-pwd.c: Likewise.
9528         * nis/nss_compat/compat-spwd.c: Likewise.
9529         * nis/nss_nis/nis-alias.c: Likewise.
9530         * nis/nss_nis/nis-ethers.c: Likewise.
9531         * nis/nss_nis/nis-grp.c: Likewise.
9532         * nis/nss_nis/nis-hosts.c: Likewise.
9533         * nis/nss_nis/nis-netgrp.c: Likewise.
9534         * nis/nss_nis/nis-network.c: Likewise.
9535         * nis/nss_nis/nis-proto.c: Likewise.
9536         * nis/nss_nis/nis-publickey.c: Likewise.
9537         * nis/nss_nis/nis-pwd.c: Likewise.
9538         * nis/nss_nis/nis-rpc.c: Likewise.
9539         * nis/nss_nis/nis-service.c: Likewise.
9540         * nis/nss_nis/nis-spwd.c: Likewise.
9541         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9542         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9543         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9544         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9545         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9546         * nis/nss_nisplus/nisplus-network.c: Likewise.
9547         * nis/nss_nisplus/nisplus-parser.c: Likewise.
9548         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9549         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9550         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9551         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9552         * nis/nss_nisplus/nisplus-service.c: Likewise.
9553         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9554         * nss/nss_db/db-XXX.c: Likewise.
9555         * nss/nss_db/db-alias.c: Likewise.
9556         * nss/nss_db/db-netgrp.c: Likewise.
9557         * nss/nss_files/files-XXX.c: Likewise
9558         * nss/nss_files/files-alias.c: Likewise
9559         * nss/nss_files/files-netgrp.c: Likewise
9560         * nss/nss_files/files-parse.c: Likewise
9561         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
9562         parameter of get functions.
9563         * nss/getXXent_r.c: Likewise.
9565         * localedata/tst-fmon.c: Print debug info if test fails.
9567         * rt/Makefile (routines): Add aio_notify.
9568         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
9569         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
9570         * rt/aio_fsync.c: Likewise.
9571         * rt/aio_misc.c: Likewise.
9572         * rt/aio_misc.h: Likewise.
9573         * rt/aio_read.c: Likewise.
9574         * rt/aio_read64.c: Likewise.
9575         * rt/aio_suspend.c: Likewise.
9576         * rt/aio_write.c: Likewise.
9577         * rt/aio_write64.c: Likewise.
9578         * rt/lio_listio.c: Likewise.
9579         * rt/lio_listio64.c: Likewise.
9580         * rt/aio_notify.c: New file.
9582         * sysdeps/generic/bits/sigset.h: Pretty print.
9584         * sysdeps/posix/pwrite.c: Define weak alias only if function is
9585         really defined as __pwrite.
9587         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
9588         instead of pread64.
9589         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9591         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9592         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
9593         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
9594         size in syscall.
9595         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9596         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9597         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
9598         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9599         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9600         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9601         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
9602         for ACT being NULL.
9603         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
9604         RT signals.
9605         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
9606         __NR_pread is not defined.
9607         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
9608         __NR_pwrite is not defined.
9610 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9612         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
9613         handle for /etc/group back in some more cases.
9614         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
9615         handle for /etc/passwd back in some more cases.
9616         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
9617         handle for /etc/shadow back in some more cases.
9619 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
9621         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
9622         beyound its size.
9623         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
9624         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
9626 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
9628         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
9629         handling.  Don't use macros, we need functions.  Use inline functions
9630         for optimization.
9631         * sysdeps/wordsize-64/inttypes.h: Likewise.
9632         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
9633         and wcstoumax.
9634         * sysdeps/wordsize-64/Makefile: Likewise.
9635         * sysdeps/wordsize-32/Dist: Likewise.
9636         * sysdeps/wordsize-64/Dist: Likewise.
9637         * sysdeps/wordsize-32/strtoimax.c: New file.
9638         * sysdeps/wordsize-32/strtoumax.c: New file.
9639         * sysdeps/wordsize-32/wcstoimax.c: New file.
9640         * sysdeps/wordsize-32/wcstoumax.c: New file.
9641         * sysdeps/wordsize-64/strtoimax.c: New file.
9642         * sysdeps/wordsize-64/strtoumax.c: New file.
9643         * sysdeps/wordsize-64/wcstoimax.c: New file.
9644         * sysdeps/wordsize-64/wcstoumax.c: New file.
9646 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
9648         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
9649         that transparent union works.
9650         * sysdeps/generic/wait4.c (__wait4): Likewise.
9651         * sysdeps/generic/wait.c (__wait): Likewise.
9653         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
9654         size_t.
9656         * sysdeps/generic/syscall.c (syscall): Return value and arg are
9657         long, to match prototype.
9659         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
9660         have mremap() yet.
9662         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
9664         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
9666         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
9668         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
9669         __rlim_t.
9671         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
9673         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
9675         * io/sys/stat.h (S_ISLNK): Always false if we don't have
9676         __S_IFLNK.
9678         * sysdeps/standalone/close.c (_STDIO_H): Define before including
9679         <bits/stdio_lim.h>.
9680         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
9682 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
9684         * posix/sys/wait.h: Don't use transparent unions in C++.
9686 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9688         * time/time.h: Add strfxtime.
9690         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
9691         sysv_signal, strfxtime, pread64, pwrite64.
9693 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
9695         Alpha changes for EGCS:
9696         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
9697         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
9698         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
9699         (_start): Likewise.
9700         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
9702 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
9704         The kernel expects the arguments in a different order.
9705         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
9706         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
9708         * FAQ.in: New file.
9709         * gen-FAQ.pl: New file.
9710         * Makefile (FAQ): Add rule to generate from FAQ.in.
9712         * iconvdata/Makefile: Treat libJIS like the other modules.
9714         * rt/librt.map: New file.
9716         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
9717         inclusion.
9718         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
9719         comment.
9721 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
9723         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
9724         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
9725         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
9726         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
9728 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9730         * string/bits/string2.h: Fix spellings.
9732         * string/string.h: Fix spellings.
9734 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9736         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
9737         declaration to __syscall_rt_sigaction.
9739         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
9740         non-existant <sigcontext.h>.
9742 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9744         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
9745         typo.
9747 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9749         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
9751         * Makeconfig (shared-thread-library): Correct spelling.
9753         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
9754         <asm/pci.h>.
9756 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9758         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
9759         constants from Linux headers. Pointed out by
9760         csmall@scooter.o.i.net. [PR libc/369]
9762 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9764         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
9766 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9768         * configure.in: If --enable-add-ons is given without an
9769         argument, set the addons list to all subdirs with a configure
9770         script.
9772 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
9774         * Makeconfig: Add shared-thread-library variable.
9776         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
9777         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
9778         here.
9779         * sysdeps/m68k/fpu/e_acos.c: Likewise.
9780         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9781         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9782         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9783         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9784         * sysdeps/m68k/fpu/k_cos.c: Likewise.
9785         * sysdeps/m68k/fpu/k_sin.c: Likewise.
9786         * sysdeps/m68k/fpu/k_tan.c: Likewise.
9787         * sysdeps/m68k/fpu/s_atan.c: Likewise.
9788         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9789         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9790         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9791         * sysdeps/m68k/fpu/s_csin.c: Likewise.
9792         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9793         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
9794         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9795         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
9796         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9797         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
9798         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
9799         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
9800         * sysdeps/m68k/fpu/s_modf.c: Likewise.
9801         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
9802         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
9803         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
9805         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
9806         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
9807         * signal/Makefile (headers): Add bits/siginfo.h.
9808         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
9809         (distribute): Add testrtsig.h.
9810         * signal/allocrtsig.c: New file.
9811         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
9812         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
9813         __libc_current_sigrtmax.
9814         * sysdeps/generic/sigqueue.c: New file.
9815         * sysdeps/generic/sigtimedwait.c: New file.
9816         * sysdeps/generic/sigwaitinfo.c: New file.
9817         * sysdeps/generic/testrtsig.h: New file.
9818         * sysdeps/generic/bits/siginfo.h: New file.
9819         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
9820         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
9821         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
9822         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
9823         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
9824         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
9825         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
9826         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
9827         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
9828         * sysdeps/unix/sysv/linux/sigpending.c: New file.
9829         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
9830         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
9831         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
9832         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
9833         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
9834         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
9835         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
9836         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
9837         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
9838         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
9839         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
9840         and _POSIX_REALTIME_SIGNALS.
9841         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
9842         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
9843         update _NSIG.
9844         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
9845         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
9846         definitions.
9848         * Makefile (subdirs): Add rt.
9849         * shlib-versions: Add entry for librt.
9850         * rt/Makefile: New file.
9851         * rt/aio.h: New file.
9852         * rt/aio_cancel.c: New file.
9853         * rt/aio_error.c: New file.
9854         * rt/aio_fsync.c: New file.
9855         * rt/aio_misc.c: New file.
9856         * rt/aio_misc.h: New file.
9857         * rt/aio_read.c: New file.
9858         * rt/aio_read64.c: New file.
9859         * rt/aio_return.c: New file.
9860         * rt/aio_suspend.c: New file.
9861         * rt/aio_write.c: New file.
9862         * rt/aio_write64.c: New file.
9863         * rt/lio_listio.c: New file.
9864         * rt/lio_listio64.c: New file.
9865         * sysdeps/generic/aio_sigqueue.c: New file.
9866         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
9867         * sysdeps/unix/sysv/linux/Dist: Add new files
9868         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9869         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
9870         rt_sigqueueinfo, rt_sigaction.
9872         * posix/Makefile (headers): Add bits/environments.h.
9873         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
9874         and _CS_LFS_CFLAGS on 64bit platforms.
9875         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
9876         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
9877         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
9878         compilation modules.
9879         * sysdeps/wordsize-32/bits/environments.h: New file.
9880         * sysdeps/wordsize-64/bits/environments.h: New file.
9882         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
9883         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
9884         __libc_pid.
9885         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
9886         0xf00baa.
9888         * string/string.h: Add declaration of __strverscmp.
9889         * string/strverscmp.c: Rename function ot __strverscmp and make old
9890         name weak alias.
9892         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
9893         * sysdeps/generic/enbl-secure.c: Likewise.
9894         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9896         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
9898         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
9900 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9902         * posix/sys/wait.h: Use __transparent_union__ instead of
9903         transparent_union.  Reported by Roland McGrath.
9905 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9907         * resolv/inet_neta.c (inet_neta): Change type of first parameter
9908         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
9909         [PR libc/366].
9911         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
9913         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
9915 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9917         * grp/initgroups.c: Increase buffer if it is too small.
9919 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9921         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
9922         fields, this is no ISO C.  Reported by Andreas Jaeger.
9924 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9926         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
9928 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
9930         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
9931         _SYS_UTSNAME_H not _UTSNAME_H.
9933 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9935         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
9936         computing s_scale.
9938 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9940         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
9941         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
9942         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
9944         * math/libm-test.c (csqrt_test): Add testcase.
9946 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
9948         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
9949         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
9950         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
9952 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9954         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
9956 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9958         * math/libm-test.c (acos_test): Add more tests.
9959         (asin_test): Likewise.
9960         (atan_test): Likewise.
9961         (exp_test): Likewise.
9962         (sin_test): Likewise.
9963         (sqrt_test): Likewise.
9964         (cpow_test): Likewise.
9965         (csqrt_test): Likewise.
9966         (cexp_test): Correct typo in gcc version test.
9968 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
9970         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
9971         <bits/setjmp.h>.
9972         * sysdeps/arm/setjmp.S: Likewise.
9974         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
9976 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
9978         * stdio/stdio.h: Add prototype for tmpfile64().
9980 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
9982         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
9983         prototype to keep in step with libio version.
9985         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
9987 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
9989         * sysdeps/generic/Makefile: Don't try to use make_siglist if
9990         cross-compiling.
9992 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
9994         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
9995         load GOT ptr before jumping to _exit.
9996         Reported by Xavier Leroy.
9998 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10000         * Makefile (subdirs): Add iconvdata and localedata.
10002         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10004         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10006         * iconvdata/8bit-gap.c: New file.
10007         * iconvdata/8bit-generic.c: Renamed from ...
10008         * iconvdata/iso8859-generic.c: ...this.
10009         * iconvdata/configure: Removed.
10010         * iconvdata/Makefile: Add new modules and better rules.
10011         * iconvdata/iso6937.c: Minor bug fixes.
10012         * iconvdata/iso8859-1.c: Likewise.
10013         * iconvdata/t61.c: Likewise.
10014         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10015         Minor bug fixes.
10016         * iconvdata/iso8859-3.c: Likewise.
10017         * iconvdata/iso8859-4.c: Likewise.
10018         * iconvdata/iso8859-5.c: Likewise.
10019         * iconvdata/iso8859-6.c: Likewise.
10020         * iconvdata/iso8859-7.c: Likewise.
10021         * iconvdata/iso8859-8.c: Likewise.
10022         * iconvdata/iso8859-9.c: Likewise.
10023         * iconvdata/iso8859-10.c: Likewise.
10024         * iconvdata/ebcdic-at-de-a.c: New file.
10025         * iconvdata/ebcdic-at-de.c: New file.
10026         * iconvdata/ebcdic-ca-fr.c: New file.
10027         * iconvdata/hp-roman8.c: New file.
10028         * iconvdata/koi-8.c: New file.
10029         * iconvdata/koi8-r.c: New file.
10030         * iconvdata/koi8-h.c: New file.
10031         * iconvdata/latin-greek-1.c: New file.
10032         * iconvdata/latin-greek-1.h: New file.
10033         * iconvdata/latin-greek.c: New file.
10034         * iconvdata/latin-greek.h: New file.
10035         * iconvdata/jis0201.c: New file.
10036         * iconvdata/jis0201.h: New file.
10037         * iconvdata/jis0208.c: New file.
10038         * iconvdata/jis0208.h: New file.
10039         * iconvdata/jis0212.c: New file.
10040         * iconvdata/jis0212.h: New file.
10041         * iconvdata/sjis.c: New file.
10042         * iconvdata/gap.pl: New file.  Script to generate table header.
10043         * iconvdata/gaptab.pl: New file.
10044         * iconvdata/gconv-modules: Add info about new modules.
10046         * locale/programs/charmap.c: Also examine alias names given in charmap
10047         files.
10049         * localedata/*: Add to here from add-on.  We need the information
10050         to generate tables for iconv.
10052         Update from db-2.3.14.
10053         * db2/Makefile: Updated.
10054         * db2/config.h: Likewise.
10055         * db2/db.h: Likewise.
10056         * db2/db_int.h: Likewise.
10057         * db2/btree/bt_cursor.c: Likewise.
10058         * db2/btree/bt_delete.c: Likewise.
10059         * db2/btree/bt_put.c: Likewise.
10060         * db2/btree/bt_search.c: Likewise.
10061         * db2/btree/bt_split.c: Likewise.
10062         * db2/btree/btree_auto.c: Likewise.
10063         * db2/common/db_appinit.c: Likewise.
10064         * db2/common/db_apprec.c: Likewise.
10065         * db2/common/db_err.c: Likewise.
10066         * db2/common/db_region.c: Likewise.
10067         * db2/db/db_auto.c: Likewise.
10068         * db2/db/db_dispatch.c: Likewise.
10069         * db2/db/db_ret.c: Likewise.
10070         * db2/dbm/dbm.c: Likewise.
10071         * db2/hash/hash_auto.c: Likewise.
10072         * db2/include/btree_ext.h: Likewise.
10073         * db2/include/common_ext.h: Likewise.
10074         * db2/include/db.h.src: Likewise.
10075         * db2/include/db_cxx.h: Likewise.
10076         * db2/include/db_ext.h: Likewise.
10077         * db2/include/db_int.h.src: Likewise.
10078         * db2/include/lock.h: Likewise.
10079         * db2/include/log.h: Likewise.
10080         * db2/include/mp.h: Likewise.
10081         * db2/include/mp_ext.h: Likewise.
10082         * db2/include/os_ext.h: Likewise.
10083         * db2/include/os_func.h: Likewise.
10084         * db2/lock/lock.c: Likewise.
10085         * db2/lock/lock_deadlock.c: Likewise.
10086         * db2/log/log.c: Likewise.
10087         * db2/log/log_archive.c: Likewise.
10088         * db2/log/log_auto.c: Likewise.
10089         * db2/log/log_get.c: Likewise.
10090         * db2/log/log_put.c: Likewise.
10091         * db2/mp/mp_bh.c: Likewise.
10092         * db2/mp/mp_fget.c: Likewise.
10093         * db2/mp/mp_fopen.c: Likewise.
10094         * db2/mp/mp_fput.c: Likewise.
10095         * db2/mp/mp_fset.c: Likewise.
10096         * db2/mp/mp_open.c: Likewise.
10097         * db2/mp/mp_pr.c: Likewise.
10098         * db2/mp/mp_region.c: Likewise.
10099         * db2/mp/mp_sync.c: Likewise.
10100         * db2/mutex/README: Likewise.
10101         * db2/mutex/mutex.c: Likewise.
10102         * db2/os/os_open.c: Likewise.
10103         * db2/os/os_func.c: Removed.
10104         * db2/os/os_config.c: New file.
10105         * db2/os/os_spin.c: New file.
10106         * db2/txn/txn.c: Likewise.
10107         * db2/txn/txn_auto.c: Likewise.
10109 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10111         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10112         __typeof for C++ since this fails for class members.
10113         Reported by Neal Becker <neal@ctd.comsat.com>.
10115 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10117         * configure.in: Check for a working makeinfo (3.11 or better).
10118         * config.make.in: Add MAKEINFO to be substituted.
10119         * manual/Makefile: Don't update info if makeinfo is too old.
10121 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10123         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10124         * sysdeps/alpha/__longjmp.S: Likewise.
10125         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10126         not <bits/termios.h>.
10128         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10129         __llseek and make llseek and lseek64 weak aliases.
10130         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10131         Patches by a sun <asun@zoology.washington.edu>.
10133 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10135         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10136         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10137         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10138         * misc/sys/syslog.h: Clean up BSD header.
10140 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10142         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10144         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10145         for ctan(+-inf,x).
10146         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10147         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10149         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10150         csqrt (-1), ctanh(i*pi/4).
10152 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10154         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10156 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10158         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10160 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10162         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10164 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10166         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10167         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10168         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10169         of GETCWD_STORYGE_CLASS and put the return type and the
10170         `internal_function' in the right order for gcc 2.7.2.
10172 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10174         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10175         incompatible with Linux 2.1.x.  Packages using modules
10176         (e.g. modutils) should/do provide their own version.  Suggested by
10177         Richard Henderson.
10179         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10182         [$(subdir)=socket]: Remove sys/module.h.
10184 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10186         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10187         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10189         * iconv/gconv_close.c: Correct freeing of descriptor data.
10190         * iconv/gconv_simple.c: Return correct error values for illegal or
10191         incomplete characters.
10193         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10194         development.
10195         * iconvdata/Makefile: New file.
10196         * iconvdata/configure: Likewise.
10197         * iconvdata/extra-module.mk: Likewise.
10198         * iconvdata/gconv-modules: Likewise.
10199         * iconvdata/iso6937.c: Likewise.
10200         * iconvdata/iso8859-1.c: Likewise.
10201         * iconvdata/iso8859-10.c: Likewise.
10202         * iconvdata/iso8859-10.h: Likewise.
10203         * iconvdata/iso8859-2.c: Likewise.
10204         * iconvdata/iso8859-2.h: Likewise.
10205         * iconvdata/iso8859-3.c: Likewise.
10206         * iconvdata/iso8859-3.h: Likewise.
10207         * iconvdata/iso8859-4.c: Likewise.
10208         * iconvdata/iso8859-4.h: Likewise.
10209         * iconvdata/iso8859-5.c: Likewise.
10210         * iconvdata/iso8859-5.h: Likewise.
10211         * iconvdata/iso8859-6.c: Likewise.
10212         * iconvdata/iso8859-6.h: Likewise.
10213         * iconvdata/iso8859-7.c: Likewise.
10214         * iconvdata/iso8859-7.h: Likewise.
10215         * iconvdata/iso8859-8.c: Likewise.
10216         * iconvdata/iso8859-8.h: Likewise.
10217         * iconvdata/iso8859-9.c: Likewise.
10218         * iconvdata/iso8859-9.h: Likewise.
10219         * iconvdata/iso8859-generic.c: Likewise.
10220         * iconvdata/t61.c: Likewise.
10222         * string/Makefile (routines): Add strcasestr.
10223         * string/string.h: Add prototype for strcasestr.
10224         * sysdeps/generic/strcasestr.c: New file.
10225         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10226         * wcsmbs/wcrtomb.c: Likewise.
10227         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10228         * wcsmbs/wcsnrtombs.c: Likewise.
10229         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10230         partial character is read.
10231         * wcsmbs/wcsrtombs.c: Likewise.
10232         * wcsmbs/wmemrtombs.c: Likewise.
10233         * wcsmbs/wmemrtowcs.c: Likewise.
10235         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10236         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10237         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10238         * sysdeps/i386/elf/setjmp.S: Likewise.
10239         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10240         <bits/termios.h>.
10242         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10243         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10245         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10246         * sysvipc/sys/ipc.h: Likewise.
10247         * sysvipc/sys/msg.h: Likewise.
10248         * sysvipc/sys/sem.h: Likewise.
10249         * sysvipc/sys/shm.h: Likewise.
10251         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10252         used directly.
10253         * sysdeps/alpha/bits/setjmp.h: Likewise.
10254         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10255         * sysdeps/arm/bits/endian.h: Likewise.
10256         * sysdeps/arm/bits/setjmp.h: Likewise.
10257         * sysdeps/generic/bits/byteswap.h: Likewise.
10258         * sysdeps/generic/bits/confname.h: Likewise.
10259         * sysdeps/generic/bits/dirent.h: Likewise.
10260         * sysdeps/generic/bits/dlfcn.h: Likewise.
10261         * sysdeps/generic/bits/endian.h: Likewise.
10262         * sysdeps/generic/bits/fenv.h: Likewise.
10263         * sysdeps/generic/bits/huge_val.h: Likewise.
10264         * sysdeps/generic/bits/in.h: Likewise.
10265         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10266         * sysdeps/generic/bits/ioctls.h: Likewise.
10267         * sysdeps/generic/bits/ipc.h: Likewise.
10268         * sysdeps/generic/bits/msq.h: Likewise.
10269         * sysdeps/generic/bits/poll.h: Likewise.
10270         * sysdeps/generic/bits/resource.h: Likewise.
10271         * sysdeps/generic/bits/sched.h: Likewise.
10272         * sysdeps/generic/bits/sem.h: Likewise.
10273         * sysdeps/generic/bits/setjmp.h: Likewise.
10274         * sysdeps/generic/bits/shm.h: Likewise.
10275         * sysdeps/generic/bits/sigaction.h: Likewise.
10276         * sysdeps/generic/bits/sigcontext.h: Likewise.
10277         * sysdeps/generic/bits/socket.h: Likewise.
10278         * sysdeps/generic/bits/stat.h: Likewise.
10279         * sysdeps/generic/bits/statfs.h: Likewise.
10280         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10281         * sysdeps/generic/bits/termios.h: Likewise.
10282         * sysdeps/generic/bits/time.h: Likewise.
10283         * sysdeps/generic/bits/uio.h: Likewise.
10284         * sysdeps/generic/bits/utmp.h: Likewise.
10285         * sysdeps/generic/bits/utmpx.h: Likewise.
10286         * sysdeps/generic/bits/utsname.h: Likewise.
10287         * sysdeps/generic/bits/waitflags.h: Likewise.
10288         * sysdeps/generic/bits/waitstatus.h: Likewise.
10289         * sysdeps/gnu/bits/utmp.h: Likewise.
10290         * sysdeps/gnu/bits/utmpx.h: Likewise.
10291         * sysdeps/i386/bits/byteswap.h: Likewise.
10292         * sysdeps/i386/bits/endian.h: Likewise.
10293         * sysdeps/i386/bits/huge_val.h: Likewise.
10294         * sysdeps/i386/bits/setjmp.h: Likewise.
10295         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10296         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10297         * sysdeps/m68k/bits/byteswap.h: Likewise.
10298         * sysdeps/m68k/bits/endian.h: Likewise.
10299         * sysdeps/m68k/bits/setjmp.h: Likewise.
10300         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10301         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10302         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10303         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10304         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10305         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10306         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10307         * sysdeps/mips/bits/dlfcn.h: Likewise.
10308         * sysdeps/mips/bits/endian.h: Likewise.
10309         * sysdeps/mips/bits/setjmp.h: Likewise.
10310         * sysdeps/mips/dec/bits/endian.h: Likewise.
10311         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10312         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10313         * sysdeps/mips/p40/bits/endian.h: Likewise.
10314         * sysdeps/powerpc/bits/endian.h: Likewise.
10315         * sysdeps/powerpc/bits/fenv.h: Likewise.
10316         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10317         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10318         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10319         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10320         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10321         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10322         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10323         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10324         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10325         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10326         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10327         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10328         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10329         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10330         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10331         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10332         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10333         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10334         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10335         * sysdeps/unix/common/bits/dirent.h: Likewise.
10336         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10337         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10338         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10339         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10340         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10341         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10342         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10343         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10344         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10345         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10346         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10347         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10348         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10349         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10350         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10351         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10352         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10353         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10354         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10355         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10356         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10357         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10358         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10359         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10360         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10361         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10362         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10363         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10364         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10365         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10366         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10367         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10368         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10369         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10370         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10371         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10372         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10373         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10374         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10375         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10376         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10377         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10378         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10379         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10380         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10381         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10382         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10383         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10384         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10385         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10386         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10387         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10388         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10389         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10390         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10391         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10392         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10393         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10394         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10395         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10396         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10397         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10398         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10399         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10400         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10401         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10402         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10403         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10404         * sysdeps/vax/bits/huge_val.h: Likewise.
10405         * sysdeps/vax/bits/setjmp.h: Likewise.
10406         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10407         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10409 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10411         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10413 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
10415         * strftime.c (strftime):
10416         No longer any need to undef or declare if emacs is defined.
10417         (my_strftime): When checking a -1 returned by mktime, don't blow up
10418         if localtime_r returns NULL.
10420 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10422         * README.template: Fix spelling.
10424 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10426         * configure.in: Enhance --enable-add-ons description a wee bit.
10428 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10430         * glibcbug.in: Add more information of build environment and flags.
10432 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10434         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
10435         it into ENOENT.
10437 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
10439         * elf/dl-support.c: Call __libc_init_secure to make sure
10440         __libc_enable_secure is defined early.
10441         * sysdeps/generic/enbl-secure.c: Change function name to
10442         __libc_init_secure and make it global instead of a constructor.
10444         * iconv/gconv.c: Fix lots of bugs.
10445         * iconv/gconv.h: Likewise.
10446         * iconv/gconv_builtin.h: Likewise.
10447         * iconv/gconv_close.c: Likewise.
10448         * iconv/gconv_conf.c: Likewise.
10449         * iconv/gconv_db.c: Likewise.
10450         * iconv/gconv_dl.c: Likewise.
10451         * iconv/gconv_open.c: Likewise.
10452         * iconv/gconv_simple.c: Likewise.
10453         * iconv/iconv.c: Likewise.
10454         * iconv/iconv_close.c: Likewise.
10455         * iconv/iconv_open.c: Likewise.
10457         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
10458         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
10459         * wcsmbs/wmemrtombs.c: New file.
10460         * wcsmbs/wmemrtowcs.c: New file.
10462 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
10464         * iconv/gconv_simple.c: Fix lots of bugs.
10465         * iconv/iconv_open.c: Normalize names before passing them to
10466         __gconv_open.
10468         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
10470         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
10471         * stdio-common/test-popen.c: Add test for above change.
10473         * math/libm-test.c: Print test results also using %a format,
10474         specified in PRINTF_XEXPR macro.
10475         * math/test-double.c: Define PRINTF_XEXPR.
10476         * math/test-float.c: Likewise.
10477         * math/test-ldouble.c: Likewise.
10478         * math/test-idouble.c: Likewise.
10479         * math/test-ifloat.c: Likewise.
10480         * math/test-ildoubl.c: Likewise.
10482         * stdio-common/vfscanf.c: Recognize a in format specifier only as
10483         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
10484         FP number format.
10486         * stdlib/strtod.c: Little code cleanup.
10488         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
10489         compiling in math subdir.
10491         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
10492         instead of __LIBC_M81_MATH_INLINES.
10493         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10494         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10495         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10496         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10497         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10498         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10499         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10500         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10501         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10502         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10503         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10504         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10505         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10506         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10507         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10508         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10509         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10510         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10511         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10512         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10513         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10514         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10515         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10516         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10517         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
10518         __LIBC_INTERNAL_MATH_INLINES is defined.
10520         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
10521         of compare macros from ISO C 9X.  Optimize generic versions a bit.
10522         Define __signbit inline functions and __ieee754_sqrt which can be
10523         used if the ompiler is fixed.
10525         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
10527 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10529         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
10530         sysdeps/generic in the whole dep file, not only in the first line.
10532 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10534         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
10536 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10538         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
10539         place.
10541 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10543         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
10544         is non-empty.
10546 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
10548         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
10549         return value.
10551 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
10553         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
10554         readlink succeeds but the return value is too long.
10556         * stdio-common/printf_fphex.c: Determine sign of number correctly.
10558 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
10560         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
10561         __remqu for Alpha.
10563 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
10565         * sysdeps/generic/sys/ucontext.h: Stub context file.
10567         * libio/iofprintf.c: Removed.  We use the stdio-common version.
10569         * manual/Makefile (distribute): Add stdio-fp.c.
10571         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
10573         * db2/Makefile (distribute): Add include/os_func.h, README and
10574         mutex/tsl_parisc.s.
10576         * hesiod/Makefile (distribute): Add README.hesiod.
10578 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
10580         * iconv/gconv.c: Correctly call transformation function.
10582         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
10584 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10586         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
10587         wrong results for e.g. remquo (3,2, &x)).
10588         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
10589         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
10591 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10593         * configure.in (ld --version-script): Test if the same symbol
10594         maybe defined in all versions (needed by recent changes to
10595         libc.map and supported with binutils 2.8.1.0.17) and issue warning
10596         if versioning is not supported/enabled.
10597         (bash test): Correct test case.
10599         * math/libm-test.c: Added counting/reporting of number of test cases.
10601         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
10602         use awk instead.
10604         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
10606 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10608         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
10610 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
10612         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
10613         Replace revoke call by use of REVOKE.
10614         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
10615         empty and #include generic version.
10616         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10618 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
10620         * libc.map: Add socket functions with __libc_* names.
10621         Reported by Andreas Jaeger.
10623 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10625         * libc.map: Tidy up (remove duplicates, sort entries).
10627 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10629         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
10631 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
10633         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
10634         again after successful call.
10635         Patch by Marc Lehmann <pcg@goof.com>.
10637 1997-11-17  Paul Eggert  <eggert@twinsun.com>
10639         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
10640         as some hosts need this to declare localtime_r properly.
10642 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
10644         * libc.map: Add iconv_open, iconv, and iconv_close.
10646 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
10648         * iconv/Makefile: New file.
10649         * iconv/gconv.c: New file.
10650         * iconv/gconv.h: New file.
10651         * iconv/gconv_builtin.c: New file.
10652         * iconv/gconv_builtin.h: New file.
10653         * iconv/gconv_close.c: New file.
10654         * iconv/gconv_conf.c: New file.
10655         * iconv/gconv_db.c: New file.
10656         * iconv/gconv_dl.c: New file.
10657         * iconv/gconv_open.c: New file.
10658         * iconv/gconv_simple.c: New file.
10659         * iconv/iconv.c: New file.
10660         * iconv/iconv.h: New file.
10661         * iconv/iconv_close.c: New file.
10662         * iconv/iconv_open.c: New file.
10663         * include/gconv.h: New file.
10665         * Makeconfig: Define gconvdir.
10666         * Makefile (subdirs): Add iconv.
10668         * string/bits/string2.h: Add optimization for strtok_r.
10670         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
10671         for NULL.
10672         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10673         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
10675         * configure.in: Correct test for bash2.
10676         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10678         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
10679         (CFLAGS-locfile.c): Likewise.
10680         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10682         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
10683         non-existing entry if the table is full.
10685         * posix/regex.h: Pretty print.
10687         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
10689         * sysdeps/posix/ctermid.c: Simplify a bit.
10691         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
10693 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10695         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
10696         <sys/types.h> instead of <asm/types.h>.
10698 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10700         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
10702 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
10704         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
10705         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
10706         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
10707         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
10708         fclose): Added to GLIBC_2.1.
10710         * libio/Makefile (routines, shared-only-routines): Add
10711         oldiofclose.  Remove oldfreopen.
10713         * libio/freopen.c (freopen): When PIC is defined, call
10714         _IO_old_freopen () for old stdio.
10716         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
10717         (_IO_fclose, fclose): Use _IO_new_fclose as default version
10718         for GLIBC_2.1.
10720         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
10721         instead of _IO_file_close_it.
10723         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
10724         to _IO_2_1_stdxxx_.
10725         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
10726         is defined.
10728         * libio/libioP.h (_IO_old_do_flush): New.
10730         * libio/oldfileops.c (_IO_old_file_close_it,
10731         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
10732         Call _IO_old_do_flush () instead of _IO_do_flush ().
10733         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
10734         _IO_do_write ().
10736         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
10737         instead of _IO_file_init ().
10738         Bind old symbols to version GLIBC_2.0.
10740         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
10741         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
10742         _IO_stdxxx_.
10743         (_IO_check_libio): New function in .init.
10745         * libio/oldiofclose.c: New file.
10747         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
10748         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
10749         (DEF_STDFILE): Don't use default_symbol_version.
10751         * libio/stdio.c (stdin, stdout, stderr): Set to
10752         _IO_2_1_stdxxx_._
10753         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
10754         stdxxx.
10756         * csu/Makefile (distribute): Add init.c.
10757         (extra-objs): Add init.o for ELF.
10758         (start-installed-name): Add $(objpfx)init.o.
10760         * csu/init.c: New file.
10762 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10764         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
10765         definition as the default.
10767 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
10769         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
10771 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10773         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
10774         (PR 351).
10776 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
10778         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
10779         to preserve condition codes on function call.
10781 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10783         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
10785 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10787         * math/libm-test.c (asin_test): Add epsilon for float.
10788         (tan_test): Add epsilon for float.
10789         (log1p_test): Add epsilon for float.
10790         (inverse_functions): Add epsilons.
10792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
10793         net/if_packet.h.
10795         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
10797 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10799         * md5-crypt/Makefile (extra-objs): Make recursively expanded
10800         variable, since $(object-suffixes) is not defined yet.
10802 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10804         * db2/Makefile (distribute): db185/db185_int.src ->
10805         db185/db185_int.h.
10807 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10809         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
10810         exactly one.
10812 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10814         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
10815         name.
10816         * sysdeps/generic/e_acosl.c: Likewise.
10817         * sysdeps/generic/e_asinl.c: Likewise.
10818         * sysdeps/generic/e_atan2l.c: Likewise.
10819         * sysdeps/generic/e_expl.c: Likewise.
10820         * sysdeps/generic/e_fmodl.c: Likewise.
10821         * sysdeps/generic/e_j0l.c: Likewise.
10822         * sysdeps/generic/e_j1l.c: Likewise.
10823         * sysdeps/generic/e_jnl.c: Likewise.
10824         * sysdeps/generic/e_lgammal_r.c: Likewise.
10825         * sysdeps/generic/e_log10l.c: Likewise.
10826         * sysdeps/generic/e_logl.c: Likewise.
10827         * sysdeps/generic/e_powl.c: Likewise.
10828         * sysdeps/generic/e_sqrtl.c: Likewise.
10829         * sysdeps/generic/e_exp2l.c: Likewise.
10831 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10833         * Make-dist (+sysdep-names): Remove extra paren.
10834         * Makefile (distribute): Add stub-tag.h.
10835         * elf/Makefile (distribute): Add atomicity.h.
10836         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
10837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10838         [$(subdir)=socket]: Add net/if_packet.h.
10839         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
10840         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
10841         net/if_packet.h, scsi/sg.h.
10843 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10845         * Makefile (install): Quote $(CC) expansion.
10847 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10849         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
10850         working /proc cwd and no restrictions on path length.  Following
10851         some ideas from Andi Kleen <ak@muc.de> (PR 350).
10853 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10855         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
10856         * nis/nss_compat/compat-pwd.c: Likewise.
10857         * nis/nss_compat/compat-spwd.c: Likewise.
10859 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
10861         * sysdeps/libm-i387/s_fdim.S: New file.
10862         * sysdeps/libm-i387/s_fdimf.S: New file.
10863         * sysdeps/libm-i387/s_fdiml.S: New file.
10864         * sysdeps/libm-i387/i686/s_fdim.S: New file.
10865         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
10866         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
10868 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10870         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
10871         pointer to unsigned char.
10873 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10875         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
10877         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
10879         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
10881 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10883         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
10884         ilogb(0/NaN).
10885         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
10886         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
10888 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
10890         * sysdeps/libm-i387/s_fmin.S: New file.
10891         * sysdeps/libm-i387/s_fminf.S: New file.
10892         * sysdeps/libm-i387/s_fminl.S: New file.
10893         * sysdeps/libm-i387/s_fmax.S: New file.
10894         * sysdeps/libm-i387/s_fmaxf.S: New file.
10895         * sysdeps/libm-i387/s_fmaxl.S: New file.
10896         * sysdeps/libm-i387/i686/s_fmin.S: New file.
10897         * sysdeps/libm-i387/i686/s_fminf.S: New file.
10898         * sysdeps/libm-i387/i686/s_fminl.S: New file.
10899         * sysdeps/libm-i387/i686/s_fmax.S: New file.
10900         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
10901         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
10903 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
10905         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
10906         * sysdeps/unix/sysv/linux/send.S: Likewise.
10907         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10908         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10909         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10910         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10911         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10912         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10913         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
10915 See ChangeLog.7 for earlier changes.