Update.
[glibc.git] / ChangeLog
bloba94494be34cc5c6b15e9f0d4b254b734dcd96322
1 Mon Jul 13 10:28:28 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3         * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
5 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7         * Make-dist (+sysdep-tsrcs): Add Versions.
9 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
12         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
13         * sysdeps/powerpc/Versions: New file.
14         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
15         and __errno_location.
16         * misc/Versions: Add brk and sbrk.
17         * posix/Versions: Add environ, __environ and _environ.
18         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
20 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
22         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
23         Patch by Zack Weinberg.
25 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
27         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
28         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
29         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
31 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
33         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
35 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
37         * posix/unistd.h: Simplify #ifdefs.
39         * libio/libio.h: Undo last change due to possible C++ problems.
40         * libio/fileops.h: Likewise.
42 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
44         * grp/grp.h: Define gid_t also for __USE_XOPEN.
45         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
46         * io/utime.h: Define time_t also for __USE_XOPEN.
47         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
48         Define *_t types except for pid_t also for __USE_XOPEN.
49         Define S_* macros also for __USE_XOPEN.
50         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
51         THOUSEP also for __USE_XOPEN.
52         * math/math.c: Define M_* macros also for __USE_XOPEN.
53         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
54         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
55         defined.
56         * posix/glob.h: Likewise for GLOB_NOSYS.
57         * posix/regex.h: Likewise for REG_NOSYS.
58         * posix/wordexp.h: Likewise for WRDE_NOSYS.
59         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
60         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
61         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
62         * signal/signal.h: Define pid_t also for __USE_XOPEN.
63         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
64         for __USE_POSIX199309.
65         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
66         constants also for __USE_XOPEN.
67         * wcsmbs/wchar.h: For XPG4 include wctype.h.
69         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
70         * locale/setlocale.c (new_composite_name): Likewise for last_len.
72         * libio/stdio.h: Don't declare fclose_unlocked.
74         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
76 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
78         * stdio/stdio.h: Add prototypes for fflush_unlocked,
79         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
80         fgets_unlocked, fread_unlocked, fwrite_unlocked,
81         clearerr_unlocked, feof_unlocked, ferror_unlocked,
82         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
83         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
84         prototype for getopt.
85         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
86         * stdio/feof.c (feof_unlocked): Weak alias for feof.
87         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
88         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
89         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
90         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
91         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
92         * stdio/fread.c (fread_unlocked): Weak alias for fread.
93         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
94         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
95         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
96         * stdio/putc.c (putc_unlocked): Weak alias for putc.
97         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
98         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
99         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
100         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
101         getc_unlocked, getchar_unlocked, putc_unlocked and
102         putchar_unlocked.
104         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
105         from here ...
106         * stdio-common/Versions: ... to here.
108 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
110         * Makerules (versioning): Correct typo.
112 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
114         * elf/Versions: Add _dl_mcount_wrapper_check.
115         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
116         _dl_mcount_wrapper_check.
117         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
119         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
120         internal_function.
121         * elf/ldsodefs.h: Likewise.
123         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
125         * libio/stdio.h: Make sure va_list is defined for X/Open.
126         Define P_tmpdir for X/Open.
128         * posix/regex.h: Fix typo.
130         * posix/unistd.h: Define intptr_t if not already happened.
131         Add pthread_atfork prototype.
132         * sysdeps/generic/bits/types.h: Define __intptr_t.
133         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
134         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
135         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
136         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
137         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
138         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
139         * sysdeps/wordsize-64/stdint.h: Likewise.
141         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
143         * signal/Makefile (headers): Add bits/sigthread.h.
144         * signal/signal.h: Include bits/sigthread.h.
145         * sysdeps/generic/bits/sigthread.h: New file.
147         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
149         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
150         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
151         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
152         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
154         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
156         * elf/rtld.c: Remove preloading and loadpath variables in SUID
157         programs.
158         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
159         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
160         names.
162         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
164         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
165         Remove O_READ and O_WRITE definition.
167         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
168         and RLIM_SAVED_CUR.
170         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
172 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
174         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
175         scripts directory.  Pass move-if-change to awk.
176         (common-generated): Add $(version-maps) and sysd-versions.
177         * versions.awk: Moved to...
178         * scripts/versions.awk: ... here.  Use move-if-change to void
179         touching unchanged files.  Print "version-maps = ..." instead of
180         "all-version-maps = ..." and without $(common-objpfx).  Explain
181         expected variable names.
182         * Makefile (distribute): Updated.
184 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
186         * misc/getttyent.c (getttyent): Don't return with locked stream.
187         * misc/mntent_r.c (__getmntent_r): Likewise.
189 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
191         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
192         if stream is line buffered.
193         (_io_file_overflow): Likewise.
194         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
195         streams writing '\n' flushes the string.
197 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
199         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
200         * elf/dl-support.c: Define it here...
201         * elf/rtld.c: ...and here.
203 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
205         * grp/initgroups.c: Handle directives from nsswitch.conf file.
207 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
209         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
210         __ino64_t definition.
211         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
212         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
214         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
215         script if lddlibc4 failed.
216         Reported by B. D. Elliott <bde@accessone.com>.
218 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
220         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
221         Improve generated strings a bit.
223 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
225         * posix/Makefile (generated): Remove $(objpfx) from the names.
227 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
229         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
230         format string.
232         * libio/iofread_u.c: Include <stdio.h> for prototype.
233         * libio/iofwrite_u.c: Likewise.
235 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
237         * db2/Versions: New file.
239 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
241         * Makefile (lib-noranlib): Don't depend on sysd-versions.
242         ($(common-objpfx)sysd-versions): Remove rule.
243         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
244         Pass name of Versions.def file to script and redirect output to
245         target.  Include it and make all generated version maps depend on
246         it.
247         * versions.awk: Print out variable definition containing all
248         generated version maps.  Print error messages to stderr.  Remove
249         temp file.
251 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
253         * posix/annexc.c (check_header): Terminate macro name before
254         comparing.
255         (get_null_defines): Allow builtin macros with parameters.
256         (fmt, testfmt): Add -D_LIBC.
257         * posix/Makefile: Remove bogus duplicate include directories from
258         annexc test command.
260 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
262         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
263         password scheme.
264         (_nss_nis_getpwnam_r): Likewise.
265         (_nss_nis_getpwuid_r): Likewise.
267 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
269         * libio/Versions: Move symbols whose source lives in
270         stdio-common to ...
271         * stdio-common/Versions: ... here.
272         * stdio/Versions: Add missing symbols.
274 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
276         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
277         __syscall_sendmsg.
278         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
279         __syscall_recvmsg.
280         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
281         and make __recvmsg and recvmsg weak aliases.
282         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
283         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
284         and __syscall_sendmsg.
286 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
288         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
289         stream.
290         * inet/ruserpass.c (token): Likewise.
291         * nss/nsswitch.c (nss_parse_file): Likewise.
292         * intl/localealias.c: Likewise.  Also for ferror.
293         * time/getdate.c (__getdate_r): Likewise.
295         * libio/Makefile (routines): Add iofgets_u.
296         * libio/iofgets_u.c: New file.
297         * libio/Versions: Add fgets_unlocked.
298         * libio/stdio.h: Add prototype for fgets_unlocked.
300         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
301         * misc/getusershell.c (initshells): Likewise.
302         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
303         fgets_unlocked.
304         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
305         * resolv/res_init.c (res_init): Likewise.
306         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
308 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
310         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
311         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
313 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
315         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
316         _unlocked functions.
318         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
319         is a private FILE.
321 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
323         * csu/Makefile: Build crt files in lib pass.
324         * db2/Makefile (distribute): Add mutex/sco.cc.
325         * mach/Machrules: Don't generate .udeps files if no_deps is set.
326         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
327         s-proto.d if avoid-generated is set.
329         * sysdeps/alpha/Dist: List only one file per line.
330         * sysdeps/generic/Dist: Likewise.
331         * sysdeps/m68k/fpu/switch/Dist: Likewise.
332         * sysdeps/sparc/sparc32/Dist: Likewise.
333         * sysdeps/unix/Dist: Likewise.
334         * sysdeps/unix/sysv/irix4/Dist: Likewise.
336         * sysdeps/mach/hurd/i386/Dist: New file.
337         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
338         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
339         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
340         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
342 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
344         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
345         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
347         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
349         * time/tzfile.c (decode): Optimize by using bswap_32.
350         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
351         __tzname array values.
352         (__tzfile_compute): Correct setting of __tzname array values.
353         * time/tzset.c (__tzstring): Clean up a bit.
355 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
357         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
359 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
361         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
362         that fd can be bigger than FD_SETSIZE.
364 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
366         * nscd/grpcache.c: Include <unistd.h>.
367         * nscd/pwdcache.c: Likewise.
369         * nis/nis_modify.c: Include <string.h>.
370         * nis/nis_add.c: Likewise.
371         * nis/nis_checkpoint.c: Likewise.
372         * posix/runptests.c: Likewise.
373         * sysdeps/generic/statvfs64.c: Likewise.
374         * sysdeps/generic/fstatvfs64.c: Likewise.
376 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
378         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
379         to match data from Unicode.
380         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
382 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
384         * stdio-common/printf.h: Define printf_function and
385         printf_arginfo_function types using __PMT not __P.
386         Reported by Marc Lehmann.
388 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
390         * assert/test-assert.c: New test.
391         * assert/test-assert-perr.c: New test.
392         * assert/Makefile (tests): Add test-assert and test-assert-perr.
394 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
396         BSD-style SCM_CREDS support.
398         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
399         SCM_CREDS.
400         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
401         visible SCM_CREDS packet to what the kernel wants.
402         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
403         SCM_CREDS packet output by kernel to what users want.
405         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
406         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
407         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
408         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
410         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
411         __sendmsg and __recvmsg to sysdep_routines.
412         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
414 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
416         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
417         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
418         * nscd/nscd.c: Check, if pthread_create fails.
420 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
422         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
423         format strings.
424         * stdio-common/bug1.c (main): Likewise.
425         * stdio-common/bug5.c (main): Likewise.
426         * stdio-common/tstgetln.c (main): Likewise.
427         * elf/sprof.c (generate_call_graph): Likewise.
428         (load_shobj): Likewise.
429         * posix/runptests.c (main): Likewise.
430         * string/tst-strlen.c (main): Likewise.
432         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
433         variable q3.
434         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
436 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
438         * wctype/Versions: Add __towctrans.
439         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
441 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
443         * grp/initgroups.c (compat_call): Only call dynamically loaded
444         functions if they are really present.
446 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
448         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
449         #ifdef that contains __BEGIN_DECLS.
451 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
453         * libio/iofwrite.c: Fix return value when size == 0.
455 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
457         * posix/Makefile (distribute): Add annexc.c.
458         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
460 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
463         bits/pthreadtypes.h here, and do not clobber headers.
465         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
467 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
469         * timezone/tst-timezone.c: Add tests for tzname variable.
471 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
473         * Makefile [versioning=yes]: Build the mapfiles with a pattern
474         rule that lists all of them as targets.
475         (sysd-versions): Depend only on Versions.def.  Write a Makefile
476         fragment that defines $(vers-libs) based on contents of that file;
477         then include it.
478         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
479         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
480         Predicate all this on avoid-generated unset as well as versioning.
482 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
484         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
486 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
488         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
489         a copy.
490         * Makefile: Add rules to generate map files.
491         (distribute): Remove libc.map, add Versions.def and versions.awk.
492         * Makerules: Change rules to find map files on common-objpfx.
493         * elf/Makefile: Likewise.
494         * md5-crypt/Makefile: Likewise.
495         * nis/Makefile (libnsl-map): Remove.
496         * Versions.def: New file.
497         * versions.awk: New file.
498         * argp/Versions: New file.
499         * assert/Versions: New file.
500         * catgets/Versions: New file.
501         * csu/Versions: New file.
502         * ctype/Versions: New file.
503         * db/Versions: New file.
504         * debug/Versions: New file.
505         * dirent/Versions: New file.
506         * elf/Versions: New file.
507         * gmon/Versions: New file.
508         * grp/Versions: New file.
509         * hesiod/Versions: New file.
510         * hurd/Versions: New file.
511         * iconv/Versions: New file.
512         * inet/Versions: New file.
513         * intl/Versions: New file.
514         * io/Versions: New file.
515         * libio/Versions: New file.
516         * linuxthreads/Versions: New file.
517         * locale/Versions: New file.
518         * login/Versions: New file.
519         * malloc/Versions: New file.
520         * math/Versions: New file.
521         * md5-crypt/Versions: New file.
522         * misc/Versions: New file.
523         * nis/Versions: New file.
524         * nss/Versions: New file.
525         * posix/Versions: New file.
526         * pwd/Versions: New file.
527         * resolv/Versions: New file.
528         * resource/Versions: New file.
529         * rt/Versions: New file.
530         * setjmp/Versions: New file.
531         * shadow/Versions: New file.
532         * signal/Versions: New file.
533         * socket/Versions: New file.
534         * stdio/Versions: New file.
535         * stdio-common/Versions: New file.
536         * stdlib/Versions: New file.
537         * streams/Versions: New file.
538         * string/Versions: New file.
539         * sunrpc/Versions: New file.
540         * sysdeps/alpha/Versions: New file.
541         * sysdeps/alpha/fpu/Versions: New file.
542         * sysdeps/i386/Versions: New file.
543         * sysdeps/sparc/Versions: New file.
544         * sysdeps/unix/sysv/Versions: New file.
545         * sysdeps/unix/sysv/linux/Versions: New file.
546         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
547         * sysdeps/unix/sysv/linux/i386/Versions: New file.
548         * sysdeps/unix/sysv/linux/mips/Versions: New file.
549         * sysvipc/Versions: New file.
550         * termios/Versions: New file.
551         * time/Versions: New file.
552         * wcsmbs/Versions: New file.
553         * wctype/Versions: New file.
554         * libc.map: Removed.
555         * db/libdb.map: Removed.
556         * elf/libdl.map: Removed.
557         * hesiod/libnss_hesiod.map: Removed.
558         * hurd/libhurduser.map: Removed.
559         * hurd/libmachuser.map: Removed.
560         * linuxthreads/libpthread.map: Removed.
561         * locale/libBrokenLocale.map: Removed.
562         * login/libutil.map: Removed.
563         * math/libm.map: Removed.
564         * md5-crypt/libcrypt.map: Removed.
565         * nis/libnsl.map: Removed.
566         * nis/libnsl_compat.map: Removed.
567         * nis/libnss_nis.map: Removed.
568         * nis/libnss_nisplus.map: Removed.
569         * nss/libnss_db.map: Removed.
570         * nss/libnss_files.map: Removed.
571         * resolv/libnss_dns.map: Removed.
572         * resolv/libresolv.map: Removed.
573         * rt/librt.map: Removed.
575         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
576         Fix typos.
578         * elf/rtld.c (process_dl_debug): Recognize 'all'.
579         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
581         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
582         correct size.
584 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
586         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
587         in comment.
589         * nscd/nscd.c: Include unistd.h.
591 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
593         * math/libm-test.c: Adjust delta for indentities1_test because gcc
594         became cleverer.
596 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
598         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
600 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
602         * scripts/test-installation.pl: Include <stdio.h> in test program
603         to make it strictly conforming.
605 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
607         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
608         not a strong alias.
609         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
610         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
612         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
614 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
616         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
617         not a strong alias.
619 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
621         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
622         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
623         bits/pthreadtypes.h.
625 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
627         * include/aio.h: New file.
628         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
629         (tests): Build and run annexc program.
630         * posix/annexc.c: New file.
631         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
632         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
633         * rt/aio_misc.c: Include limits.h.
634         * rt/aio_notify.c: Include errno.h.
635         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
636         Define size_t.
637         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
638         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
639         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
640         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
641         kernel doesn't do this.
642         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
643         __USE_LARGEFILE64 is defined.
644         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
645         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
646         if requested.
647         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
649         * stdlib/isomac.c: Avoid include_next warning.
651 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
653         * argp/argp.h: Use __PMT instead of __P for function pointer.
654         * iconv/gconv.h: Likewise.
655         * io/fts.h: Likewise.
656         * io/ftw.h: Likewise.
657         * libio/libio.h: Likewise.
658         * malloc/mcheck.h: Likewise.
659         * misc/search.h: Likewise.
660         * posix/glob.h: Likewise.
661         * resolv/resolv.h: Likewise.
662         * signal/signal.h: Likewise.
663         * stdlib/stdlib.h: Likewise.
664         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
665         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
667 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
669         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
671 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
673         * posix/wordexp.c (parse_param): Fix memory leak.
675 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
677         * libc.map: Export _IO_ftrylockfile.
679 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
681         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
682         __get[pu]id.
684 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
686         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
688         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
689         same search list twice.
691 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
693         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
694         used to optimize loop/select.
696 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
698         * sysdeps/generic/init-first.c: Don't define __libc_pid.
699         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
700         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
701         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
702         * sysdeps/arm/init-first.c: Likewise.
703         * posix/getopt_init.c: Don't use __libc_pid.
704         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
705         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
706         * libc.map: Remove __libc_uid and __libc_pid.
708 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
710         * sunrpc/rtime.c (rtime): Use poll instead of select.
712 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
714         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
715         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
716         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
717         Patches from FreeBSD current.
719 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
721         * nscd/connections.c (handle_new_request): Handle POLLHUP
722         correctly.
723         (close_sockets): Correct parameter to dbg_log.
725 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
727         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
728         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
729         (elf_machine_fixup_plt): Likewise.
730         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
731         _dl_pagesize not set, use system call to always get correct answer.
732         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
733         (__syscall_getpagesize): Add
735 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
737         * resolv/res_send.c (res_send): Fix typo.
739 1998-06-25  Andi Kleen <ak@muc.de>
741         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
742         * resolv/res_send.c (res_send): Likewise.
744 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
746         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
747         * sysdeps/unix/sysv/linux/poll.c: Likewise.
749 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
751         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
752         * math/atest-exp2.c (exp_mpn, main): Likewise.
753         * math/atest-sincos.c (main): Likewise.
755         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
756         base handling away from strtoul.  Always reset errno.
758         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
760         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
761         _dl_profile_map if _dl_name_match_p.
762         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
763         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
765         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
766         as early-clobber.
768         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
769         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
770         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
772 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
774         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
776 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
778         * nis/nis_call.c: Don't copy server structure.
779         * nis/nis_intern.h: Remove unused entries.
780         * nis/nis_table.c: Rewrite __create_ib_request.
782 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
784         * configure.in: Check for -fexceptions.
785         * config.make.in: Define exceptions, not no-exceptions.
786         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
787         __P to use throw().
788         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
789         $(exceptions).
790         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
791         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
792         lfind, and lsearch prototpypes.
793         * stdlib/stdlib.h: Likewise for bsearch and qsort.
795 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
797         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
799 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
801         * Makefile (remove-old-headers): Make phony.
803         * configure.in: Substitute @old_glibc_headers@.
805 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
807         * libc.map: Remove __libc_uid.
809 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
811         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
812         typos.
814 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
816         * libc.map: Add Alpha-specific io function from protected namespace.
818 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
820         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
821         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
822         CPPFLAGS.
824         * libc.map: Export __sigaction.
826 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
828         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
829         (from Linux 2.1.107).
831 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
833         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
834         position when file was opened here.
835         Reported by Howard Chu <hyc@platinum.com>.
837         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
838         undefined in a second inclusion.
840 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
842         * sysdeps/mach/hurd/i386/Makefile: New file.
843         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
844         __libc_init_secure.
845         (_hurd_stack_setup): Renamed
846         from __libc_init_first.
847         (__libc_init_first): New function.
848         * sysdeps/mach/hurd/i386/static-start.S: New file.
850 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
852         * sysdeps/mach/hurd/i386/init-first.c
854 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
856         * grp/initgroups.c: Use _CALL_DL_FCT.
858 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
860         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
862 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
864         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
866 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
868         * config.make.in: Remove LDAP support.
869         * nss/Makefile: Likewise.
871 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
873         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
874         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
875         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
876         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
878 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
880         * mach/Makefile: Change `mv' invocations to `mv -f'.
881         * mach/Machrules: Likewise.
883 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
885         * config.make.in (old-glibc-headers): Add it.
887         * configure.in: Add test for glibc 2.0.x headers.
889         * Makefile (headers2_0): New variable - contains so far only
890         Linux/Intel glibc 2.0.x headers.
891         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
892         (install): Depend on remove-old-headers.
894 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
896         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
897         make ftruncate a weak alias.
898         * sysdeps/mach/hurd/ftruncate.c: Really define function as
899         __ftruncate.
900         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
901         (truncate): Fix function defenition to match prototype.
903 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
905         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
906         unlockpt, ptsname, ptsname_r, openpty and forkpty.
908 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
910         * sysdeps/generic/glob.c: Make it possible to include glob.h
911         before loading glob.c.
912         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
914 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
916         * nscd/connections.c: Use poll() instead of select().
918 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
920         * sysdeps/generic/Dist: Fix typo.
922 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
924         * nis/nis_add.c: Avoid unnecessary strlen () calls.
925         * nis/nis_addmember.c: Likewise.
926         * nis/nis_call.c: Likewise.
927         * nis/nis_creategroup.c: Likewise.
928         * nis/nis_destroygroup.c: Likewise.
929         * nis/nis_findserv.c: Likewise.
930         * nis/nis_ismember.c: Likewise.
931         * nis/nis_print.c: Likewise.
932         * nis/nis_print_group_entry.c: Likewise.
933         * nis/nis_removemember.c: Likewise.
934         * nis/nis_verifygroup.c: Likewise.
935         * nis/ypclnt.c: Likewise.
937         * nis/nis_file.c: Close file handles.
939         * nis/nis_callback.c: Fix typo.
941 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
943         * nis/Makefile: Add nis-initgroups and compat-initgroups.
944         * nis/libnss_compat.map: Add _nss_compat_initgroups.
945         * nis/libnss_nis.map: Add _nss_nis_initgroups.
946         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
947         * nis/nss_nis/nis-initgroups.c: Likewise.
948         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
949         __nss_lookup_function and make it public.
950         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
951         module if exists, else use old method.
953 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
955         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
956         definition.
957         * nss/getXXent_r.c (set_function, end_function, get_function):
958         Likewise.  Reported by Thorsten Kukuk.
960         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
962 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
964         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
965         1998-06-16 and distribute kernel_termios.h.
967         * nis/Makefile (distribute): Add nis_xdr.h.
969 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
971         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
972         kernels that don't have sigaltstack.
974 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
976         * sysdeps/generic/bits/sem.h: Don't define union semun.
978         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
980         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
981         here.
982         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
983         definition here.
985 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
987         * signal/signal.h: Add prototype for __sigaltstack.
988         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
989         Remove sigstack entry.
990         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
991         * sysdeps/unix/sysv/linux/sigstack.c: New file.
993         * sysdeps/i386/backtrace.c: Add casts.
995 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
997         * intl/dcgettext.c: use complete type name.
998         * intl/hash-string.h: Likewise.
1000         * intl/localealias.c: Undo patch from 1998-04-29.
1001         * intl/l10nflist.c: Likewise.
1002         * intl/loadinfo.h: Likewise.
1004 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1006         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1008 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1010         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1011         _dl_mcount, _dl_mcount_wrapper.
1012         * elf/Makefile (routines): Add dl-profstub.
1013         * elf/dl-profstub.c: New file.
1014         * elf/dl-support.c: Don't define _dl_profile_map.
1015         * elf/rtld.c: Likewise.
1016         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1017         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1018         Define _CALL_DL_FCT.
1019         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1020         loaded object.
1021         * iconv/gconv_db.c: Likewise.
1022         * iconv/skeleton.c: Likewise.
1023         * nss/getXXbyYY_r.c: Likewise.
1024         * nss/getXXent_r.c: Likewise.
1025         * nss/nsswitch.c: Likewise.
1027 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1029         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1030         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1031         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1033 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1035         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1036         longestdbl.
1038 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1040         * iconvdata/Makefile (modules): Add MACINTOSH.
1041         (MACINTOSH-routines): New variable.
1042         (distribute): Add macintosh.c.
1043         (awk-generated-headers): Add macintosh.h.
1044         Add rule for macintosh.h generation.
1045         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1046         * iconvdata/macintosh.c: New file.
1048 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1050         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1052         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1053         only should happen for cy != 0.
1055         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1056         glob.h.
1058 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1060         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1061         to compare stack addresses.
1063 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1065         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1066         defining prototypes.
1068 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1070         * sysdeps/sparc/sparc32/dl-machine.h
1071         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1072         flushes as the kernel will emulate it when the underlying cpu does
1073         not implement flush.
1075         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1076         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1078         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1079         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1080         trampoline code.
1082         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1083         (__clone): Branch to label .Lerror not __clone_syscall_error.
1084         (.Lerror): Fixup EINVAL setting.
1085         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1086         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1087         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1088         (__syscall_getgroups, __syscall_setgroups): Add.
1090         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1091         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1092         around sa_mask data.
1094 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1096         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1098         * string/Makefile: Make sure test-ffs does not use builtins.
1100 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1102         * sunrpc/svc.c: Check for NULL pointer.
1104         * nis/libnsl.map: Add public NIS+ xdr functions.
1106         * nis/rpcsvc/nis_callback.h: New file.
1107         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1108         * nis/nis_xdr.h: ... here.
1110         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1111         pointers, use NIS+ defines where possible.
1112         * nis/nis_cache.c: Likewise.
1113         * nis/nis_cache2_xdr.c: Likewise.
1114         * nis/nis_call.c: Likewise.
1115         * nis/nis_checkpoint.c: Likewise.
1116         * nis/nis_clone_dir.c: Likewise.
1117         * nis/nis_clone_obj.c: Likewise.
1118         * nis/nis_clone_res.c: Likewise.
1119         * nis/nis_creategroup.c: Likewise.
1120         * nis/nis_file.c: Likewise.
1121         * nis/nis_free.c: Likewise.
1122         * nis/nis_getservlist.c: Likewise.
1123         * nis/nis_local_names.c: likewise.
1124         * nis/nis_lookup.c: Likewise.
1125         * nis/nis_mkdir.c: Likewise.
1126         * nis/nis_modify.c: Likewise.
1127         * nis/nis_ping.c: Likewise.
1128         * nis/nis_print.c: Likewise.
1129         * nis/nis_remove.c: Likewise.
1130         * nis/nis_removemember.c: Likewise.
1131         * nis/nis_rmdir.c: Likewise.
1132         * nis/nis_server.c: Likewise.
1133         * nis/nis_table.c: Likewise.
1134         * nis/nis_util.c: Likewise.
1135         * nis/nis_verifygroup.c: Likewise.
1136         * nis/nis_xdr.c: Likewise.
1137         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1138         * nis/nis_xdr.c: ... to here.
1140 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1142         * iconvdata/ksc5601.h: Clean up a bit.
1144 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1146         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1147         and process incoming data.
1148         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1149         fragments as invalid.
1150         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1152 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1154         Removal of duplicates like "the the".
1155         * manual/time.texi (TZ Variable): Likewise.
1156         * manual/users.texi (Manipulating the Database): Likewise.
1157         * manual/sysinfo.texi (Filesystem handling): Likewise.
1158         * manual/signal.texi (Signaling Yourself): Likewise.
1159         * manual/message.texi (Message Translation): Likewise.
1160         (Common Usage): Likewise.
1161         * manual/llio.texi: Likewise.
1162         * manual/arith.texi (Old-style number conversion): Likewise.
1163         * manual/argp.texi (Argp): Likewise.
1164         (Argp Parsers): Likewise.
1165         (Argp Help Filtering): Likewise.
1167         * hesiod/README.hesiod: Correct typo.
1169         * manual/llio.texi: Correct typos.
1170         * manual/sysinfo.texi: Likewise.
1172 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1174         * rt/aio.h: Rename __op to __operation for g++.
1176 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1178         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1179         script.
1180         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1181         * iconvdata/gen-8bit.sh: Clean up sed script.
1183         * iconvdata/Makefile: Remove all PERL conditionals; build all
1184         the modules all the time.  Export AWK.
1185         (gen-8bit-gap): Delete setting of PERL.
1186         (gen-8bit-gap-1): Likewise.
1187         (perl-generated-headers): Renamed awk-generated-headers.
1189         * iconvdata/gap.pl: Removed.
1190         * iconvdata/gaptab.pl: Removed.
1191         * iconvdata/gap.awk: New file.
1192         * iconvdata/gaptab.awk: New file.
1194 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1196         * sysdeps/generic/Dist: Add errno-loc.c.
1198         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1199         __new_* functions.
1201 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1203         * stdio-common/bug12.c: New test for fread()/fseek().
1204         * stdio-common/Makefile (tests): Add bug12.
1206 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1208         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1209         constant.
1210         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1211         * debug/execinfo.h: Update declaration.
1213 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1215         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1216         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1217         * debug/execinfo.h: Update declaration.
1219 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1221         * manual/llio.texi: Fix spelling.
1222         * manual/sysinfo.texi: Fix spelling.
1224 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1226         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1227         alias for old name.  Put this on __libc_subfreeres.
1228         * misc/search.h: Declare it.
1230 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1232         * string/bits/string2.h (strcmp): Add missing parens around macro
1233         parameters.
1235 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1237         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1239         * manual/filesys.texi: Document LFS functions.
1240         * manual/llio.texi: Likewise.
1241         * manual/stdio.texi: Likewise.
1242         * manual/time.texi: Likewise.
1244         * manual/llio.texi: Document AIO functions.
1246         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1247         * sysdeps/generic/setrlimit.c: Likewise.
1248         * sysdeps/generic/setrlimit64.c: Likewise.
1249         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1250         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1252 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1254         * sysdeps/generic/getenv.c: Fix last change.
1256 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1258         * sysdeps/generic/backtrace.c: Provide generic implementation.
1260 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1262         * configure.in: Give visual feedback of the default directories we
1263         added.
1265 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1267         * io/fts.c (fts_build): Define oflag only if needed.
1269 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1271         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1273 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1275         * libc.map: Don't export argp's fmtstream handling functions.
1277         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1278         * manual/llio.texi: Document more LFS functions and start documenting
1279         the AIO functions.
1281 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1283         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1284         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1285         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1286         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1288 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1290         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1291         makes it easier to undump emacs.
1292         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1293         for when the endianness can't be determined.
1295 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1297         * nss/Makefile: Add files publickey database support.
1298         * nss/libnss_files.map: Export the required functions.
1299         * nss/nss_files/files-key.c: Implement it.
1300         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1302 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1304         * iconv/gconv_builtin.h: Add aliases for CORBA.
1305         * iconvdata/gconv-modules: Likewise.
1307 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1309         * math/libm-test.c (main): Call exp10_test.
1310         (exp10_test): New function which tests exp10.
1312 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1314         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1315         sigstack.
1317         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1318         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1319         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1321 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1323         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1324         in the variable, not its GOT slot.
1326 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1328         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1329         inline.
1330         * sysdeps/m68k/fpu/e_exp10.c: New file.
1331         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1332         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1334         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1335         _dl_profile_map only if the name matches.
1336         (_dl_start_user): Remember stack address.
1337         * sysdeps/m68k/elf/start.S: Pass new argument to
1338         __libc_start_user.
1340         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1341         definition.
1342         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1343         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1344         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1345         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1346         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1348 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1350         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1351         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1352         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1353         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1354         prototypes.
1355         * sysdeps/libm-i387/e_exp10.S: New file.
1356         * sysdeps/libm-i387/e_exp10f.S: New file.
1357         * sysdeps/libm-i387/e_exp10l.S: New file.
1358         * sysdeps/libm-ieee754/e_exp10.c: New file.
1359         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1360         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1361         * sysdeps/libm-ieee754/w_exp10.c: New file.
1362         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1363         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1364         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1366 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1368         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1369         sys/elf.h and sys/reg.h.
1370         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1371         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1372         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1373         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1375         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1376         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1378 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1380         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1381         __data member only for gcc.  Reported by ak@muc.de.
1383         * misc/mntent.h: Undo last patch.
1384         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1385         * misc/tst/mntent.c: Adjust code for this change.
1387         * io/fts.c: Updated from a slightly more recent BSD version.
1388         * io/fts.h: Likewise.
1390         * libc.map: Add __libc_stack_end.
1392         * db2/Makefile (routines): Add lock_region.
1393         * db2/config.h: Update from db-2.4.14.
1394         * db2/db.h: Likewise.
1395         * db2/db_185.h: Likewise.
1396         * db2/db_int.h: Likewise.
1397         * db2/btree/bt_close.c: Likewise.
1398         * db2/btree/bt_compare.c: Likewise.
1399         * db2/btree/bt_conv.c: Likewise.
1400         * db2/btree/bt_cursor.c: Likewise.
1401         * db2/btree/bt_delete.c: Likewise.
1402         * db2/btree/bt_open.c: Likewise.
1403         * db2/btree/bt_page.c: Likewise.
1404         * db2/btree/bt_put.c: Likewise.
1405         * db2/btree/bt_rec.c: Likewise.
1406         * db2/btree/bt_recno.c: Likewise.
1407         * db2/btree/bt_rsearch.c: Likewise.
1408         * db2/btree/bt_search.c: Likewise.
1409         * db2/btree/bt_split.c: Likewise.
1410         * db2/btree/bt_stat.c: Likewise.
1411         * db2/btree/btree.src: Likewise.
1412         * db2/btree/btree_auto.c: Likewise.
1413         * db2/clib/getlong.c: Likewise.
1414         * db2/common/db_appinit.c: Likewise.
1415         * db2/common/db_apprec.c: Likewise.
1416         * db2/common/db_byteorder.c: Likewise.
1417         * db2/common/db_err.c: Likewise.
1418         * db2/common/db_log2.c: Likewise.
1419         * db2/common/db_region.c: Likewise.
1420         * db2/common/db_salloc.c: Likewise.
1421         * db2/common/db_shash.c: Likewise.
1422         * db2/db/db.c: Likewise.
1423         * db2/db/db.src: Likewise.
1424         * db2/db/db_auto.c: Likewise.
1425         * db2/db/db_conv.c: Likewise.
1426         * db2/db/db_dispatch.c: Likewise.
1427         * db2/db/db_dup.c: Likewise.
1428         * db2/db/db_overflow.c: Likewise.
1429         * db2/db/db_pr.c: Likewise.
1430         * db2/db/db_rec.c: Likewise.
1431         * db2/db/db_ret.c: Likewise.
1432         * db2/db/db_thread.c: Likewise.
1433         * db2/db185/db185.c: Likewise.
1434         * db2/db185/db185_int.h: Likewise.
1435         * db2/dbm/dbm.c: Likewise.
1436         * db2/hash/hash.c: Likewise.
1437         * db2/hash/hash.src: Likewise.
1438         * db2/hash/hash_auto.c: Likewise.
1439         * db2/hash/hash_conv.c: Likewise.
1440         * db2/hash/hash_debug.c: Likewise.
1441         * db2/hash/hash_dup.c: Likewise.
1442         * db2/hash/hash_func.c: Likewise.
1443         * db2/hash/hash_page.c: Likewise.
1444         * db2/hash/hash_rec.c: Likewise.
1445         * db2/hash/hash_stat.c: Likewise.
1446         * db2/include/btree.h: Likewise.
1447         * db2/include/btree_ext.h: Likewise.
1448         * db2/include/clib_ext.h: Likewise.
1449         * db2/include/common_ext.h: Likewise.
1450         * db2/include/cxx_int.h: Likewise.
1451         * db2/include/db.h.src: Likewise.
1452         * db2/include/db_185.h.src: Likewise.
1453         * db2/include/db_am.h: Likewise.
1454         * db2/include/db_auto.h: Likewise.
1455         * db2/include/db_cxx.h: Likewise.
1456         * db2/include/db_dispatch.h: Likewise.
1457         * db2/include/db_ext.h: Likewise.
1458         * db2/include/db_int.h.src: Likewise.
1459         * db2/include/db_page.h: Likewise.
1460         * db2/include/db_shash.h: Likewise.
1461         * db2/include/db_swap.h: Likewise.
1462         * db2/include/hash.h: Likewise.
1463         * db2/include/hash_ext.h: Likewise.
1464         * db2/include/lock.h: Likewise.
1465         * db2/include/lock_ext.h: Likewise.
1466         * db2/include/log.h: Likewise.
1467         * db2/include/log_ext.h: Likewise.
1468         * db2/include/mp.h: Likewise.
1469         * db2/include/mp_ext.h: Likewise.
1470         * db2/include/mutex_ext.h: Likewise.
1471         * db2/include/os_ext.h: Likewise.
1472         * db2/include/os_func.h: Likewise.
1473         * db2/include/queue.h: Likewise.
1474         * db2/include/shqueue.h: Likewise.
1475         * db2/include/txn.h: Likewise.
1476         * db2/lock/lock.c: Likewise.
1477         * db2/lock/lock_conflict.c: Likewise.
1478         * db2/lock/lock_deadlock.c: Likewise.
1479         * db2/lock/lock_region.c: Likewise.
1480         * db2/lock/lock_util.c: Likewise.
1481         * db2/log/log.c: Likewise.
1482         * db2/log/log.src: Likewise.
1483         * db2/log/log_archive.c: Likewise.
1484         * db2/log/log_auto.c: Likewise.
1485         * db2/log/log_compare.c: Likewise.
1486         * db2/log/log_findckp.c: Likewise.
1487         * db2/log/log_get.c: Likewise.
1488         * db2/log/log_put.c: Likewise.
1489         * db2/log/log_rec.c: Likewise.
1490         * db2/log/log_register.c: Likewise.
1491         * db2/mp/mp_bh.c: Likewise.
1492         * db2/mp/mp_fget.c: Likewise.
1493         * db2/mp/mp_fopen.c: Likewise.
1494         * db2/mp/mp_fput.c: Likewise.
1495         * db2/mp/mp_fset.c: Likewise.
1496         * db2/mp/mp_open.c: Likewise.
1497         * db2/mp/mp_pr.c: Likewise.
1498         * db2/mp/mp_region.c: Likewise.
1499         * db2/mp/mp_sync.c: Likewise.
1500         * db2/mutex/68020.gcc: Likewise.
1501         * db2/mutex/mutex.c: Likewise.
1502         * db2/mutex/parisc.gcc: Likewise.
1503         * db2/mutex/parisc.hp: Likewise.
1504         * db2/mutex/sco.cc: Likewise.
1505         * db2/os/os_abs.c: Likewise.
1506         * db2/os/os_alloc.c: Likewise.
1507         * db2/os/os_config.c: Likewise.
1508         * db2/os/os_dir.c: Likewise.
1509         * db2/os/os_fid.c: Likewise.
1510         * db2/os/os_fsync.c: Likewise.
1511         * db2/os/os_map.c: Likewise.
1512         * db2/os/os_oflags.c: Likewise.
1513         * db2/os/os_open.c: Likewise.
1514         * db2/os/os_rpath.c: Likewise.
1515         * db2/os/os_rw.c: Likewise.
1516         * db2/os/os_seek.c: Likewise.
1517         * db2/os/os_sleep.c: Likewise.
1518         * db2/os/os_spin.c: Likewise.
1519         * db2/os/os_stat.c: Likewise.
1520         * db2/os/os_unlink.c: Likewise.
1521         * db2/progs/db_archive/db_archive.c: Likewise.
1522         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1523         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1524         * db2/progs/db_dump/db_dump.c: Likewise.
1525         * db2/progs/db_dump185/db_dump185.c: Likewise.
1526         * db2/progs/db_load/db_load.c: Likewise.
1527         * db2/progs/db_printlog/db_printlog.c: Likewise.
1528         * db2/progs/db_recover/db_recover.c: Likewise.
1529         * db2/progs/db_stat/db_stat.c: Likewise.
1530         * db2/txn/txn.c: Likewise.
1531         * db2/txn/txn.src: Likewise.
1532         * db2/txn/txn_auto.c: Likewise.
1533         * db2/txn/txn_rec.c: Likewise.
1535         * elf/rtld.c: Move definition of __libc_stack_end to ...
1536         * sysdeps/generic/dl-sysdep.h: ...here.
1538         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1539         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1540         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1542         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1543         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1544         before following it.
1546 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1548         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1549         from mntent correctly.
1551 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1553         * sunrpc/Makefile (generated): Correct typo.
1555 1998-06-04  Philip Blundell  <philb@gnu.org>
1557         * elf/elf.h (EM_ARM, et al.): New definitions.
1558         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1560 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1562         * localedata/SUPPORTED: Add sk_SK.
1563         * localedata/locales/sk_SK: New file.
1565 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1567         * Makeconfig (subdirs): Add debug.
1568         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1569         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1570         backtrace_symbols.
1571         * sysdeps/generic/backtrace.c: New file.
1572         * sysdeps/generic/backtracesyms.c: New file.
1573         * sysdeps/generic/elf/backtracesyms.c: New file.
1574         * sysdeps/i386/backtrace.c: New file.
1575         * debug/Makefile: New file.
1576         * debug/backtrace-tst.c: New file.
1577         * debug/execinfo.h: New file.
1579 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1581         * elf/sprof.c: Implement call graph profiling.
1583         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1585 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1587         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1588         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1589         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1590         Noticed by Jake Garver <garver@valkyrie.net>.
1592 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1594         * libio/genops.c (__underflow): Read character from read pointer
1595         as unsigned.
1596         (__uflow): Likewise.
1598 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1600         * libc.map: Add _dl_profile.
1601         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1602         this to ELF_DYNAMIC_RELOCATE.
1603         Always allocate array for relocation result if LD_PROFILE is defined.
1604         * elf/ldsodefs.h: Adjust prototypes.
1605         * elf/dl-open.c (_dl_open): Call relocation function with extra
1606         argument.
1607         * elf/rtld.c: Likewise.
1608         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1609         Correct loop condition.
1610         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1611         consider_profile to runtime setup function.
1612         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1613         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1615         * elf/dl-support.c: Define __libc_stack_end.
1616         * elf/rtld.c: Likewise.
1617         * sysdeps/generic/libc-start.c: Store last stack address in
1618         __libc_stack_end.
1619         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1620         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1622         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1623         Include <stdint.h>, not <inttypes.h>.
1625         * elf/sprof.c: Implement flat profiling.
1627         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
1628         _IO_funlockfile explicitly.
1629         * libio/fileops.c: Likewise.
1630         * libio/fputc.c: Likewise.
1631         * libio/freopen.c: Likewise.
1632         * libio/freopen64.c: Likewise.
1633         * libio/fseek.c: Likewise.
1634         * libio/fseeko.c: Likewise.
1635         * libio/fseeko64.c: Likewise.
1636         * libio/ftello.c: Likewise.
1637         * libio/ftello64.c: Likewise.
1638         * libio/getc.c: Likewise.
1639         * libio/getchar.c: Likewise.
1640         * libio/iofclose.c: Likewise.
1641         * libio/iofflush.c: Likewise.
1642         * libio/iofgetpos.c: Likewise.
1643         * libio/iofgetpos64.c: Likewise.
1644         * libio/iofgets.c: Likewise.
1645         * libio/iofputs.c: Likewise.
1646         * libio/iofread.c: Likewise.
1647         * libio/iofsetpos.c: Likewise.
1648         * libio/iofsetpos64.c: Likewise.
1649         * libio/ioftell.c: Likewise.
1650         * libio/iofwrite.c: Likewise.
1651         * libio/iogetdelim.c: Likewise.
1652         * libio/iogets.c: Likewise.
1653         * libio/ioputs.c: Likewise.
1654         * libio/ioseekoff.c: Likewise.
1655         * libio/ioseekpos.c: Likewise.
1656         * libio/iosetbuffer.c: Likewise.
1657         * libio/iosetvbuf.c: Likewise.
1658         * libio/ioungetc.c: Likewise.
1659         * libio/iovsprintf.c: Likewise.
1660         * libio/iovsscanf.c: Likewise.
1661         * libio/oldfileops.c: Likewise.
1662         * libio/oldiofclose.c: Likewise.
1663         * libio/peekc.c: Likewise.
1664         * libio/putc.c: Likewise.
1665         * libio/putchar.c: Likewise.
1666         * libio/rewind.c: Likewise.
1668         * malloc/mtrace.c: Pretty print.
1670         * misc/mntent.h (struct mentent): Make string elements const char *.
1672         * nis/nis_printf.c: Optimize I/O a little bit.
1674         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
1675         * sysdeps/generic/sigset-cvt-mask.h: New file.
1676         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
1677         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
1678         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
1679         sigset-cvt-mask.h to do the dirty work.
1680         Patches by Joe Keane.
1682         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
1684         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
1685         syscall_error label in case of PIC anonymous.
1686         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
1687         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
1688         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
1689         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
1690         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
1691         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
1692         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
1694 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
1696         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
1697         we cannot declare the struct element as const.
1698         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
1699         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
1701 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1703         * manual/Makefile: Include ../Makeconfig earlier.
1704         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
1705         exist.
1706         (dir-add.texinfo): Remove useless $(SHELL).
1708 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1710         * Makefile (others): Build programs from install-bin.
1711         * configure.in: Modify config.make only if is was just created and
1712         move that command to second argument of AC_OUTPUT.  Add command to
1713         set config_vars in config.status.
1715 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1717         * malloc/Makefile (address-width): Fix conditional.
1719 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1721         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
1722         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
1723         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
1724         version GLIBC_2.1.
1726 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1728         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
1729         (Floating Point Parameters): Likewise.
1731 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1733         * hurd/Makefile (routines): Add cthreads.
1735 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1737         * login/login.c (login): Let pututline take care of finding the
1738         positin to insert the UTMP entry.  This corrects a bug where ssh
1739         was not reusing UTMP entries marked as DEAD_PROCESS.
1740         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1742 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1744         * login/Makefile (tests): New variable, add tst-utmp and
1745         tst-utmpx.
1746         * login/tst-utmp.c: New file.
1747         * login/tst-utmpx.c: New file.
1749 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1751         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1752         aliases for _hurd_nerr, for programs that don't use sys_errlist,
1753         but need sys_err.
1755 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1757         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1758         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1760 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1762         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1763         make __read a weak alias.  Use ANSI-style function definition.
1764         * sysdeps/mach/hurd/write.c: Likewise.
1766 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1768         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1769         _sys_errlist.
1771 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1773         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1774         Renamed from librtld.so.
1776 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1778         * libc.map: Remove _IO_getline_info which was erroneously
1779         introduced in section GLIBC_2.0.
1780         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1782 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1784         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1785         created a weak alias.
1786         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1788 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
1790         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1791         ftruncate function, and create a weak alias to ftruncate.
1793 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1795         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1796         * inet/getnetgrent_r.c: Likewise.
1797         * nss/getXXbyYY_r.c: Likewise.
1798         * nss/getXXent_r.c: Likewise.
1799         * pwd/fgetpwent_r.c: Likewise.
1800         * shadow/sgetspent_r.c: Likewise.
1801         * shadow/fgetspent_r.c: Likewise.
1802         * sunrpc/publickey.c: Likewise.
1804 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1806         * hurd/libhurduser.map: New file.
1807         * mach/libmachuser.map: Likewise.
1809         * libc.map: Add Hurd-specific functions to version 2.1.
1810         Add __flshfp and __fillbf.
1812 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1814         * manual/signal.texi (Basic Signal Handling): Fix typo.
1815         * manual/errno.texi (Error Codes): Likewise.
1817 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
1819         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1820         instead of <sys/socket.h>.
1821         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1823         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1824         Finally make it working.
1825         Patch by Mark Hatle <fray@kernel.crashing.org>.
1827 1998-03-22  Paul Eggert  <eggert@twinsun.com>
1829         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1830         a Solaris 2.6 bug.
1832 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
1834         * stdlib/gmp-impl.h: Support strange mixed-endian double format
1835         used by ARM systems.
1836         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1837         FE_EXCEPT_SHIFT.
1838         * sysdeps/arm/bits/fenv.h: Deleted.
1839         * sysdeps/arm/fpu/ieee754.h: New file.
1840         * sysdeps/arm/gmp-mparam.h: New file.
1841         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1842         implementation.
1844 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
1846         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1848         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1849         of ((unused)).  Reported by Bruno Haible.
1851 1998-05-31  Philip Blundell  <philb@gnu.org>
1853         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1854         referring to errno and _errno.
1856         * sysdeps/arm/fpu/feholdexcpt.c: New file.
1858         * sysdeps/i386/fpu_control.h: Fix typo.
1860         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1861         (_JMPBUF_UNWINDS): Added.
1862         * sysdeps/arm/fpu/bits/setjmp.h: New file.
1864 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
1866         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1867         order to build header files, not `generated'.
1869         * Rules (before-compile): New target which depends on all
1870         $(before-compile) files.
1872 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1874         * nis/nis_call.c: Make directory search faster.
1876         * nis/nis_callback.c: Insert public key of user in callback data.
1878         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
1880         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
1882         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
1884         * nis/nis_intern.h: Remove duplicated prototype.
1886 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1888         * sunrpc/auth_des.c: Move prototypes from here ...
1889         * sunrpc/rpc/auth.h: ... to here.
1891         * sunrpc/clnt_tcp.c: Add more control flags.
1892         * sunrpc/clnt_udp.c: Likewise.
1894         * sunrpc/netname.c (host2netname): Remove prefixing dot from
1895         domainname.
1897         * sunrpc/rpc/clnt.h: Document, which control flags are not
1898         implementable.
1900         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
1902 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
1904         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
1905         files crash the program.
1907         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
1908         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
1909         Reported by Deborah Wallach <kerr@pa.dec.com>.
1911 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1913         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
1914         on whether this is a stable release or not (keeps snapshot bug
1915         reports out of the database).
1917         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
1918         * sysdeps/arm/sysdep.h: Likewise.
1919         * sysdeps/i386/sysdep.h: Likewise.
1920         * sysdeps/m68k/sysdep.h: Likewise.
1921         * sysdeps/mach/mips/sysdep.h: Likewise.
1922         * sysdeps/mach/sys/reboot.h: Likewise.
1923         * sysdeps/mach/sysdep.h: Likewise.
1924         * sysdeps/unix/alpha/sysdep.h: Likewise.
1925         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
1926         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
1927         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
1928         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
1929         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
1930         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
1931         * sysdeps/unix/i386/sysdep.h: Likewise.
1932         * sysdeps/unix/mips/sysdep.h: Likewise.
1933         * sysdeps/unix/sparc/sysdep.h: Likewise.
1934         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
1935         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1936         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1937         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1938         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
1939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1941         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
1943 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1945         * mach/Machrules: Use $(move-if-change).
1947 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1949         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
1950         * Makerules (lib%.so): Depend on $(+interp).
1951         (libc.so): Add interp.os to list of dependencies.
1952         (interp-obj): Remove variable.
1953         * mach/Machrules (+interp): Define to empty since libhurduser and
1954         libmachuser don't need to have the interpreter set.
1956 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1958         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
1960         * resolv/gethnamaddr.c: Likewise.
1962         * resolv/res_comp.c: Likewise.
1964 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
1966         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
1967         so that transparent union works.
1969 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
1971         * manual/texinfo.tex: Update to last available version.
1973         * timezone/africa: Update from tzdata1998e.
1974         * timezone/antarctica: Likewise.
1975         * timezone/asia: Likewise.
1976         * timezone/australasia: Likewise.
1977         * timezone/europe: Likewise.
1978         * timezone/iso3166.tab: Likewise.
1979         * timezone/northamerica: Likewise.
1980         * timezone/tzselect.ksh: Likewise.
1981         * timezone/zone.tab: Likewise.
1983 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
1985         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
1986         Reported by Matt McLean <keys@brio.yikes.com>.
1988 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1990         * catgets/Makefile ($(objpfx)de.cat): Renamed from
1991         do-gencat-test.  Use automatic variables.
1992         ($(objpfx)de.msg): Fix reference to po file.
1994 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1996         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
1997         $(move-if-change).
1999 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2001         * intl/dcgettext.c: Fix typo.
2003 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2005         * configure.in: Allow more make versions e.g 3.76.90.
2007 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2009         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2011         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2012         for Hurd.  Patch by Mark Kettenis.
2014 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2016          * mach/Machrules (+preinit, +postinit): Define these variables to
2017          empty because libhurduser and libmachuser don't need startup
2018          files.
2020 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2022          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2023          instead of a raw bitmask.
2025 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2027         * Makeconfig (rpath-dirs): New variable.
2028         (rpath-link): Use it.
2029         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2030         (db-objpfx): Removed.
2031         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2032         * md5-crypt/Makefile: Likewise.
2033         * sysdeps/mach/hurd/Makefile: Likewise.
2035         * Makeconfig (move-if-change): New variable.
2036         * iconvdata/Makefile (move-if-change): Removed.
2037         * manual/Makefile (move-if-change): Set only if undefined, use
2038         local script by default.
2039         * sunrpc/Makefile (move-if-change): Removed.
2040         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2041         $(move-if-change).
2043          * elf/Makefile: Remove all references to obsolete file
2044          $(objpfx)rtldtbl.h.
2045          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2047 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2049         * elf/dl-close.c (_dl_close): Add debugging message.
2051 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2053         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2054         to get Linux version and not gcc version.
2055         Reported by Alan Curry <pacman@cqc.com>.
2057 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2059         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2060         pointers - return unknown error message instead.
2061         Reported by Alan Curry <pacman@cqc.com>.
2063 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2065         * iconvdata/Makefile (modules, sed-generated-headers,
2066         perl-generated-headers): ibm424.h is perl generated.  Make
2067         necessary modifications to compile without perl.
2069 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2071         * hesiod/hesiod.c (read_config_file): Fix typo.
2073 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2075         * version.h: Bump VERSION.
2077         * csu/Makefile (distribute): Add munch-tmpl.c.
2079 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2081         * nis/nis_defaults.c: Fix buffer problems and typos.
2083 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2085         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2086         Patch by Fred Fish.
2088 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2090         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2091         overwriting bugs.
2093         * libio/strops.c (_IO_str_underflow): Read newly available
2094         character from buffer as unsigned.
2096 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2098         * catgets/Makefile (distribute): Add xopen-msg.h.
2099         (generated): Add de.msg and de.cat.
2100         (tests): Add do-gencat-test.
2101         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2102         * catgets/xopen-msg.h: New file.
2104 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2106         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2107         functions.  Optimize filename creation a bit.
2109 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2111         * stdlib/random_r.c: Help gcc to optimize the code.
2112         Patch by Joe Keane <jgk@jgk.org>.
2114 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2116         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2117         tsearch calls.
2119 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2121         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2122         it.
2124 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2126         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2127         * wcsmbs/wcsrtombs.c: Likewise.
2129         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2130         * wcsmbs/wcsmbs-tst1.c: New file.
2132         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2134         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2135         as 1.
2137         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2138         weak.
2140 1998-05-21  Philip Blundell  <philb@gnu.org>
2142         * sysdeps/arm/fpu_control.h: Replace stub file with real
2143         implementation.
2144         * sysdeps/arm/fpu/bits/fenv.h: New file.
2145         * sysdeps/arm/fpu/fesetround.c: Likewise.
2146         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2147         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2148         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2149         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2150         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2151         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2153 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2155         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2156         read instead of mmap.
2158 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2160         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2161         directly instead of include_next.  Add missing semicolons.
2162         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2163         Add missing semicolons.
2165 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2167         * iconvdata/gconv-modules: Add more aliases to please java
2168         environments.
2170 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2172         * stdio-common/vfprintf.c (process_arg): Fix typo.
2174         * iconvdata/TESTS: New tests for EUC-KR.
2176         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2177         * iconvdata/testdata/EUC-KR: New file.
2179 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2181         * math/libm-test.c (hypot_test): Fix a typo.
2183 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2185         * stdio-common/vfprintf.c: When precision is specified for %ls or
2186         %S handle it correctly.
2188 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2190         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2191         the" in one line - fixed it.
2192         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2193         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2194         * posix/unistd.h: Likewise
2196 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2198         * Makeconfig (rpath-link): Add resolvobjdir.
2199         (resolvobjdir): New variable.
2200         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2202 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2204         * elf/dl-close.c: Call shared object terminators at the right time.
2205         Patch by Philippe Troin <phil@fifi.org>.
2207 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2209         * Make-dist (+tsrcs): Also add *.map for every member of
2210         $(extra-libs).
2212         * Makefile (distribute): Don't distribute scripts/printsources and
2213         scripts/=__ify.  Distribute FAQ.in.
2214         (rpm/%): Don't pass subdirs to sub-make.
2216         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2217         instead of $(no_deps).
2219 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2221         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2222         (KNOWN_VALUE, STORE_VALUE): Do it right.
2223         (setenv): Remove unused variable.
2225 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2227         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2228         (CFLAGS-zdump.c): Add $(tz-cflags).
2230         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2231         return type.
2233 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2235         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2236         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2237         if use_localtime.
2238         * time/tzset.c: Update prototype of __tzfile_compute.
2239         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2240         tm_zone and tm_offset here if __use_tzfile.
2242 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2244         * Makerules: Install libc.a even if there are no object file.
2246 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2248         * Makerules (do-makelib): Don't force creating library from
2249         scratch, which is faster and gets correct behaviour if $(subdirs)
2250         is incomplete.
2252 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2254         * Makerules (do-stamp): Make it work when building in source
2255         directory.
2257 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2259         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2260         inhibit-rpath.
2261         * elf/dl-support.c: Likewise.
2262         * elf/ldsodefs.h: Likewise.
2263         * elf/rtld.c: Likewise.
2264         * iconvdata/run-iconv-test.sh: Likewise.
2266 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2268         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2269         variable using the value.
2270         * elf/ldsodefs.h: Declare _dl_ignore_path.
2271         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2272         object against list in _dl_ignore_path and ignore RPATH if on the list.
2273         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2274         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2275         to make sure we get the correct helper libraries loaded.
2277         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2278         "RPATH" string in call to fillin_rpath instead.
2279         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2281 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2283         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2284         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2286 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2288         * manual/terminal.texi (I/O Queues): Fix typo.
2290         * manual/stdio.texi (Closing Streams): Fix grammar.
2292         * manual/arith.texi (Absolute Value): Correct typo.
2293         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2295 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2297         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2298         LD_PROFILE_OUTPUT in SUID binaries.
2299         * intl/dcgettext.c: In SUID binaries don't let language part of
2300         locale value contain path elements.
2301         * intl/explodename.h: Define new function _nl_find_language.
2302         * intl/loadinfo.h: Declare _nl_find_language.
2303         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2304         language part it drop the value is path element is contained.
2306         * locale/setlocale.c: Fix typo.
2308 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2310         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2312         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2314         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2315         log, not a byte-count.
2317         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2318         a.out compatibility.
2320 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2322         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2323         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2324         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2325         * posix/unistd.h: Likewise.
2326         * math/math.h: Likewise.
2327         * manual/users.texi (Manipulating the Database): Likewise.
2328         * manual/signal.texi (Job Control Signals): Likewise.
2329         * manual/message.texi (The gencat program): Likewise.
2330         * manual/filesys.texi (Hard Links): Likewise.
2331         * manual/math.texi (SVID Random): Likewise.
2332         * manual/llio.texi (Waiting for I/O): Likewise.
2333         * manual/io.texi (File Name Errors): Likewise.
2334         * manual/conf.texi (String Parameters): Likewise.
2335         * manual/arith.texi (Infinity): Likewise.
2336         * malloc/malloc.c: Likewise.
2337         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2338         * csu/Makefile: Likewise.
2340 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2342         * manual/memory.texi: Add back accidently removed line.
2344 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2346         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2347         (timeout_handler): New function.
2348         (LOCK_FILE, UNLOCK_FILE): New macros.
2349         Implement file locking with timeout.
2350         (getutent_r_file, internal_getut_r, getutline_r_file,
2351         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2352         locking.
2354 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2356         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2357         directory.
2359 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2361         * rpm/Makefile: Delete inclusion of version.mk.
2363 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2365         * libc.map: Add all libio functions needed libstdc++ with version
2366         2.0, sort entries.
2368 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2370         * iconvdata/Makefile (generated): Add *.stmp files.
2372 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2374         * timezone/Makefile (testdata, build-testdata): New variables, use
2375         them in rules for test data.
2376         ($(objpfx)tst-timezone.out): Depend on test data.
2377         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2378         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2379         New rules to build test data.
2380         (tst-timezone-ENV): Pass TZDIR to point to test data.
2382 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2384         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2385         (the designation sequence is disturbing).
2387 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2389         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2390         * sunrpc/xdr_rec.c: Likewise.
2392 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2394         * posix/Makefile (tests): Add runptests.
2395         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2396         (before-compile): Add ptestcases.h.
2397         (ptestscases.h): Add rule to generate from PTESTS.
2398         * posix/runptests.c: New file.
2399         * posix/PTESTS: New file.
2400         * posix/PTESTS2C.sed: New file.
2402 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2404         * iconv/loop.c: Let user add code to use and set paramaters.
2406         * iconvdata/iso-2022-kr.c: Correct to-loop.
2408         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2409         point to output buffer.
2411         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2412         hanja.
2414         * iconvdata/TESTS: Add ISO-2022-KR test.
2415         * iconvdata/testdata/ISO-2022-KR: New file.
2417 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2419         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2420         and internal_use.
2421         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2422         and internal_use.
2423         * wcsmbs/btowc.c: Likewise.
2424         * wcsmbs/mbrtowcs.c: Likewise.
2425         * wcsmbs/mbsnrtowcs.c: Likewise.
2426         * wcsmbs/mbsrtowcs.c: Likewise.
2427         * wcsmbs/wcrtomb.c: Likewise.
2428         * wcsmbs/wcsnrtombs.c: Likewise.
2429         * wcsmbs/wcsrtombs.c: Likewise.
2430         * wcsmbs/wctob.c: Likewise.
2431         * iconv/skeleton.c: Increment invocation_counter.
2432         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2433         sequence first.
2435         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2436         * iconvdata/iso-2022-jp.c: Likewise.
2437         * iconvdata/iso646.c: Likewise.
2439         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2441 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2443         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2445         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2446         overwriting existing values if it fits.
2448 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2450         * posix/wordexp-test.c: Avoid duplicate messages.
2452         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2453         tsearch.  Correctly interpret values returned by those functions.
2454         (unsetenv): Store pointer to string, not pointer to string pointer.
2456         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2457         DST information and offset in them.
2458         * time/tzset.c (__tz_convert): Pass extra parameters to
2459         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2461 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2463         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2464         stamp files to avoid unnecessary recompilation.
2465         (gen-8bit-gap-table): Likewise.
2466         (move-if-change): New variable.
2467         (all generated .h rules): Change to be .stmp rules.
2468         (%.h): New rule; depend on %.stmp; no commands.
2469         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2470         gen-8bit-gap-1.sh.
2472 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2474         * Makerules (libc-map): Deleted.
2475         (load-map-file): Set to the appropriate compiler switch, not
2476         just the file name.  If libfoo-map is not set, look for a
2477         libfoo.map in the current directory and $(..).
2478         (map-file): New variable, contains just the mapfile name.
2479         (build-shlib): Adjust for new value of load-map-file.
2480         (libc.so): Correct dependencies.
2482         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2483         may not be set anymore.
2485         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2486         Delete libdl-map.  Tweak ld.so link rule to work with changed
2487         variable settings in Makerules.
2488         * iconvdata/Makefile: Tweak build-module to work with changed
2489         variable settings in Makerules.
2491         * db/Makefile: Delete libdb-map.
2492         * hesiod/Makefile: Delete libnss_hesiod-map.
2493         * linuxthreads/Makefile: Delete libpthread-map.
2494         * locale/Makefile: Delete libBrokenLocale-map.
2495         * login/Makefile: Delete libutil-map.
2496         * math/Makefile: Delete libm-map.
2497         * md5-crypt/Makefile: Delete libcrypt-map.
2498         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2499         libnss_nisplus-map, and libnss_compat-map.
2500         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2501         libnss_ldap-map.
2502         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2503         * rt/Makefile: Delete librt-map.
2505 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2507         * configure.in: Instead of substituting `yes' or `no' for whether
2508         --no-whole-archive is available, set @no_whole_archive@ to the
2509         appropriate gcc switch or the empty string.  Likewise for
2510         -fno-exceptions.
2511         * config.make.in: Replace have-no-whole-archive with
2512         no-whole-archive and have-no-exceptions with no-exceptions.
2513         * Makerules: Delete stanzas setting no-whole-archive and
2514         no-exceptions.
2516         * sunrpc/Makefile: Use move-if-change to update generated .h
2517         and .c files.
2519 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2521         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2522         of strchr loop.
2524 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2526         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2527         (__tzfile_compute): Likewise.
2529 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2531         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2532         defines from Linux 2.1.102.
2534 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2536         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2538 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2540         * inet/netinet/in.h: Add defines for multicast.
2541         Reported by Jeremy Hall <jhall@UU.NET>.
2543         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2544         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2545         and unsetenv.  Optimize _LIBC case.
2546         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2547         Define functions with leading __.
2549         * time/tzfile.c: Correct handling of global variables daylight,
2550         timezone, and tzname.
2551         * time/tzset.c: Likewise.
2552         * timezone/Makefile (tests): Add tst-timezone.
2553         * timezone/tst-timezone.c: New file.
2555 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2557         * timezone/asia: Update from tzdata1998d.
2558         * timezone/australasia: Likewise.
2559         * timezone/europe: Likewise.
2561 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2563         * string/string.h: Don't use the optimized versions for the string
2564         functions if optimizing for space.
2566         * stdlib/tst-strtod.c: Add test for -0.0.
2568         * io/ftwtest-sh: Prevent tests from being run by root.
2570         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2571         last addition.  Patch by wkpark@chem.skku.ac.kr.
2573 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2575         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2576         table.
2578 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2580         * iconvdata/gen-8bit.sh: New file.
2581         * iconvdata/gen-8bit-gap.sh: New file.
2582         * iconvdata/gen-8bit-gap-1.sh: New file.
2583         * iconvdata/Makefile (generate-8bit-table): Use shell script
2584         instead of writing the commands directly.
2585         (generate-8bit-gap-table): Likewise.
2586         ($(objpfx)iso8859-7jp.h): Likewise.
2587         (generated headers): Depend on shell script instead of Makefile.
2588         (before-compile): Add $(perl-generated-headers) only if perl is
2589         available.
2590         (headers): Depend on $(perl-generated-headers) only if perl is
2591         available.
2592         (sed-generated-headers): Remove iso8859-7jp.h.
2594 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2596         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2597         (/): Removed.
2599 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2601         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2602         formed charset names to getfct.  Let user override charset
2603         selection by mention charset in locale name.
2605 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2607         * posix/glob.c: Move to ...
2608         * sysdeps/generic/glob.c: ...here.
2609         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2610         elements.
2611         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2612         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2613         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2614         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2615         subdir.
2616         * libc.map [GLIBC_2.1]: Add glob and globfree.
2618 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2620         * sunrpc/Makefile (generated): Restore old list.
2622 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2624         * rt/Makefile (tests): Define only if we have a thread library.
2626         * nis/ypclnt.c: Add: #include <errno.h>.
2628 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2630         * configure.in: Define and substitute RELEASE as well as
2631         VERSION.
2632         * config.make.in: Add RELEASE and VERSION to be substituted.
2633         * Makeconfig: Delete all references to version.mk.
2634         * Make-dist: Likewise.
2635         * MakeTAGS: Likewise.
2636         * elf/Makefile: Likewise.
2638 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2640         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
2641         yp_get_default_domain.
2643 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2645         * sysdeps/posix/profil.c (__profil): Don't define act and timer
2646         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
2648 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2650         * malloc/malloc.c: Fix for NO_THREADS case.
2652 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
2654         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2655         Remove statfs and fstatfs.
2656         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
2657         and pwrite as EXTRA.
2658         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2660 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
2662         * libc.map: Add capget and capset.
2664 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2666         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2667         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
2668         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
2669         and Matt McLean <keys@brio.yikes.com>.
2671 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
2673         * misc/Makefile (tests): Add tst-mntent.
2674         * misc/tst-mntent.c: New file.
2676 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2678         * autolock.sh: Removed.
2679         * manual/move-if-change: Removed.
2681         * scripts: New directory.
2682         * =__ify: Moved to scripts.
2683         * config.guess: Likewise.
2684         * config.sub: Likewise.
2685         * gen-FAQ.pl: Likewise.
2686         * install-sh: Likewise.
2687         * mkinstalldirs: Likewise.
2688         * move-if-change: Likewise.
2689         * printsources: Likewise.
2690         * rellns.sh: Likewise.
2691         * test-installation.pl: Likewise.
2693         * configure.in: Look in scripts for config.guess, config.sub,
2694         install-sh.
2695         * Makefile: Distribute all above files in their
2696         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
2697         * manual/Makefile: Find mkinstalldirs and move-if-change in
2698         $(..)scripts.  Drop them from distribute.  Minor cleanups.
2699         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
2700         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
2701         * timezone/Makefile: Find rellns-sh in scripts.
2703 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2705         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
2706         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
2708 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2710         * Makefile (+subdir-inits): Delete variable.
2711         (+init_subdirs): Likewise.
2712         (aux): Likewise.
2713         (before-compile): Likewise.
2714         (libc-init): Delete stanza.
2715         (version-info.h): Delete rule and associated variable.
2716         (distribute): Don't distribute moved files.
2717         * Makerules (interp-obj): It lives in elf now.  Only use it
2718         if $(elf) is set.  Delete rule to build it.
2719         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
2720         version.o and version-info.h.  Minor cleanups.
2721         (routines): Add libc-init, sysdep, version.
2722         (generated): Add version-info.h.
2723         * elf/Makefile: Build interp.os.
2725         * interp.c: Moved to elf.
2726         * set-init.c: Moved to csu.
2727         * munch-init.c: Likewise.
2728         * munch.awk: Likewise.
2729         * version.c: Likewise.
2731         * Rules: Unconfuse syntax highlighting with a fake comment.
2733 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2735         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
2736         syscalls.
2738 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2740         * iconvdata/Makefile (generated): Set to *-generated-headers
2741         plus gconv-modules.
2742         (tests): Set to iconv-test.
2743         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2744         * posix/Makefile (generated): Set to wordexp-test-result*.
2745         * sunrpc/Makefile (generated): Remove rpcsvc/*.
2746         (generated-dirs): Add rpcsvc.
2747         * libio/Makefile: Clean up.
2749 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
2751         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2752         * Makerules: Likewise.
2753         (+depfiles): Also add sysdep-others.
2754         * Rules: Likewise.
2755         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2756         * iconvdata/Makefile (distribute): Add TESTS.
2757         * localedata/Makefile (repertoires): Rename to repertoiremaps.
2758         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2759         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2760         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2761         sysdep-others, not others.
2762         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2763         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2765 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
2767         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2768         cost_hi and cost_lo.
2769         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2770         Cost parameter and set cost_lo to INT_MAX.
2771         (add_module): Take new parameter and use it to initialize cost_lo.
2772         (read_conf_file): Count modules being loaded and use counter for
2773         new parameter to add_module.
2774         * iconv/gconv_db.c (find_derivation): When look for cost examine
2775         cost_hi and cost_lo.
2777 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
2779         * string/bits/string2.h: Don't use unsigned char * unless really
2780         necessary since this disturbs C++.
2781         * sysdeps/i386/i486/bits/string.h: Likewise.
2782         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2784 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2786         * malloc/malloc.c (top_check): Fix last change.
2788 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2790         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2791         Patch by Matt McLean <keys@brio.yikes.com>.
2793 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2795         * Makerules (lib): Put back dependency on lib-noranlib.
2796         ($(subdirs-stamps)): Remove dependency on stamp.* again.
2798 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2800         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2801         test in __pow2 implementation.
2803 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2805         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2806         Still need *FLAGS-.o because we still sometimes build .o files.
2807         * db2/Makefile: Don't build libndbm.a if !build-static.
2809 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2811         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2813 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2815         * configure.in: New test for broken gcc on PowerPC.
2816         * sysdeps/powerpc/atomicity.h: Use result of test.
2817         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2819         * math/libm-test.c: Update many of the epsilon to match actual
2820         performance.
2822         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2823         * sysdeps/libm-ieee754/e_expf.c: Likewise.
2824         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2825         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2827         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2829         * sysdeps/powerpc/elf/libc-start.c: New file.
2830         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2831         * sysdeps/powerpc/elf/start.c: Delete.
2833         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2834         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
2836         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2837         few patches.
2839 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
2841         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2842         test for integer.
2844         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2845         * sysdeps/libm-i387/e_powl.S: Likewise.
2847 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2849         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2850         (malloc_check, free_check, realloc_check, memalign_check): Use
2851         them to improve overrun checking.  Overruns of a single byte and
2852         corruption of the top chunk are now detected much more reliably.
2854 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2856         * math/libm-test.c (pow_test): Add test for special value from PR
2857         libc/590.
2859 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
2861         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2862         including linux/errno.h.
2864 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
2866         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2867         Use correct types.
2868         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
2869         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
2871 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2873         * Makerules (elide-routines.*): Fix assignments.
2874         (do-makelib): Fix typo.
2875         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
2876         makefile.
2878 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2880         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
2881         $(objpfx)sysd-dirs): Move them...
2882         * Makeconfig: ... here.
2883         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
2884         (stubs): Fix circular depedency.
2885         (do-makelib): Clean up.
2886         (lib): Don't depend on lib-noranlib.
2887         ($(objpfx)stamp.oS): Remove special case for empty
2888         static-only-routines.
2889         (elide-routines.o): Add $(static-only-routines).
2890         (elide-routines$o): Define this instead of elide-routines.$o.
2891         * manual/Makefile (stubs): Fix circular dependency.
2893 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2895         * libio/Makefile (routines): Remove duplicate oldiofclose.
2897 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2899         * string/strcoll.c: Use uint32_t instead of u_int32_t.
2901 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2903         * libio/stdio.h: Fix typo in __REDIRECT.
2904         * io/sys/stat.h: Likewise.
2905         Reported by Myles Uyema <myles@uyema.nws.net>.
2907 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2909         * locale/programs/localedef.c (options): Fix help message.
2911 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2913         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
2914         relocations.  Patch by Joe Keane <jgk@jgk.org>.
2916 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
2918         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
2919         ptmalloc_unlock_all, but re-initializes the mutexes instead.
2920         (ptmalloc_init): Use new function in thread_at_fork call.
2921         (thread_atfork_static): Likewise.
2922         Suggested by Wolfram Gloger and Xavier Leroy.
2924 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2926         * signal/signal.h: Move definitions of struct sigstack and
2927         struct sigaltstack into separate file and include it.
2928         * sysdeps/generic/bits/sigstack.h: New file.
2929         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
2930         * signal/Makefile (headers): Add bits/sigstack.h.
2932 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2934         * elf/rtld.c (dl_main): Fix check for number of references to
2935         interpreter object.
2937 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2939         * elf/rtld.c (dl_main): Check has_interp after executing platform
2940         specific code.
2942 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2944         * iconvdata/run-iconv-test.sh: Fix typo.
2946 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2948         * Makerules (+depfiles): Add depfiles for $(tests-static).
2949         Simplified.
2951 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2953         * manual/terminal.texi (Special Characters): Fix description of
2954         c_cc indexes.
2956 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2958         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
2959         array.
2960         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
2961         of c_cc array.
2963 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2965         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
2967 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2969         * intl/locale.alias: Update russian entry.
2971 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2973         * Makerules (static-only-routines): Reimplement in terms of
2974         elide-routines.os.
2975         (shared-only-routines): Reimplement in terms of
2976         elide-routines.X [where X is all object-suffixes except .os].
2978         (stubs): Create stubs file inside the subdir.
2979         (common-mostlyclean): Remove stubs file from inside the subdir.
2980         * Makefile (subdir-stubs): Look for stubs files inside the
2981         subdirs.
2982         * manual/Makefile (stubs): Create dummy stubs file inside the
2983         subdir.
2985 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2987         Build speed improvement: make ar less of a bottleneck.
2989         * Makerules (stamp$o): Just record the object list for later
2990         use.
2991         (libc_foo.a): New rule, depends on subdir stamp files; builds
2992         and ranlibs the library from the lists saved in those files.
2994         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
2995         (subdirs-stamp-o): Likewise.
2997         (ar-symtab-name): Delete variable.
2998         (lib%.a): Delete target.
2999         (libc_foo.a(bar.%)): Delete target.
3000         (libc_foo.a($(ar-symtab-name))): Delete target.
3002         (objects objs): Just depend on libobjs and extra-objs.
3003         (libobjs): Depend on the stamp files, not the objects.
3004         (extra-objs): New target, just depends on the extra-objs list.
3006         (CREATE_ARFLAGS): Kill the `ar S' hack.
3008         * config.make.in (have-ar-S): Deleted.
3009         * configure.in: Delete test for `ar S'.  Add test to determine
3010         whether ranlib does anything useful.
3012 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3014         * inet/tst-ether_aton.c: Include <stdio.h>.
3016 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3018         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3020         * locale/Makefile (distribute): Add programs/repertoire.h.
3021         (localedef-modules): Add repertoire.
3022         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3023         * locale/programs/repertoire.c: New file.
3024         * locale/programs/repertoire.h: New file.
3025         * locale/programs/charmap.c: Starting fixing character set handling
3026         to handle multi-byte encodings.
3027         * locale/programs/charset.c: Likewise.
3028         * locale/programs/charset.h: Likewise.
3029         * locale/programs/ld-collate.c: Likewise.
3030         * locale/programs/ld-ctype.c: Likewise.
3031         * locale/programs/linereader.c: Likewise.
3032         * locale/programs/localedef.c: Likewise.
3033         * locale/programs/locfile-kw.gperf: Likewise.
3034         * locale/programs/locfile-kw.h: Likewise.
3035         * locale/programs/locfile-token.h: Likewise.
3036         * locale/programs/locfile.h: Likewise.
3037         * locale/programs/stringtrans.c: Likewise.
3039         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3040         path, extended with "/locales/".
3042 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3044         * sysdeps/arm/memset.S: Fix off by one error.
3046         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3047         __syscall_error rather than syscall_error directly.
3049 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3051         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3052         mmap() syscall for ARM.
3054         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3055         binaries.
3057 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3059         * locale/programs/localedef.c: Recognize repertoire-map option.
3061 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3063         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3064         converting non-hex numbers.
3065         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3067 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3069         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3070         check overflow.
3071         * resolv/Makefile (tests): New, add tst-aton.
3072         * resolv/tst-aton.c: New file.
3074 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3076         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3077         semicolon.
3079 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3081         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3082         by letting the later modify the variable computing the total directly.
3083         * wcsmbs/mbsrtowcs.c: Likewise.
3084         * wcsmbs/wcsnrtombs.c: Likewise.
3085         * wcsmbs/wcsrtombs.c: Likewise.
3087         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3088         it is not used.
3089         * wcsmbs/wctoc.c: Likewise.
3091         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3092         * wcsmbs/wcsrtombs.c: Likewise.
3094         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3096 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3098         * iconv/skeleton.c: Correct counting of actually converted
3099         characters.
3101         * intl/localealias.c (read_alias_file): Use unsigned char for
3102         local variables.  Remove unused variable tp.
3103         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3104         for type of codeset.  For loosing Solaris systems.
3105         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3106         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3107         len if not needed.
3108         Patches by Jim Meyering.
3110         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3111         wcsrtombs must put it into initial state.
3113 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3115         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3116         argument of bswap_XX macro.
3118 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3120         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3121         variable name.
3123 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3125         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3126         semun and use stdarg macros to get the value.
3127         * sysdeps/generic/semctl.c: Don't use union semun.
3129         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3131         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3133         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3134         strings.h.
3136         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3137         defines grouping.
3139         * intl/hash-string.h: Don't include values.h.
3141         * inet/Makefile (tests): Add tst-ether_aton.
3142         * inet/tst-ether_aton.c: New file.
3144         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3145         in hex conversion.
3146         * inet/ether_aton.c (ether_aton): Declare result variable static.
3147         Reported by ahyung@unixg.ubc.ca.
3149         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3150         Define macro _SEM_SEMUN_UNDEFINED instead.
3151         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3153         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3154         * stdio-common/Makefile (tests): Add tst-wc-printf.
3156 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3158         * manual/stdio.texi (Variable Arguments Output): Correct variable
3159         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3161 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3163         * intl/dcgettext.c: Remove unneeded definition of
3164         internal_function.
3166 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3168         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3169         instead of do-iconv-test.
3170         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3171         empty.
3173 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3175         * string/string.h: Fix feature test.
3177 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3179         * iconvdata/iso646.c (BODY): Don't use character constants that
3180         depend on signedness of char.
3182 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3184         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3185         (sysdep_routines): Add s_pread64 and s_pwrite64.
3187 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3189         * iconvdata/Makefile (distribute): Remove generated .h files.
3190         * iconvdata/koi8-r.h: Removed.
3191         * iconvdata/latin-greek-1.h: Removed.
3192         * iconvdata/latin-greek.h: Removed.
3194         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3195         * iconvdata/KOI-8: Likewise.
3196         * iconvdata/KOI-8..UTF8: Likewise.
3197         * iconvdata/KOI8-R: Likewise.
3198         * iconvdata/KOI8-R..UTF8: Likewise.
3200 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3202         * streams/Makefile (headers): Add sys/stropts.h.
3203         * streams/sys/stropts.h: New file.
3205 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3207         * sysdeps/unix/sysv/linux/ttyname.c,
3208         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3209         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3211 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3213         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3214         argument of _itoa_word.
3216 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3218         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3219         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3220         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3221         sigprocmask, resp., instead of EXTRA.
3223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3224         s_pread64 and s_pwrite64.
3226 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3228         * iconvdata/Makefile: Correct rules to generate gap table.
3229         * iconvdata/gap.pl: Simplify.
3231         * iconvdata/TESTS: Name new tests.
3232         * iconvdata/testdata/CP1250: New file.
3233         * iconvdata/testdata/CP1250..UTF8: New file.
3234         * iconvdata/testdata/CP1251: New file.
3235         * iconvdata/testdata/CP1251..UTF8: New file.
3236         * iconvdata/testdata/CP1252: New file.
3237         * iconvdata/testdata/CP1252..UTF8: New file.
3238         * iconvdata/testdata/CP1253: New file.
3239         * iconvdata/testdata/CP1253..UTF8: New file.
3240         * iconvdata/testdata/CP1254: New file.
3241         * iconvdata/testdata/CP1254..UTF8: New file.
3242         * iconvdata/testdata/CP1255: New file.
3243         * iconvdata/testdata/CP1255..UTF8: New file.
3244         * iconvdata/testdata/CP1256: New file.
3245         * iconvdata/testdata/CP1256..UTF8: New file.
3246         * iconvdata/testdata/CP1257: New file.
3247         * iconvdata/testdata/CP1257..UTF8: New file.
3249 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3251         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3252         * iconvdata/iso-2022-kr.c: New file.
3254         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3255         and ISO-2022-KR.
3257 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3259         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3260         iso8859-8 and iso8859-10.
3261         * iconvdata/iso8859-5.c: Change to use gap method.
3262         * iconvdata/iso8859-7.c: Likewise.
3263         * iconvdata/iso8859-8.c: Likewise.
3264         * iconvdata/iso8859-10.c: Likewise.
3266         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3267         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3268         end of the loop.
3269         * iconvdata/iso-2022-jp.c: New file.
3271         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3272         * iconvdata/ksc5601.h: Unify function interfaces.
3273         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3274         * iconvdata/uhc.c: Likewise.
3276         * iconvdata/gb2312.h: Use correct types.
3278         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3279         size elements of data.
3281 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3283         * string/tst-svc.expect: Adapt for change in .input.
3284         * string/tst-svc.input: More tests.
3286 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3288         * iconvdata/Makefile: Add rules for new modules.
3289         * iconvdata/gconv-modules: Likewise.
3290         * iconvdata/cp737.c: New file.
3291         * iconvdata/cp737.h: New file.
3292         * iconvdata/cp775.c: New file.
3293         * iconvdata/cp775.h: New file.
3294         * iconvdata/cp874.c: New file.
3295         * iconvdata/cp874.h: New file.
3297 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3299         * iconvdata/Makefile: Create target directory before generating
3300         headers.
3302 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3304         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3305         __USER_LABEL_PREFIX__.
3306         (__ASMNAME, __ASMNAME2): New macros.
3308 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3310         * elf/dl-load.c: Include sys/param.h for MAX.
3312 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3314         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3315         __ftruncate the strong symbol, and add weak alias.
3316         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3318 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3320         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3321         Patch by Joe Keane <jgk@jgk.org>.
3323         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3324         free()ing.
3326 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3328         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3329         Patch by Thomas Bushnell, n/BSG.
3331 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3333         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3335 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3337         * iconvdata/Makefile: Put generated headers in build directory.
3339 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3341         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3342         strsep as current directory.
3344         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3345         Java.  Add definitions for unicodelittle implementation.
3346         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3347         * iconv/gconv_simple.c: Define unicodelittle functions.
3349         * iconv/iconv_prog.c: Make program print information about position
3350         of illegal character in input.
3352         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3353         comparison of charset name.
3354         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3355         * iconvdata/ebcdic-at-de-a.c: Likewise.
3356         * iconvdata/ebcdic-at-de.c: Likewise.
3357         * iconvdata/ebcdic-ca-fr.c: Likewise.
3358         * iconvdata/euccn.c: Likewise.
3359         * iconvdata/eucjp.c: Likewise.
3360         * iconvdata/euckr.c: Likewise.
3361         * iconvdata/euctw.c: Likewise.
3362         * iconvdata/hp-roman8.c: Likewise.
3363         * iconvdata/iso6937.c: Likewise.
3364         * iconvdata/iso8859-1.c: Likewise.
3365         * iconvdata/iso8859-10.c: Likewise.
3366         * iconvdata/iso8859-2.c: Likewise.
3367         * iconvdata/iso8859-3.c: Likewise.
3368         * iconvdata/iso8859-4.c: Likewise.
3369         * iconvdata/iso8859-5.c: Likewise.
3370         * iconvdata/iso8859-6.c: Likewise.
3371         * iconvdata/iso8859-7.c: Likewise.
3372         * iconvdata/iso8859-8.c: Likewise.
3373         * iconvdata/iso8859-9.c: Likewise.
3374         * iconvdata/johab.c: Likewise.
3375         * iconvdata/koi-8.c: Likewise.
3376         * iconvdata/koi8-r.c: Likewise.
3377         * iconvdata/latin-greek-1.c: Likewise.
3378         * iconvdata/latin-greek.c: Likewise.
3379         * iconvdata/sjis.c: Likewise.
3380         * iconvdata/t61.c: Likewise.
3381         * iconvdata/uhc.c: Likewise.
3383         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3384         * iconvdata/TESTS: Add tests for ISO646 module.
3385         * iconvdata/gconv-modules: Add new modules.
3386         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3387         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3388         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3389         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3390         * iconvdata/testdate/DIN_66003: Likewise.
3391         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3392         * iconvdata/testdate/DS_2089: Likewise.
3393         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3394         * iconvdata/testdate/ES: Likewise.
3395         * iconvdata/testdate/ES..UTF8: Likewise.
3396         * iconvdata/testdate/ES2: Likewise.
3397         * iconvdata/testdate/ES2..UTF8: Likewise.
3398         * iconvdata/testdate/GB_1988-80: Likewise.
3399         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3400         * iconvdata/testdate/IT: Likewise.
3401         * iconvdata/testdate/IT..UTF8: Likewise.
3402         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3403         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3404         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3405         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3406         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3407         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3408         * iconvdata/testdate/KSC5636: Likewise.
3409         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3410         * iconvdata/testdate/MSZ_7795.3: Likewise.
3411         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3412         * iconvdata/testdate/NC_NC00-10: Likewise.
3413         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3414         * iconvdata/testdate/NF_Z_62-010: Likewise.
3415         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3416         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3417         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3418         * iconvdata/testdate/NS_4551-1: Likewise.
3419         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3420         * iconvdata/testdate/NS_4551-2: Likewise.
3421         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3422         * iconvdata/testdate/PT: Likewise.
3423         * iconvdata/testdate/PT..UTF8: Likewise.
3424         * iconvdata/testdate/PT2: Likewise.
3425         * iconvdata/testdate/PT2..UTF8: Likewise.
3426         * iconvdata/testdate/SEN_850200_B: Likewise.
3427         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3428         * iconvdata/testdate/SEN_850200_C: Likewise.
3429         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3431         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3432         * iconvdata/cns11643l1.h: Likewise.
3433         * iconvdata/latin-greek-1.h: Likewise.
3434         * iconvdata/latin-greek.h: Likewise.
3435         * iconvdata/koi8-r.h: Likewise.
3436         * iconvdata/jis0212.h: Likewise.
3437         * iconvdata/gb2312.h: Likewise.
3438         * iconvdata/ksc5601.h: Likewise.
3440         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3442         * iconvdata/Makefile: Add rules for lots of more modules.
3443         * iconvdata/cp1250.c: New file.
3444         * iconvdata/cp1251.c: New file.
3445         * iconvdata/cp1252.c: New file.
3446         * iconvdata/cp1253.c: New file.
3447         * iconvdata/cp1254.c: New file.
3448         * iconvdata/cp1255.c: New file.
3449         * iconvdata/cp1256.c: New file.
3450         * iconvdata/cp1257.c: New file.
3451         * iconvdata/ebcdic-dk-no-a.c: New file.
3452         * iconvdata/ebcdic-dk-no.c: New file.
3453         * iconvdata/ebcdic-es-a.c: New file.
3454         * iconvdata/ebcdic-es-s.c: New file.
3455         * iconvdata/ebcdic-es.c: New file.
3456         * iconvdata/ebcdic-fi-se-a.c: New file.
3457         * iconvdata/ebcdic-fi-se.c: New file.
3458         * iconvdata/ebcdic-fr.c: New file.
3459         * iconvdata/ebcdic-is-friss.c: New file.
3460         * iconvdata/ebcdic-it.c: New file.
3461         * iconvdata/ebcdic-pt.c: New file.
3462         * iconvdata/ebcdic-uk.c: New file.
3463         * iconvdata/ebcdic-us.c: New file.
3464         * iconvdata/ibm037.c: New file.
3465         * iconvdata/ibm038.c: New file.
3466         * iconvdata/ibm1004.c: New file.
3467         * iconvdata/ibm1026.c: New file.
3468         * iconvdata/ibm1047.c: New file.
3469         * iconvdata/ibm256.c: New file.
3470         * iconvdata/ibm273.c: New file.
3471         * iconvdata/ibm274.c: New file.
3472         * iconvdata/ibm275.c: New file.
3473         * iconvdata/ibm277.c: New file.
3474         * iconvdata/ibm278.c: New file.
3475         * iconvdata/ibm280.c: New file.
3476         * iconvdata/ibm281.c: New file.
3477         * iconvdata/ibm284.c: New file.
3478         * iconvdata/ibm285.c: New file.
3479         * iconvdata/ibm290.c: New file.
3480         * iconvdata/ibm297.c: New file.
3481         * iconvdata/ibm420.c: New file.
3482         * iconvdata/ibm423.c: New file.
3483         * iconvdata/ibm424.c: New file.
3484         * iconvdata/ibm437.c: New file.
3485         * iconvdata/ibm500.c: New file.
3486         * iconvdata/ibm850.c: New file.
3487         * iconvdata/ibm851.c: New file.
3488         * iconvdata/ibm852.c: New file.
3489         * iconvdata/ibm855.c: New file.
3490         * iconvdata/ibm857.c: New file.
3491         * iconvdata/ibm860.c: New file.
3492         * iconvdata/ibm861.c: New file.
3493         * iconvdata/ibm862.c: New file.
3494         * iconvdata/ibm863.c: New file.
3495         * iconvdata/ibm864.c: New file.
3496         * iconvdata/ibm865.c: New file.
3497         * iconvdata/ibm868.c: New file.
3498         * iconvdata/ibm869.c: New file.
3499         * iconvdata/ibm870.c: New file.
3500         * iconvdata/ibm871.c: New file.
3501         * iconvdata/ibm875.c: New file.
3502         * iconvdata/ibm880.c: New file.
3503         * iconvdata/ibm891.c: New file.
3504         * iconvdata/ibm903.c: New file.
3505         * iconvdata/ibm904.c: New file.
3506         * iconvdata/ibm905.c: New file.
3507         * iconvdata/ibm918.c: New file.
3509         * locale/iso-4217.def: Update.
3510         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3512         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3513         formats.
3515 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3517         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3518         LD_LIBRARY_PATH.
3520 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3522         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3523         * Makefile: Likewise.
3524         * posix/Makefile: Likewise.
3525         * sysdeps/mach/hurd/Makefile: Likewise.
3527 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3529         * sysdeps/mach/hurd/bits/dirent.h: New file.
3530         * sysdeps/mach/hurd/readdir64.c: New file.
3531         * sysdeps/mach/hurd/readdir64_r.c: New file.
3533 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3535         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3536         dprintf): Synchronize declarations with libio/stdio.h.
3538 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3540         * elf/dlerror.c (dlerror): Don't assume that
3541         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3542         well-protected, so just use it directly.
3544 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3546         * io/ftw.h (ftw): Fix typo.
3548 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3550         * sysdeps/gnu/utmp_file.c: Fix typo.
3552 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3554         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3555         one part of a test fails move on to the next test.
3557 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3559         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3561 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3563         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3564         as pointers, not signed integers.
3566 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3568         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3570 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3572         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3573         asm symbol name of functions.
3574         * include/features.h: Kill redundant test.
3576         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3577         * io/ftw.h: Likewise.
3578         * io/sys/stat.h: Likewise.
3579         * io/sys/statfs.h: Likewise.
3580         * io/sys/statvfs.h: Likewise.
3581         * libio/stdio.h: Likewise.
3582         * resource/sys/resource.h: Likewise.
3583         * rt/aio.h: Likewise.
3585         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3586          __FAVOR_BSD.
3587         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3589         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3590         a dummy library.
3591         * misc/bsd-compat.c: Removed.
3593 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3595         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3596         function declaration.
3597         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3598         and use them in conversion function.
3599         * iconvdata/Makefile (modules): Re-add ISO6446.
3600         * iconvdata/TEST: Add tests for ASCII variants.
3601         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3602         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3603         * iconvdata/testdata/BS_4730: New file.
3604         * iconvdata/testdata/BS_4730..UTF8: New file.
3606 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3608         * iconv/gconv.h (struct gconv_step): Add element stateful.
3609         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3610         to zero for all internal conversions.
3611         * iconv/skeleton.c: Initialize stateful depending on whether or not
3612         RESET_STATE is defined to one or zero respectively.
3613         * stdlib/mblen.c: Use stateful element of currently selected
3614         converter for result if S is NULL.
3615         * stdlib/mbtowc.c: Likewise.
3616         * stdlib/wctomb.c: Likewise.
3618 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
3620         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3622         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3624         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
3625         character in comparison with uint32_t.
3626         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
3627         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
3628         Optimize BODY a bit.
3630         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
3631         be defined.
3633         * iconv/skeleton.c: Also reset converted counter in case of an error.
3634         Call reset function using correct value for output buffer start.
3636         * iconvdata/Makefile: Re-enable tests.
3638         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
3639         value for to-conversion.
3641         * iconvdata/TESTS: Add new third column.
3642         * iconvdata/run-iconv-test.sh: Add support for charsets which are
3643         not ASCII based.
3644         * iconvdata/testdata/suntzus: New file.
3646         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
3647         while reading.  Correctly used base.  Little optimization.
3648         (__strtoul_internal): Likewise.
3650         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
3651         was wrong.  Use explicit variable.
3653 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3655         * configure.in: Check for awk.
3656         * config.make.in: Add AWK to be substituted.
3658         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
3659         * manual/users.texi: Fix typo exposed by above rewrite.
3661         * Makefile: Invoke awk using AWK variable.
3662         * csu/Makefile: Likewise.
3663         * elf/Makefile: Likewise.
3664         * mach/Makefile: Likewise.
3665         * manual/Makefile: Likewise.
3666         * sysdeps/gnu/Makefile: Likewise.
3667         * sysdeps/mach/hurd/Makefile: Likewise.
3668         * sysdeps/unix/Makefile: Likewise.
3669         * timezone/Makefile: Likewise.
3671 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3673         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
3674         array index translation.
3675         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
3676         these are defined.
3678         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
3680         * sysdeps/mach/hurd/errlist.c: New file.
3681         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
3682         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
3683         semantics, so rename it.
3685 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3687         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
3688         conversions.
3690 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
3692         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
3693         * wcsmbs/wcsnrtombs.c: Likewise.
3695 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
3697         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
3699         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
3701         * time/strftime.c (my_strftime): Initialize pad variable in
3702         declaration.
3704         * iconvdata/big5.c: Don't use character constants in comparisons
3705         with unsigned value.
3707 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
3709         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
3710         __libc_siglongjmp to GLIBC_2.1.
3712         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
3713         __strerror_r.
3715         * iconv/Makefile: Don't run tests now.
3717         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
3718         with correct output buffer.
3720         Major rewrite of the low-level gconv functionality.
3721         * iconv/gconv.c: Rewritten.
3722         * iconv/gconv.h: Likewise.
3723         * iconv/gconv_builtin.c: Likewise.
3724         * iconv/gconv_builtin.h: Likewise.
3725         * iconv/gconv_conf.c: Likewise.
3726         * iconv/gconv_int.h: Likewise.
3727         * iconv/gconv_open.c: Likewise.
3728         * iconv/gconv_simple.c: Likewise.
3729         * iconv/iconv.c: Likewise.
3730         * iconvdata/8bit-gap.c: Likewise.
3731         * iconvdata/8bit-generic.c: Likewise.
3732         * iconvdata/Makefile: Likewise.
3733         * iconvdata/big5.c: Likewise.
3734         * iconvdata/cns11643.c: Likewise.
3735         * iconvdata/cns11643.h: Likewise.
3736         * iconvdata/cns11643l1.c: Likewise.
3737         * iconvdata/cns11643l1.h: Likewise.
3738         * iconvdata/ebcdic-at-de-a.c: Likewise.
3739         * iconvdata/ebcdic-at-de.c: Likewise.
3740         * iconvdata/ebcdic-ca-fr.c: Likewise.
3741         * iconvdata/euccn.c: Likewise.
3742         * iconvdata/eucjp.c: Likewise.
3743         * iconvdata/euckr.c: Likewise.
3744         * iconvdata/euctw.c: Likewise.
3745         * iconvdata/gb2312.c: Likewise.
3746         * iconvdata/gb2312.h: Likewise.
3747         * iconvdata/hp-roman8.c: Likewise.
3748         * iconvdata/iso646.c: Likewise.
3749         * iconvdata/iso6937.c: Likewise.
3750         * iconvdata/iso8859-1.c: Likewise.
3751         * iconvdata/iso8859-10.c: Likewise.
3752         * iconvdata/iso8859-2.c: Likewise.
3753         * iconvdata/iso8859-3.c: Likewise.
3754         * iconvdata/iso8859-4.c: Likewise.
3755         * iconvdata/iso8859-5.c: Likewise.
3756         * iconvdata/iso8859-6.c: Likewise.
3757         * iconvdata/iso8859-7.c: Likewise.
3758         * iconvdata/iso8859-8.c: Likewise.
3759         * iconvdata/iso8859-9.c: Likewise.
3760         * iconvdata/jis0201.c: Likewise.
3761         * iconvdata/jis0201.h: Likewise.
3762         * iconvdata/jis0208.c: Likewise.
3763         * iconvdata/jis0208.h: Likewise.
3764         * iconvdata/jis0212.c: Likewise.
3765         * iconvdata/jis0212.h: Likewise.
3766         * iconvdata/johab.c: Likewise.
3767         * iconvdata/koi-8.c: Likewise.
3768         * iconvdata/koi8-r.c: Likewise.
3769         * iconvdata/ksc5601.c: Likewise.
3770         * iconvdata/ksc5601.h: Likewise.
3771         * iconvdata/latin-greek-1.c: Likewise.
3772         * iconvdata/latin-greek.c: Likewise.
3773         * iconvdata/run-iconv-test.sh: Likewise.
3774         * iconvdata/sjis.c: Likewise.
3775         * iconvdata/t61.c: Likewise.
3776         * iconvdata/uhc.c: Likewise.
3777         * wcsmbs/btowc.c: Likewise.
3778         * wcsmbs/mbrtowc.c: Likewise.
3779         * wcsmbs/mbsnrtowcs.c: Likewise.
3780         * wcsmbs/mbsrtowcs.c: Likewise.
3781         * wcsmbs/wcrtomb.c: Likewise.
3782         * wcsmbs/wcsmbsload.c: Likewise.
3783         * wcsmbs/wcsnrtombs.c: Likewise.
3784         * wcsmbs/wcsrtombs.c: Likewise.
3785         * wcsmbs/wctob.c: Likewise.
3786         * iconv/loop.c: New file.
3787         * iconv/skeleton.c: New file.
3789         * stdlib/mblen.c: Handle empty input string correctly.
3790         * stdlib/mbtowc.c: Likewise.
3792         * posix/getopt.c: Various cleanups.
3794         * sysdeps/arm/bits/setjmp.h: Add copyright text.
3795         * sysdeps/i386/bits/setjmp.h: Likewise.
3796         * sysdeps/m68k/bits/setjmp.h: Likewise.
3797         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3798         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3800         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3801         and make longjmp weak alias.
3803 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
3805         * iconv/Makefile (routines): Only include gconv_dl if building for
3806         an ELF system - dynamic linking is not available on a.out.
3807         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3808         due to above check.
3809         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3810         routines from gconv_dl.
3812 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
3814         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3815         we can compile without libio.
3817 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
3819         * sysdeps/mach/hurd/Subdirs: Remove login.
3821 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
3823         * db2/compat.h: Include <errno.h>, to make sure we get the
3824         definition of EFTYPE before we define it ourselves.
3826 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3828         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3829         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3830         Fix typo to allow inclusion from sys/ioctl.h again.
3832 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3834         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
3836 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3838         * libc.map: Export __strerror_r.  Remove _strerror_internal.
3840 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3842         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3843         Also undefine __strcasestr.
3845 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3847         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3848         aliases do not work with global variables due to copy relocations.
3850 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
3852         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
3854 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
3856         * signal/sighold.c: Include stddef.h for NULL definition.
3857         * signal/sigrelse.c: Likewise.
3858         * sysdeps/posix/sigignore.c: Likewise.
3859         * sysdeps/posix/sigset.c: Likewise.
3860         * sysdeps/posix/waitid.c: Likewise.
3861         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3862         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3863         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3864         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3865         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3867 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
3869         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3870         * login/getutent.c (getutxent): Remove alias.
3871         * login/getutent_r.c (setutxent, pututxline, endutxent):
3872         Remove aliases.
3873         * login/getutid.c (getutxid): Remove alias.
3874         * login/getutline.c (getutxline): Remove alias.
3875         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
3876         __getutid, __getutline and __pututline.
3877         * login/utmpx.h: Moved to ...
3878         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
3879         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
3880         and updwtmpx.
3881         * login/updwtmp.c: Moved to ...
3882         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
3883         allowing file name transformation.
3884         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
3885         additional file name transformation.
3886         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
3887         * login/utmp_file.c: Moved to ...
3888         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
3889         Generalized by allowing file name transformation.  Do not
3890         print error message.  Library functions should not print them.
3891         Reported by Jim Meyering.
3892         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
3893         with additional file name transformation.
3894         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
3895         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
3896         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
3897         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
3898         and bits/utmpx.h.
3899         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
3900         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
3901         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
3902         Define if __USE_GNU.
3903         * sysdeps/generic/setutxent.c: New file.
3904         * sysdeps/generic/getutxent.c: New file.
3905         * sysdeps/generic/endutxent.c: New file.
3906         * sysdeps/generic/getutxid.c: New file.
3907         * sysdeps/generic/getutxline.c: New file.
3908         * sysdeps/generic/pututxline.c: New file.
3909         * sysdeps/generic/utmpxname.c: New file.
3910         * sysdeps/generic/updwtmpx.c: New file.
3911         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
3912         * sysdeps/generic/bits/utmpx.h: Remove.
3914 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
3916         * posix/wordexp-test.c (main): Initialize ifs element of ts for
3917         ~root test.
3919 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
3921         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
3923 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
3925         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
3926         variable using _G_stat64.
3927         * libio/fileops.c: Remove macro definition of fstat, it is in the
3928         global header.
3929         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3931 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
3933         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
3934         <willy@odie.barnet.ac.uk>.
3936 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
3938         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
3939         required by IPv6 Basic API.
3940         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
3941         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
3942         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
3943         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
3945 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
3947         Don't name internal representation since it might be different from
3948         the external form (namely on little endian machines).
3949         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
3950         UCS4 into references to INTERNAL.
3951         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
3952         Add endianess support to UCS functions.  Change references to
3953         UCS4 into references to INTERNAL.
3954         * iconv/gconv_int.h: Change references to UCS4 into references to
3955         INTERNAL.
3956         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
3957         * iconvdata/gconv-modules: Change accordingly.
3958         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
3960         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
3961         overflow.
3962         * iconvdata/8bit-gap.c: Likewise.
3963         * iconvdata/8bit-generic.c: Likewise.
3964         * iconvdata/big5.c: Likewise.
3965         * iconvdata/euccn.c: Likewise.
3966         * iconvdata/eucjp.c: Likewise.
3967         * iconvdata/euckr.c: Likewise.
3968         * iconvdata/euctw.c: Likewise.
3969         * iconvdata/iso646.c: Likewise.
3970         * iconvdata/iso6937.c: Likewise.
3971         * iconvdata/iso8859-1.c: Likewise.
3972         * iconvdata/johab.c: Likewise.
3973         * iconvdata/sjis.c: Likewise.
3974         * iconvdata/t61.c: Likewise.
3975         * iconvdata/uhc.c: Likewise.
3977         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
3978         * iconvdata/8bit-generic.c: Likewise.
3980         * iconvdata/TESTS: Add more tests.
3982         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
3984 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
3986         * iconvdata/Makefile: Better rules to run tests.
3988         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
3989         * iconvdata/testdata/ISO-8859-10: Likewise.
3990         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
3991         * iconvdata/testdata/ISO-8859-2: Likewise.
3992         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
3993         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
3994         * iconvdata/testdata/ISO-8859-3: Likewise.
3995         * iconvdata/testdata/ISO-8859-4: Likewise.
3996         * iconvdata/testdata/ISO-8859-5: Likewise.
3997         * iconvdata/testdata/ISO-8859-6: Likewise.
3998         * iconvdata/testdata/ISO-8859-7: Likewise.
3999         * iconvdata/testdata/ISO-8859-8: Likewise.
4000         * iconvdata/testdata/ISO-8859-9: Likewise.
4002 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4004         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4005         intermediate result (if available).
4007         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4008         last change.
4010         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4011         (distribute): Add run-iconv-test.sh and testdata/*.
4013         * stdlib/testmb.c (main): Simplify mbc array handling.
4015 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4017         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4018         return value on overflow.
4020 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4022         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4023         bits.
4025 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4027         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4028         of non-standard function setbuffer.
4030 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4032         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4034 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4036         * iconvdata/Makefile: Add rules to run tests.
4037         * iconvdata/TESTS: New file.
4038         * iconvdata/run-iconv-test.sh: New file.
4039         * iconvdata/testdata/ISO-8859-1: New file.
4041         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4042         not stdout.
4044 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4046         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4047         counter element of step.
4049         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4051         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4052         termination test.
4053         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4054         ACTUALLY.
4055         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4057 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4059         * Makefile: Include makeconfig before defining rule to regenerate
4060         configure files.
4062         * configure.in: Remove restriction on compiling without static
4063         libs.
4065 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4067         * test-skeleton.c: Provide hook for initializing code before the fork.
4068         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4069         removed.
4071         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4072         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4073         * libio/libioP.h: Adopt _IO_cleanup prototype.
4075         * stdlib/Makefile (tests): Add test-canon2.
4076         * stdlib/test-canon2.c: New file.
4077         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4078         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4079         symlink sequences.
4080         (__realpath): Make real function which checks RESOLVED parameter for
4081         not being NULL.
4083 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4085         * catgets/open_catalog.c (__open_catalog): Fix problems with
4086         reading non-files.  Always close file.
4087         Reported by Cristian Gafton <gafton@redhat.com>.
4089         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4091 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4093         * libc.map: Add various low-level I/O functions.
4095 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4097         * string/Makefile (routines): Remove strerror_r.
4098         * string/strerror_r.c: Removed.
4099         * string/strerror.c: Call __strerror_r for doing the real work.
4100         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4101         add weak alias strerror_r.
4102         * sysdeps/mach/_strerror.c: Likewise.
4103         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4104         * elf/dl-error.c (_dl_signal_error): Likewise.
4105         * elf/dl-profile.c (_dl_start_profile): Likewise.
4106         * gmon/gmon.c (write_gmon): Likewise.
4107         * stdio-common/perror.c: Likewise.
4108         * stdio-common/vfprintf.c: Likewise.
4110 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4112         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4113         (sysdep_headers): Add netatalk/at.h.
4115 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4117         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4118         Formatting fixes.
4120 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4122         * posix/regex.c: Rename __re_syntax_options back to
4123         re_syntax_options, aliases do not work with global variables due
4124         to copy relocations.
4125         (regex_compile): Use syntax parameter instead of
4126         re_syntax_options.
4128 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4130         * configure.in: Document that enable-force-install is default.
4132 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4134         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4135         all needed 36 bits.
4136         * sysdeps/posix/mkstemp.c: Likewise.
4138 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4140         * iconvdata/8bit-gap.c: Simplify step data handling.
4141         * iconvdata/8bit-generic.c: Likewise.
4142         * iconvdata/big5.c: Likewise.
4143         * iconvdata/euccn.c: Likewise.
4144         * iconvdata/eucjp.c: Likewise.
4145         * iconvdata/euckr.c: Likewise.
4146         * iconvdata/euctw.c: Likewise.
4147         * iconvdata/iso6937.c: Likewise.
4148         * iconvdata/iso8859-1.c: Likewise.
4149         * iconvdata/jis0208.h: Likewise.
4150         * iconvdata/jis0212.c: Likewise.
4151         * iconvdata/jis0212.h: Likewise.
4152         * iconvdata/johab.c: Likewise.
4153         * iconvdata/ksc5601.h: Likewise.
4154         * iconvdata/sjis.c: Likewise.
4155         * iconvdata/t61.c: Likewise.
4156         * iconvdata/uhc.c: Likewise.
4158 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4160         * manual/texinfo.texi: Updated from last version.
4162 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4164         * iconvdata/cns11643.c: New file.
4165         * iconvdata/cns11643.h: New file.
4166         * iconvdata/cns11643l1.c: New file.
4167         * iconvdata/cns11643l1.h: New file.
4168         * iconvdata/euctw.c: New file.
4169         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4170         * iconvdata/gconv-modules: Likewise.
4172         * iconvdata/eucjp.c: Several bug fixes and improvements.
4173         * iconvdata/gb2312.h: Likewise.
4174         * iconvdata/jis0201.h: Likewise.
4175         * iconvdata/jis0208.h: Likewise.
4176         * iconvdata/jis0212.h: Likewise.
4178 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4180         * iconvdata/eucjp.c: New file.
4181         * iconvdata/euccn.c: New file.
4182         * iconvdata/gb2312.h: New file.
4183         * iconvdata/gb2312.c: New file.
4184         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4185         * iconvdata/gconv-modules: Likewise.
4187         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4189 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4191         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4192         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4193         Patch by Mark Hatle <fray@kernel.crashing.org>.
4195 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4197         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4198         comment.
4199         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4200         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4202 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4204         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4206         * iconvdata/Makefile: Add rules for big5 conversion.
4207         * iconvdata/gconv-modules: Likewise.
4208         * iconvdata/big5.c: New file.
4210         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4211         Patch by Jim Meyering.
4213 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4215         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4217         * rt/lio_listio.c: Correct total counter handling.
4219         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4220         from request queue.
4222         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4223         of signal on exit even more.
4225         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4226         instead of call to pthread_cond_init.
4227         * rt/lio_listio.c (lio_listio): Likewise.
4228         * rt/lio_listio64.c (lio_listio64): Likewise.
4230         * nis/nis_findserv.c: Include sys/socket.h.
4232 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4234         * Makeconfig (rtobjdir): New variable.
4235         (rpath-link): Add rtobjdir and thread directory, if available.
4237         * test-skeleton.c: Add support to remove temporary files.
4238         Always define test_dir.  Improve message about expected signal.
4240         * rt/Makefile (tests): Add tst-aio.
4241         Add rules for tst-aio to be linked with librt and thread library.
4242         * rt/aio_misc.c: Correct fundamental bugs.
4243         * rt/aio_suspend.c: Correct bug in test for available request.
4244         Initialize conditional variable.
4245         * rt/lio_listio.c: Initialize conditional variable.
4246         * rt/lio_listio64.c: Likewise.
4247         * rt/tst-aio.c: New file.
4249         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4250         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4251         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4252         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4253         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4254         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4255         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4257 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4259         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4261 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4263         * elf/dl-load.c (open_path): Use correct name for test whether
4264         directory in load path exists.
4266         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4267         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4268         Patches by Tom Rini <trini@kernel.crashing.org>.
4270         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4271         * wcsmbs/wcstod_l.c: Likewise.
4272         * wcsmbs/wcstold_l.c: Likewise.
4274         * include/byteswap.h: New file.
4276         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4277         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4279         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4280         declaration.  Patch by Richard Henderson.
4282 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4284         * manual/process.texi (SIGCHLD example): Save errno.
4286 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4288         * posix/regex.c: Define regerror really as __regerror.
4289         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4290         regerror and regfree.
4292         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4293         * stdlib/strtod_l.c: Likewise.
4294         * stdlib/strtold_l.c: Likewise.
4296         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4298         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4300         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4301         Patch by Christian Gafton.
4303 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4305         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4306         for if_indextoname.
4308 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4310         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4312         * manual/socket.texi (Interface Naming): Fix typo.
4314 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4316         * manual/examples/filesrv.c (main): Remove filename first.
4318         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4319         ?F_UNIX.
4321         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4322         instead of PF_UNIX.
4324         * manual/examples/filecli.c (main): Use AF_LOCAL
4325         instead of AF_UNIX.
4327 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4329         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4330         signgam weak alias.
4331         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4332         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4333         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4334         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4335         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4336         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4338         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4340 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4342         * configure.in: Add new option --enable-force-install.  Substitute
4343         force_install.
4344         * config.make.in (force-install): Set from configure.
4345         * Makerules (force-install): New phony target.
4346         * Makeconfig (+force): New variable.
4347         * Makefile: Use it in dependency list of installation targets.
4348         * db/Makefile: Likewise.
4349         * db2/Makefile: Likewise.
4350         * elf/Makefile: Likewise.
4351         * hurd/Makefile: Likewise.
4352         * iconv/Makefile: Likewise.
4353         * iconvdata/Makefile: Likewise.
4354         * intl/Makefile: Likewise.
4355         * localedata/Makefile: Likewise.
4356         * login/Makefile: Likewise.
4357         * po/Makefile: Likewise.
4358         * sunrpc/Makefile: Likewise.
4359         * sysdeps/mach/hurd/Makefile: Likewise.
4360         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4361         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4362         * timezone/Makefile: Likewise.
4364 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4366         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4367         alloc_size.  Pass return value of getcwd syscall to realloc.
4369 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4371         * manual/socket.texi: Spelling fixes.
4373 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4375         * elf/dl-load.c (print_search_path): Remove unused variable.
4377 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4379         * login/utmp_file.c: use __ftruncate not ftruncate.
4380         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4381         for system call and make ftruncate weak alias.
4382         * posix/unistd.h: Add prototype for __ftruncate.
4383         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4384         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4385         instead of snprintf and readv.
4386         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4387         snprintf.
4388         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4389         directly.
4391 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4393         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4394         * iconv/gconv_db.c: Use __ protected regex functions.
4395         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4396         * posix/getopt_init.c: Use __getpid not getpid.
4397         * posix/regex.c: Rename all global functions to start with __ and
4398         make old names weak aliases.
4399         * posix/regex.h: Adopt prototypes for this.
4400         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4401         a weak alias and use __getcwd instead of getcwd.
4402         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4403         * stdlib/strtod.c: Use __btowc instead of btowc.
4404         * stdlib/strtol.c: Likewise.
4405         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4406         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4407         and sys_errlist are weak.
4408         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4409         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4410         * wcsmbs/mbsnrtowcs.c: Likewise.
4411         * wcsmbs/mbsrtowcs.c: Likewise.
4412         * wcsmbs/wcsnrtombs.c: Likewise.
4413         * wcsmbs/wcsrtombs.c: Likewise.
4414         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4415         weak alias.
4416         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4417         * wctype/wctype.c: Define function as __wctype and make wctype
4418         weak alias.
4419         * wctype/wctype.h: Declare __wctype.
4421 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4423         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4425 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4427         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4428         stat64.
4429         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4430         functions.
4431         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4432         for __llseek.
4433         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4434         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4435         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4436         make it a weak alias.
4437         * posix/unistd.h: Declare __lseek64.
4439         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4440         (_IO_file_stat): Fix typo.
4441         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4442         block size from the file.  Use __mempcpy if _LIBC.
4444 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4446         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4447         * wcsmbs/mbrtowc.c: Likewise.
4448         * wcsmbs/mbsnrtowcs.c: Likewise.
4449         * wcsmbs/mbsrtowcs.c: Likewise.
4450         * wcsmbs/wcrtomb.c: Likewise.
4451         * wcsmbs/wcsnrtombs.c: Likewise.
4452         * wcsmbs/wcsrtombs.c: Likewise.
4453         * wcsmbs/wctob.c: Likewise.
4455         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4456         position of next output character correctly.
4457         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4459         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4461         * stdlib/strtod.c: Don't use mbtowc.
4463 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4465         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4466         what we want is smaller than a buffer.
4468 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4470         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4471         this function.
4473 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4475         * configure.in: Recognize --with-headers flag and determine
4476         commandline options to be used in compilation.
4477         * Makeconfig (+includes): Use $(sysincludes).
4478         * config.make.in (sysincludes): Define from SYSINCLUDES.
4479         * glibcbug.in: Use SYSINCLUDES information.
4480         Patches by Zack Weinberg.
4482 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4484         * glibcbug.in: On linux, report version of kernel headers seen
4485         by compiler.
4487 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4489         * libc.map: Add __asprintf to GLIBC_2.1.
4490         * elf/dlerror.c: Use __asprintf, not asprintf.
4491         * libio/stdio.h: Declare __asprintf.
4492         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4493         a weak alias.
4495         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4496         to avoid inclusion from libc_pic.a.
4498         * elf/dl-runtime.c: Undo last patch.
4500         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4502         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4503         as default, use NULL.
4505 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4507         * resolv/Makefile: Include ../Makeconfig - needed for building
4508         static NSS module.
4510 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4512         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4513         static-nss since we don't want hesiod in the static NSS.
4515         * nss/Makefile: Build only nss_files as static.
4517         * nss/function.def: Remove support for service db.
4519 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4521         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4523 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4525         * posix/wordexp-test.c: Make IFS per test-case.
4527 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4529         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4530         ENVIRONMENT.
4532 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4534         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4535         `-print-file-name' to find as and ld.
4537 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4539         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4540         template is wrong.  Remove unused varaible `ignored'.
4542 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4544         * libc.map: Export __libc_sa_len.
4546         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4548 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4550         * iconv/gconv.c: Take care for NULL arguments.
4551         * iconv/gconv_dl.c: Make find_func function global.
4552         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4553         Add prototypes for ASCII conversion functions.
4554         * iconv/gconv_simple.c: Add ASCII conversion functions.
4555         * locale/C-ctype.c: Correct charset name.
4557         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4558         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4559         wcsmbsload.
4560         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4561         * wcsmbs/mbrtowc.c: Likewise.
4562         * wcsmbs/mbsnrtowcs.c: Likewise.
4563         * wcsmbs/mbsrtowcs.c: Likewise.
4564         * wcsmbs/wcrtomb.c: Likewise.
4565         * wcsmbs/wcsnrtombs.c: Likewise.
4566         * wcsmbs/wcsrtombs.c: Likewise.
4567         * wcsmbs/wctob.c: Likewise.
4568         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4569         prototypes for wmemr*.
4570         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4571         * wcsmbs/wcsnlen.c: New file.
4572         * wcsmbs/wcsmbsload.c: New file.
4573         * wcsmbs/wcsmbsload.h: New file.
4575         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4577         * manual/install.texi: Describe some more critical points.
4579         * string/string.h: Add prototype for __strnlen.
4580         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4582         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4583         much less predictable names.
4584         * sysdeps/posix/mkstemp.c: Likewise.
4586 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4588         * manual/libc.texinfo (Top): Change "file namespace" to "local
4589         namespace".
4591         * manual/socket.texi: Change file namespace to local namespace.
4592         (Out-of-Band Data): Remove unneeded variable link.
4593         (Host Address Functions): Use uint32_t consequently and add a
4594         number of clarifications for IPv4/IPv6, classless addresses.
4595         (Internet Namespace): Added some paragraphs about IPv6.
4596         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4598 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4600         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4602         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4603         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4604         (AI_NUMERICHOST): Define.
4605         (getnodebyname): New prototype.
4606         (AI_V4MAPPED, et al.): New constants.
4608         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4609         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4610         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4611         for socket.
4612         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4613         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4615         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4617         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4618         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4619         * socket/Makefile (headers): Add bits/sockunion.h.
4620         * socket/sys/socket.h: Include <bits/sockunion.h>
4621         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4622         <sys/socket.h>, to avoid getting sockaddr_union defined.
4623         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4624         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4625         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4627         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
4628         (2.2.x kernels won't have it).
4630 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
4632         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
4633         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
4634         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
4635         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
4637 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4639         * manual/socket.texi (Socket Addresses): Fix a typo.
4640         (Interface Naming): New section.
4642 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4644         * configure.in: Check for CC using $ac_tool_prefix, to handle
4645         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
4646         * config.make.in: Add MIG to be substituted.
4647         * mach/Machrules: Don't define MIG variable.
4649         Patch by Gordon Matzigkeit <gord@profitpress.com>.
4651 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
4653         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
4654         strdupa to copy rpath.
4656 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4658         * configure.in: Fix gcc version check.
4660         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
4661         confusing.
4663 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
4665         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
4666         of ptsname_r.
4668         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
4669         like ttyname_r.
4670         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
4671         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
4672         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
4673         of __ptsname_r accordingly.
4674         * login/openpty.c (openpty): Likewise.
4676 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
4678         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
4680 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4682         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
4684         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
4686 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4688         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
4689         return value for better error checking.
4691 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
4693         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
4694         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
4696         * elf/elf.h (EM_SPARC64): Remove.
4697         (EM_SPARC32PLUS, EM_SPARCV9): Add.
4698         (HWCAP_SPARC_V9): Add.
4700         * elf/ldsodefs.h (_dl_hwcap): Declare.
4701         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
4702         Weaken so dlopen from static progies works.
4703         (WEAKADDR): New macro.
4704         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
4705         (LD_SO_PRELOAD): New macro.
4706         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
4707         (elf_machine_rela): Weaken _dl_rtld_map.
4709         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
4710         to __clone, and remove the later's alias.
4711         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4713         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
4714         the kernel's structure.
4716         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
4717         Sparc needs a custom value of __KERNEL_NCCS.
4719 1998-04-06  Richard Henderson  <rth@cygnus.com>
4721         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
4723         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
4724         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4726 1998-04-06  Richard Henderson  <rth@cygnus.com>
4728         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
4729         as the buffer is not properly aligned.
4730         Reported by Juan Cespedes <cespedes@debian.org>.
4732 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4734         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
4735         instead of AF_FILE.
4737 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
4739         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
4740         and wc*tomb* functions.
4742 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
4744         * sysdeps/unix/start.c: Fix typo.
4746 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
4748         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4750 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
4752         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4753         expressions and using array variables.
4754         * sysdeps/libm-ieee754/e_asin.c: Likewise.
4755         * sysdeps/libm-ieee754/e_j0.c: Likewise.
4756         * sysdeps/libm-ieee754/e_j1.c: Likewise.
4757         * sysdeps/libm-ieee754/e_log.c: Likewise.
4758         * sysdeps/libm-ieee754/e_pow.c: Likewise.
4759         * sysdeps/libm-ieee754/k_cos.c: Likewise.
4760         * sysdeps/libm-ieee754/k_sin.c: Likewise.
4761         * sysdeps/libm-ieee754/k_tan.c: Likewise.
4762         * sysdeps/libm-ieee754/s_atan.c: Likewise.
4763         * sysdeps/libm-ieee754/s_erf.c: Likewise.
4764         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4765         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4766         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4768 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
4770         * iconv/gconv.c: Rewrite of the low-level of gconv.
4771         * iconv/gconv.h: Likewise.
4772         * iconv/gconv_builtin.h: Likewise.
4773         * iconv/gconv_close.c: Likewise.
4774         * iconv/gconv_db.: Likewise.
4775         * iconv/gconv_dl.c: Likewise.
4776         * iconv/gconv_int.h: Likewise.
4777         * iconv/gconv_open.c: Likewise.
4778         * iconv/gconv_simple.c: Likewise.
4779         * iconvdata/8bit-gap.c: Adapt for rewrite.
4780         * iconvdata/8bit-generic.c: Likewise.
4781         * iconvdata/euckr.c: Likewise.
4782         * iconvdata/iso646.c: Likewise.
4783         * iconvdata/iso6937.c: Likewise.
4784         * iconvdata/iso8859-1.c: Likewise.
4785         * iconvdata/johab.c: Likewise.
4786         * iconvdata/sjis.c: Likewise.
4787         * iconvdata/t61.c: Likewise.
4788         * iconvdata/uhc.c: Likewise.
4790 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
4792         * iconv/gconv_int.h: New file.  Internal header.
4793         * iconv/Makefile (distribute): Add gconv_int.h.
4794         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4795         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4796         * iconv/gconv_close.c: Likewise.
4797         * iconv/gconv_conf.c: Likewise.
4798         * iconv/gconv_db.c: Likewise.
4799         * iconv/gconv_dl.c: Likewise.
4800         * iconv/gconv_int.h: Likewise.
4801         * iconv/gconv_open.c: Likewise.
4802         * iconv/iconv.c: Likewise.
4803         * iconv/iconv_close.c: Likewise.
4804         * iconv/iconv_open.c: Likewise.
4805         * iconv/iconv_prog.c: Likewise.
4807 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4809         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4810         missing braces.
4812 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4814         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4816 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4818         Based on patch from Pat Beirne:
4819         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4820         PIC and non-PIC now.  Correctly negate error number.
4821         (errno): Use `%' not `@' in .type directives.
4823 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4825         * sysdeps/i386/strtok.S: Change to use single exit point.
4826         * sysdeps/i386/i686/strtok.S: Likewise.
4828 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4830         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4831         default.
4833 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4835         * Makerules (installed-libcs): Fix typo.
4837 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4839         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4840         (UHC-routines): Remove ksc5601.
4842 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4844         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4845         introduced in last change.
4847 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
4849         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4850         before 2.1.92.
4852 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4854         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4856         * stdlib/isomac.c: Use -isystem instead of -I for system include
4857         dir.
4859 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
4861         * resolv/res_comp.c (underscorechar): New.
4862         (middlechar): Allow '_'.
4864 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4866         * intl/explodename.c (stdlib.h): Include that file only if
4867         STDC_HEADERS or _LIBC.
4868         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4869         Patch by Philippe De Muyter <phdm@macqel.be>.
4871 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4873         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
4874         (AC_PROG_CHECK_VER): New macro.
4875         * configure.in: Use AC_PROG_CHECK_VER to check versions of
4876         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
4878 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
4880         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
4881         * sysdeps/i386/i686/strtok.S: New file
4882         * sysdeps/i386/i686/strtok_r.S: New file
4884 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
4886         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
4887         type to __off64_t.
4888         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
4889         parameter as __off64_t instead of __off_t.
4890         (ftello): Make alias for ftello64 instead of ftello.  Change
4891         return type to __off64_t.
4893 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4895         * sysdeps/i386/bits/string.h: Fix various typos.
4896         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
4898         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
4900 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4902         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
4903         lchown syscall correctly.  [PR libc/541].
4905 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
4907         * localedata/Makefile: Correct testsuite rules.
4909         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
4910         * iconvdata/iso646.c: Fix conversion from UCS4.
4912         * elf/ldsodefs.h: Mark internal function with internal_function.
4913         * elf/dl-addr.c: Likewise.
4914         * elf/dl-close.c: Likewise.
4915         * elf/dl-debug.c: Likewise.
4916         * elf/dl-deps.c: Likewise.
4917         * elf/dl-error.c: Likewise.
4918         * elf/dl-fini.c: Likewise.
4919         * elf/dl-init.c: Likewise.
4920         * elf/dl-load.c: Likewise.
4921         * elf/dl-lookup.c: Likewise.
4922         * elf/dl-object.c: Likewise.
4923         * elf/dl-open.c: Likewise.
4924         * elf/dl-profile.c: Likewise.
4925         * elf/dl-reloc.c: Likewise.
4926         * elf/dl-runtime.c: Likewise.
4927         * elf/dl-symbol.c: Likewise.
4928         * elf/dl-version.c: Likewise.
4929         * elf/dlerror.c: Likewise.
4930         * sysdeps/generic/dl-sysdep.c: Likewise.
4931         * sysdeps/i386/dl-machine.h: Likewise.
4932         * intl/finddomain.c: Likewise.
4933         * intl/gettextP.h: Likewise.
4934         * intl/loadmsgcat.c: Likewise.
4936 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
4938         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
4939         * iconv/gconv_builtin.h: Add definitions for new builtins.
4940         * iconv/gconv.h: Add prototypes for new builtins.
4942         * iconvdata/Makefile (modules): Add ISO646.
4943         Add rules for ISO646 module.
4944         (distribute): Add iso646.c.
4945         * iconvdata/gconv-modules: Add module and alias definition for
4946         ISO646 charsets.
4947         * iconvdata/iso646.c: New file.
4949 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
4951         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
4952         * iconv/iconv_prog.c: Implement --list option to print available
4953         coded character sets.
4955 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4957         Make fread() read large blocks straight to the user buffer.
4959         * libio/fileops.c (_IO_file_xsgetn): New function.
4960         (_IO_file_jumps): Use it.
4961         * libio/libioP.h: Prototype it.
4963 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4965         * iconv/gconv_conf.c (builtin_aliases): New variable.
4966         (__gconv_read_conf): Add builtin aliases.
4967         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
4968         noop macro before including gconv_builtin.h.
4969         * iconv/gconv_builtin.h: Add alias names.
4971         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
4972         number of converted bytes correctly.
4974 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4976         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
4977         we only wait for a replay.
4979 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4981         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
4982         EUC-KR modules.
4984 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
4986         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
4987         use PLTJMP() rather than explicit (PLT).
4989         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
4990         __libc_start_main().
4992         Based on patch from Pat Beirne:
4993         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
4994         Always define, not only #ifndef PIC.
4995         (DO_CALL): Pass fifth argument correctly in R4.
4996         (PSEUDO): Correct test for error, call syscall_error through PLT
4997         if PIC.
4999 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5001         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5002         definitions.
5004 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5006         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5007         JOHAB.so.
5009 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5011         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5012         lstat64.
5014 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5016         * manual/Makefile: Use object-suffixes-for-libc instead of
5017         object-suffixes.
5018         * rpm/Makefile (install-lib): Likewise.
5020 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5022         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5024         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5025         `m68*', not only `m68k'.
5027 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5029         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5031         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5032         install lddlibc4.
5034 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5036         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5037         EUC-KR.
5039         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5040         comment.
5042 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5044         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5045         the init stuff.
5047 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5049         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5050         adjtimex syscall.
5051         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5052         adjtimex.
5053         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5055 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5057         * Makerules (install): Change comment for libc.so following the
5058         libc_nonshared changes.
5060 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5062         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5064         * iconvdata/gap.pl: Avoid using %#06x.
5066 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5068         * Makerules: Use $? instead of S^ when invoking ar.
5070 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5072         * db2/compat.h: Allow EFTYPE being defined.
5073         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5074         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5075         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5076         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5077         (__libc_once): Correctly unlock semaphore.
5078         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5079         * sysdeps/unix/bsd/getpt.c: Fix typo.
5080         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5082 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5084         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5085         macros.
5087 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5089         * include/mntent.h: New file.
5091         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5092         * elf/dl-load.c: Rewrite search path handling.
5093         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5094         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5095         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5096         * elf/ldsodefs.h: Add prototype.
5098 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5100         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5102         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5103         function.
5105         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5107         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5108         New function.
5109         (HWCAP_IMPORTANT): New definition.
5111 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5113         * elf/dl-open.c (_dl_open): Fix a typo.
5114         (_dl_global_scope_alloc): Make it static.
5116 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5118         * Makerules: Remove duplicate rules to handle stamp.oS.
5120 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5122         * manual/examples/inetsrv.c (main): Change prototype of
5123         make_socket following change in mkisock.c.
5125         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5126         example host.
5127         (main): Change prototype of init_sockaddr following change in
5128         isockadd.c.
5130         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5131         * manual/examples/isockad.c (init_sockaddr): Likewise.
5133         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5134         lines for clarification.
5135         (make_named_socket): Use strncpy instead of strcpy.
5136         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5138 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5140         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5141         determining libs to remove.
5142         (postclean): Add soversions.mk.
5143         * Makerules (common-mostlyclean): Add tests-static and generated
5144         files.
5146 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5148         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5149         scanning for \0.
5150         (__strncat_g): Add i686 specific code.
5152 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5154         * manual/install.texi (Reporting Bugs): Ask to include section
5155         names in reports.
5157 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5159         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5160         guard against direct inclusion.
5162 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5164         Rework support for libc_nonshared.a:
5165         * Makeconfig (object-suffixes-for-libc): New variable.
5166         * Rules: Remove handling of static-only and shared-only routines.
5167         * Makerules: Handle them here instead.  Use
5168         object-suffixes-for-libc instead of object-suffixes when dealing
5169         with libc objects.
5170         (object-suffixes-for-rules): Remove variable.
5171         (elide-routines.oS): Elide all routines except static-only
5172         routines.
5173         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5174         empty.
5175         (installed-libcs): Remove special case for .oS.
5176         (rmobjs): Likewise.
5178 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5180         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5181         do-tst-rpmatch): New targets.
5182         (test): Use them.
5183         (install-locales): Ignore comment lines.
5185 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5187         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5188         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5189         ($(objpfx)rtldtbl.h): Likewise.
5190         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5192 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5194         * manual/string.texi (Finding Tokens in a String): Extend strsep
5195         description and correct example.
5197 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5199         * manual/socket.texi: Remove misguided explicit line breaks and
5200         fix the formatting problem instead by reformulating the
5201         paragraphs.
5202         * manual/filesys.texi: Likewise.
5203         * manual/conf.texi: Likewise.  Don't typeset table with index
5204         fonts, that looks worse than a minimally overfull line.
5206 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5208         * nscd/Makefile (nscd-modules): Move definition outside of
5209         conditional.
5211         * pwd/Makefile: Use have-thread-library to test for thread
5212         library.
5214 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5216         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5218         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5220 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5222         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5224 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5226         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5228         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5229         Reported by Andreas Jaeger.
5231 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5233         * elf/Makefile: Fix typo.
5234         (distribute): Add dl-librecon.h.
5235         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5236         * elf/ldd.sh.in: Likewise.
5237         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5238         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5239         Use strsep correctly.
5240         (process_envvars): Allow platform specific variables.
5241         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5242         (_dl_load_cache_lookup): Test cache IDs found against
5243         _dl_correct_cache_id.
5244         * sysdeps/generic/dl-librecon.h: New file.
5245         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5247         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5249 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5251         * config.make.in (ldd-rewrite-script): New variable.
5252         * configure.in: Substitute ldd-rewrite-script.
5253         * elf/Makefile: Rewrite rules to generate ldd script.
5254         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5255         * elf/ldd.sh.in: Likewise.
5256         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5257         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5258         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5259         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5260         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5262 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5264         * inet/rcmd.c (iruserok): Remain setuid to the local user
5265         while .rhosts is actually read, to make .rhosts-over-NFS work
5266         (PR libc/524).  Use iruserfopen() for security checks on both
5267         hosts.equiv and .rhosts.  General cleanup.
5268         (iruserfopen): New function, performs careful checking on
5269         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5270         stuff plus hard links to files.
5272 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5274         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5276         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5278 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5280         * sysdeps/i386/i486/bits/string.h: Fix typos.
5282 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5284         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5285         strong alias.
5287         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5289         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5290         Added.  Used by libm.so on alpha.
5292 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5294         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5295         defined.
5297 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5299         * Makerules (object-suffixes-for-rules): Add .oS only for
5300         building shared library.
5301         Add ranlib rule for nonshared library.
5302         (rmobjs): Fix typo.
5304         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5305         into for shared library only.
5306         (CPPFLAGS-.oS): Add -DPIC.
5307         (libtypes): Use $(object-suffixes-for-rules) instead of
5308         $(object-suffixes).
5310 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5312         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5313         and install lddlibc4.
5315 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5317         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5318         hash.
5319         * iconvdata/gaptab.pl: Likewise.
5321 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5323         * Rules: Allow Makefiles to specify test-static for tests which
5324         cannot be linked dynamically.
5325         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5326         tests-static.
5328         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5330         * misc/error.c: Pretty print.
5332 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5334         * Makerules (libc_nonshared-name): Remove variable.
5335         (installed-libcs): Use libc-name instead.
5336         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5337         dynamic linker.
5339         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5340         libc.a.  Remove explicit reference to dynamic linker.
5342 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5344         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5345         to wchar_t.
5346         * iconv/iconv_prog.c: Correctly test for write failure.
5347         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5348         * iconvdata/gconv-modules: Likewise.
5349         * iconvdata/euckr.c: New file.
5350         * iconvdata/johab.c: New file.
5351         * iconvdata/ksc5601.c: New file.
5352         * iconvdata/ksc5601.h: New file.
5353         * iconvdata/uhc.c: New file.
5354         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5356         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5357         * stdio/fopen.c: Correct handling of 'x' flag.
5358         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5360 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5362         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5363         * sunrpc/rpcsvc/key_prot.x: Likewise.
5364         * sunrpc/key_prot.c: Likewise.
5366 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5368         * sysdeps/i386/bits/string.h: Correct things which never worked.
5369         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5370         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5372 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5374         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5375         defined.  Reported by Thorsten Kukuk.
5377 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5379         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5381 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5383         * manual/install.texi (Supported Configurations): Add
5384         arm-linuxaout and arm-none.
5386 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5388         * version.h (VERSION): Bump to 2.0.93.
5390 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5392         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5394         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5396         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5397         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5399 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5401         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5403 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5405         Put the static-only routines in a separate library.
5406         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5407         variables.
5408         (all-object-suffixes): Add .oS.
5409         * Makerules (libc_static-name): New variable.
5410         (installed-libcs): Add libc_nonshared.a.
5411         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5412         (object-suffixes-for-rules): New variable.  Use it instead of
5413         object-suffixes for generating compilation rules.
5414         (rmobjs): Also remove *.oS.
5415         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5416         ($(objpfx)stamp.oS): New target.
5418 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5420         * Makefile (FAQ): Automatically check in regenerated FAQ.
5422 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5424         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5426 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5428         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5429         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5431         * sysdeps/generic/stub_warning: Removed.
5433         * Makefile (distribute): Add include/des.h.
5435         * manual/Makefile (distribute): Change dir-add.texi to
5436         dir-add.texinfo.
5438         * glibcbug.in: Create files safely when mktemp is not available.
5440         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5441         Patch by a sun <asun@saul1.u.washington.edu>.
5443 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5445         * libc.map: Rename getname to getnetname.
5447 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5449         * manual/maint.texi: Use supported platform in examples.
5451         * manual/install.texi: Document some installation tips.
5453 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5455         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5456         Fix a bug so that it returns an error if a numeric parameter is
5457         unset and WRDE_UNDEF is set.
5458         Patch by Andreas Schwab and Tim Waugh.
5459         * posix/wordexp-test.c: Add new new test.
5461 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5463         * posix/regex.c (regex_compile): Last patch wasn't entirely
5464         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5466 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5468         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5470 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5472         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5473         clobbered registers don't appear as operands.
5475 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5477         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5478         Solaris' sake.
5480         * posix/regex.c (regex_compile): Don't allow non-alphabet
5481         characters in character set name.
5483 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5485         * posix/wordexp.c (w_newword): New function.
5486         (do_parse_glob): New function.
5487         (parse_glob): Use do_parse_glob.  Now handles the case where a
5488         variable expansion causes a field-split.
5489         (wordexp): Use w_newword.
5490         (parse_arith): Likewise.
5491         (exec_comm): Likewise.
5492         (parse_comm): Likewise.
5493         (parse_param): Likewise.
5494         (parse_backtick): Likewise.
5496 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5498         * posix/wordexp-tst.sh: Another test.
5500         * posix/wordexp-test.c: Two new tests.
5502         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5503         directly (the code using realloc was buggy).
5504         (parse_param): Fix typo in comment.
5506 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5508         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5510 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5512         * libc.map: Add more rpc auth functions/variables.
5514         * nscd/nscd.c: Add -g option to argp options.
5516 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5518         * configure.in: Be prepared for gcc 2.9.10 and up.
5519         * configure.in: Add missing disabling of quote characters in
5520         compiler version check.  Reported by HJ Lu.
5522 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5524         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5526 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5528         * intl/locale.alias: Fix spelling of romanian.
5530         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5531         (distribute): Remove des.h.
5532         * include/des.h: New file.
5533         * sunrpc/des.h: Moved to ...
5534         * sunrpc/rpc/rpc_des.h: ...here.
5536 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5538         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5539         Fix paren.
5541 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5543         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5544         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5546 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5548         * elf/ldsodesf.h: New file.
5549         * elf/Makefile (distribute): Add ldsodefs.h.
5550         * elf/link.h: Separate internal information in exter header.
5551         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5552         * elf/dl-minimal.c: Likewise.
5553         * sysdeps/generic/dl-sysdep.c: Likewise.
5554         * elf/sprof.c: Likewise.
5555         * elf/dlsym.c: Likewise.
5556         * elf/dlvsym.c: Likewise.
5557         * elf/dlerror.c: Likewise.
5558         * elf/dladdr.c: Likewise.
5559         * elf/dlclose.c: Likewise.
5560         * elf/dlopen.c: Likewise.
5561         * elf/dl-addr.c: Likewise.
5562         * elf/dl-close.c: Likewise.
5563         * elf/dl-debug.c: Likewise.
5564         * elf/dl-deps.c: Likewise.
5565         * elf/dl-error.c: Likewise.
5566         * elf/dl-fini.c: Likewise.
5567         * elf/dl-init.c: Likewise.
5568         * elf/dl-load.c: Likewise.
5569         * elf/dl-lookup.c: Likewise.
5570         * elf/dl-object.c: Likewise.
5571         * elf/dl-open.c: Likewise.
5572         * elf/dl-profile.c: Likewise.
5573         * elf/dl-reloc.c: Likewise.
5574         * elf/dl-runtime.c: Likewise.
5575         * elf/dl-support.c: Likewise.
5576         * elf/dl-symbol.c: Likewise.
5577         * elf/dl-version.c: Likewise.
5578         * sysdeps/generic/dl-cache.c: Likewise.
5579         * sysdeps/generic/libc-start.c: Likewise.
5580         * iconv/gconv_dl.c: Likewise.
5581         * nss/nsswitch.c: Likewise.
5583 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5585         * manual/nss.texi: The database is not called network but networks.
5586         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5588 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5590         * configure.in: Correct test for compiler version.
5591         Check that LD_LIBRARY_PATH doesn't contain current path.
5593 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5595         * elf/dl-close.c (_dl_close): Fix byte count while removing
5596         the shared object from the global scope list and optimize
5597         a little bit.
5599 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5601         * manual/filesys.texi (Scanning Directory Content): Add missing
5602         closing brace.
5603         (Scanning Directory Content): Fix text.
5605 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5607         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5608         explaining difference of -lmcheck and MALLOC_CHECK_.
5610 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5612         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5613         typos in comments.
5615 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5617         * test-skeleton.c (main): Fix test for exit signal.
5619 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5621         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5623 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5625         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
5626         appropriate.
5628 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5630         * libc.map: Export __strtok_r.
5632 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
5634         * posix/regex.c (re_compile_fastmap): Remove unused variable
5635         num_regs and adjust comment.
5636         Patch by Jim Meyering <meyering@ascend.com>.
5638         * math/math.h (M_*l): Extend long double constants to be usable
5639         for 128 bit floats.  Patch by Richard Henderson.
5641 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5643         * sysdeps/m68k/m68020/wordcopy.S: New file.
5645 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
5647         * posix/wordexp.c: Rewrite parse_param.
5648         Patch by Tim Waugh and Andreas Schwab.
5650 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5652         * Rules: Update timestamps on empty object files.
5654 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
5656         * manual/filesys.texi (Scanning Directory Content): Add description
5657         of 64 bits scandir function and friends.
5659 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5661         * glibcbug.in: Use mktemp to generate unique file name for
5662         temporary files.
5664         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
5665         ptsname_r.  Use cast for execve call.
5667 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
5669         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
5670         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
5671         * io/sys/statvfs.h: New file.
5672         * sysdeps/generic/fstatvfs.h: New file.
5673         * sysdeps/generic/statvfs.h: New file.
5674         * sysdeps/generic/fstatvfs64.h: New file.
5675         * sysdeps/generic/statvfs64.h: New file.
5676         * sysdeps/generic/bits/statvfs.h: New file.
5677         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
5678         * sysdeps/unix/sysv/linux/statvfs.c: New file.
5679         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
5681         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
5682         and f_ffree elements.
5684         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
5685         mount options in enum.
5687 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5689         * configure.in: Check for recent egcs/gcc.
5691 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5693         * libc.map: Add alphasort64, scandir64, versionsort64.
5694         * dirent/Makefile (routines): Add scandir64, alphasort64, and
5695         versionsort64.
5696         * dirent/alphasort64.c: New file.
5697         * dirent/scandir64.c: New file.
5698         * dirent/versionsort64.c: New file.
5699         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
5700         versionsort.
5701         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
5702         old name weak alias.
5703         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5705         * dirent/alphasort.c: Use strcoll instead of strcmp.
5707         * dirent/scandir.c: Optimize a bit.
5709         * dirent/versionsort.c: Pretty print.
5711 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5713         * string/string.h: Add prototype for __strtok_r.
5715 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5717         * posix/Makefile: Fix typo in last change.
5719 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5721         * dirent/dirent.h (scandir): Make argument of select function const.
5722         * dirent/scandir.c (scandir): Likewise.
5723         Reported by David.Faure@insa-lyon.fr [PR libc/512].
5725 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
5727         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
5728         weak alias.
5729         * sysdeps/i386/strtok_r.c: Likewise.
5731         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
5732         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
5733         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
5734         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
5735         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
5736         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
5738 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5740         * intl/localealias.c: Remove unneeded define for strdup.
5742 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
5744         * manual/argp.texi: Adjust for better TeX output.
5745         * manual/arith.texi: Likewise.
5746         * manual/conf.texi: Likewise.
5747         * manual/filesys.texi: Likewise.
5748         * manual/header.texi: Likewise.
5749         * manual/lgpl.texinfo: Likewise.
5750         * manual/math.texi: Likewise.
5751         * manual/message.texi: Likewise.
5752         * manual/pattern.texi: Likewise.
5753         * manual/process.texi: Likewise.
5754         * manual/signal.texi: Likewise.
5755         * manual/socket.texi: Likewise.
5756         * manual/startup.texi: Likewise.
5757         * manual/stdio.texi: Likewise.
5758         * manual/terminal.texi: Likewise.
5759         * manual/examples/rprintf.c: Likewise.
5760         * manual/examples/testopt.c: Likewise.
5761         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5763 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
5765         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5766         parameter name after seeing a digit if it's enclosed in braces.
5768 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5770         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5772 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5774         * manual/memory.texi (Heap Consistency Checking): Document
5775         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
5777 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5779         * manual/Makefile: Add missing rules.
5781 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5783         * timezone/Makefile (generated): Define to remove all stamp files.
5785         * sysdeps/generic/strsep.c: Also undefine __strsep.
5787         * string/strdup.c: Undefine __strdup and strdup first.
5788         * string/strndup.c: Likewise.
5790         * string/bits/string2.h: Correct strtok_r and strsep.
5791         Add strndup optimization.
5793         * sysdeps/generic/strsep.c: Little optimization.
5795 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
5797         * string/bits/string2.h: Add optimization for strdup.
5798         Always define __strsep and __strtok_r and make real names available
5799         when feature select macros are defined.
5801 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5803         * manual/install.texi (Installation): Use i486-linux as example
5804         instead of the unsupported sunos4.
5805         (Reporting Bugs): Mention glibcbug script.
5806         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5808 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5810         * posix/wordexp-tst.sh: Make portable.  Add more tests.
5812         * posix/Makefile (do-globtest do-wordexp-test): New targets.
5814 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
5816         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5817         * sysdeps/generic/libc-start.c: ...here, replacing former content.
5819         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5820         netpacket/packet.h.
5822         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5824 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5826         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5827         in enumerator for strict standard compliance.
5828         * sysdeps/generic/bits/resource.h: Likewise.
5830 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
5832         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5833         (PLTJMP): New macro.
5835         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5836         longjmp() when floating point enabled.
5837         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5838         * sysdeps/arm/__longjmp.S: Remove floating point code.
5839         * sysdeps/arm/setjmp.S: Likewise.
5841         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5842         * sysdeps/arm/bsd-_setjmp.S: Likewise.
5844         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5845         memset().
5847         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5848         prototype.
5850 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
5852         Based on patches from Pat Beirne and Scott Bambrough:
5854         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5856         * sysdeps/arm/bits/fenv.h: New file.
5858         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
5859         * sysdeps/arm/elf/setjmp.S: Likewise.
5860         * sysdeps/arm/elf/start.S: Likewise.
5861         * sysdeps/arm/init-first.c: Likewise.
5862         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5863         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
5864         comment about floating point to reflect current reality.
5866         * sysdeps/unix/arm/brk.S: Support PIC.
5867         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5868         re-entrant code.
5869         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5870         return; call syscall_error through PLT.
5871         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
5873 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
5875         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
5876         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
5877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
5879 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5881         * dirent/list.c (test): Return error value.
5882         (main): Exit with error value.
5884         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
5886         * Makefile (distribute): Add test-skeleton.c.
5887         * test-skeleton.c: New file.
5888         * dirent/Makefile (tests): Add opendir-tst1.
5889         * dirent/opendir-tst1.c: New file.
5891 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5893         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
5894         Optimize memory handling.
5895         * sysdeps/unix/closedir.c: Optmize memory handling.
5897 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
5899         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
5900         handling.  Optimize a bit.
5902 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
5904         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
5905         (parse_param): Fold in Andreas' fixes to do with when the end of
5906         the parameter name has been reached, and quoting inside ${...}.
5907         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
5908         $((echo);(ls)).
5910 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5912         * manual/maint.texi: Split out installation and contribution
5913         sections to their own appendices.  Misc cleanups.
5914         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
5915         * manual/contrib.texi: New file.
5916         * manual/libc.texinfo: Pull in new appendices.
5917         * manual/header.texi: Correct node pointer.
5919 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5921         * manual/process.texi (Process Completion): Clarify return value
5922         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
5924 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5926         * posix/wordexp-test.c: Add more tests.
5927         (testit): Fix logic.
5929         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
5930         /dev/null instead of closing it, close pipe.  Always chop off all
5931         trailing newlines.  Kill and reap child before returning error.
5932         (w_addword, parse_glob): Fix memory leak.
5933         (wordexp): Fix dangling pointer problem.
5935 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
5937         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
5939         * posix/wordexp-test.c (main): Fix little thinkos and typos.
5941         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
5942         directory index by only the language.
5944 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
5946         * posix/wordexp-tst.sh: Store test results in the
5947         ${common_objpfx}posix directory.
5949         * posix/wordexp-test.c: Remove temporary directory afterwards.
5951 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5953         * libc.map: Export internal versions of cancelable functions.
5955 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5957         * Makerules (MAKEFLAGS): Append `r'.
5959 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5961         * Makeconfig: Define have-thread-library, shared-thread-library
5962         and static-thread-library if a thread library is available.  Don't
5963         define rt.
5964         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
5965         nscd-routines to nscd-modules.  Use shared-thread-library and
5966         static-thread-library in dependencies.
5967         * rt/Makefile: Only compile librt if have-thread-library is
5968         defined.
5969         * Makefile (subdirs): Always include rt subdir.
5971 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5973         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
5975 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
5977         * configure.in: Recognize variations for 32 MIPS processors.
5978         Don't assume ELF systems always have .weak, test for .weakext.
5980 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5982         * configure.in: Irix6 is an ELF platform.
5984 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
5986         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
5987         unmapping the last loaded segment.
5989 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
5991         * configure.in: Set base_os for Irix6.
5992         Correct test for .weakext.
5994 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5996         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
5997         (new_line) to _dl_debug_message call.
5999 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6001         * posix/wordexp.c (parse_param): Perform field-splitting after
6002         expanding positional parameter.
6004         * posix/wordexp-tst.sh: Test that field-splitting is performed
6005         after expanding positional parameter.
6007         * posix/wordexp.c (parse_param): Fixed memory leak in
6008         field-splitting after parameter expansion.
6010 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6012         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6013         (get_toplvl_escape): Correctly terminate loop at EOF.
6014         Patch by Cristian Gafton <gafton@redhat.com>.
6016 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6018         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6019         (test_strsep): Likewise.  Correct horrible bugs.
6021         * string/bits/string2.h (strcspn): Optimize also reject string of
6022         length 2 and 3.
6023         (strspn): Likewise.
6024         (strpbrk): Likewise.
6025         (strsep): Likewise.  Correct bug with successive separators and
6026         separators at the end of the string.
6027         * sysdeps/generic/strsep.c: Correct bug with successive separators
6028         and separators at the end of the string.
6030 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6032         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6033         etc) now handled, as well as $$ (pid).
6035         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6036         (distribute): Add wordexp-tst.sh.
6038         * posix/wordexp-tst.sh: New file.
6040         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6041         number of positional parameters.  Renamed substitute_length to
6042         seen_hash.
6043         Don't free(env) is env is NULL.
6045 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6047         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6049 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6051         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6052         for output file replacing gmon.out.
6053         Patch by Dean Gaudet <dgaudet@arctic.org>.
6055 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6057         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6058         up namespace.  Optimize finding end of line.
6060 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6062         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6063         securely.  Optimized.
6064         (process_dl_debug): Add ':' to list of separators.  Optimized.
6066 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6068         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6069         isless, islessequal, islessgreater, isunordered): Return zero or
6070         one.
6072 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6074         * posix/wordexp-test.c: More tests.
6075         (main): Set up arena for pathname expansion tests (in a temporary
6076         directory).
6077         (testit): Don't check word count or word vector if return value is
6078         non-zero.
6080         * posix/wordexp.c (exec_comm): Always chop off terminating
6081         linefeed (just like bash does).
6082         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6083         (!env || !*env)".
6084         (parse_param): For assignment inside parameter expansion, use all
6085         expanded words in assignment rather than just the first.
6086         (parse_param): Corrected return value for parameter expansion of
6087         an unset variable when WRDE_UNDEF is in effect.
6088         (parse_dollars): Don't field-split if quoted.
6089         (wordexp): Opening brace character isn't allowed unquoted.
6091 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6093         * elf/dlerror.c: Fix concurrency problems with error string and
6094         number.
6096         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6097         filter/auxiliary are being loaded.
6099 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6101         * elf/dlerror.c (last_object_name): Removed.
6102         (dlerror): Don't use last_object_name.
6103         (_dl_error_run): Omit second argument to _dl_catch_error.
6104         * elf/dl-error.c (struct catch): Remove objname member.
6105         (_dl_signal_error): Construct string including objname when given.
6106         (_dl_catch_error): Remove objname handling.
6107         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6108         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6109         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6110         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6111         * iconv/gconv_dl.c (dlerror_run): Likewise.
6112         [Corrects PR libc/501].
6114 1998-03-12  Matthias Urlichs <smurf@noris.de>
6116         * nscd/nscd.c: Ignore SIGPIPE.
6118 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6120         * nscd/nscd_getgr_r.c: Use __ protected names.
6121         * nscd/nscd_getpw_r.c: Likewise.
6123 1998-03-12  Matthias Urlichs <smurf@noris.de>
6125         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6126         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6127         null bytes are not transmitted.
6129 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6131         * powerpc/syscalls.list: Correct typo.
6132         * alpha/syscalls.list: Likewise.
6133         * mips/syscalls.list: Likewise.
6135 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6137         * socket/sys/socket.h: Add prototype for __socket.
6139 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6141         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6143         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6144         constants.
6146         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6147         definition here.
6148         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6149         definition here.
6151         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6152         AF_* and PF_* constants.
6154         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6156 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6158         * elf/rtld.c: Update help message.
6159         Install link maps for preloaded objects using main_map as loader.
6161         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6162         * elf/dl-profile.c: Likewise.
6164         * elf/dlsym.c: Little optimization.
6165         * elf/dlvsym.c: Likewise.
6167 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6169         * posix/wordexp-test.c: Move test for parameter list at the very
6170         beginning.
6172 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6174         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6175         WRDE_REUSE flag is set.
6176         (parse_param): Allow `*', `@', and numbers in parameter names.
6177         (parse_dollars): Differentiate between arithmetic expansion and a
6178         command substitution that starts immediately with a sub-shell
6179         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6180         (parse_param): Memory allocated with __alloca in a block was
6181         referenced outside that block.  Adjusted to use malloc/free.
6182         (parse_param): Adjusted field-splitting algorithm so that there is
6183         not necessarily a field split at the end of a parameter expansion.
6185 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6187         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6188         don't free words that have already been allocated.
6189         (parse_param): A dollar sign on its own will never have a pattern
6190         associated with it (like "${HOME%%/}" has), so don't try to free it.
6191         (parse_glob): Attempt to glob when an unquoted `[' is found
6192         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6193         (parse_glob): Sorted out quoting in a glob-able word.
6194         (parse_param): Added $* and $@ handling.
6196 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6198         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6199         parsing it.
6201 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6203         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6204         _dl_debug_message.
6206 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6208         * elf/dl-misc.c: Default for debug output should be stderr.
6209         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6210         * elf/dl-lookup.c: reference_name may be NULL or empty.
6212 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6214         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6216 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6218         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6220         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6222 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6224         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6227 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6229         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6230         init stuff.
6232 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6234         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6235         flag.
6237         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6238         syslog daemon.
6239         (closelog_internal): Don't do anything if not connected.
6241 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6243         * libc.map: Add _dl_debug_message.
6244         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6245         before every line.
6246         * elf/fini.c: Correctly use new _dl_debug_message function.
6247         * elf/init.c: Likewise.
6248         * elf/dl-lookup.c: Likewise.
6249         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6250         * elf/dl-load.c: Likewise.  Add more debugging prints.
6251         * elf/dl-reloc.c: Likewise.
6252         * elf/dl-version.c: Likewise.
6253         * elf/dl-support.c: Add variables for debugging.
6254         * elf/rtld.c: Likewise.  Recognize new debug options.
6255         * elf/link.h: Declare new variables.
6257         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6259 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6261         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6262         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6264 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6266         * posix/wordexp-test.c (command_line_test): New function to allow
6267         testing of specific cases from the command-line.
6269 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6271         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6272         * elf/dl-fini.c (_dl_fini): Likewise.
6273         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6275         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6276         symbol in debug message.
6277         (_dl_lookup_versioned_symbol_skip): Likewise.
6279 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6281         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6282         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6283         * manual/filesys/texi: Document this.
6285 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6287         * manual/filesys.texi: Document the change below.
6289 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6291         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6292         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6294 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6296         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6297         instead scope.  If debugging display information about symbol
6298         resolving.
6299         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6300         (_dl_lookup_symbol_skip): Likewise.
6301         (_dl_lookup_versioned_symbol): Likewise.
6302         (_dl_lookup_versioned_symbol_skip): Likewise.
6303         * elf/dl-support.c: Define _dl_debug_symbols.
6304         * elf/link.h: Add declaration for _dl_debug_symbols.
6305         * elf/rtld.c: Define _dl_debug_symbols.
6306         (process_dl_debug): Recognize symbols option.
6308 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6310         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6311         in correct format.
6312         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6313         with correct parameters.
6314         [!PIC]: Initialize __libc_multiple_libcs.
6316 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6318         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6319         * elf/rtld.c (_dl_debug_bindings): Add definition.
6320         (process_dl_debug): Recognize bindings option.  Update help message.
6321         * elf/link.h (struct link_map): Add l_versyms member.
6322         (_dl_debug_bindings): Add declaration.
6323         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6324         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6325         and l_reloc_result.
6326         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6327         (sym_val): Remove a member, add m as link_map.
6328         (do_lookup): Return result appropriately.
6329         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6330         Call do_lookup correctly.
6331         (_dl_lookup_symbol_skip): Likewise.
6332         (_dl_lookup_versioned_symbol): Likewise.
6333         (_dl_lookup_versioned_symbol_skip): Likewise.
6335 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6337         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6338         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6340         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6341         * libc.map: Add chown to GLIBC_2.1.
6342         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6343         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6345 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6347         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6348         weak alias.
6349         * sysdeps/alpha/ffs.c: Likewise.
6350         * sysdeps/am29k/ffs.c: Likewise.
6351         * sysdeps/i386/ffs.c: Likewise.
6352         * sysdeps/i960/ffs.c: Likewise.
6353         * sysdeps/m68k/ffs.c: Likewise.
6354         * sysdeps/m88k/ffs.c: Likewise.
6355         * sysdeps/powerpc/ffs.c: Likewise.
6356         * sysdeps/rs6000/ffs.c: Likewise.
6357         * sysdeps/vax/ffs.s: Likewise.
6358         * string/string.h: Declare __ffs.
6359         * libc.map: Export it.
6360         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6361         __builtin_ffs, which is not guaranteed to be namespace clean.
6363 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6365         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6366         table, which is much more likely to exist than debugging symbols.
6367         (printsym): Remove const.
6368         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6369         header table.
6371         * libc.map: Export __profile_frequency, used by elf/sprof, to
6372         avoid infinite recursion during startup.
6374 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6376         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6377         Readd lost negate.
6379         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6381 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6383         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6385 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6387         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6388         LD_PRELOAD, and LD_VERBOSE.
6389         (dl_main): Use global variables set by process_envvars instead of
6390         calling getenv.
6391         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6392         LD_LIBRARY_PATH value, this comes with the parameter.
6393         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6394         ("LD_LIBRARY_PATH") to _dl_init_paths.
6396 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6398         * elf/rtld.c (dl_main): Delay initialization of path structure if
6399         the dynamically linker is invoked implicitly until we read the
6400         dynamic section.
6402 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6404         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6406 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6408         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6409         Linux 2.0 and 2.1.
6411         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6413 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6415         * Makeconfig (nisobjdir): Set to path to nis directory.
6416         (rpath-link): Add nisobjdir.
6417         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6419         * elf/Makefile: Pretty print.
6420         * elf/dl-lookup.c: Include unistd.h.
6421         * elf/dl-runtime.c: Likewise.
6423         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6424         (distribute): Add tst-rpmatch.sh.
6425         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6427         New tests for rpmatch function by
6428         Jochen Hein <jochen.hein@delphi.central.de>.
6429         * localedata/tst-rpmatch.c: New file.
6430         * localedata/tst-rpmatch.sh: New file.
6432         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6433         * localedata/locales/de_AT: Likewise.
6435         * posix/getopt.c: Update contact address.
6436         * posix/getopt1.c: Pretty print.
6438         * sysdeps/generic/libc-start.c: Do most of the initialization now
6439         here instead of in start.S.
6440         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6441         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6443         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6444         profil_counter to be public.
6446 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6448         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6449         (parse_param): Coded parameter length expansion (${#var}).
6450         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6451         (parse_param): Cleaned up (fixed) error handling.
6453         * posix/wordexp-test.c: IFS now includes non-whitespace character
6454         (comma).  Added more tests.
6456 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6458         * elf/link.h: Fix typos.
6459         Reported by Andreas Jaeger.
6461         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6462         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6464 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6466         * argp/argp-help.c: Remove last bits of using gettext instead of
6467         dgettext.
6469 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6471         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6472         __libc_start_main.
6473         * csu/Makefile (routines): Add libc-start.
6474         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6475         * elf/dl-lookup.c: Likewise.
6476         * elf/dl-version.c: Likewise.
6477         * sysdeps/i386/dl-machine.h: Likewise.
6478         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6479         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6480         _dl_sysdep_message macros which use _dl_sysdep_output.
6481         * elf/dl-fini.c: Write out which destructor is called while debugging.
6482         * elf/dl-init.c: Likewise for constructor.
6483         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6484         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6485         _dl_sysdep_message.  Add _dl_sysdep_output.
6486         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6487         this file can be opened.
6488         For LD_DEBUG=libs also set _dl_debug_impcalls.
6489         * sysdeps/generic/dl-cache.c: Include unistd.h.
6490         * sysdeps/generic/libc-start.c: New file.
6491         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6492         * sysdeps/i386/elf/start.S: Don't call main directly, call
6493         __libc_start_main instead.
6495         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6497 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6499         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6501 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6503         * argp/argp.h (struct argp): Add new field domain.
6504         * argp/argp-help.c: Change all gettext calls to dgettext and use
6505         domain field from appropriate argp in call.
6506         * argp/argp-parse.c: Likewise.
6508 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6510         * posix/wordexp-test.c: Change testsuite so that it can run even
6511         for ~root != /root.
6513 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6515         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6517 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6519         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6520         Don't store into global errno if we already store through
6521         __errno_location.
6522         * sysdeps/unix/i386/sysdep.S: Likewise.
6523         * sysdeps/unix/alpha/sysdep.S: Likewise.
6524         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6525         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6527         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6528         PIC).
6530 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6532         * sysdeps/generic/sysdep.h (L): Remove definition.
6533         * sysdeps/i386/sysdep.h (L): Define it here instead.
6535 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6537         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6539         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6541 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6543         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6544         declaration style to avoid warnings.
6546 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6548         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6549         "LD_DEBUG".
6551 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6553         * posix/Makefile (tests): Add wordexp-test.
6554         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6555         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6557 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6559         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6560         dependencies.
6562         * elf/link.h (struct r_search_path_elem): Add two new field for
6563         lib path debugging.
6564         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6565         variable accordingly.
6566         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6567         is considered next along with information about load paths.
6568         * sysdeps/generic/dl-cache.c: Likewise.
6569         * elf/dl-support.c: Define _dl_debug_libs.
6570         * elf/genrtldtbl.awk: Add initializers for two new field in
6571         struct r_search_path_elem.
6573 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6575         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6576         * sysdeps/m68k/lshift.S: Likewise.
6577         * sysdeps/m68k/rshift.S: Likewise.
6578         * sysdeps/m68k/sub_n.S: Likewise.
6579         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6580         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6581         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6583         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6584         [_LIBC_REENTRANT]: Don't store into global errno.
6586         * sysdeps/m68k/sysdep.h: New file.
6587         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6588         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6589         (DO_CALL): Change to expect syscall name as argument.
6590         (PSEUDO): Pass syscall_name to DO_CALL.
6591         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6592         errno.
6594 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6596         * elf/rtld.c: Speed up processing of environment variables.  Do
6597         only one run on the environment by avoiding to call getenv.
6598         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6599         function.  Used by patch above.
6601 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6603         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6604         running nscd.
6605         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6606         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6607         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6609 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6611         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6612         module cannot be found.  Reported by Andreas Jaeger.
6614 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6616         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6617         on platforms which default to unsigned chars.
6618         * nscd/nscd_getpw_r.c: Likewise.
6619         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6620         defining it.
6622 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6624         * elf/Makefile (install-bin): Change = to += for sprof to install
6625         ldd also.
6627 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
6629         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
6631 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
6633         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
6635 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6637         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
6638         that a failure to connect to nscd doesn't change errno.
6640 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6642         * manual/maint.texi (Reporting Bugs): Change
6643         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
6645         * locale/iso-4217.def: Likewise
6647 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
6649         * manual/texinfo.tex: Updated.
6651 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6653         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
6654         value.
6655         * sysdeps/posix/pathconf.c: Likewise.
6656         * posix/getconf.c: Print `undefined' if pathconf returns -1
6657         without setting errno.
6659 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
6661         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
6662         problem.
6663         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
6664         Patches by Elliot Lee <sopwith@cuc.edu>.
6666 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
6668         * elf/link.h (struct link_map): Add new field l_reloc_result.
6669         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
6670         of relocation for the object to be profiled.
6671         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
6672         to NULL.
6673         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
6674         array here.
6675         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
6676         contains a result from a previous run use this instead of computing
6677         the value again.
6678         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
6680 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6682         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
6683         offsets into the GOT.
6684         (RTLD_START): Likewise.
6686 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
6688         * elf/sprof.c: Cleanup a bit.
6690 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
6692         * sysdeps/generic/sysdep.h (L): New. Define.
6694         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
6696         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
6698         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
6699         to have only one exit point for functions.
6700         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6701         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
6702         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
6703         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6704         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6706 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6708         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
6709         reset errno so that errno isn't set to ENOSYS in the first call.
6710         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
6711         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6712         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6713         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6715 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
6717         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
6718         * sysdeps/i386/addmul_1.S: Likewise.
6719         * sysdeps/i386/lshift.S: Likewise.
6720         * sysdeps/i386/mul_1.S: Likewise.
6721         * sysdeps/i386/rshift.S: Likewise.
6722         * sysdeps/i386/sub_n.S: Likewise.
6723         * sysdeps/i386/submul_1.S: Likewise.
6724         * sysdeps/i386/i586/add_n.S: Likewise.
6725         * sysdeps/i386/i586/addmul_1.S: Likewise.
6726         * sysdeps/i386/i586/lshift.S: Likewise.
6727         * sysdeps/i386/i586/mul_1.S: Likewise.
6728         * sysdeps/i386/i586/rshift.S: Likewise.
6729         * sysdeps/i386/i586/sub_n.S: Likewise.
6730         * sysdeps/i386/i586/submul_1.S: Likewise.
6732         * sysdeps/i386/sysdep.h: Extend last change.
6734         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
6735         to have only one exit point for functions.
6737 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6739         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
6740         search.
6742 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
6744         * Makerules: Generate libc.so with absolute paths for the used
6745         shared objects.
6747         * config.make.in: Add MAKEINFO definition.
6749 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6751         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6752         (ENTRY): Use STABS_FUN.
6753         (END): Use STABS_FUN_END.
6754         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6756         * elf/Makefile: Add rules to build sprof program.
6757         * elf/sprof.c: New file.
6759 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6761         * misc/syslog.c (openlog_internal): Insert missing closing brace.
6763 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6765         * configure.in: Check for working msgfmt version (from GNU gettext
6766         0.10 or later).
6768 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6770         * configure.in: Avoid //s in sysdirs.
6771         Patch by Roland McGrath.
6773         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6775 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
6777         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6778         setting _dl_global_scope for RTLD_GLOBAL.
6780 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6782         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6783         possible lists of object-suffixes are taken care of.
6785 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
6787         * timezone/private.h: Update from tzcode1998c.
6788         * timezone/zic.c: Likewise.
6789         * timezone/antarctica: Updated from tzdata1998c.
6790         * timezone/asia: Likewise.
6791         * timezone/australasia: Likewise.
6792         * timezone/europe: Likewise.
6793         * timezone/southamerica: Likewise.
6795 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6797         * posix/glob.c (glob_in_dir): Add support for cases insensitive
6798         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6800 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
6802         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6803         Changed type of TWO43, TWO52 from float to double.
6804         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6805         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6806         Changed type of TWO43 from float to double.
6807         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6808         Use __isinff.
6810 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
6812         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6813         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6814         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6816 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
6818         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6819         kernel_termios.h.
6820         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6821         Clean up random whitespace.
6822         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6823         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6825         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6827 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
6829         * shlib-versions: Match alpha*.
6830         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6831         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6833         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6834         Implement copysign* with and without __ prefix.
6835         Likewise for fabs; use builtin for gcc 2.8.
6836         (floor*): New.
6837         (fdim*): New.
6839         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6840         (R_SPARC*): Match current v9 ABI.
6842         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6844         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6845         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6846         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6847         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6848         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6849         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6850         * sysdeps/unix/grantpt.c (argv): Fix consts.
6851         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6852         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6854 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6856         * misc/syslog.c: Change to allow user the interpretation of the
6857         outcome even with syslog having no return value.
6859 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6861         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6862         that the number of program headers is >0 (which is wrong for the
6863         loader itself).
6865 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6867         * Makefile (distribute): Add README.libm.
6869 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6871         * time/clocktest.c (main): Correct typo: "--" -> "==".
6873 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
6875         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
6876         inline function.
6877         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
6878         inline functions.
6880         * math/libm.map (__atan2): Added.
6882 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6884         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
6885         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6887         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
6888         bug.
6890 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6892         * manual/arith.texi (Old-style number conversion): Correct
6893         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6895 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6897         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
6898         but does not require it.  Handle missing argv[] values gracefully.
6899         * posix/execl.c: Likewise.
6900         * posix/execle.c: Likewise.
6902 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6904         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
6905         bit.
6906         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
6908 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6910         * libc.map: Add __adjtimex.
6912 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6914         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
6915         Remove memset.
6917 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
6919         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
6920         to 64.
6922         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
6924         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
6925         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
6927         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
6928         for shared library.
6930         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
6932         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6933         Added adjtimex and old_adjtimex.
6935         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
6936         New.
6937         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
6938         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
6940         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
6941         symbols only for shared library.
6942         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6943         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6944         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6945         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6946         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6947         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6948         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6950         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
6951         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6952         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6953         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6954         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6955         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6956         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6957         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6959         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
6960         rusage pointer.
6962         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
6963         New macros.
6964         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
6965         timex and __adjtimex, respectively.
6967         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
6969         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
6971 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
6973         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
6974         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
6976 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
6978         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
6980 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6982         * Makefile.in: Disable built-in rules.
6984 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6986         * sysdeps/i386/fpu/t_exp.c: Move to ...
6987         * sysdeps/libm-i387/t_exp.c: ... here.
6989 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
6991         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
6992         from __exp2_deltatable.
6994 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
6996         * nis/ypclnt.c (yp_master): Check result of strdup.
6997         Patch by Thorsten Kukuk.
6999 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7001         * nis/ypclnt.c: Give clnt handle after error checking free, change
7002         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7004 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7006         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7007         Patch by Joe Keane <jgk@jgk.org>.
7009         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7010         * misc/fstab.c: Remove casts in fs_type assignments.
7012 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7014         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7015         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7016         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7017         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7018         * sysdeps/powerpc/bits/fenv.h: Likewise.
7019         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7020         * sysdeps/generic/bits/fenv.h: Likewise.
7021         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7022         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7023         * sysdeps/powerpc/test-arith.c (main): Likewise.
7025 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7027         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7028         the comparison macros.
7030 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7032         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7033         (__log2): Fixed return values.
7034         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7036 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7038         * math/math.h (isunordered): Rename local variables to ensure
7039         correct code.  Reported by HJ Lu.
7041 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7043         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7044         isless, islessequal, islessgreater, isunordered): Fix syntax for
7045         fucompip instruction.
7046         (isless, islessequal): Fix logic.
7048 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7050         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7051         (comparisons_test): New tests for comparison macros.
7053 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7055         * Makeconfig: Filter out frame-pointer effecting options when
7056         compiling profiling or debugging code.
7057         * config.h.in (internal_function): Don't define here if PROF is
7058         defined.
7059         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7060         state.
7061         (__monstartup): If calloc fails set error state and mark array as
7062         not allocated.
7063         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7064         to free array if not  successfully allocated.
7066         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7067         Include elf.h to get macro definitions.
7068         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7070 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7072         * elf/ldd.sh.in: Add compatibility for broken old shells.
7073         * elf/ldd.bash.in: Likewise.
7075 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7077         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7079         * time/clocktest.c (main): Check signal return error.
7081 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7083         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7084         "/" and use do-install-program. Reported by Mark M. Kettenis.
7085         (subdir_install):  Likewise.
7087 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7089         * sunrpc/rpc_sample.c: Fix typo.
7091         * nscd/connections.c: Use locale.
7092         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7093           calloc result.
7094         * nscd/nscd.c: Check if init functions fails.
7095         * nscd/nscd_conf.c: Allow disabling of group cache.
7096         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7097         * nscd/pwdcache.c: Fix debug messages.
7099 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7101         * libc.map: Add __monstartup and _mcleanup for profiling support.
7103 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7105         * libc.map: Export __getpagesize, for binary compatibility with
7106         2.0.
7108 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7110         * posix/globtest.sh: Use --library-path instead of
7111         LD_LIBRARY_PATH.
7112         * localedata/sort-test.sh: Likewise.
7113         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7115 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7117         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7118         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7119         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7121         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7122         kernel_sigaction): Define.
7123         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7124         kernel_sigaction): Define.
7126 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7128         * math/libm-test.c: Change epsilons for libm-ieee754.
7130 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7132         * sysdeps/i386/__longjmp.S: Fix race condition.
7133         Reported by Bruno Haible <haible@ilog.fr>.
7135 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7137         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7138         * iconvdata/8bit-gap.c: Likewise.
7139         * iconvdata/8bit-generic.c: Likewise.
7140         * iconvdata/iso6937.c: Likewise.
7141         * iconvdata/iso8859-1.c: Likewise.
7142         * iconvdata/sjis.c: Likewise.
7143         * iconvdata/t61.c: Likewise.
7145 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7147         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7148         feature tests by positive feature tests.
7150 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7152         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7154 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7156         * elf/dlvsym.c (dlvsym_doit): More corrections.
7157         Patch by Andreas Jaeger.
7159 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7161         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7163 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7165         * libc.map: More reordering for GLIBC_2.1 symbols.
7167 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7169         * libc.map: Move some functions from version GLIBC_2.0 to
7170         GLIBC_2.1, reorder declarations.
7172 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7174         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7175         Patch by zab@thebrain.grumblesmurf.net.
7177 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7179         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7180         NIS+ functions with version GLIBC_2.1.
7182 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7184         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7185         with 2.0 binaries.  Reported by Thorsten Kukuk.
7187 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7189         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7191         * elf/dlsym.c (dlsym_doit): Likewise.
7193 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7195         * elf/link.h: Correct typos.
7197         * iconv/iconv_prog.c: Correct typo.
7199 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7201         * iconv/Makefile: Add rules to build and install iconv program.
7202         * iconv/iconv_prog.c: New file.
7204 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7206         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7207         _dl_lookup_symbol_skip call.
7208         * elf/dlvsym.c (dlvsym_doit): Likewise.
7210 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7212         * libio/iovsscanf.c: Do not include errno.h.
7214 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7216         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7217         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7218         pulling in the whole error list.
7219         (__dcgettext, dcgettext): Removed.
7220         * libc.map: Export _strerror_internal.
7222 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7224         * sysdeps/i386/fpu/t_exp.c: New file.
7226 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7228         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7229         everything with version GLIBC_2.1.
7230         * hesiod/libnss_hesiod.map: Likewise.
7232 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7234         * manual/arith.texi (Old-style number conversion): This node is a
7235         section, not a subsection.
7237 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7239         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7241 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7243         * elf/rtld.c (dl_main): Make sure that the library search paths
7244         have been initialized before the first call to _dl_map_object.
7246 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7248         * Makerules (common-generated): Add libc_pic.os.
7250 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7252         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7253         of the executable.
7255 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7257         * sysdeps/m68k/fpu/t_exp.c: New file.
7259 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7261         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7262         to global errno variable anymore.
7264 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7266         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7267         If PRELOADED is nonzero check in case of an SUID application
7268         whether the shared object has the SUID bit set.
7269         Fix some other problems with handling shared objects in system
7270         specific directories.
7271         (_dl_map_object): Also take extra parameter and pass it to open_path.
7272         * elf/link.h (_dl_map_object): Correct prototype and comment.
7273         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7274         * elf/dl-open.c (_dl_open): Likewise.
7275         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7277         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7279 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7281         * math/libm-test.c (modf_test): Add test for 1.5.
7283         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7284         0 to get always an int.
7286 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7288         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7289         version GLIBC_2.1.
7291 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7293         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7294         trying to read another character.
7296 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7298         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7299         name to lowercase.
7301         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7302         name to lowercase, add test for big enough buffer.
7304 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7306         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7307         Make compatible with older kernels.  Patch by Richard Henderson.
7309 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7311         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7313         * localedata/tst-locale.sh: Comment out first test for now.
7315 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7317         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7318         as 1.
7319         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7320         Likewise.
7322         * libio/iogetline.c (_IO_getline_info): Renamed from
7323         _IO_getline.
7324         (_IO_getline): Just call _IO_getline_info.
7326         * libio/libioP.h (_IO_getline_info): New declaration.
7328         * libc.map (_IO_getline_info, __write): Added.
7330 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7332         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7333         const char* to shut up gcc.
7335 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7337         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7338         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7340         * math/math.h: Define M_* constants always as `double' and add new
7341         macros M_*l which are of type `long double'.
7342         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7343         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7344         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7345         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7346         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7347         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7348         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7349         * math/libm-tst.c: Likewise.
7351         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7352         define as long double unconditionally.
7354 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7356         * manual/arith.texi (Old-style number conversion): Correct some
7357         typos.
7359 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7361         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7362         Restore.
7364         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7366 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7368         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7369         on $(rtld-ldscript).
7371         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7372         starting from 0 not only from `from'.
7373         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7375 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7377         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7378         pass value (or NULL) to _dl_init_paths.
7379         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7380         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7381         environment variable.
7382         * elf/link.h: Change prototype for _dl_init_paths.
7383         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7385         * localedata/Makefile (distribute): Add test files.
7387 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7389         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7390         test1.def, test2.def, test3.def, test4.def}: Simple input files
7391         for localedef. Contributed by Yung-Ching Hsiao
7392         <yhsiao@cae.wisc.edu>.
7394         * localedata/Makefile (tests): Call tst-locale.sh.
7396         * localedata/tst-locale.sh: New file, regression tests for some
7397         localedef problems.
7399 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7401         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7403         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7404         terminated.
7405         * nis/nss_nisplus/nisplus-network.c: Likewise.
7406         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7407         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7408         * nis/nss_nisplus/nisplus-service.c: Likewise.
7410         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7411         and support generating thread safe RPC code.
7412         * sunrpc/rpc_main.c: Add changes.
7413         * sunrpc/rpc_clntout.c: Likewise.
7414         * sunrpc/rpc_cout.c: Likewise.
7415         * sunrpc/rpc_hout.c: Likewise.
7416         * sunrpc/rpc_parse.c: Likewise.
7417         * sunrpc/rpc_sample.c: Likewise.
7418         * sunrpc/rpc_scan.c: Likewise.
7419         * sunrpc/rpc_svcout.c: Likewise.
7420         * sunrpc/rpc_util.c: Likewise.
7421         * sunrpc/rpc_util.h: Add new structs and prototypes.
7422         * sunrpc/proto.h: Remove prototypes for static functions.
7424 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7426         * locale/programs/ld-messages.c (messages_finish): Don't skip
7427         error checking when being quiet.
7428         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7429         (set_class_defaults): Likewise.
7430         * locale/programs/charmap.c (parse_charmap): Likewise.
7431         * locale/programs/ld-collate.c (collate_finish): Likewise.
7432         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7433         * locale/programs/ld-time.c (time_finish): Likewise.
7434         * locale/programs/locfile.c (write_locale_data): Likewise.
7436         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7437         unknown characters and empty ranges.
7438         * locale/programs/ld-collate.c (collate_order_elem): When
7439         processing an ellipsis properly form a linked list in the result
7440         table, fix typo when allocating ordering array.
7441         [PR libc/419]
7443 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7445         * elf/Makefile (ld-map): Define.
7446         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7447         `$(rtld-ldscript)'.
7448         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7449         on $(ld-map).
7450         (rtld-link): Combine the two versions of this definition.  Fixed
7451         to make it work when no symbol versioning is used.
7453 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7455         * Makeconfig (build-program-cmd): Use --library-path parameter to
7456         ld.so instead of environment variable.
7458         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7459         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7461 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7463         * Make-dist: Respect with-cvs setting.
7464         * MakeTAGS (all-pot): Likewise.
7465         * sysdeps/sparc/sparc32/Makefile: Likewise.
7466         * sysdeps/mach/hurd/Makefile: Likewise.
7467         * stdlib/Makefile: Likewise.
7468         * posix/Makefile: Likewise.
7469         * intl/Makefile: Likewise.
7470         * po/Makefile (linguas): Likewise
7472 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7474         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7476 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7478         * libc.map: Add __strcasecmp.
7480         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7481         module.
7483         * nss/getXXent_r.c: If no more module is found don't try to call
7484         setXXent functions but leave unsuccessfully.
7486         * malloc/obstack.h: Cleanups.
7488         * sysdeps/wordsize-32/stdint.h: New file.
7489         * sysdeps/wordsize-64/stdint.h: New file.
7490         * sysdeps/generic/stdint.h: New file.
7491         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7492         * sysdeps/wordsize-64/inttypes.h: Likewise.
7493         * stdlib/Makefile (headers): Add stdint.h.
7495 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7497         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7499 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7501         * timezone: New directory.
7502         * time/README, time/africa, time/antarctica, time/asia,
7503         time/australasia, time/backward, time/checktab.awk,
7504         time/etcetera, time/europe, time/factory, time/ialloc.c,
7505         time/iso3166.tab, time/leapseconds, time/northamerica,
7506         time/pacificnew, time/private.h, time/scheck.c,
7507         time/solar87, time/solar88, time/solar89, time/southamerica,
7508         time/systemv, time/test-tz.c, time/tzfile.h,
7509         time/tzselect.ksh, time/yearistype, time/zdump.c,
7510         time/zic.c, time/zone.tab: Moved to timezone.
7511         * time/tzfile.c: Include tzfile.h from timezone subdir.
7512         * time/tzset.c: Likewise.
7513         * time/Makefile: Cut out all code relating to timezones...
7514         * timezone/Makefile: ...and paste it in here.
7515         * Makefile (subdirs): Add timezone.
7517 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7519         * libc.map (_sys_nerr): Added.
7521         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7522         versioned symbol.
7524 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7526         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7527         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7528         Reported by Craig Metz <cmetz@inner.net>.
7530 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7532         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7533         instead of strcasecmp.
7534         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7536         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7538 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7540         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7541         Patch by Dean Gaudet <dgaudet@arctic.org>.
7543 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7545         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7547 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7549         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7550         with no poll syscall, just include the BSD version.
7551         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7552         kernel without the syscall, include the stub version.
7553         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7554         * sysdeps/generic/getresuid.c: New file.
7555         * sysdeps/generic/getresgid.c: New file.
7557 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7559         * stdio-common/vfscanf.c: Correct last change a bit.
7561 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7563         * elf/Makefile: Don't use --version-script parameter to link ld.so
7564         unconditionally.
7566 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7568         * math/Makefile: Add t_exp.
7569         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7570         constants.
7571         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7572         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7573         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7574         better accuracy.
7575         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7576         algorithm for very large/very small arguments.
7577         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7578         correct algorithm for very large/very small arguments; adjust for
7579         new table.
7580         * sysdeps/libm-ieee754/t_exp.c: New file.
7581         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7583         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7584         back, with comment that explains what breaks when you remove it :-(.
7586         * localedata/xfrm-test.c: Avoid integer overflow.
7588         * stdlib/strfmon.c: char is unsigned, sometimes.
7590         * sysdeps/powerpc/Makefile: Remove quad float support.
7591         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7592         * sysdeps/powerpc/quad_float.h: Likewise.
7593         * sysdeps/powerpc/test-arith.c: Likewise.
7594         * sysdeps/powerpc/test-arithf.c: Likewise.
7596         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7597         * sysdeps/generic/s_exp2f.c: Likewise.
7599         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7600         don't try anything if _SOFT_FLOAT.
7602 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7604         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7605         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7606         * wctype/wctype.c: Likewise.
7607         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7608         changed.  They are incompatible with the _ISxxx values from
7609         <ctype.h> on little endian machines.
7610         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7611         bit number.  This fixes the real bug and restores the integrity of
7612         the ctype locale file.
7613         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7614         * wctype/wcfuncs_l.c: Likewise.
7615         * wctype/wcextra.c: Likewise.
7616         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7617         byte swapping.
7619 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7621         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7622         into .bss segment instead of .common, so that aliases on it work.
7624         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
7625         .size directives, put into .bss segment instead of initializing it
7626         to 4.
7628 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
7630         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
7632         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
7633         functions.
7634         Make names without __ weak aliases.
7635         (__libc_release, __libc_version): Make them static.
7637         * include/gnu/libc-version.h: New file.
7638         * Makefile (headers): Add gnu/libc-version.h.
7640 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
7642         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
7643         and use x for member name.
7644         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
7646         * stdlib/drand48.c: Change according to member name change.
7647         * stdlib/drand48_r.c: Likewise.
7648         * stdlib/lcong48_r.c: Likewise.
7649         * stdlib/lrand48.c: Likewise.
7650         * stdlib/lrand48_r.c: Likewise.
7651         * stdlib/mrand48.c: Likewise.
7652         * stdlib/mrand48_r.c: Likewise.
7653         * stdlib/seed48.c: Likewise.
7654         * stdlib/seed48_r.c: Likewise.
7655         * stdlib/srand48_r.c: Likewise.
7657 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7659         * nss/test-netdb.c: Add some more test cases.
7661 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
7663         * libio/iovsscanf.c: Undo last change modifying errno.
7665 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7667         * stdio-common/vfscanf.c: Never try to read another character
7668         after EOF.  Don't decrement read_in after EOF, it wasn't
7669         incremented in the first place.
7670         (NEXT_WIDE_CHAR): Set First, not first.
7672 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
7674         * db/Makefile ($(inst_libdir)/libndbm.a,
7675         $(inst_libdir)/libndbm.so): New targets.
7676         * db2/Makefile: Likewise.
7678 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
7680         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
7681         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
7683 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7685         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
7686         <streambuf.h>.
7687         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7689 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7691         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
7692         versioned symbols.
7694 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
7696         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
7697         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
7698         Added for libdl.so.
7700 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7702         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
7703         extra syscall.
7705         * grp/Makefile: Fix logic when checking for thread package.
7706         * pwd/Makefile: Likewise.
7708 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
7710         * elf/Makefile (rtld-map): Replaced by libc-map.
7712         * elf/rtld.map: Removed.
7714         * libc.map (__libc_enable_secure, _dl_catch_error,
7715         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
7716         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
7717         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
7718         _dl_object_relocation_scope, _dl_relocate_object,
7719         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
7720         _r_debug): Added for ld.so.
7722 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
7724         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
7725         DO_VERSIONING.
7726         * libio/iofdopen.c: Ditto.
7727         * libio/iofopen.c: Ditto.
7728         * libio/oldfileops.c: Ditto.
7730         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
7731         version GLIBC_2.1.
7733         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
7734         oldsiglist from sysdep_routines and shared-only-routines.
7736         * sysdeps/unix/sysv/linux/errlist.c: New.
7737         * sysdeps/unix/sysv/linux/errlist.h: New.
7738         * sysdeps/unix/sysv/linux/sizes.h: New.
7739         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
7740         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
7742         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
7744         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
7745         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
7746         directive.
7748         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
7750         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
7751         (oldsiglist.c): Removed.
7753         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
7754         (_sys_siglist): Use SYS_SIGLIST instead.
7755         (_sys_nerr): Use SYS_NERR instead.
7757         * sysdeps/gnu/errlist.c: Rebuilt.
7759 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
7761         * elf/Makefile (others-static): New, set to ldconfig.
7762         ($(objpfx)ldconfig): Removed.
7764         * Rules (binaries-all, binaries-static, binaries-shared): New.
7765         Create targets for $(binaries-static) and $(binaries-shared).
7767         * Makeconfig (+link-static, link-libc-static,
7768         link-extra-libs-static): New for static linking.
7770 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7772         * manual/memory.texi (Using the Memory Debugger): Fix typo.
7774         * math/libm-test.c (modf_test): Add one more test for modf.
7776 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
7778         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7779         Rename from __libc_have_rt_sigs and leave as COMMON data.
7781 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
7783         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
7784         of __finite.
7786 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
7788         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
7790 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
7792         * misc/tst-efgcvt.c: Add yet more tests.
7793         * misc/efgcvt_r.c: And correct for these tests again.
7794         Reported by HJ Lu.
7796         * isomac.c: Move to...
7797         * stdlib/isomac.c: ...here.
7798         * Makefile: Move rules for handling isomac...
7799         * stdlib/Makefile: ...to here.
7801 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7803         * misc/tst-efgcvt.c: Add more tests.
7804         * misc/efgcvt_r.c: Correct result for above new tests.
7806 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
7808         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
7809         NDIGIT <= 0.
7811 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
7813         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
7814         if the programs weren't built.
7816 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
7818         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
7819         FE_TONEAREST, soldier on regardless and do the best we can.
7820         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
7822 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
7824         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
7825         _STDIO_H, before including <bits/stdio_lim.h>.
7827         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
7829         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
7830         exist.
7832         * sysdeps/arm/sys/ucontext.h: New file.
7834 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
7836         * manual/stdio.texi (Formatted Output Functions): Explicitly say
7837         that the return value from snprintf() does not count the
7838         terminating NUL as a character.
7840 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7842         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
7843         add description for sete[ug]id and general cleanup.
7844         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7846 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7848         * Makefile (parent-clean): Don't remove makefile fragments here.
7849         (postclean): New variable.
7850         (clean): Remove makefile fragments here.
7851         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
7852         (generated): Add isomac and isomanc.out.
7853         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
7854         avoid-generated is set.
7855         (postclean-generated): Add soversion.mk.
7856         ($(common-objpfx)version.mk): Don't include if avoid-generated is
7857         set.
7858         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
7859         avoid-generated is set.
7860         (common-generated): Add libc.so and libc.so$(libc.so-version).
7861         (generated): Add versioned libraries.
7862         (common-mostlyclean): Also remove %.so and %_pic.a.
7863         * csu/Makefile (generated): Add abi-tag.h.
7864         * db2/Makefile (extra-objs): Add getlong.o.
7865         * elf/Makefile (generated): Add ld.so, ldd and
7866         $(rtld-installed-name).
7867         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
7868         * malloc/Makefile (generated): Add mtrace.
7869         * po/Makefile: Don't include version.mk, not needed any more.
7870         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
7871         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
7872         syscall.h -> sys/syscall.h.
7873         (common-generated): Add s-proto.d.
7874         (postclean-generated): Add sysd-syscalls.
7875         * localedata/Makefile (test-output): Add all output files.
7876         (generated): Add test-input and test-output.
7877         (generated-dirs): Add all the dirs.
7879 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7881         * Makefile (test-output, generated, generated-dirs): New
7882         variables.
7884 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7886         * resolv/nss_dns/dns-host.c: Various code cleanups.
7888 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
7890         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
7891         From Philip Blundell <pb@nexus.co.uk>.
7892         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
7894 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7896         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
7897         Suggested by debian/sparc porters.
7899 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7901         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
7902         for ecvt and fcvt.
7904 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
7906         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
7907         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
7909         * signal/signal.h: Always define sigset_t if __need_sigset_t is
7910         defined even if __USE_POSIX is not defined.
7912 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7914         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
7915         to support obsolete tty major numbers correctly.
7917 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
7919         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
7920         directory first and ignore install error.
7922         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
7923         128 from ptyno and fix a typo for the BSD style pty.
7925 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7927         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
7928         syscalls.list's.
7930 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7932         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7933         getresuid and getresgid.
7935         * sysdeps/unix/sysv/linux/getresuid.c: New file.
7936         * sysdeps/unix/sysv/linux/getresgid.c: New file.
7938         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
7939         s_getres[ug]id.
7941         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
7942         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7943         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7944         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
7946 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
7948         * nscd/grpcache.c: Include <stdlib.h>.
7950 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
7952         * stdlib/atoll.c: Fix comments.
7954         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
7955         * sysdeps/posix/ttyname_r.c: Ditto.
7957 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7959         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
7960         __USE_MISC, independent of __USE_UNIX98.
7962 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
7964         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7965         Rename from __libc_have_rt_sigs and leave as COMMON data.
7967 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
7969         * Makeconfig (CFLAGS-.os): Kill -fno-common.
7970         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
7972         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
7973         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
7974         version symbols.
7975         * include/libc-symbols.h (symbol_version, default_symbol_version):
7976         Provide asm versions and correct !DO_VERSIONING versions.
7977         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
7978         the weak symbol list.
7980         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
7981         Rename from __libc_have_rt_sigs and leave as COMMON data.
7982         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7983         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7984         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7986 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7988         * sunrpc/Makefile: Correct dependencies of rpcgen.
7990 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
7992         * nscd/Makefile: Fix test for available linuxthreads add-on.
7993         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7995 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7997         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
7999 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8001         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8003         * manual/errno.texi (Error Messages): Correct description of
8004         strerror_r.  Pointed out by jonas@bagge.se.
8006 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8008         * manual/socket.texi (Host Address Functions): Clarify description
8009         of inet_network.
8011 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8013         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8014         (grantpt): Delete superfluous cast.
8016 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8018         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8019         elf/ldso_install instead of elf/subdir_install.
8020         (elf/ldso_install): New target.
8022         * elf/Makefile (ldso_install): New target.
8024 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8026         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8027         of 1998-01-06.
8029 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8031         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8032         constant expressions.
8034 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8036         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8037         for __nss_configure_lookup.
8038         (output_hostent): Remove unused variable.
8040 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8042         * string/tst-inlcall.c: Fix format string.
8044 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8046         * inet/netinet/in.h: Rename second parameter of bindresvport to
8047         avoid buggy gcc warning. [PR libc/412]
8049 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8051         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8052         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8054         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8055         Follow POSIX and make tv_sec a time_t.
8056         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8057         new tv64 syscall as well as fall back to tv32.
8058         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8059         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8060         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8061         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8062         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8063         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8064         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8065         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8067         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8068         * include/rpcsvc/nis_tags.h: Likewise.
8069         * include/rpcsvc/nislib.h: Likewise.
8071 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8073         * libc.map: Add _h_errno.
8074         * inet/herrno.c: Make _h_errno weak alias.
8076         * login/Makefile (distribute): Add pty-internal.h.
8078         * nscd/Makefile (distribute): Add all the files missing.
8080         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8081         are available.
8083         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8084         and report status at the end.
8086         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8088         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8089         variable.
8090         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8094 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8096         * configure.in: Fix --enable-add-ons code.
8098 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8100         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8101         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8102         [PR libc/441]
8104         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8105         occurence in cache.  Reported by Rudolf Leitgeb
8106         <leitgeb@leland.stanford.edu>.
8107         [PR libc/440]
8109 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8111         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8112         that it never is EINTR (which is tested for in _IO_vfscanf).
8114         * Makefile.in: Call sub-make with CVSOPTS.
8116         * elf/Makefile (distribute): Add dl-procinfo.h.
8118         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8120 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8122         * version.h (VERSION): Bump to 2.0.92.
8124 1998-01-31  Phil Blundell  <philb@gnu.org>
8126         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8127         alias for __new_sys_siglist.
8129 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8131         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8132         getgrgid_r.c if thread package is available.
8133         * pwd/Makefile: Likewise.
8134         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8135         * grp/getgrgid_r.c: Likewise.
8136         * pwd/getpwnam_r.c: Likewise.
8137         * pwd/getpwuid_r.c: Likewise.
8139 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8141         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8142         with error to allow user intervention.
8143         * nss/getXXent_r.c: Likewise.
8145 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8147         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8148         AT_PLATFORM string.  Pretty print AT_BASE info.
8150         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8151         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8152         * sysdeps/generic/dl-procinfo.h: New file.
8153         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8155 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8157         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8159         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8160         thread and not pthread_detach.
8162         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8164 1998-01-31  Phil Blundell  <philb@gnu.org>
8166         * configure.in: Add --without-cvs option to suppress automatic
8167         checkin of regenerated files.
8168         * config.make.in: Likewise.
8169         * Makefile: Respect with-cvs setting.
8170         * Makerules: Likewise.
8172         * configure.in: Allow the standalone ARM port to be configured.
8174 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8176         * grp/getgrgid_r.c: Define USE_NSCD.
8177         * grp/getgrnam_r.c: Likewise.
8178         * pwd/getpwuid_r.c: Likewise.
8179         * pwd/getpwnam_r.c: Likewise.
8181         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8183         * nss/getXXbyYY_r.c: Try at first nscd.
8185         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8186         * nscd/connections.c: New file.
8187         * nscd/dbg_log.c: New file.
8188         * nscd/dbg_log.h: New file.
8189         * nscd/grpcache.c: New file.
8190         * nscd/nscd.c: New file.
8191         * nscd/nscd.h: New file.
8192         * nscd/nscd_conf.c: New file.
8193         * nscd/nscd_stat.c: New file.
8194         * nscd/pwdcache.c: New file.
8196         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8197         * nscd/nscd_getpw_r.c: Likewise.
8198         * nscd/nscd_proto.h: New, prototypes for client functions.
8200         * nscd/nscd.conf: New, example for a configuration file.
8201         * nscd/nscd.init: New, example for a startup script.
8203         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8204         avoid deadlocks.
8205         * nscd/getgrnam_r.c: Likewise.
8206         * nscd/getpwnam_r.c: Likewise.
8207         * nscd/getpwuid_r.c: Likewise.
8209 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8211         * intl/Makefile: Use CVSOPTS in cvs invocation.
8212         * po/Makefile: Likewise.
8213         * posix/Makefile: Likewise.
8214         * stdlib/Makefile: Likewise.
8216 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8218         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8219         [PR libc/410]
8220         * misc/Makefile (tests): Add tst-efgcvt.
8221         * misc/tst-efgcvt.c: New file.
8223 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8225         * posix/regex.c: Add some more cleanups by Akim Demaille.
8227 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8229         * signal/signal.h: Revert last change.
8230         * string/strsignal.c: Regard signal number NSGI as illegal.
8231         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8232         members.
8234 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8236         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8237         * Makerules: Use CVSOPTS in cvs invocation.
8238         * Makefile: Likewise.
8239         * MakeTAGS: Likewise.
8240         * Make-dist: Likewise.
8242 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8244         * sysdeps/generic/memmem.c: Correct last change.
8246 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8248         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8249         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8251 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8253         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8254         before using RPC.
8256 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8258         * manual/memory.texi (Heap Consistency Checking): mcheck is
8259         declared in <mcheck.h>.
8260         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8262 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8264         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8265         beginning of haystack.
8267 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8269         * nss/nss_files/files-service.c: Correct last patch.
8271 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8273         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8274         __libc_have_rt_sigs.
8275         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8276         including <bits/setjmp.h>.
8277         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8278         Patch from the Debian glibc/SPARC package.
8280 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8282         * sysdeps/alpha/bzero.S: Fix a typo.
8283         * sysdeps/alpha/htonl.S: Ditto.
8284         * sysdeps/alpha/htons.S: Ditto.
8286 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8288         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8290 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8292         * include/cpio.h: Move to ...
8293         * posix/cpio.h: ...here.
8295         * locale/programs/ld-collate.c: Fix typo.
8297         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8299         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8301         * login/utmp_file.c (pututline_file): Don't always report success
8302         if similar entry is found.  Patch by Mark M. Kettenis.
8304 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8306         * manual/Makefile: Don't try to install the info files if makeinfo
8307         is not available.
8309 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8311         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8312         kernel's network ioctls, rather than using <linux/sockios.h> to
8313         get them.  This way we are sure of maintaining compatibility if
8314         the kernel interface should change.
8316 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8318         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8320 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8322         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8325 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8327         Implement System V pseudoterminal handling.
8329         * login/Makefile
8330         (routines): Add getpt, grantpt, unlockpt, ptsname.
8331         (libutil-routines): Remove pty. Add openpty, forkpty.
8332         (distribute): New internal header pty-internal.h.
8333         (others): Add the helper program, pt_chown.
8334         (install-others): Install it, in $(libexecdir), mode 4755.
8336         * login/pty-internal.h: New file.
8337         * login/openpty.c: New file.
8338         * login/forkpty.c: New file.
8339         * login/programs/pt_chown.c: New file.
8341         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8342         * stdlib/stdlib.h: Prototype them.
8344         * config.make.in: Define $(libexecdir).
8345         * Makeconfig: Define $(inst_libexecdir).
8347         * sysdeps/generic/pty.c: Removed.
8348         * sysdeps/unix/sysv/linux/pty.c: Removed.
8350         * sysdeps/generic/getpt.c: Stub out.
8351         * sysdeps/generic/grantpt.c: Likewise.
8352         * sysdeps/generic/ptsname.c: Likewise.
8353         * sysdeps/generic/unlockpt.c: Likewise.
8355         * sysdeps/unix/grantpt.c: New file.
8356         * sysdeps/unix/bsd/getpt.c: New file.
8357         * sysdeps/unix/bsd/unlockpt.c: New file.
8358         * sysdeps/unix/sysv/linux/getpt.c: New file.
8359         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8360         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8362 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8364         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8366 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8368         * nss/Makefile (tests): Add rule for test-netdb.c.
8370         * nss/test-netdb.c: New file.
8372 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8374         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8375         really kept as a variable.  Patch by Richard Henderson,
8376         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8378         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8379         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8380         entries as not existing.
8382 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8384         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8385         zero in alternate form with precision of zero, which must produce
8386         "0".  Add braces to avoid ambiguous `else'.
8388 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8390         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8391         problem with strncpy.
8392         * nis/nss_compat/compat-pwd.c: Likewise.
8393         * nis/nss_compat/comapt-spwd.c: Likewise.
8395 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8397         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8398         by uch@nop.or.jp. [PR libc/437]
8400 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8402         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8404 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8406         * stdio-common/test-popen.c: Include <errno.h>.
8408         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8409         close.
8411         * inet/getnetgrent_r.c: Include <errno.h>.
8413         * db2/db/db_conv.c: Include <string.h> for memcpy.
8415         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8416         so that memcpy is declared.
8418         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8420         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8422 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8424         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8425         overflow while reading line with fgets.
8426         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8428 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8430         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8431         unsigned short, not short.
8432         Reported by Andreas Jaeger.
8434 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8436         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8437         (ccept->accept).
8439         * sysdeps/generic/inttypes.h: Fix spelling.
8441 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8443         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8445         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8447 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8449         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8450         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8451         field for hh modifier.
8452         * stdio-common/vfprint.c: Use is_char field and do not depend in
8453         is_short having the value 2.
8454         Bug reported by Andreas Jaeger.
8456 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8458         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8459         PIC && DO_VERSIONING.
8461 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8463         * Rules: Add rules for $(common-objpfx)dummy$o.
8465 1998-01-26  Richard Henderson  <rth@cygnus.com>
8467         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8468         unimplemented OSF/1 definitions so that they are not accidentally seen.
8470         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8471         of the trampoline function into the macro.
8472         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8473         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8474         kernel 2.1.82 has this fixed.
8476         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8477         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8479 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8481         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8482         support sigaction on kernels > 2.1.7x.
8484 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8486         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8487         if it is empty.
8489         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8490         Patch by David Engel <david@sw.ods.com>.
8492         * configure.in: Fix another typo in --enable-add-ons code.
8494 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8496         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8498 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8500         * nss/nss_files/files-network.c: Correct order of parameters for
8501         getnetbyaddr.
8503 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8505         * db2/Makefile (routines): Add os_alloc.
8506         * db2/db.h: Update from db-2.3.16.
8507         * db2/db_185.h: Likewise.
8508         * db2/db_int.h: Likewise.
8509         * db2/btree/bt_close.c: Likewise.
8510         * db2/btree/bt_cursor.c: Likewise.
8511         * db2/btree/bt_delete.c: Likewise.
8512         * db2/btree/bt_open.c: Likewise.
8513         * db2/btree/bt_page.c: Likewise.
8514         * db2/btree/bt_put.c: Likewise.
8515         * db2/btree/bt_rec.c: Likewise.
8516         * db2/btree/bt_recno.c: Likewise.
8517         * db2/btree/btree_auto.c: Likewise.
8518         * db2/common/db_appinit.c: Likewise.
8519         * db2/common/db_apprec.c: Likewise.
8520         * db2/common/db_err.c: Likewise.
8521         * db2/common/db_region.c: Likewise.
8522         * db2/common/db_shash.c: Likewise.
8523         * db2/db/db.c: Likewise.
8524         * db2/db/db_auto.c: Likewise.
8525         * db2/db/db_conv.c: Likewise.
8526         * db2/db/db_dispatch.c: Likewise.
8527         * db2/db/db_dup.c: Likewise.
8528         * db2/db/db_pr.c: Likewise.
8529         * db2/db/db_rec.c: Likewise.
8530         * db2/db185/db185.c: Likewise.
8531         * db2/dbm/dbm.c: Likewise.
8532         * db2/hash/hash.c: Likewise.
8533         * db2/hash/hash_auto.c: Likewise.
8534         * db2/hash/hash_dup.c: Likewise.
8535         * db2/hash/hash_page.c: Likewise.
8536         * db2/hash/hash_rec.c: Likewise.
8537         * db2/include/btree_ext.h: Likewise.
8538         * db2/include/clib_ext.h: Likewise.
8539         * db2/include/common_ext.h: Likewise.
8540         * db2/include/db.h.src: Likewise.
8541         * db2/include/db_185.h.src: Likewise.
8542         * db2/include/db_am.h: Likewise.
8543         * db2/include/db_ext.h: Likewise.
8544         * db2/include/db_int.h.src: Likewise.
8545         * db2/include/hash_ext.h: Likewise.
8546         * db2/include/lock_ext.h: Likewise.
8547         * db2/include/log.h: Likewise.
8548         * db2/include/log_auto.h: Likewise.
8549         * db2/include/log_ext.h: Likewise.
8550         * db2/include/mp.h: Likewise.
8551         * db2/include/mp_ext.h: Likewise.
8552         * db2/include/mutex_ext.h: Likewise.
8553         * db2/include/os_ext.h: Likewise.
8554         * db2/include/os_func.h: Likewise.
8555         * db2/include/txn_ext.h: Likewise.
8556         * db2/lock/lock.c: Likewise.
8557         * db2/lock/lock_util.c: Likewise.
8558         * db2/log/log.c: Likewise.
8559         * db2/log/log.src: Likewise.
8560         * db2/log/log_archive.c: Likewise.
8561         * db2/log/log_auto.c: Likewise.
8562         * db2/log/log_get.c: Likewise.
8563         * db2/log/log_put.c: Likewise.
8564         * db2/log/log_rec.c: Likewise.
8565         * db2/log/log_register.c: Likewise.
8566         * db2/mp/mp_bh.c: Likewise.
8567         * db2/mp/mp_fget.c: Likewise.
8568         * db2/mp/mp_fopen.c: Likewise.
8569         * db2/mp/mp_fput.c: Likewise.
8570         * db2/mp/mp_pr.c: Likewise.
8571         * db2/mp/mp_sync.c: Likewise.
8572         * db2/mutex/mutex.c: Likewise.
8573         * db2/os/os_alloc.c: Likewise.
8574         * db2/os/os_config.c: Likewise.
8575         * db2/os/os_stat.c: Likewise.
8576         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8577         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8578         * db2/progs/db_load/db_load.c: Likewise.
8579         * db2/progs/db_printlog/db_printlog.c: Likewise.
8580         * db2/progs/db_recover/db_recover.c: Likewise.
8581         * db2/progs/db_stat/db_stat.c: Likewise.
8582         * db2/txn/txn.c: Likewise.
8584         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8585         Unmap memory blocks in reverse order of allocation.
8586         Call munmap with load address added to offset.
8587         Bug reported by Miguel de Icaza.
8589         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8590         up weight array.
8592         * localedata/locales/cs_CZ: Update by Michael Mraka
8593         <michael@informatics.muni.cz>.
8595         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8596         __USE_BSD.
8598         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8599         reading line with fgets.
8600         * nis/nss_compat/compat-pwd.c: Likewise.
8601         * nis/nss_compat/compat-spwd.c: Likewise.
8602         * nss/nss_files/files-XXX.c: Likewise.
8603         * nss/nss_files/files-alias.c: Likewise.
8604         * shadow/fgetspent_r.c: Likewise.
8606         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8608         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8609         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8610         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8612         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8613         FP register content in ucontext_t.
8615 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8617         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8618         calculation.  Patch by Markus Schoder
8619         <Markus.Schoder@dresdner-bank.de>.
8621         * math/libm-test.c (modf_test): Add more tests for modf.
8623         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8624         munlock according to Unix98.
8626 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8628         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
8629         AF_INET.
8631 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
8633         * sysdeps/posix/ttyname.c: Handle symbolic links.
8634         * sysdeps/posix/ttyname_r.c: Ditto.
8636 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
8638         * db2/makedb.c (process_input): Write terminating \0 for value.
8639         (print_database): Simply print value string, don't use length.
8641 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8643         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
8644         exit of loop.
8646 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8648         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
8649         close all sockets.
8651 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
8653         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
8654         sigset.
8655         * signal/sighold.c: New file.
8656         * signal/sigrelse.c: New file.
8657         * sysdeps/generic/sigignore.c: New file.
8658         * sysdeps/generic/sigset.c: New file.
8659         * sysdeps/posix/sigignore.c: New file.
8660         * sysdeps/posix/sigset.c: New file.
8661         * signal/signal.h: Add prototypes for new functions.
8663         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
8664         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
8665         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
8666         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
8668 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
8670         * posix/wordexp.c: Added IFS field-splitting in parameter and
8671         command substitution.  Fixed an IFS-related bug that caused an
8672         infinite loop.
8674 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
8676         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
8677         and swapcontext.
8678         * stdlib/ucontext.h: Correct prototypes.
8679         * sysdeps/generic/getcontext.c: New file.
8680         * sysdeps/generic/setcontext.c: New file.
8681         * sysdeps/generic/makecontext.c: New file.
8682         * sysdeps/generic/swapcontext.c: New file.
8683         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
8685 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
8687         * resource/sys/resource.h: Remove #include of ulimit.h which is
8688         not allowed by SUSv2 and not available on other systems.
8689         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
8691         * streams/Makefile: New file.
8692         * streams/stropts.h: New file.
8693         * sysdeps/generic/bits/stropts.h: New file.
8694         * sysdeps/generic/isastream.c: New file.
8695         * sysdeps/generic/getmsg.c: New file.
8696         * sysdeps/generic/getpmsg.c: New file.
8697         * sysdeps/generic/putmsg.c: New file.
8698         * sysdeps/generic/putpmsg.c: New file.
8699         * sysdeps/generic/fattach.c: New file.
8700         * sysdeps/generic/fdetach.c: New file.
8701         * sysdeps/unix/inet/Subdirs: Add streams.
8702         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
8703         __t_uscalar_t.
8704         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8705         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8706         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8707         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8709         * sysdeps/mach/_strerror.c: Follow changes of generic version to
8710         handle small buffers correctly.
8712 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
8714         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8715         Remove the 3rd arg and add declaration for _dl_runtime_resolve
8716         and _dl_runtime_profile.
8718 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
8720         * include/cpio.h: New file.  Mainly copied from GNU cpio.
8721         * posix/Makefile (headers): Add cpio.h.
8723 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8725         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
8726         to routines.
8727         * nis/nis_cache.c: New file.
8728         * nis/nis_cache2.h: New file.
8729         * nis/nis_cache2_xdr.c: New file.
8730         * nis/nis_call.c: Changes for cache2_info parameter.
8731         * nis/nis_checkpoint.c: Likewise.
8732         * nis/nis_intern.h: Likewise.
8733         * nis/nis_mkdir.c: Likewise.
8734         * nis/nis_ping.c: Likewise.
8735         * nis/nis_rmdir.c: Likewise.
8736         * nis/nis_server.c: Likewise.
8737         * nis/nis_util.c: Likewise.
8739 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8741         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
8742         return/errnop codes.
8743         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8744         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8745         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8746         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8747         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8748         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8749         * nis/nss_nisplus/nisplus-rpc.c: Likewise
8750         * nis/nss_nisplus/nisplus-service.c: Likewise.
8751         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8753 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8755         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
8756         * nis/nss_nis/nis-ethers.c: Likewise.
8757         * nis/nss_nis/nis-grp.c: Likewise.
8758         * nis/nss_nis/nis-hosts.c: Likewise.
8759         * nis/nss_nis/nis-network.c: Likewise.
8760         * nis/nss_nis/nis-proto.c: Likewise.
8761         * nis/nss_nis/nis-hosts.c: Likewise.
8762         * nis/nss_nis/nis-network.c: Likewise.
8763         * nis/nss_nis/nis-proto.c: Likewise.
8764         * nis/nss_nis/nis-publickey.c: Likewise.
8765         * nis/nss_nis/nis-pwd.c: Likewise.
8766         * nis/nss_nis/nis-rpc.c: Likewise.
8767         * nis/nss_nis/nis-service.c: Likewise.
8768         * nis/nss_nis/nis-spwd.c: Likewise.
8770 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
8772         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
8773         Added to follow latest kernel development.
8775 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
8777         * nss/db-Makefile: Handle empty and comment lines better.
8778         ($(VAR_DB)/services.db): Generate entries with missing protocol
8779         value.
8781 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8783         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
8784           NULL.
8785           (getservbyname): Allow proto == NULL.
8786           Pointed out by David N. Welton <davidw@gate.cks.com>.
8787           [PR libc/430].
8789 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
8791         * nis/nislib/nislib.h: Finally removed.
8793         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
8794         C compiler.  From Kaveh Ghazi.
8795         (TYPE_MINIMUM): Define.
8796         (TYPE_MAXIMUM): Define.
8797         (TIME_T_MIN): Use TYPE_MINIMUM.
8798         (TIME_T_MAX): Use TYPE_MAXIMUM.
8799         Patch by Jim Meyering <meyering@ascend.com>.
8801 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
8803         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
8804         __pread64, __pwrite64, and __getpid.
8806         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
8807         versions.
8809 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8811         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
8812         cancelable socket functions as __libc_xxx with __xxx as weak
8813         alias.
8814         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8815         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8817         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
8818         redefined.
8819         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8820         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
8821         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
8822         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8824         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
8825         and __xxx a weak alias.
8826         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8827         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8828         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8829         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8830         * sysdeps/unix/sysv/linux/send.S: Likewise.
8831         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8832         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8834 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8836         * locale/langinfo.h: Add defines.
8838         * dirent/dirent.h: Add defines for DT_*, check also for
8839         _DIRENT_HAVE_D_TYPE.
8840         Suggested by Roland McGrath.
8842 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8844         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
8845         Update from Linux 2.1.73+79.
8847         * README.template: Update information about possible
8848         configurations.
8850         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
8851         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8852         [PR libc/417].
8854         * manual/time.texi (Priority): Correct description of
8855         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8856         [PR libc/416].
8858 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
8860         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
8861         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
8863 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
8865         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
8866         Andreas Jaeger.
8868 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
8870         * locale/programs/ld-collate.c: Little optimizations.
8872         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
8874         * string/Makefile (tests): Add tst-inlcall.
8875         * string/tst-inlcall.c: New file.
8877         * string/strsignal.c: Add support for real-time signals.
8879         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
8880         presense of small buffer.
8882         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
8884         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
8885         for i686.
8887         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
8888         _NSIG + 1.
8890 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
8892         * Rules: Add explicit rule for dummy.o; at least one library needs
8893           it and it isn't autogenerated by the default rules.
8895 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8897         * math/libm-test.c: Tweak epsilons.
8899 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8901         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
8902         child.
8903         (feenv_mask_test): Likewise.
8905 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8907         * Makeconfig: Don't export CPPFLAGS.
8909 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8911         * sunrpc/rpc_main.c (parseargs): Use perror to print error
8912         message.
8914 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8916         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
8917         terminating null in key size.
8919 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8921         * nss/nss_files/files-service.c: Fix allocation size to include
8922         length of PROTO.
8924         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
8925         applicable.  Fix return value and error checking.
8926         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
8927         unparsable lines.
8928         (DB_LOOKUP): Allocate space for terminating null byte.
8930         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
8931         uids specially.
8933         * db2/makedb.c (process_input): Continue processing if a duplicate
8934         key is encountered.
8936 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
8938         * time/tzfile.h: Updated from tzcode1998b.
8939         * time/zdump.c: Likewise.
8940         * time/zic.c: Likewise.
8941         * time/africa: Update from tzdata1998b.
8942         * time/antarctica: Likewise.
8943         * time/asia: Likewise.
8944         * time/australasia: Likewise.
8945         * time/etcetera: Likewise.
8946         * time/europe: Likewise.
8947         * time/leapseconds: Likewise.
8948         * time/northamerica: Likewise.
8949         * time/southamerica: Likewise.
8951 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8953         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
8954         lookups ignoring case.
8955         * nss/nss_files/files-network.c: Do network lookups ignoring
8956         case.
8957         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
8958         case.
8959         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
8960         case insensitive comparing.
8961         Patches by Cristian Gafton <gafton@redhat.com>.
8963 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8965         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
8966         by Roland McGrath. [PR libc/395]
8968 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8970         * manual/arith.texi (Parsing of Integers): Correct description of
8971         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
8972         [PR libc/396]
8974 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
8976         * misc/lsearch.c (lsearch): Return a pointer to the new element
8977         if one was "allocated".
8979 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8981         * string/strsignal.c: NSIG is not a valid index into
8982         _sys_siglist.  Don't zap the last character of the "Unknown
8983         signal" message.
8985 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
8987         * locale/programs/charmap.c (parse_charmap): Correct parsing of
8988         ellipsis expressions.
8990         * locale/programs/charset.c (insert_char): Correctly insert value
8991         of eliipsis expression.
8993 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
8995         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
8996         <bits/setjmp.h>.
8997         * sysdeps/powerpc/setjmp.S: Likewise.
8998         Patches by Matt McLean <keys@keys.got.net>.
9000         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9002         * Makefile: Undo last patch.
9003         (distribute): Add test-installation.pl.
9005         * configure.in: Correct handling of --enable-add-ons without parameter.
9006         Correct address of WWW pages.
9008         * libc.map: Add _nl_domain_bindings.
9010         * db2/mutex/tsl_parisc.s: New file.
9012         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9013         and extra-module.mk.
9015         * localedata/Makefile (distribute): New.  Add all the files.
9017         * stdlib/Makefile (headers): Add inttypes.h.
9018         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9019         * sysdeps/generic/inttypes.h: New file.
9020         * sysdeps/generic/strtoimax.c: New file.
9021         * sysdeps/generic/strtoumax.c: New file.
9022         * sysdeps/generic/wcstoimax.c: New file.
9023         * sysdeps/generic/wcstoumax.c: New file.
9024         * sysdeps/wordsize-32/Dist: Removed.
9025         * sysdeps/wordsize-32/Makefile: Removed.
9026         * sysdeps/wordsize-64/Dist: Removed.
9027         * sysdeps/wordsize-64/Makefile: Removed.
9028         * sysdeps/generic/bits/environments.h: New file.
9030         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9031         header is still not correct.
9033         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9034         * posix/unistd.h: Likewise.
9035         * sysdeps/generic/sys/mman.h: Likewise.
9036         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9038         * manual/arith.texi: Change definition of mul macro.
9039         * manual/math.texi: Likewise.
9041         * misc/Makefile (routines): Add mmap64.
9042         * sysdeps/generic/mmap64.c: New file.
9043         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9044         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9045         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9046         aliases to mmap.
9047         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9049         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9051         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9053         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9055         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9056         FOPEN_MAX also when included by limits.h.
9057         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9059         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9060         and netrom/netrom.h.
9061         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9062         oldsiglist to sysdep_routines, not aux.
9063         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9065         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9066         and SOL_NETROM definition.
9068         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9070         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9071         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9073 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9075         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9077         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9078         sa_handler with k_sa_handler.
9079         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9080         strong alias.
9081         Reported by a sun.
9083         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9084         __libc_have_rt_sigs here.
9085         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9086         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9087         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9088         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9090 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9092         * sysdeps/powerpc/atomicity.h: New file.
9093         * sysdeps/mach/powerpc/machine-lock.h: New file.
9095         * Rules: Use -fpic to build anything that might end up in a users'
9096         shared library.
9098         * sysdeps/powerpc/s_fdim.c: New file.
9099         * sysdeps/powerpc/s_fdimf.c: New file.
9100         * sysdeps/powerpc/s_fmax.S: New file.
9101         * sysdeps/powerpc/s_fmaxf.S: New file.
9102         * sysdeps/powerpc/s_fmin.S: New file.
9103         * sysdeps/powerpc/s_fminf.S: New file.
9104         * sysdeps/powerpc/s_llrint.c: Now is for double.
9105         * sysdeps/powerpc/s_llrintf.c: New file.
9106         * sysdeps/powerpc/s_llround.c: Now is for double.
9107         * sysdeps/powerpc/s_llroundf.c: New file.
9108         * sysdeps/powerpc/s_lrint.c: Now is for double.
9109         * sysdeps/powerpc/s_lrintf.S: New file.
9110         * sysdeps/powerpc/s_lround.c: Now is for double.
9111         * sysdeps/powerpc/s_lroundf.c: New file.
9112         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9113         lrintf, fdim, fdimf.
9115         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9116         file directly, use its parent.
9118         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9119         (for the third time).
9121 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9123         * posix/sched.h: timespec is in <time.h>.
9125         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9127 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9129         * configure.in: Stop with error if --disable-static is used when
9130         the shared lib uses this library.
9132         * gen-FAQ.pl: I've perl installed in /usr/bin.
9134         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9136         Fix Unix98 conformance problems in the headers.
9137         * catgets/nl_types.h: Define nl_item.
9138         * grp/grp.h: Define gid_t.
9139         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9140         * include/nl_types.h: New file.
9141         * include/ulimit.h: New file.
9142         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9143         constants in POSIX mode.
9144         * io/utime.h: Get definition for time_t.
9145         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9146         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9147         * libio/stdio.h: Define va_list.  Make snprintf also available is
9148         __USE_UNIX98.  Declare getopt function and variables.
9149         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9150         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9151         * math/math.h: Defined M_* constants as double for Unix98 mode.
9152         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9153         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9154         * posix/regex.h: Define REG_NOSYS.
9155         * posix/wordexp.h: Define WRDE_NOSYS.
9156         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9157         500 for Unix98.
9158         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9159         somewhere else as well.  Define clock_t for Unix98.
9160         * posix/sys/wait.h: Define pid_t.
9161         * pwd/pwd.h: Define gid_t, uid_t.
9162         * resource/Makefile (headers): Add ulimit.h.
9163         * resource/ulimit.h: New file.
9164         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9165         instead of second argument.
9166         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9167         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9168         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9169         * signal/signal.h: Define pid_t.
9170         * string/string.h: Don't declare BSD string functions in POSIX mode.
9171         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9172         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9173         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9174         and POSIX.
9176         * inet/test_ifindex.c: Change test so that it does not fail for
9177         interface aliases.
9179         * locale/programs/locale.c (show_info): Use correct cast sequence
9180         for 64bit machines.
9182         * malloc/malloc.c: __malloc_initialized now signals three states:
9183         uninitialized, initializing, initialized.  Used in mcheck.
9184         * malloc/mcheck.c (mabort): Add '\n' to messages.
9185         (mcheck): Allow installation when malloc is uninitialized or is
9186         just initializing.
9188         * manual/memory.texi: Explain mtrace output a bit more.
9190         * math/libm-test.c: Add more epsilons.
9192         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9194         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9195         instead of strcpy for security.
9196         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9197         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9198         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9200         * nss/digits_dots.c: Pretty print.
9202         * posix/getconf.c (vars): Add symbols for programming environment
9203         recognition.  Recognize --version.
9205         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9206         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9207         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9209         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9210         __need_FOPEN_MAX.
9211         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9212         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9213         __need_FOPEN_MAX.
9215         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9216         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9218         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9219         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9220         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9221         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9222         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9223         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9225         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9226         SCNu*.
9227         * sysdeps/wordsize-64/inttypes.h: Likewise.
9229         * time/africa: Update from tzdata1997j.
9230         * time/antarctica: Likewise.
9231         * time/asia: Likewise.
9232         * time/australasia: Likewise.
9233         * time/backward: Likewise.
9234         * time/etcetera: Likewise.
9235         * time/europe: Likewise.
9236         * time/factory: Likewise.
9237         * time/northamerica: Likewise.
9238         * time/pacificnew: Likewise.
9239         * time/southamerica: Likewise.
9241         * time/tzfile.h: Update from tzcode1997h.
9242         * time/zic.c: Likewise.
9244         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9245         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9246         isw*() functions for Unix98.
9247         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9248         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9249         is defined.
9251 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9253         * locale/duplocale.c: Increase usage_count only if less than
9254         MAX_USAGE_COUNT.
9255         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9256         MAX_USAGE_COUNT.
9257         * locale/setlocale.c: Likewise.
9259 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9261         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9262         dependency to make it easier to install it selectively.
9264         * Makerules (.SUFFIXES): Don't define any suffixes.
9266 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9268         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9269         * sysdeps/generic/statfs64.c: Emulate using statfs.
9270         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9271         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9272         * sysdpes/generic/ftruncate64.c: New file.
9273         * sysdpes/generic/truncate64.c: New file.
9275         * sysdeps/generic/bits/stat.h: Add LFS support.
9276         * sysdeps/generic/bits/statfs.h: Likewise.
9278         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9279         [__USE_FILE_OFFSET64]: Make long long constant.
9280         (RLIM64_INFINITY): Likewise.
9282         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9283         for LFS support.
9284         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9285         * sysdeps/generic/bits/resource.h: Likewise.
9287         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9289         * include/features.h: Don't prevent LFS support from defining BSD
9290         and SYSV things.
9292         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9293         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9294         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9296         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9297         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9298         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9300         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9301         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9302         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9303         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9304         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9305         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9306         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9307         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9308         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9309         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9310         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9311         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9312         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9313         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9314         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9315         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9316         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9317         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9318         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9319         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9321         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9322         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9323         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9324         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9325         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9327         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9328         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9329         [$(subdir)=dirent]: Add getdents64.
9330         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9332         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9334 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9336         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9338         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9339         * sysdeps/generic/getrlimit64.c: Likewise.
9340         * sysdeps/generic/setrlimit.c: Likewise.
9341         * sysdeps/generic/setrlimit64.c: Likewise.
9343 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9345         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9346         using versioning.
9348         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9350         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9352 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9354         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9355         after the codeset name.
9357 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9359         * libc.map: Add get_kernel_syms.
9361 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9363         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9364         static.
9365         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9366         Likewise.  Fix condition.
9368 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9370         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9372 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9374         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9375         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9377 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9379         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9380         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9381         instead.  Oops.
9383 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9385         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9387 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9389         * math/libm-test.c (catanh_test): Change epsilon.
9390         Reported by H.J. Lu.
9392 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9394         * libc.map (__getpid): Added for linuxthreads.
9396 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9398         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9399         it if gcc uses static variable in DWARF2 unwind information
9400         for exception support.
9402         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9404         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9405         HAVE_DWARF2_UNWIND_INFO_STATIC.
9407         * libc.map (__register_frame*, __deregister_frame*): Make them
9408         global.
9410 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9412         * math/libm-test.c: Add more tests for "normal" values.
9414 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9416         * stdio-common/printf_fphex.c: Fix printing of long double number
9417         with a biased exponent of zero.  Fix rounding.
9419 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9421         * sunrpc/rpc_main.c: Accept new flag -$.
9422         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9424 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9426         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9427         dynamic linker first, in case the interface has changed.
9429 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9431         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9432         order.
9434 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9436         * math/tgmath.h: Check for double first, for architectures where
9437         sizeof (long double) == sizeof (double).
9439 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9441         * math/libm-test.c: New tests for "normal" values added for most
9442         functions.
9444 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9446         * version.h (VERSION): Bump to 2.0.91.
9448         * db2/makedb.c (process_input): Fix typo in message.
9449         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9451         * elf/dynamic-link.h: Pretty print.
9453         * elf/rtld.c: Allow multiple preloading of a shared object.
9455         * include/limits.h: Prevent multiple inclusion.
9457         * malloc/Makefile (headers): Add mcheck.h.
9458         (distribute): Remove it here.
9459         * malloc/mcheck.h: Pretty print.
9460         * malloc/mtrace.c (mallenv): Make `const'.
9461         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9462         are none.
9463         * manual/memory.texi: Update descriptor of malloc hooks.
9465         * posix/Makefile (routines): Add waitid.
9466         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9467         on __id_t.
9468         * posix/sys/wait.h: Define idtype_t type.
9469         Add prototype for waitid.
9470         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9471         * sysdeps/generic/waitid.c: Stub for waitid.
9472         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9473         the __need_siginfo_t defined.
9474         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9475         * sysdeps/generic/bits/types.h: Define __id_t.
9476         Correct definition of __FDMASK.
9477         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9478         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9479         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9481         * sysdeps/posix/waitid.c: New file.
9482         Provided by Zack Weinberg.
9484         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9486         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9487         Add missing parameters.
9489         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9490         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9491         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9492         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9493         initialized.
9495         * sysdeps/i386/dl-machine.h: Little cleanup.
9497         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9498         (__finite): Mark function as const.
9499         Add inline code for __ieee754_atan2.
9501         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9502         (but don't use it now).
9503         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9504         __atan.
9505         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9506         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9507         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9508         real part.
9509         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9510         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9511         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9512         __ieee754_atan2 to base 10.
9513         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9514         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9516         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9517         old_kernel_sigaction.
9519         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9521         * wctype/Makefile (routines): Add wctype_l.
9522         * wctype/wctype.h: Add declaration of __wctype_l.
9523         * wctype/wctype_l.c: New file.
9525 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9527         * locale/C-ctype.c: Correct data for isw* functions.
9528         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9529         byte order.
9530         * wctype/test_wctype.c: Add test for isw* functions.
9531         * wctype/wctype.c: Return value with expected byte order.
9533 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9535         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9537 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9539         * iconvdata/Makefile: Fix a typo.
9541         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9542         oldsiglist for shared library.
9544         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9545         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9547         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9548         sys_siglist, sys_sigabbrev): New file. Make them as the old
9549         version GLIBC_2.0.
9551         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9552         to GLIBC_2.1.
9554 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9556         * libio/iofgets.c (_IO_fgets): Return an error only if there
9557         is a new error.
9558         * libio/iogets.c (_IO_gets): Ditto.
9560 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9562         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9564         * libio/Makefile (routines, shared-only-routines): Add
9565         oldiofdopen.
9567         * libio/fileops.c: Don't use _IO_FILE_complete.
9568         * libio/iofdopen.c: Ditto.
9569         * libio/iofopen.c: Ditto.
9570         * libio/iofopen64.c: Ditto.
9571         * libio/iopopen.c: Ditto.
9572         * libio/iovdprintf.c: Ditto.
9574         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9576         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9577         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9579         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9580         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9582         * libio/libio.h (_IO_FILE): Add more fields.
9583         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9584         one if _IO_USE_OLD_IO_FILE is defined
9585         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9586         them _IO_FILE_complete.
9588         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9589         to adjust vtable.
9590         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9591         _IO_JUMPS.
9592         (_IO_FILE_complete): Commented out.
9594         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9595         * libio/oldiofclose.c: Ditto.
9596         * libio/oldiofopen.c: Ditto.
9597         * libio/oldstdfiles.c: Ditto.
9599         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9600         for the old _IO_FILE.
9602         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9603         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9604         and stderr.
9606         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9607         and remove INAME.
9609         * libio/stdio.c (stdin, stdout, stdin): Don't use
9610         _IO_FILE_complete.
9612         * libio/oldiofdopen.c: New.
9614         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9615         hp->_vtable_offset to 0.
9617 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
9619         * libc.map (_IO_file_open): Added.
9621         * libio/libioP.h (_IO_file_open): Declared.
9623         * libio/fileops.c (_IO_file_open): New.
9624         (_IO_file_fopen): Call _IO_file_open ().
9626         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
9627         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9629 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9631         * signal/signal.h: Fix selection of signal semantics to match
9632         comment.
9634 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9636         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
9637         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
9638         rt_sigreturn.
9639         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9640         [$(subdir)=signal]: Remove rt_sigreturn.
9641         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
9642         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
9643         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
9645 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9647         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
9648         declarations.
9650 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9652         * iconvdata/extra-module.mk: Expand extra-objs now.
9654 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9656         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
9657         inline functions by feature tests to avoid warning about missing
9658         prototype declarations.
9660 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9662         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
9663         return code for non existent +name entries.
9664         * nis/nss_compat/compat-pwd.c: Likewise.
9665         * nis/nss_compat/compat-spwd.c: Likewise.
9667 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
9669         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
9670         (EIO): Likewise.
9671         (ENOSPC): Likewise.
9672         (EEXIST): Likewise.
9673         (__errno_location): Likewise.
9675         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
9677         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
9679 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9681         * sunrpc/publickey.c: Use new NSS interface.
9683 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
9685         * manual/malloc.texi: Document mtrace/muntrace and the concept.
9687 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9689         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
9690         value, to match spirit of the standard.
9691         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
9692         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
9693         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
9695 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9697         * manual/signal.texi (Signal Stack): Remove spurious @item.
9699 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9701         * rt/aio.h: Remove double semicolon.
9703         * rt/librt.map: Add aio_init.
9705 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
9707         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
9708         * Makefile (subdirs): Replace rt by $(rt).
9710         * shlib-versions: Use version .2 for NSS modules.
9712         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
9713         argument.
9714         * pwd/fgetpwent_r.c: Likewise.
9715         * spwd/fgetspent_r.c: Likewise.
9716         * spwd/sgetspent_r.c: Likewise.
9717         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
9718         Store error number in *ERRNOP.  Little optimization.
9719         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
9720         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
9721         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9722         (__internal_getnetgrent_r): New argument.
9723         Call __internal_setnetgrent_reuse with new argument.
9724         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
9725         * inet/netgroup.h: Add argument to prototypes.
9726         * nis/nisplus-parser.h: Likewise.
9727         * nis/nss_compat/compat-grp.c: Change everything to store error
9728         code through provided pointer and not use errno.
9729         * nis/nss_compat/compat-pwd.c: Likewise.
9730         * nis/nss_compat/compat-spwd.c: Likewise.
9731         * nis/nss_nis/nis-alias.c: Likewise.
9732         * nis/nss_nis/nis-ethers.c: Likewise.
9733         * nis/nss_nis/nis-grp.c: Likewise.
9734         * nis/nss_nis/nis-hosts.c: Likewise.
9735         * nis/nss_nis/nis-netgrp.c: Likewise.
9736         * nis/nss_nis/nis-network.c: Likewise.
9737         * nis/nss_nis/nis-proto.c: Likewise.
9738         * nis/nss_nis/nis-publickey.c: Likewise.
9739         * nis/nss_nis/nis-pwd.c: Likewise.
9740         * nis/nss_nis/nis-rpc.c: Likewise.
9741         * nis/nss_nis/nis-service.c: Likewise.
9742         * nis/nss_nis/nis-spwd.c: Likewise.
9743         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9744         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9745         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9746         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9747         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9748         * nis/nss_nisplus/nisplus-network.c: Likewise.
9749         * nis/nss_nisplus/nisplus-parser.c: Likewise.
9750         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9751         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9752         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9753         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9754         * nis/nss_nisplus/nisplus-service.c: Likewise.
9755         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9756         * nss/nss_db/db-XXX.c: Likewise.
9757         * nss/nss_db/db-alias.c: Likewise.
9758         * nss/nss_db/db-netgrp.c: Likewise.
9759         * nss/nss_files/files-XXX.c: Likewise
9760         * nss/nss_files/files-alias.c: Likewise
9761         * nss/nss_files/files-netgrp.c: Likewise
9762         * nss/nss_files/files-parse.c: Likewise
9763         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
9764         parameter of get functions.
9765         * nss/getXXent_r.c: Likewise.
9767         * localedata/tst-fmon.c: Print debug info if test fails.
9769         * rt/Makefile (routines): Add aio_notify.
9770         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
9771         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
9772         * rt/aio_fsync.c: Likewise.
9773         * rt/aio_misc.c: Likewise.
9774         * rt/aio_misc.h: Likewise.
9775         * rt/aio_read.c: Likewise.
9776         * rt/aio_read64.c: Likewise.
9777         * rt/aio_suspend.c: Likewise.
9778         * rt/aio_write.c: Likewise.
9779         * rt/aio_write64.c: Likewise.
9780         * rt/lio_listio.c: Likewise.
9781         * rt/lio_listio64.c: Likewise.
9782         * rt/aio_notify.c: New file.
9784         * sysdeps/generic/bits/sigset.h: Pretty print.
9786         * sysdeps/posix/pwrite.c: Define weak alias only if function is
9787         really defined as __pwrite.
9789         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
9790         instead of pread64.
9791         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9793         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9794         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
9795         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
9796         size in syscall.
9797         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9798         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9799         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
9800         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9801         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9802         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9803         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
9804         for ACT being NULL.
9805         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
9806         RT signals.
9807         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
9808         __NR_pread is not defined.
9809         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
9810         __NR_pwrite is not defined.
9812 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9814         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
9815         handle for /etc/group back in some more cases.
9816         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
9817         handle for /etc/passwd back in some more cases.
9818         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
9819         handle for /etc/shadow back in some more cases.
9821 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
9823         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
9824         beyound its size.
9825         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
9826         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
9828 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
9830         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
9831         handling.  Don't use macros, we need functions.  Use inline functions
9832         for optimization.
9833         * sysdeps/wordsize-64/inttypes.h: Likewise.
9834         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
9835         and wcstoumax.
9836         * sysdeps/wordsize-64/Makefile: Likewise.
9837         * sysdeps/wordsize-32/Dist: Likewise.
9838         * sysdeps/wordsize-64/Dist: Likewise.
9839         * sysdeps/wordsize-32/strtoimax.c: New file.
9840         * sysdeps/wordsize-32/strtoumax.c: New file.
9841         * sysdeps/wordsize-32/wcstoimax.c: New file.
9842         * sysdeps/wordsize-32/wcstoumax.c: New file.
9843         * sysdeps/wordsize-64/strtoimax.c: New file.
9844         * sysdeps/wordsize-64/strtoumax.c: New file.
9845         * sysdeps/wordsize-64/wcstoimax.c: New file.
9846         * sysdeps/wordsize-64/wcstoumax.c: New file.
9848 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
9850         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
9851         that transparent union works.
9852         * sysdeps/generic/wait4.c (__wait4): Likewise.
9853         * sysdeps/generic/wait.c (__wait): Likewise.
9855         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
9856         size_t.
9858         * sysdeps/generic/syscall.c (syscall): Return value and arg are
9859         long, to match prototype.
9861         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
9862         have mremap() yet.
9864         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
9866         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
9868         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
9870         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
9871         __rlim_t.
9873         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
9875         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
9877         * io/sys/stat.h (S_ISLNK): Always false if we don't have
9878         __S_IFLNK.
9880         * sysdeps/standalone/close.c (_STDIO_H): Define before including
9881         <bits/stdio_lim.h>.
9882         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
9884 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
9886         * posix/sys/wait.h: Don't use transparent unions in C++.
9888 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9890         * time/time.h: Add strfxtime.
9892         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
9893         sysv_signal, strfxtime, pread64, pwrite64.
9895 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
9897         Alpha changes for EGCS:
9898         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
9899         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
9900         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
9901         (_start): Likewise.
9902         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
9904 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
9906         The kernel expects the arguments in a different order.
9907         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
9908         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
9910         * FAQ.in: New file.
9911         * gen-FAQ.pl: New file.
9912         * Makefile (FAQ): Add rule to generate from FAQ.in.
9914         * iconvdata/Makefile: Treat libJIS like the other modules.
9916         * rt/librt.map: New file.
9918         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
9919         inclusion.
9920         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
9921         comment.
9923 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
9925         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
9926         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
9927         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
9928         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
9930 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9932         * string/bits/string2.h: Fix spellings.
9934         * string/string.h: Fix spellings.
9936 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9938         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
9939         declaration to __syscall_rt_sigaction.
9941         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
9942         non-existant <sigcontext.h>.
9944 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9946         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
9947         typo.
9949 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9951         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
9953         * Makeconfig (shared-thread-library): Correct spelling.
9955         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
9956         <asm/pci.h>.
9958 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9960         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
9961         constants from Linux headers. Pointed out by
9962         csmall@scooter.o.i.net. [PR libc/369]
9964 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9966         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
9968 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9970         * configure.in: If --enable-add-ons is given without an
9971         argument, set the addons list to all subdirs with a configure
9972         script.
9974 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
9976         * Makeconfig: Add shared-thread-library variable.
9978         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
9979         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
9980         here.
9981         * sysdeps/m68k/fpu/e_acos.c: Likewise.
9982         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9983         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9984         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9985         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9986         * sysdeps/m68k/fpu/k_cos.c: Likewise.
9987         * sysdeps/m68k/fpu/k_sin.c: Likewise.
9988         * sysdeps/m68k/fpu/k_tan.c: Likewise.
9989         * sysdeps/m68k/fpu/s_atan.c: Likewise.
9990         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9991         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9992         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9993         * sysdeps/m68k/fpu/s_csin.c: Likewise.
9994         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9995         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
9996         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9997         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
9998         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9999         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10000         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10001         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10002         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10003         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10004         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10005         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10007         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10008         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10009         * signal/Makefile (headers): Add bits/siginfo.h.
10010         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10011         (distribute): Add testrtsig.h.
10012         * signal/allocrtsig.c: New file.
10013         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10014         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10015         __libc_current_sigrtmax.
10016         * sysdeps/generic/sigqueue.c: New file.
10017         * sysdeps/generic/sigtimedwait.c: New file.
10018         * sysdeps/generic/sigwaitinfo.c: New file.
10019         * sysdeps/generic/testrtsig.h: New file.
10020         * sysdeps/generic/bits/siginfo.h: New file.
10021         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10022         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10023         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10024         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10025         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10026         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10027         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10028         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10029         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10030         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10031         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10032         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10033         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10034         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10035         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10036         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10037         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10038         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10039         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10040         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10041         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10042         and _POSIX_REALTIME_SIGNALS.
10043         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10044         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10045         update _NSIG.
10046         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10047         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10048         definitions.
10050         * Makefile (subdirs): Add rt.
10051         * shlib-versions: Add entry for librt.
10052         * rt/Makefile: New file.
10053         * rt/aio.h: New file.
10054         * rt/aio_cancel.c: New file.
10055         * rt/aio_error.c: New file.
10056         * rt/aio_fsync.c: New file.
10057         * rt/aio_misc.c: New file.
10058         * rt/aio_misc.h: New file.
10059         * rt/aio_read.c: New file.
10060         * rt/aio_read64.c: New file.
10061         * rt/aio_return.c: New file.
10062         * rt/aio_suspend.c: New file.
10063         * rt/aio_write.c: New file.
10064         * rt/aio_write64.c: New file.
10065         * rt/lio_listio.c: New file.
10066         * rt/lio_listio64.c: New file.
10067         * sysdeps/generic/aio_sigqueue.c: New file.
10068         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10069         * sysdeps/unix/sysv/linux/Dist: Add new files
10070         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10071         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10072         rt_sigqueueinfo, rt_sigaction.
10074         * posix/Makefile (headers): Add bits/environments.h.
10075         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10076         and _CS_LFS_CFLAGS on 64bit platforms.
10077         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10078         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10079         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10080         compilation modules.
10081         * sysdeps/wordsize-32/bits/environments.h: New file.
10082         * sysdeps/wordsize-64/bits/environments.h: New file.
10084         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10085         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10086         __libc_pid.
10087         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10088         0xf00baa.
10090         * string/string.h: Add declaration of __strverscmp.
10091         * string/strverscmp.c: Rename function ot __strverscmp and make old
10092         name weak alias.
10094         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10095         * sysdeps/generic/enbl-secure.c: Likewise.
10096         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10098         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10100         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10102 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10104         * posix/sys/wait.h: Use __transparent_union__ instead of
10105         transparent_union.  Reported by Roland McGrath.
10107 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10109         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10110         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10111         [PR libc/366].
10113         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10115         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10117 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10119         * grp/initgroups.c: Increase buffer if it is too small.
10121 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10123         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10124         fields, this is no ISO C.  Reported by Andreas Jaeger.
10126 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10128         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10130 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10132         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10133         _SYS_UTSNAME_H not _UTSNAME_H.
10135 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10137         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10138         computing s_scale.
10140 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10142         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10143         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10144         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10146         * math/libm-test.c (csqrt_test): Add testcase.
10148 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10150         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10151         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10152         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10154 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10156         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10158 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10160         * math/libm-test.c (acos_test): Add more tests.
10161         (asin_test): Likewise.
10162         (atan_test): Likewise.
10163         (exp_test): Likewise.
10164         (sin_test): Likewise.
10165         (sqrt_test): Likewise.
10166         (cpow_test): Likewise.
10167         (csqrt_test): Likewise.
10168         (cexp_test): Correct typo in gcc version test.
10170 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10172         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10173         <bits/setjmp.h>.
10174         * sysdeps/arm/setjmp.S: Likewise.
10176         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10178 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10180         * stdio/stdio.h: Add prototype for tmpfile64().
10182 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10184         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10185         prototype to keep in step with libio version.
10187         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10189 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10191         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10192         cross-compiling.
10194 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10196         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10197         load GOT ptr before jumping to _exit.
10198         Reported by Xavier Leroy.
10200 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10202         * Makefile (subdirs): Add iconvdata and localedata.
10204         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10206         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10208         * iconvdata/8bit-gap.c: New file.
10209         * iconvdata/8bit-generic.c: Renamed from ...
10210         * iconvdata/iso8859-generic.c: ...this.
10211         * iconvdata/configure: Removed.
10212         * iconvdata/Makefile: Add new modules and better rules.
10213         * iconvdata/iso6937.c: Minor bug fixes.
10214         * iconvdata/iso8859-1.c: Likewise.
10215         * iconvdata/t61.c: Likewise.
10216         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10217         Minor bug fixes.
10218         * iconvdata/iso8859-3.c: Likewise.
10219         * iconvdata/iso8859-4.c: Likewise.
10220         * iconvdata/iso8859-5.c: Likewise.
10221         * iconvdata/iso8859-6.c: Likewise.
10222         * iconvdata/iso8859-7.c: Likewise.
10223         * iconvdata/iso8859-8.c: Likewise.
10224         * iconvdata/iso8859-9.c: Likewise.
10225         * iconvdata/iso8859-10.c: Likewise.
10226         * iconvdata/ebcdic-at-de-a.c: New file.
10227         * iconvdata/ebcdic-at-de.c: New file.
10228         * iconvdata/ebcdic-ca-fr.c: New file.
10229         * iconvdata/hp-roman8.c: New file.
10230         * iconvdata/koi-8.c: New file.
10231         * iconvdata/koi8-r.c: New file.
10232         * iconvdata/koi8-h.c: New file.
10233         * iconvdata/latin-greek-1.c: New file.
10234         * iconvdata/latin-greek-1.h: New file.
10235         * iconvdata/latin-greek.c: New file.
10236         * iconvdata/latin-greek.h: New file.
10237         * iconvdata/jis0201.c: New file.
10238         * iconvdata/jis0201.h: New file.
10239         * iconvdata/jis0208.c: New file.
10240         * iconvdata/jis0208.h: New file.
10241         * iconvdata/jis0212.c: New file.
10242         * iconvdata/jis0212.h: New file.
10243         * iconvdata/sjis.c: New file.
10244         * iconvdata/gap.pl: New file.  Script to generate table header.
10245         * iconvdata/gaptab.pl: New file.
10246         * iconvdata/gconv-modules: Add info about new modules.
10248         * locale/programs/charmap.c: Also examine alias names given in charmap
10249         files.
10251         * localedata/*: Add to here from add-on.  We need the information
10252         to generate tables for iconv.
10254         Update from db-2.3.14.
10255         * db2/Makefile: Updated.
10256         * db2/config.h: Likewise.
10257         * db2/db.h: Likewise.
10258         * db2/db_int.h: Likewise.
10259         * db2/btree/bt_cursor.c: Likewise.
10260         * db2/btree/bt_delete.c: Likewise.
10261         * db2/btree/bt_put.c: Likewise.
10262         * db2/btree/bt_search.c: Likewise.
10263         * db2/btree/bt_split.c: Likewise.
10264         * db2/btree/btree_auto.c: Likewise.
10265         * db2/common/db_appinit.c: Likewise.
10266         * db2/common/db_apprec.c: Likewise.
10267         * db2/common/db_err.c: Likewise.
10268         * db2/common/db_region.c: Likewise.
10269         * db2/db/db_auto.c: Likewise.
10270         * db2/db/db_dispatch.c: Likewise.
10271         * db2/db/db_ret.c: Likewise.
10272         * db2/dbm/dbm.c: Likewise.
10273         * db2/hash/hash_auto.c: Likewise.
10274         * db2/include/btree_ext.h: Likewise.
10275         * db2/include/common_ext.h: Likewise.
10276         * db2/include/db.h.src: Likewise.
10277         * db2/include/db_cxx.h: Likewise.
10278         * db2/include/db_ext.h: Likewise.
10279         * db2/include/db_int.h.src: Likewise.
10280         * db2/include/lock.h: Likewise.
10281         * db2/include/log.h: Likewise.
10282         * db2/include/mp.h: Likewise.
10283         * db2/include/mp_ext.h: Likewise.
10284         * db2/include/os_ext.h: Likewise.
10285         * db2/include/os_func.h: Likewise.
10286         * db2/lock/lock.c: Likewise.
10287         * db2/lock/lock_deadlock.c: Likewise.
10288         * db2/log/log.c: Likewise.
10289         * db2/log/log_archive.c: Likewise.
10290         * db2/log/log_auto.c: Likewise.
10291         * db2/log/log_get.c: Likewise.
10292         * db2/log/log_put.c: Likewise.
10293         * db2/mp/mp_bh.c: Likewise.
10294         * db2/mp/mp_fget.c: Likewise.
10295         * db2/mp/mp_fopen.c: Likewise.
10296         * db2/mp/mp_fput.c: Likewise.
10297         * db2/mp/mp_fset.c: Likewise.
10298         * db2/mp/mp_open.c: Likewise.
10299         * db2/mp/mp_pr.c: Likewise.
10300         * db2/mp/mp_region.c: Likewise.
10301         * db2/mp/mp_sync.c: Likewise.
10302         * db2/mutex/README: Likewise.
10303         * db2/mutex/mutex.c: Likewise.
10304         * db2/os/os_open.c: Likewise.
10305         * db2/os/os_func.c: Removed.
10306         * db2/os/os_config.c: New file.
10307         * db2/os/os_spin.c: New file.
10308         * db2/txn/txn.c: Likewise.
10309         * db2/txn/txn_auto.c: Likewise.
10311 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10313         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10314         __typeof for C++ since this fails for class members.
10315         Reported by Neal Becker <neal@ctd.comsat.com>.
10317 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10319         * configure.in: Check for a working makeinfo (3.11 or better).
10320         * config.make.in: Add MAKEINFO to be substituted.
10321         * manual/Makefile: Don't update info if makeinfo is too old.
10323 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10325         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10326         * sysdeps/alpha/__longjmp.S: Likewise.
10327         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10328         not <bits/termios.h>.
10330         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10331         __llseek and make llseek and lseek64 weak aliases.
10332         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10333         Patches by a sun <asun@zoology.washington.edu>.
10335 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10337         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10338         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10339         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10340         * misc/sys/syslog.h: Clean up BSD header.
10342 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10344         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10346         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10347         for ctan(+-inf,x).
10348         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10349         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10351         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10352         csqrt (-1), ctanh(i*pi/4).
10354 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10356         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10358 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10360         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10362 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10364         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10366 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10368         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10369         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10370         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10371         of GETCWD_STORYGE_CLASS and put the return type and the
10372         `internal_function' in the right order for gcc 2.7.2.
10374 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10376         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10377         incompatible with Linux 2.1.x.  Packages using modules
10378         (e.g. modutils) should/do provide their own version.  Suggested by
10379         Richard Henderson.
10381         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10384         [$(subdir)=socket]: Remove sys/module.h.
10386 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10388         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10389         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10391         * iconv/gconv_close.c: Correct freeing of descriptor data.
10392         * iconv/gconv_simple.c: Return correct error values for illegal or
10393         incomplete characters.
10395         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10396         development.
10397         * iconvdata/Makefile: New file.
10398         * iconvdata/configure: Likewise.
10399         * iconvdata/extra-module.mk: Likewise.
10400         * iconvdata/gconv-modules: Likewise.
10401         * iconvdata/iso6937.c: Likewise.
10402         * iconvdata/iso8859-1.c: Likewise.
10403         * iconvdata/iso8859-10.c: Likewise.
10404         * iconvdata/iso8859-10.h: Likewise.
10405         * iconvdata/iso8859-2.c: Likewise.
10406         * iconvdata/iso8859-2.h: Likewise.
10407         * iconvdata/iso8859-3.c: Likewise.
10408         * iconvdata/iso8859-3.h: Likewise.
10409         * iconvdata/iso8859-4.c: Likewise.
10410         * iconvdata/iso8859-4.h: Likewise.
10411         * iconvdata/iso8859-5.c: Likewise.
10412         * iconvdata/iso8859-5.h: Likewise.
10413         * iconvdata/iso8859-6.c: Likewise.
10414         * iconvdata/iso8859-6.h: Likewise.
10415         * iconvdata/iso8859-7.c: Likewise.
10416         * iconvdata/iso8859-7.h: Likewise.
10417         * iconvdata/iso8859-8.c: Likewise.
10418         * iconvdata/iso8859-8.h: Likewise.
10419         * iconvdata/iso8859-9.c: Likewise.
10420         * iconvdata/iso8859-9.h: Likewise.
10421         * iconvdata/iso8859-generic.c: Likewise.
10422         * iconvdata/t61.c: Likewise.
10424         * string/Makefile (routines): Add strcasestr.
10425         * string/string.h: Add prototype for strcasestr.
10426         * sysdeps/generic/strcasestr.c: New file.
10427         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10428         * wcsmbs/wcrtomb.c: Likewise.
10429         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10430         * wcsmbs/wcsnrtombs.c: Likewise.
10431         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10432         partial character is read.
10433         * wcsmbs/wcsrtombs.c: Likewise.
10434         * wcsmbs/wmemrtombs.c: Likewise.
10435         * wcsmbs/wmemrtowcs.c: Likewise.
10437         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10438         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10439         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10440         * sysdeps/i386/elf/setjmp.S: Likewise.
10441         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10442         <bits/termios.h>.
10444         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10445         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10447         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10448         * sysvipc/sys/ipc.h: Likewise.
10449         * sysvipc/sys/msg.h: Likewise.
10450         * sysvipc/sys/sem.h: Likewise.
10451         * sysvipc/sys/shm.h: Likewise.
10453         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10454         used directly.
10455         * sysdeps/alpha/bits/setjmp.h: Likewise.
10456         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10457         * sysdeps/arm/bits/endian.h: Likewise.
10458         * sysdeps/arm/bits/setjmp.h: Likewise.
10459         * sysdeps/generic/bits/byteswap.h: Likewise.
10460         * sysdeps/generic/bits/confname.h: Likewise.
10461         * sysdeps/generic/bits/dirent.h: Likewise.
10462         * sysdeps/generic/bits/dlfcn.h: Likewise.
10463         * sysdeps/generic/bits/endian.h: Likewise.
10464         * sysdeps/generic/bits/fenv.h: Likewise.
10465         * sysdeps/generic/bits/huge_val.h: Likewise.
10466         * sysdeps/generic/bits/in.h: Likewise.
10467         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10468         * sysdeps/generic/bits/ioctls.h: Likewise.
10469         * sysdeps/generic/bits/ipc.h: Likewise.
10470         * sysdeps/generic/bits/msq.h: Likewise.
10471         * sysdeps/generic/bits/poll.h: Likewise.
10472         * sysdeps/generic/bits/resource.h: Likewise.
10473         * sysdeps/generic/bits/sched.h: Likewise.
10474         * sysdeps/generic/bits/sem.h: Likewise.
10475         * sysdeps/generic/bits/setjmp.h: Likewise.
10476         * sysdeps/generic/bits/shm.h: Likewise.
10477         * sysdeps/generic/bits/sigaction.h: Likewise.
10478         * sysdeps/generic/bits/sigcontext.h: Likewise.
10479         * sysdeps/generic/bits/socket.h: Likewise.
10480         * sysdeps/generic/bits/stat.h: Likewise.
10481         * sysdeps/generic/bits/statfs.h: Likewise.
10482         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10483         * sysdeps/generic/bits/termios.h: Likewise.
10484         * sysdeps/generic/bits/time.h: Likewise.
10485         * sysdeps/generic/bits/uio.h: Likewise.
10486         * sysdeps/generic/bits/utmp.h: Likewise.
10487         * sysdeps/generic/bits/utmpx.h: Likewise.
10488         * sysdeps/generic/bits/utsname.h: Likewise.
10489         * sysdeps/generic/bits/waitflags.h: Likewise.
10490         * sysdeps/generic/bits/waitstatus.h: Likewise.
10491         * sysdeps/gnu/bits/utmp.h: Likewise.
10492         * sysdeps/gnu/bits/utmpx.h: Likewise.
10493         * sysdeps/i386/bits/byteswap.h: Likewise.
10494         * sysdeps/i386/bits/endian.h: Likewise.
10495         * sysdeps/i386/bits/huge_val.h: Likewise.
10496         * sysdeps/i386/bits/setjmp.h: Likewise.
10497         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10498         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10499         * sysdeps/m68k/bits/byteswap.h: Likewise.
10500         * sysdeps/m68k/bits/endian.h: Likewise.
10501         * sysdeps/m68k/bits/setjmp.h: Likewise.
10502         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10503         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10504         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10505         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10506         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10507         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10508         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10509         * sysdeps/mips/bits/dlfcn.h: Likewise.
10510         * sysdeps/mips/bits/endian.h: Likewise.
10511         * sysdeps/mips/bits/setjmp.h: Likewise.
10512         * sysdeps/mips/dec/bits/endian.h: Likewise.
10513         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10514         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10515         * sysdeps/mips/p40/bits/endian.h: Likewise.
10516         * sysdeps/powerpc/bits/endian.h: Likewise.
10517         * sysdeps/powerpc/bits/fenv.h: Likewise.
10518         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10519         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10520         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10521         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10522         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10523         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10524         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10525         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10526         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10527         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10528         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10529         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10530         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10531         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10532         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10533         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10534         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10535         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10536         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10537         * sysdeps/unix/common/bits/dirent.h: Likewise.
10538         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10539         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10540         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10541         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10542         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10543         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10544         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10545         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10546         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10547         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10548         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10549         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10550         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10551         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10552         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10553         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10554         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10555         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10556         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10557         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10558         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10559         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10560         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10561         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10562         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10563         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10564         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10565         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10566         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10567         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10568         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10569         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10570         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10571         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10572         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10573         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10574         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10575         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10576         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10577         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10578         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10579         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10580         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10581         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10582         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10583         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10584         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10585         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10586         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10587         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10588         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10589         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10590         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10591         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10592         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10593         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10594         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10595         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10596         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10597         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10598         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10599         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10600         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10601         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10602         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10603         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10604         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10605         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10606         * sysdeps/vax/bits/huge_val.h: Likewise.
10607         * sysdeps/vax/bits/setjmp.h: Likewise.
10608         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10609         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10611 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10613         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10615 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
10617         * strftime.c (strftime):
10618         No longer any need to undef or declare if emacs is defined.
10619         (my_strftime): When checking a -1 returned by mktime, don't blow up
10620         if localtime_r returns NULL.
10622 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10624         * README.template: Fix spelling.
10626 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10628         * configure.in: Enhance --enable-add-ons description a wee bit.
10630 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10632         * glibcbug.in: Add more information of build environment and flags.
10634 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10636         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
10637         it into ENOENT.
10639 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
10641         * elf/dl-support.c: Call __libc_init_secure to make sure
10642         __libc_enable_secure is defined early.
10643         * sysdeps/generic/enbl-secure.c: Change function name to
10644         __libc_init_secure and make it global instead of a constructor.
10646         * iconv/gconv.c: Fix lots of bugs.
10647         * iconv/gconv.h: Likewise.
10648         * iconv/gconv_builtin.h: Likewise.
10649         * iconv/gconv_close.c: Likewise.
10650         * iconv/gconv_conf.c: Likewise.
10651         * iconv/gconv_db.c: Likewise.
10652         * iconv/gconv_dl.c: Likewise.
10653         * iconv/gconv_open.c: Likewise.
10654         * iconv/gconv_simple.c: Likewise.
10655         * iconv/iconv.c: Likewise.
10656         * iconv/iconv_close.c: Likewise.
10657         * iconv/iconv_open.c: Likewise.
10659         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
10660         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
10661         * wcsmbs/wmemrtombs.c: New file.
10662         * wcsmbs/wmemrtowcs.c: New file.
10664 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
10666         * iconv/gconv_simple.c: Fix lots of bugs.
10667         * iconv/iconv_open.c: Normalize names before passing them to
10668         __gconv_open.
10670         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
10672         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
10673         * stdio-common/test-popen.c: Add test for above change.
10675         * math/libm-test.c: Print test results also using %a format,
10676         specified in PRINTF_XEXPR macro.
10677         * math/test-double.c: Define PRINTF_XEXPR.
10678         * math/test-float.c: Likewise.
10679         * math/test-ldouble.c: Likewise.
10680         * math/test-idouble.c: Likewise.
10681         * math/test-ifloat.c: Likewise.
10682         * math/test-ildoubl.c: Likewise.
10684         * stdio-common/vfscanf.c: Recognize a in format specifier only as
10685         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
10686         FP number format.
10688         * stdlib/strtod.c: Little code cleanup.
10690         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
10691         compiling in math subdir.
10693         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
10694         instead of __LIBC_M81_MATH_INLINES.
10695         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10696         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10697         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10698         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10699         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10700         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10701         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10702         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10703         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10704         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10705         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10706         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10707         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10708         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10709         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10710         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10711         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10712         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10713         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10714         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10715         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10716         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10717         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10718         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10719         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
10720         __LIBC_INTERNAL_MATH_INLINES is defined.
10722         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
10723         of compare macros from ISO C 9X.  Optimize generic versions a bit.
10724         Define __signbit inline functions and __ieee754_sqrt which can be
10725         used if the ompiler is fixed.
10727         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
10729 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10731         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
10732         sysdeps/generic in the whole dep file, not only in the first line.
10734 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10736         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
10738 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10740         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
10741         place.
10743 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10745         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
10746         is non-empty.
10748 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
10750         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
10751         return value.
10753 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
10755         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
10756         readlink succeeds but the return value is too long.
10758         * stdio-common/printf_fphex.c: Determine sign of number correctly.
10760 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
10762         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
10763         __remqu for Alpha.
10765 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
10767         * sysdeps/generic/sys/ucontext.h: Stub context file.
10769         * libio/iofprintf.c: Removed.  We use the stdio-common version.
10771         * manual/Makefile (distribute): Add stdio-fp.c.
10773         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
10775         * db2/Makefile (distribute): Add include/os_func.h, README and
10776         mutex/tsl_parisc.s.
10778         * hesiod/Makefile (distribute): Add README.hesiod.
10780 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
10782         * iconv/gconv.c: Correctly call transformation function.
10784         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
10786 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10788         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
10789         wrong results for e.g. remquo (3,2, &x)).
10790         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
10791         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
10793 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10795         * configure.in (ld --version-script): Test if the same symbol
10796         maybe defined in all versions (needed by recent changes to
10797         libc.map and supported with binutils 2.8.1.0.17) and issue warning
10798         if versioning is not supported/enabled.
10799         (bash test): Correct test case.
10801         * math/libm-test.c: Added counting/reporting of number of test cases.
10803         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
10804         use awk instead.
10806         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
10808 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10810         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
10812 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
10814         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
10815         Replace revoke call by use of REVOKE.
10816         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
10817         empty and #include generic version.
10818         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10820 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
10822         * libc.map: Add socket functions with __libc_* names.
10823         Reported by Andreas Jaeger.
10825 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10827         * libc.map: Tidy up (remove duplicates, sort entries).
10829 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10831         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
10833 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
10835         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
10836         again after successful call.
10837         Patch by Marc Lehmann <pcg@goof.com>.
10839 1997-11-17  Paul Eggert  <eggert@twinsun.com>
10841         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
10842         as some hosts need this to declare localtime_r properly.
10844 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
10846         * libc.map: Add iconv_open, iconv, and iconv_close.
10848 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
10850         * iconv/Makefile: New file.
10851         * iconv/gconv.c: New file.
10852         * iconv/gconv.h: New file.
10853         * iconv/gconv_builtin.c: New file.
10854         * iconv/gconv_builtin.h: New file.
10855         * iconv/gconv_close.c: New file.
10856         * iconv/gconv_conf.c: New file.
10857         * iconv/gconv_db.c: New file.
10858         * iconv/gconv_dl.c: New file.
10859         * iconv/gconv_open.c: New file.
10860         * iconv/gconv_simple.c: New file.
10861         * iconv/iconv.c: New file.
10862         * iconv/iconv.h: New file.
10863         * iconv/iconv_close.c: New file.
10864         * iconv/iconv_open.c: New file.
10865         * include/gconv.h: New file.
10867         * Makeconfig: Define gconvdir.
10868         * Makefile (subdirs): Add iconv.
10870         * string/bits/string2.h: Add optimization for strtok_r.
10872         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
10873         for NULL.
10874         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10875         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
10877         * configure.in: Correct test for bash2.
10878         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10880         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
10881         (CFLAGS-locfile.c): Likewise.
10882         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10884         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
10885         non-existing entry if the table is full.
10887         * posix/regex.h: Pretty print.
10889         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
10891         * sysdeps/posix/ctermid.c: Simplify a bit.
10893         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
10895 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10897         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
10898         <sys/types.h> instead of <asm/types.h>.
10900 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10902         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
10904 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
10906         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
10907         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
10908         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
10909         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
10910         fclose): Added to GLIBC_2.1.
10912         * libio/Makefile (routines, shared-only-routines): Add
10913         oldiofclose.  Remove oldfreopen.
10915         * libio/freopen.c (freopen): When PIC is defined, call
10916         _IO_old_freopen () for old stdio.
10918         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
10919         (_IO_fclose, fclose): Use _IO_new_fclose as default version
10920         for GLIBC_2.1.
10922         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
10923         instead of _IO_file_close_it.
10925         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
10926         to _IO_2_1_stdxxx_.
10927         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
10928         is defined.
10930         * libio/libioP.h (_IO_old_do_flush): New.
10932         * libio/oldfileops.c (_IO_old_file_close_it,
10933         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
10934         Call _IO_old_do_flush () instead of _IO_do_flush ().
10935         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
10936         _IO_do_write ().
10938         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
10939         instead of _IO_file_init ().
10940         Bind old symbols to version GLIBC_2.0.
10942         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
10943         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
10944         _IO_stdxxx_.
10945         (_IO_check_libio): New function in .init.
10947         * libio/oldiofclose.c: New file.
10949         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
10950         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
10951         (DEF_STDFILE): Don't use default_symbol_version.
10953         * libio/stdio.c (stdin, stdout, stderr): Set to
10954         _IO_2_1_stdxxx_._
10955         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
10956         stdxxx.
10958         * csu/Makefile (distribute): Add init.c.
10959         (extra-objs): Add init.o for ELF.
10960         (start-installed-name): Add $(objpfx)init.o.
10962         * csu/init.c: New file.
10964 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10966         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
10967         definition as the default.
10969 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
10971         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
10973 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10975         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
10976         (PR 351).
10978 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
10980         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
10981         to preserve condition codes on function call.
10983 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10985         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
10987 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10989         * math/libm-test.c (asin_test): Add epsilon for float.
10990         (tan_test): Add epsilon for float.
10991         (log1p_test): Add epsilon for float.
10992         (inverse_functions): Add epsilons.
10994         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
10995         net/if_packet.h.
10997         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
10999 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11001         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11002         variable, since $(object-suffixes) is not defined yet.
11004 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11006         * db2/Makefile (distribute): db185/db185_int.src ->
11007         db185/db185_int.h.
11009 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11011         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11012         exactly one.
11014 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11016         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11017         name.
11018         * sysdeps/generic/e_acosl.c: Likewise.
11019         * sysdeps/generic/e_asinl.c: Likewise.
11020         * sysdeps/generic/e_atan2l.c: Likewise.
11021         * sysdeps/generic/e_expl.c: Likewise.
11022         * sysdeps/generic/e_fmodl.c: Likewise.
11023         * sysdeps/generic/e_j0l.c: Likewise.
11024         * sysdeps/generic/e_j1l.c: Likewise.
11025         * sysdeps/generic/e_jnl.c: Likewise.
11026         * sysdeps/generic/e_lgammal_r.c: Likewise.
11027         * sysdeps/generic/e_log10l.c: Likewise.
11028         * sysdeps/generic/e_logl.c: Likewise.
11029         * sysdeps/generic/e_powl.c: Likewise.
11030         * sysdeps/generic/e_sqrtl.c: Likewise.
11031         * sysdeps/generic/e_exp2l.c: Likewise.
11033 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11035         * Make-dist (+sysdep-names): Remove extra paren.
11036         * Makefile (distribute): Add stub-tag.h.
11037         * elf/Makefile (distribute): Add atomicity.h.
11038         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11040         [$(subdir)=socket]: Add net/if_packet.h.
11041         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11042         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11043         net/if_packet.h, scsi/sg.h.
11045 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11047         * Makefile (install): Quote $(CC) expansion.
11049 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11051         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11052         working /proc cwd and no restrictions on path length.  Following
11053         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11055 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11057         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11058         * nis/nss_compat/compat-pwd.c: Likewise.
11059         * nis/nss_compat/compat-spwd.c: Likewise.
11061 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11063         * sysdeps/libm-i387/s_fdim.S: New file.
11064         * sysdeps/libm-i387/s_fdimf.S: New file.
11065         * sysdeps/libm-i387/s_fdiml.S: New file.
11066         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11067         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11068         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11070 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11072         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11073         pointer to unsigned char.
11075 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11077         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11079         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11081         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11083 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11085         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11086         ilogb(0/NaN).
11087         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11088         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11090 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11092         * sysdeps/libm-i387/s_fmin.S: New file.
11093         * sysdeps/libm-i387/s_fminf.S: New file.
11094         * sysdeps/libm-i387/s_fminl.S: New file.
11095         * sysdeps/libm-i387/s_fmax.S: New file.
11096         * sysdeps/libm-i387/s_fmaxf.S: New file.
11097         * sysdeps/libm-i387/s_fmaxl.S: New file.
11098         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11099         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11100         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11101         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11102         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11103         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11105 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11107         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11108         * sysdeps/unix/sysv/linux/send.S: Likewise.
11109         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11110         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11111         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11112         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11113         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11114         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11115         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11117 See ChangeLog.7 for earlier changes.