Update.
[glibc.git] / ChangeLog
blobad24f287730271b47db676125b71fd7c30a5b3ca
1 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
3         * configure.in: Allow egcs-2.92.
5 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
8         chapter files.  Exorcise the chapters, chapters-incl mess.
9         Support inserting doc chapters from add-on modules.
10         (chapters): New variable.
11         (add-chapters): New variable.
12         (appendices): New variable.
13         (libc.texinfo): New target.
14         (clean): Fix bugs.
15         (realclean): Fix bugs.
17         * manual/texis.awk: New file.
18         * manual/libc-texinfo.sh: New file.
19         * manual/libc-texinfo.in: New file.
21         * manual/conf.texi (top @node): Remove next pointer.
22         * manual/lang.texi (top @node): Remove prev pointer.
24         * manual/job.texi (top @node): Add explicit pointers.
25         * manual/message.texi (top @node): Add explicit pointers.
26         * manual/nss.texi (top @node): Add explicit pointers.
27         * manual/process.texi (top @node): Add explicit pointers.
28         * manual/startup.texi (top @node): Add explicit pointers.
29         * manual/terminal.texi (top @node): Add explicit pointers.
30         * manual/users.texi (top @node): Add explicit pointers.
32         * manual/arith.texi: Add %MENU% tag.
33         * manual/conf.texi: Add %MENU% tag.
34         * manual/contrib.texi: Add %MENU% tag.
35         * manual/ctype.texi: Add %MENU% tag.
36         * manual/errno.texi: Add %MENU% tag.
37         * manual/filesys.texi: Add %MENU% tag.
38         * manual/header.texi: Add %MENU% tag.
39         * manual/install.texi: Add %MENU% tag.
40         * manual/intro.texi: Add %MENU% tag.
41         * manual/io.texi: Add %MENU% tag.
42         * manual/job.texi: Add %MENU% tag.
43         * manual/lang.texi: Add %MENU% tag.
44         * manual/llio.texi: Add %MENU% tag.
45         * manual/locale.texi: Add %MENU% tag.
46         * manual/maint.texi: Add %MENU% tag.
47         * manual/math.texi: Add %MENU% tag.
48         * manual/mbyte.texi: Add %MENU% tag.
49         * manual/memory.texi: Add %MENU% tag.
50         * manual/message.texi: Add %MENU% tag.
51         * manual/nss.texi: Add %MENU% tag.
52         * manual/pattern.texi: Add %MENU% tag.
53         * manual/pipe.texi: Add %MENU% tag.
54         * manual/process.texi: Add %MENU% tag.
55         * manual/search.texi: Add %MENU% tag.
56         * manual/setjmp.texi: Add %MENU% tag.
57         * manual/signal.texi: Add %MENU% tag.
58         * manual/socket.texi: Add %MENU% tag.
59         * manual/startup.texi: Add %MENU% tag.
60         * manual/stdio.texi: Add %MENU% tag.
61         * manual/string.texi: Add %MENU% tag.
62         * manual/sysinfo.texi: Add %MENU% tag.
63         * manual/terminal.texi: Add %MENU% tag.
64         * manual/time.texi: Add %MENU% tag.
65         * manual/users.texi: Add %MENU% tag.
67 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
69         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
70         Update.
72 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
74         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
75         style declaration to avoid warning.
76         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
78 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
80         * elf/rtld.c (process_dl_debug): Add missing continue.
82 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
84         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
85         code needs it.
87 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
89         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
90         sysd-dirs-done.
91         * Makerules: Don't generate version maps too early.
92         ($(common-objpfx)sysd-versions): Force regeneration if the list of
93         subdirs has changed.
95 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
97         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
99 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
101         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
102         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
103         return value.
105 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
107         * elf/dl-open.c (dl_open_worker): New function.
108         (_dl_open): Call it to do the actual work while catching errors.
109         * elf/dl-close.c (_dl_close): Only call termination function if
110         the initialisation function was called.
112 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
114         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
115         Reported by Felix von Leitner <leitner@amdiv.de>.
117 1998-07-13 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
119         * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
121 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
123         * Make-dist (+sysdep-tsrcs): Add Versions.
125 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
127         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
128         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
129         * sysdeps/powerpc/Versions: New file.
130         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
131         and __errno_location.
132         * misc/Versions: Add brk and sbrk.
133         * posix/Versions: Add environ, __environ and _environ.
134         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
136 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
138         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
139         Patch by Zack Weinberg.
141 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
143         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
144         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
145         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
147 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
149         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
151 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
153         * posix/unistd.h: Simplify #ifdefs.
155         * libio/libio.h: Undo last change due to possible C++ problems.
156         * libio/fileops.h: Likewise.
158 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
160         * grp/grp.h: Define gid_t also for __USE_XOPEN.
161         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
162         * io/utime.h: Define time_t also for __USE_XOPEN.
163         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
164         Define *_t types except for pid_t also for __USE_XOPEN.
165         Define S_* macros also for __USE_XOPEN.
166         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
167         THOUSEP also for __USE_XOPEN.
168         * math/math.c: Define M_* macros also for __USE_XOPEN.
169         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
170         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
171         defined.
172         * posix/glob.h: Likewise for GLOB_NOSYS.
173         * posix/regex.h: Likewise for REG_NOSYS.
174         * posix/wordexp.h: Likewise for WRDE_NOSYS.
175         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
176         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
177         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
178         * signal/signal.h: Define pid_t also for __USE_XOPEN.
179         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
180         for __USE_POSIX199309.
181         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
182         constants also for __USE_XOPEN.
183         * wcsmbs/wchar.h: For XPG4 include wctype.h.
185         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
186         * locale/setlocale.c (new_composite_name): Likewise for last_len.
188         * libio/stdio.h: Don't declare fclose_unlocked.
190         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
192 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
194         * stdio/stdio.h: Add prototypes for fflush_unlocked,
195         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
196         fgets_unlocked, fread_unlocked, fwrite_unlocked,
197         clearerr_unlocked, feof_unlocked, ferror_unlocked,
198         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
199         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
200         prototype for getopt.
201         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
202         * stdio/feof.c (feof_unlocked): Weak alias for feof.
203         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
204         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
205         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
206         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
207         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
208         * stdio/fread.c (fread_unlocked): Weak alias for fread.
209         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
210         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
211         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
212         * stdio/putc.c (putc_unlocked): Weak alias for putc.
213         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
214         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
215         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
216         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
217         getc_unlocked, getchar_unlocked, putc_unlocked and
218         putchar_unlocked.
220         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
221         from here ...
222         * stdio-common/Versions: ... to here.
224 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
226         * Makerules (versioning): Correct typo.
228 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
230         * elf/Versions: Add _dl_mcount_wrapper_check.
231         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
232         _dl_mcount_wrapper_check.
233         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
235         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
236         internal_function.
237         * elf/ldsodefs.h: Likewise.
239         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
241         * libio/stdio.h: Make sure va_list is defined for X/Open.
242         Define P_tmpdir for X/Open.
244         * posix/regex.h: Fix typo.
246         * posix/unistd.h: Define intptr_t if not already happened.
247         Add pthread_atfork prototype.
248         * sysdeps/generic/bits/types.h: Define __intptr_t.
249         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
250         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
251         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
252         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
253         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
254         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
255         * sysdeps/wordsize-64/stdint.h: Likewise.
257         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
259         * signal/Makefile (headers): Add bits/sigthread.h.
260         * signal/signal.h: Include bits/sigthread.h.
261         * sysdeps/generic/bits/sigthread.h: New file.
263         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
265         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
266         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
267         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
268         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
270         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
272         * elf/rtld.c: Remove preloading and loadpath variables in SUID
273         programs.
274         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
275         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
276         names.
278         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
280         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
281         Remove O_READ and O_WRITE definition.
283         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
284         and RLIM_SAVED_CUR.
286         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
288 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
290         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
291         scripts directory.  Pass move-if-change to awk.
292         (common-generated): Add $(version-maps) and sysd-versions.
293         * versions.awk: Moved to...
294         * scripts/versions.awk: ... here.  Use move-if-change to void
295         touching unchanged files.  Print "version-maps = ..." instead of
296         "all-version-maps = ..." and without $(common-objpfx).  Explain
297         expected variable names.
298         * Makefile (distribute): Updated.
300 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
302         * misc/getttyent.c (getttyent): Don't return with locked stream.
303         * misc/mntent_r.c (__getmntent_r): Likewise.
305 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
307         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
308         if stream is line buffered.
309         (_io_file_overflow): Likewise.
310         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
311         streams writing '\n' flushes the string.
313 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
315         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
316         * elf/dl-support.c: Define it here...
317         * elf/rtld.c: ...and here.
319 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
321         * grp/initgroups.c: Handle directives from nsswitch.conf file.
323 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
325         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
326         __ino64_t definition.
327         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
328         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
330         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
331         script if lddlibc4 failed.
332         Reported by B. D. Elliott <bde@accessone.com>.
334 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
336         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
337         Improve generated strings a bit.
339 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
341         * posix/Makefile (generated): Remove $(objpfx) from the names.
343 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
345         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
346         format string.
348         * libio/iofread_u.c: Include <stdio.h> for prototype.
349         * libio/iofwrite_u.c: Likewise.
351 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
353         * db2/Versions: New file.
355 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
357         * Makefile (lib-noranlib): Don't depend on sysd-versions.
358         ($(common-objpfx)sysd-versions): Remove rule.
359         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
360         Pass name of Versions.def file to script and redirect output to
361         target.  Include it and make all generated version maps depend on
362         it.
363         * versions.awk: Print out variable definition containing all
364         generated version maps.  Print error messages to stderr.  Remove
365         temp file.
367 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
369         * posix/annexc.c (check_header): Terminate macro name before
370         comparing.
371         (get_null_defines): Allow builtin macros with parameters.
372         (fmt, testfmt): Add -D_LIBC.
373         * posix/Makefile: Remove bogus duplicate include directories from
374         annexc test command.
376 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
378         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
379         password scheme.
380         (_nss_nis_getpwnam_r): Likewise.
381         (_nss_nis_getpwuid_r): Likewise.
383 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
385         * libio/Versions: Move symbols whose source lives in
386         stdio-common to ...
387         * stdio-common/Versions: ... here.
388         * stdio/Versions: Add missing symbols.
390 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
392         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
393         __syscall_sendmsg.
394         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
395         __syscall_recvmsg.
396         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
397         and make __recvmsg and recvmsg weak aliases.
398         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
399         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
400         and __syscall_sendmsg.
402 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
404         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
405         stream.
406         * inet/ruserpass.c (token): Likewise.
407         * nss/nsswitch.c (nss_parse_file): Likewise.
408         * intl/localealias.c: Likewise.  Also for ferror.
409         * time/getdate.c (__getdate_r): Likewise.
411         * libio/Makefile (routines): Add iofgets_u.
412         * libio/iofgets_u.c: New file.
413         * libio/Versions: Add fgets_unlocked.
414         * libio/stdio.h: Add prototype for fgets_unlocked.
416         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
417         * misc/getusershell.c (initshells): Likewise.
418         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
419         fgets_unlocked.
420         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
421         * resolv/res_init.c (res_init): Likewise.
422         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
424 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
426         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
427         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
429 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
431         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
432         _unlocked functions.
434         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
435         is a private FILE.
437 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
439         * csu/Makefile: Build crt files in lib pass.
440         * db2/Makefile (distribute): Add mutex/sco.cc.
441         * mach/Machrules: Don't generate .udeps files if no_deps is set.
442         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
443         s-proto.d if avoid-generated is set.
445         * sysdeps/alpha/Dist: List only one file per line.
446         * sysdeps/generic/Dist: Likewise.
447         * sysdeps/m68k/fpu/switch/Dist: Likewise.
448         * sysdeps/sparc/sparc32/Dist: Likewise.
449         * sysdeps/unix/Dist: Likewise.
450         * sysdeps/unix/sysv/irix4/Dist: Likewise.
452         * sysdeps/mach/hurd/i386/Dist: New file.
453         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
454         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
455         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
456         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
458 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
460         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
461         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
463         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
465         * time/tzfile.c (decode): Optimize by using bswap_32.
466         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
467         __tzname array values.
468         (__tzfile_compute): Correct setting of __tzname array values.
469         * time/tzset.c (__tzstring): Clean up a bit.
471 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
473         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
475 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
477         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
478         that fd can be bigger than FD_SETSIZE.
480 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
482         * nscd/grpcache.c: Include <unistd.h>.
483         * nscd/pwdcache.c: Likewise.
485         * nis/nis_modify.c: Include <string.h>.
486         * nis/nis_add.c: Likewise.
487         * nis/nis_checkpoint.c: Likewise.
488         * posix/runptests.c: Likewise.
489         * sysdeps/generic/statvfs64.c: Likewise.
490         * sysdeps/generic/fstatvfs64.c: Likewise.
492 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
494         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
495         to match data from Unicode.
496         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
498 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
500         * stdio-common/printf.h: Define printf_function and
501         printf_arginfo_function types using __PMT not __P.
502         Reported by Marc Lehmann.
504 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
506         * assert/test-assert.c: New test.
507         * assert/test-assert-perr.c: New test.
508         * assert/Makefile (tests): Add test-assert and test-assert-perr.
510 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
512         BSD-style SCM_CREDS support.
514         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
515         SCM_CREDS.
516         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
517         visible SCM_CREDS packet to what the kernel wants.
518         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
519         SCM_CREDS packet output by kernel to what users want.
521         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
522         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
523         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
524         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
526         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
527         __sendmsg and __recvmsg to sysdep_routines.
528         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
530 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
532         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
533         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
534         * nscd/nscd.c: Check, if pthread_create fails.
536 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
538         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
539         format strings.
540         * stdio-common/bug1.c (main): Likewise.
541         * stdio-common/bug5.c (main): Likewise.
542         * stdio-common/tstgetln.c (main): Likewise.
543         * elf/sprof.c (generate_call_graph): Likewise.
544         (load_shobj): Likewise.
545         * posix/runptests.c (main): Likewise.
546         * string/tst-strlen.c (main): Likewise.
548         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
549         variable q3.
550         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
552 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
554         * wctype/Versions: Add __towctrans.
555         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
557 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
559         * grp/initgroups.c (compat_call): Only call dynamically loaded
560         functions if they are really present.
562 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
564         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
565         #ifdef that contains __BEGIN_DECLS.
567 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
569         * libio/iofwrite.c: Fix return value when size == 0.
571 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
573         * posix/Makefile (distribute): Add annexc.c.
574         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
576 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
579         bits/pthreadtypes.h here, and do not clobber headers.
581         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
583 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
585         * timezone/tst-timezone.c: Add tests for tzname variable.
587 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
589         * Makefile [versioning=yes]: Build the mapfiles with a pattern
590         rule that lists all of them as targets.
591         (sysd-versions): Depend only on Versions.def.  Write a Makefile
592         fragment that defines $(vers-libs) based on contents of that file;
593         then include it.
594         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
595         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
596         Predicate all this on avoid-generated unset as well as versioning.
598 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
600         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
602 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
604         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
605         a copy.
606         * Makefile: Add rules to generate map files.
607         (distribute): Remove libc.map, add Versions.def and versions.awk.
608         * Makerules: Change rules to find map files on common-objpfx.
609         * elf/Makefile: Likewise.
610         * md5-crypt/Makefile: Likewise.
611         * nis/Makefile (libnsl-map): Remove.
612         * Versions.def: New file.
613         * versions.awk: New file.
614         * argp/Versions: New file.
615         * assert/Versions: New file.
616         * catgets/Versions: New file.
617         * csu/Versions: New file.
618         * ctype/Versions: New file.
619         * db/Versions: New file.
620         * debug/Versions: New file.
621         * dirent/Versions: New file.
622         * elf/Versions: New file.
623         * gmon/Versions: New file.
624         * grp/Versions: New file.
625         * hesiod/Versions: New file.
626         * hurd/Versions: New file.
627         * iconv/Versions: New file.
628         * inet/Versions: New file.
629         * intl/Versions: New file.
630         * io/Versions: New file.
631         * libio/Versions: New file.
632         * linuxthreads/Versions: New file.
633         * locale/Versions: New file.
634         * login/Versions: New file.
635         * malloc/Versions: New file.
636         * math/Versions: New file.
637         * md5-crypt/Versions: New file.
638         * misc/Versions: New file.
639         * nis/Versions: New file.
640         * nss/Versions: New file.
641         * posix/Versions: New file.
642         * pwd/Versions: New file.
643         * resolv/Versions: New file.
644         * resource/Versions: New file.
645         * rt/Versions: New file.
646         * setjmp/Versions: New file.
647         * shadow/Versions: New file.
648         * signal/Versions: New file.
649         * socket/Versions: New file.
650         * stdio/Versions: New file.
651         * stdio-common/Versions: New file.
652         * stdlib/Versions: New file.
653         * streams/Versions: New file.
654         * string/Versions: New file.
655         * sunrpc/Versions: New file.
656         * sysdeps/alpha/Versions: New file.
657         * sysdeps/alpha/fpu/Versions: New file.
658         * sysdeps/i386/Versions: New file.
659         * sysdeps/sparc/Versions: New file.
660         * sysdeps/unix/sysv/Versions: New file.
661         * sysdeps/unix/sysv/linux/Versions: New file.
662         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
663         * sysdeps/unix/sysv/linux/i386/Versions: New file.
664         * sysdeps/unix/sysv/linux/mips/Versions: New file.
665         * sysvipc/Versions: New file.
666         * termios/Versions: New file.
667         * time/Versions: New file.
668         * wcsmbs/Versions: New file.
669         * wctype/Versions: New file.
670         * libc.map: Removed.
671         * db/libdb.map: Removed.
672         * elf/libdl.map: Removed.
673         * hesiod/libnss_hesiod.map: Removed.
674         * hurd/libhurduser.map: Removed.
675         * hurd/libmachuser.map: Removed.
676         * linuxthreads/libpthread.map: Removed.
677         * locale/libBrokenLocale.map: Removed.
678         * login/libutil.map: Removed.
679         * math/libm.map: Removed.
680         * md5-crypt/libcrypt.map: Removed.
681         * nis/libnsl.map: Removed.
682         * nis/libnsl_compat.map: Removed.
683         * nis/libnss_nis.map: Removed.
684         * nis/libnss_nisplus.map: Removed.
685         * nss/libnss_db.map: Removed.
686         * nss/libnss_files.map: Removed.
687         * resolv/libnss_dns.map: Removed.
688         * resolv/libresolv.map: Removed.
689         * rt/librt.map: Removed.
691         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
692         Fix typos.
694         * elf/rtld.c (process_dl_debug): Recognize 'all'.
695         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
697         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
698         correct size.
700 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
702         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
703         in comment.
705         * nscd/nscd.c: Include unistd.h.
707 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
709         * math/libm-test.c: Adjust delta for indentities1_test because gcc
710         became cleverer.
712 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
714         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
716 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
718         * scripts/test-installation.pl: Include <stdio.h> in test program
719         to make it strictly conforming.
721 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
723         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
724         not a strong alias.
725         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
726         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
728         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
730 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
732         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
733         not a strong alias.
735 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
737         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
738         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
739         bits/pthreadtypes.h.
741 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
743         * include/aio.h: New file.
744         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
745         (tests): Build and run annexc program.
746         * posix/annexc.c: New file.
747         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
748         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
749         * rt/aio_misc.c: Include limits.h.
750         * rt/aio_notify.c: Include errno.h.
751         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
752         Define size_t.
753         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
754         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
755         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
756         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
757         kernel doesn't do this.
758         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
759         __USE_LARGEFILE64 is defined.
760         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
761         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
762         if requested.
763         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
765         * stdlib/isomac.c: Avoid include_next warning.
767 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
769         * argp/argp.h: Use __PMT instead of __P for function pointer.
770         * iconv/gconv.h: Likewise.
771         * io/fts.h: Likewise.
772         * io/ftw.h: Likewise.
773         * libio/libio.h: Likewise.
774         * malloc/mcheck.h: Likewise.
775         * misc/search.h: Likewise.
776         * posix/glob.h: Likewise.
777         * resolv/resolv.h: Likewise.
778         * signal/signal.h: Likewise.
779         * stdlib/stdlib.h: Likewise.
780         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
781         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
783 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
785         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
787 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
789         * posix/wordexp.c (parse_param): Fix memory leak.
791 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
793         * libc.map: Export _IO_ftrylockfile.
795 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
797         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
798         __get[pu]id.
800 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
802         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
804         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
805         same search list twice.
807 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
809         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
810         used to optimize loop/select.
812 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
814         * sysdeps/generic/init-first.c: Don't define __libc_pid.
815         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
816         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
817         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
818         * sysdeps/arm/init-first.c: Likewise.
819         * posix/getopt_init.c: Don't use __libc_pid.
820         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
821         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
822         * libc.map: Remove __libc_uid and __libc_pid.
824 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
826         * sunrpc/rtime.c (rtime): Use poll instead of select.
828 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
830         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
831         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
832         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
833         Patches from FreeBSD current.
835 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
837         * nscd/connections.c (handle_new_request): Handle POLLHUP
838         correctly.
839         (close_sockets): Correct parameter to dbg_log.
841 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
843         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
844         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
845         (elf_machine_fixup_plt): Likewise.
846         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
847         _dl_pagesize not set, use system call to always get correct answer.
848         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
849         (__syscall_getpagesize): Add
851 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
853         * resolv/res_send.c (res_send): Fix typo.
855 1998-06-25  Andi Kleen <ak@muc.de>
857         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
858         * resolv/res_send.c (res_send): Likewise.
860 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
862         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
863         * sysdeps/unix/sysv/linux/poll.c: Likewise.
865 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
867         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
868         * math/atest-exp2.c (exp_mpn, main): Likewise.
869         * math/atest-sincos.c (main): Likewise.
871         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
872         base handling away from strtoul.  Always reset errno.
874         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
876         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
877         _dl_profile_map if _dl_name_match_p.
878         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
879         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
881         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
882         as early-clobber.
884         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
885         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
886         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
888 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
890         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
892 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
894         * nis/nis_call.c: Don't copy server structure.
895         * nis/nis_intern.h: Remove unused entries.
896         * nis/nis_table.c: Rewrite __create_ib_request.
898 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
900         * configure.in: Check for -fexceptions.
901         * config.make.in: Define exceptions, not no-exceptions.
902         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
903         __P to use throw().
904         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
905         $(exceptions).
906         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
907         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
908         lfind, and lsearch prototpypes.
909         * stdlib/stdlib.h: Likewise for bsearch and qsort.
911 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
913         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
915 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
917         * Makefile (remove-old-headers): Make phony.
919         * configure.in: Substitute @old_glibc_headers@.
921 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
923         * libc.map: Remove __libc_uid.
925 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
927         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
928         typos.
930 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
932         * libc.map: Add Alpha-specific io function from protected namespace.
934 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
936         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
937         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
938         CPPFLAGS.
940         * libc.map: Export __sigaction.
942 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
944         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
945         (from Linux 2.1.107).
947 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
949         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
950         position when file was opened here.
951         Reported by Howard Chu <hyc@platinum.com>.
953         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
954         undefined in a second inclusion.
956 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
958         * sysdeps/mach/hurd/i386/Makefile: New file.
959         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
960         __libc_init_secure.
961         (_hurd_stack_setup): Renamed
962         from __libc_init_first.
963         (__libc_init_first): New function.
964         * sysdeps/mach/hurd/i386/static-start.S: New file.
966 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
968         * sysdeps/mach/hurd/i386/init-first.c
970 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
972         * grp/initgroups.c: Use _CALL_DL_FCT.
974 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
976         * elf/rtld.c (process_dl_debug): Add missing continue.
978 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
980         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
982 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
984         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
986 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
988         * config.make.in: Remove LDAP support.
989         * nss/Makefile: Likewise.
991 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
993         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
994         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
995         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
996         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
998 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1000         * mach/Makefile: Change `mv' invocations to `mv -f'.
1001         * mach/Machrules: Likewise.
1003 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1005         * config.make.in (old-glibc-headers): Add it.
1007         * configure.in: Add test for glibc 2.0.x headers.
1009         * Makefile (headers2_0): New variable - contains so far only
1010         Linux/Intel glibc 2.0.x headers.
1011         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1012         (install): Depend on remove-old-headers.
1014 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1016         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1017         make ftruncate a weak alias.
1018         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1019         __ftruncate.
1020         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1021         (truncate): Fix function defenition to match prototype.
1023 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1025         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1026         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1028 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1030         * sysdeps/generic/glob.c: Make it possible to include glob.h
1031         before loading glob.c.
1032         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1034 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1036         * nscd/connections.c: Use poll() instead of select().
1038 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1040         * sysdeps/generic/Dist: Fix typo.
1042 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1044         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1045         * nis/nis_addmember.c: Likewise.
1046         * nis/nis_call.c: Likewise.
1047         * nis/nis_creategroup.c: Likewise.
1048         * nis/nis_destroygroup.c: Likewise.
1049         * nis/nis_findserv.c: Likewise.
1050         * nis/nis_ismember.c: Likewise.
1051         * nis/nis_print.c: Likewise.
1052         * nis/nis_print_group_entry.c: Likewise.
1053         * nis/nis_removemember.c: Likewise.
1054         * nis/nis_verifygroup.c: Likewise.
1055         * nis/ypclnt.c: Likewise.
1057         * nis/nis_file.c: Close file handles.
1059         * nis/nis_callback.c: Fix typo.
1061 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1063         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1064         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1065         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1066         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1067         * nis/nss_nis/nis-initgroups.c: Likewise.
1068         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1069         __nss_lookup_function and make it public.
1070         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1071         module if exists, else use old method.
1073 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1075         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1076         definition.
1077         * nss/getXXent_r.c (set_function, end_function, get_function):
1078         Likewise.  Reported by Thorsten Kukuk.
1080         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1082 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1084         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1085         1998-06-16 and distribute kernel_termios.h.
1087         * nis/Makefile (distribute): Add nis_xdr.h.
1089 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1091         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1092         kernels that don't have sigaltstack.
1094 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1096         * sysdeps/generic/bits/sem.h: Don't define union semun.
1098         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1100         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1101         here.
1102         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1103         definition here.
1105 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1107         * signal/signal.h: Add prototype for __sigaltstack.
1108         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1109         Remove sigstack entry.
1110         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1111         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1113         * sysdeps/i386/backtrace.c: Add casts.
1115 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1117         * intl/dcgettext.c: use complete type name.
1118         * intl/hash-string.h: Likewise.
1120         * intl/localealias.c: Undo patch from 1998-04-29.
1121         * intl/l10nflist.c: Likewise.
1122         * intl/loadinfo.h: Likewise.
1124 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1126         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1128 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1130         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1131         _dl_mcount, _dl_mcount_wrapper.
1132         * elf/Makefile (routines): Add dl-profstub.
1133         * elf/dl-profstub.c: New file.
1134         * elf/dl-support.c: Don't define _dl_profile_map.
1135         * elf/rtld.c: Likewise.
1136         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1137         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1138         Define _CALL_DL_FCT.
1139         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1140         loaded object.
1141         * iconv/gconv_db.c: Likewise.
1142         * iconv/skeleton.c: Likewise.
1143         * nss/getXXbyYY_r.c: Likewise.
1144         * nss/getXXent_r.c: Likewise.
1145         * nss/nsswitch.c: Likewise.
1147 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1149         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1150         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1151         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1153 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1155         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1156         longestdbl.
1158 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1160         * iconvdata/Makefile (modules): Add MACINTOSH.
1161         (MACINTOSH-routines): New variable.
1162         (distribute): Add macintosh.c.
1163         (awk-generated-headers): Add macintosh.h.
1164         Add rule for macintosh.h generation.
1165         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1166         * iconvdata/macintosh.c: New file.
1168 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1170         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1172         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1173         only should happen for cy != 0.
1175         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1176         glob.h.
1178 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1180         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1181         to compare stack addresses.
1183 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1185         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1186         defining prototypes.
1188 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1190         * sysdeps/sparc/sparc32/dl-machine.h
1191         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1192         flushes as the kernel will emulate it when the underlying cpu does
1193         not implement flush.
1195         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1196         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1198         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1199         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1200         trampoline code.
1202         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1203         (__clone): Branch to label .Lerror not __clone_syscall_error.
1204         (.Lerror): Fixup EINVAL setting.
1205         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1206         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1207         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1208         (__syscall_getgroups, __syscall_setgroups): Add.
1210         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1211         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1212         around sa_mask data.
1214 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1216         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1218         * string/Makefile: Make sure test-ffs does not use builtins.
1220 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1222         * sunrpc/svc.c: Check for NULL pointer.
1224         * nis/libnsl.map: Add public NIS+ xdr functions.
1226         * nis/rpcsvc/nis_callback.h: New file.
1227         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1228         * nis/nis_xdr.h: ... here.
1230         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1231         pointers, use NIS+ defines where possible.
1232         * nis/nis_cache.c: Likewise.
1233         * nis/nis_cache2_xdr.c: Likewise.
1234         * nis/nis_call.c: Likewise.
1235         * nis/nis_checkpoint.c: Likewise.
1236         * nis/nis_clone_dir.c: Likewise.
1237         * nis/nis_clone_obj.c: Likewise.
1238         * nis/nis_clone_res.c: Likewise.
1239         * nis/nis_creategroup.c: Likewise.
1240         * nis/nis_file.c: Likewise.
1241         * nis/nis_free.c: Likewise.
1242         * nis/nis_getservlist.c: Likewise.
1243         * nis/nis_local_names.c: likewise.
1244         * nis/nis_lookup.c: Likewise.
1245         * nis/nis_mkdir.c: Likewise.
1246         * nis/nis_modify.c: Likewise.
1247         * nis/nis_ping.c: Likewise.
1248         * nis/nis_print.c: Likewise.
1249         * nis/nis_remove.c: Likewise.
1250         * nis/nis_removemember.c: Likewise.
1251         * nis/nis_rmdir.c: Likewise.
1252         * nis/nis_server.c: Likewise.
1253         * nis/nis_table.c: Likewise.
1254         * nis/nis_util.c: Likewise.
1255         * nis/nis_verifygroup.c: Likewise.
1256         * nis/nis_xdr.c: Likewise.
1257         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1258         * nis/nis_xdr.c: ... to here.
1260 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1262         * iconvdata/ksc5601.h: Clean up a bit.
1264 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1266         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1267         and process incoming data.
1268         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1269         fragments as invalid.
1270         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1272 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1274         Removal of duplicates like "the the".
1275         * manual/time.texi (TZ Variable): Likewise.
1276         * manual/users.texi (Manipulating the Database): Likewise.
1277         * manual/sysinfo.texi (Filesystem handling): Likewise.
1278         * manual/signal.texi (Signaling Yourself): Likewise.
1279         * manual/message.texi (Message Translation): Likewise.
1280         (Common Usage): Likewise.
1281         * manual/llio.texi: Likewise.
1282         * manual/arith.texi (Old-style number conversion): Likewise.
1283         * manual/argp.texi (Argp): Likewise.
1284         (Argp Parsers): Likewise.
1285         (Argp Help Filtering): Likewise.
1287         * hesiod/README.hesiod: Correct typo.
1289         * manual/llio.texi: Correct typos.
1290         * manual/sysinfo.texi: Likewise.
1292 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1294         * rt/aio.h: Rename __op to __operation for g++.
1296 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1298         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1299         script.
1300         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1301         * iconvdata/gen-8bit.sh: Clean up sed script.
1303         * iconvdata/Makefile: Remove all PERL conditionals; build all
1304         the modules all the time.  Export AWK.
1305         (gen-8bit-gap): Delete setting of PERL.
1306         (gen-8bit-gap-1): Likewise.
1307         (perl-generated-headers): Renamed awk-generated-headers.
1309         * iconvdata/gap.pl: Removed.
1310         * iconvdata/gaptab.pl: Removed.
1311         * iconvdata/gap.awk: New file.
1312         * iconvdata/gaptab.awk: New file.
1314 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1316         * sysdeps/generic/Dist: Add errno-loc.c.
1318         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1319         __new_* functions.
1321 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1323         * stdio-common/bug12.c: New test for fread()/fseek().
1324         * stdio-common/Makefile (tests): Add bug12.
1326 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1328         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1329         constant.
1330         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1331         * debug/execinfo.h: Update declaration.
1333 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1335         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1336         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1337         * debug/execinfo.h: Update declaration.
1339 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1341         * manual/llio.texi: Fix spelling.
1342         * manual/sysinfo.texi: Fix spelling.
1344 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1346         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1347         alias for old name.  Put this on __libc_subfreeres.
1348         * misc/search.h: Declare it.
1350 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1352         * string/bits/string2.h (strcmp): Add missing parens around macro
1353         parameters.
1355 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1357         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1359         * manual/filesys.texi: Document LFS functions.
1360         * manual/llio.texi: Likewise.
1361         * manual/stdio.texi: Likewise.
1362         * manual/time.texi: Likewise.
1364         * manual/llio.texi: Document AIO functions.
1366         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1367         * sysdeps/generic/setrlimit.c: Likewise.
1368         * sysdeps/generic/setrlimit64.c: Likewise.
1369         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1370         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1372 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1374         * sysdeps/generic/getenv.c: Fix last change.
1376 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1378         * sysdeps/generic/backtrace.c: Provide generic implementation.
1380 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1382         * configure.in: Give visual feedback of the default directories we
1383         added.
1385 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1387         * io/fts.c (fts_build): Define oflag only if needed.
1389 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1391         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1393 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1395         * libc.map: Don't export argp's fmtstream handling functions.
1397         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1398         * manual/llio.texi: Document more LFS functions and start documenting
1399         the AIO functions.
1401 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1403         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1404         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1405         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1406         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1408 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1410         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1411         makes it easier to undump emacs.
1412         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1413         for when the endianness can't be determined.
1415 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1417         * nss/Makefile: Add files publickey database support.
1418         * nss/libnss_files.map: Export the required functions.
1419         * nss/nss_files/files-key.c: Implement it.
1420         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1422 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1424         * iconv/gconv_builtin.h: Add aliases for CORBA.
1425         * iconvdata/gconv-modules: Likewise.
1427 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1429         * math/libm-test.c (main): Call exp10_test.
1430         (exp10_test): New function which tests exp10.
1432 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1434         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1435         sigstack.
1437         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1438         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1439         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1441 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1443         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1444         in the variable, not its GOT slot.
1446 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1448         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1449         inline.
1450         * sysdeps/m68k/fpu/e_exp10.c: New file.
1451         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1452         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1454         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1455         _dl_profile_map only if the name matches.
1456         (_dl_start_user): Remember stack address.
1457         * sysdeps/m68k/elf/start.S: Pass new argument to
1458         __libc_start_user.
1460         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1461         definition.
1462         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1463         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1464         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1465         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1466         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1468 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1470         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1471         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1472         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1473         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1474         prototypes.
1475         * sysdeps/libm-i387/e_exp10.S: New file.
1476         * sysdeps/libm-i387/e_exp10f.S: New file.
1477         * sysdeps/libm-i387/e_exp10l.S: New file.
1478         * sysdeps/libm-ieee754/e_exp10.c: New file.
1479         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1480         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1481         * sysdeps/libm-ieee754/w_exp10.c: New file.
1482         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1483         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1484         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1486 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1488         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1489         sys/elf.h and sys/reg.h.
1490         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1491         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1492         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1493         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1495         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1496         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1498 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1500         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1501         __data member only for gcc.  Reported by ak@muc.de.
1503         * misc/mntent.h: Undo last patch.
1504         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1505         * misc/tst/mntent.c: Adjust code for this change.
1507         * io/fts.c: Updated from a slightly more recent BSD version.
1508         * io/fts.h: Likewise.
1510         * libc.map: Add __libc_stack_end.
1512         * db2/Makefile (routines): Add lock_region.
1513         * db2/config.h: Update from db-2.4.14.
1514         * db2/db.h: Likewise.
1515         * db2/db_185.h: Likewise.
1516         * db2/db_int.h: Likewise.
1517         * db2/btree/bt_close.c: Likewise.
1518         * db2/btree/bt_compare.c: Likewise.
1519         * db2/btree/bt_conv.c: Likewise.
1520         * db2/btree/bt_cursor.c: Likewise.
1521         * db2/btree/bt_delete.c: Likewise.
1522         * db2/btree/bt_open.c: Likewise.
1523         * db2/btree/bt_page.c: Likewise.
1524         * db2/btree/bt_put.c: Likewise.
1525         * db2/btree/bt_rec.c: Likewise.
1526         * db2/btree/bt_recno.c: Likewise.
1527         * db2/btree/bt_rsearch.c: Likewise.
1528         * db2/btree/bt_search.c: Likewise.
1529         * db2/btree/bt_split.c: Likewise.
1530         * db2/btree/bt_stat.c: Likewise.
1531         * db2/btree/btree.src: Likewise.
1532         * db2/btree/btree_auto.c: Likewise.
1533         * db2/clib/getlong.c: Likewise.
1534         * db2/common/db_appinit.c: Likewise.
1535         * db2/common/db_apprec.c: Likewise.
1536         * db2/common/db_byteorder.c: Likewise.
1537         * db2/common/db_err.c: Likewise.
1538         * db2/common/db_log2.c: Likewise.
1539         * db2/common/db_region.c: Likewise.
1540         * db2/common/db_salloc.c: Likewise.
1541         * db2/common/db_shash.c: Likewise.
1542         * db2/db/db.c: Likewise.
1543         * db2/db/db.src: Likewise.
1544         * db2/db/db_auto.c: Likewise.
1545         * db2/db/db_conv.c: Likewise.
1546         * db2/db/db_dispatch.c: Likewise.
1547         * db2/db/db_dup.c: Likewise.
1548         * db2/db/db_overflow.c: Likewise.
1549         * db2/db/db_pr.c: Likewise.
1550         * db2/db/db_rec.c: Likewise.
1551         * db2/db/db_ret.c: Likewise.
1552         * db2/db/db_thread.c: Likewise.
1553         * db2/db185/db185.c: Likewise.
1554         * db2/db185/db185_int.h: Likewise.
1555         * db2/dbm/dbm.c: Likewise.
1556         * db2/hash/hash.c: Likewise.
1557         * db2/hash/hash.src: Likewise.
1558         * db2/hash/hash_auto.c: Likewise.
1559         * db2/hash/hash_conv.c: Likewise.
1560         * db2/hash/hash_debug.c: Likewise.
1561         * db2/hash/hash_dup.c: Likewise.
1562         * db2/hash/hash_func.c: Likewise.
1563         * db2/hash/hash_page.c: Likewise.
1564         * db2/hash/hash_rec.c: Likewise.
1565         * db2/hash/hash_stat.c: Likewise.
1566         * db2/include/btree.h: Likewise.
1567         * db2/include/btree_ext.h: Likewise.
1568         * db2/include/clib_ext.h: Likewise.
1569         * db2/include/common_ext.h: Likewise.
1570         * db2/include/cxx_int.h: Likewise.
1571         * db2/include/db.h.src: Likewise.
1572         * db2/include/db_185.h.src: Likewise.
1573         * db2/include/db_am.h: Likewise.
1574         * db2/include/db_auto.h: Likewise.
1575         * db2/include/db_cxx.h: Likewise.
1576         * db2/include/db_dispatch.h: Likewise.
1577         * db2/include/db_ext.h: Likewise.
1578         * db2/include/db_int.h.src: Likewise.
1579         * db2/include/db_page.h: Likewise.
1580         * db2/include/db_shash.h: Likewise.
1581         * db2/include/db_swap.h: Likewise.
1582         * db2/include/hash.h: Likewise.
1583         * db2/include/hash_ext.h: Likewise.
1584         * db2/include/lock.h: Likewise.
1585         * db2/include/lock_ext.h: Likewise.
1586         * db2/include/log.h: Likewise.
1587         * db2/include/log_ext.h: Likewise.
1588         * db2/include/mp.h: Likewise.
1589         * db2/include/mp_ext.h: Likewise.
1590         * db2/include/mutex_ext.h: Likewise.
1591         * db2/include/os_ext.h: Likewise.
1592         * db2/include/os_func.h: Likewise.
1593         * db2/include/queue.h: Likewise.
1594         * db2/include/shqueue.h: Likewise.
1595         * db2/include/txn.h: Likewise.
1596         * db2/lock/lock.c: Likewise.
1597         * db2/lock/lock_conflict.c: Likewise.
1598         * db2/lock/lock_deadlock.c: Likewise.
1599         * db2/lock/lock_region.c: Likewise.
1600         * db2/lock/lock_util.c: Likewise.
1601         * db2/log/log.c: Likewise.
1602         * db2/log/log.src: Likewise.
1603         * db2/log/log_archive.c: Likewise.
1604         * db2/log/log_auto.c: Likewise.
1605         * db2/log/log_compare.c: Likewise.
1606         * db2/log/log_findckp.c: Likewise.
1607         * db2/log/log_get.c: Likewise.
1608         * db2/log/log_put.c: Likewise.
1609         * db2/log/log_rec.c: Likewise.
1610         * db2/log/log_register.c: Likewise.
1611         * db2/mp/mp_bh.c: Likewise.
1612         * db2/mp/mp_fget.c: Likewise.
1613         * db2/mp/mp_fopen.c: Likewise.
1614         * db2/mp/mp_fput.c: Likewise.
1615         * db2/mp/mp_fset.c: Likewise.
1616         * db2/mp/mp_open.c: Likewise.
1617         * db2/mp/mp_pr.c: Likewise.
1618         * db2/mp/mp_region.c: Likewise.
1619         * db2/mp/mp_sync.c: Likewise.
1620         * db2/mutex/68020.gcc: Likewise.
1621         * db2/mutex/mutex.c: Likewise.
1622         * db2/mutex/parisc.gcc: Likewise.
1623         * db2/mutex/parisc.hp: Likewise.
1624         * db2/mutex/sco.cc: Likewise.
1625         * db2/os/os_abs.c: Likewise.
1626         * db2/os/os_alloc.c: Likewise.
1627         * db2/os/os_config.c: Likewise.
1628         * db2/os/os_dir.c: Likewise.
1629         * db2/os/os_fid.c: Likewise.
1630         * db2/os/os_fsync.c: Likewise.
1631         * db2/os/os_map.c: Likewise.
1632         * db2/os/os_oflags.c: Likewise.
1633         * db2/os/os_open.c: Likewise.
1634         * db2/os/os_rpath.c: Likewise.
1635         * db2/os/os_rw.c: Likewise.
1636         * db2/os/os_seek.c: Likewise.
1637         * db2/os/os_sleep.c: Likewise.
1638         * db2/os/os_spin.c: Likewise.
1639         * db2/os/os_stat.c: Likewise.
1640         * db2/os/os_unlink.c: Likewise.
1641         * db2/progs/db_archive/db_archive.c: Likewise.
1642         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1643         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1644         * db2/progs/db_dump/db_dump.c: Likewise.
1645         * db2/progs/db_dump185/db_dump185.c: Likewise.
1646         * db2/progs/db_load/db_load.c: Likewise.
1647         * db2/progs/db_printlog/db_printlog.c: Likewise.
1648         * db2/progs/db_recover/db_recover.c: Likewise.
1649         * db2/progs/db_stat/db_stat.c: Likewise.
1650         * db2/txn/txn.c: Likewise.
1651         * db2/txn/txn.src: Likewise.
1652         * db2/txn/txn_auto.c: Likewise.
1653         * db2/txn/txn_rec.c: Likewise.
1655         * elf/rtld.c: Move definition of __libc_stack_end to ...
1656         * sysdeps/generic/dl-sysdep.h: ...here.
1658         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1659         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1660         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1662         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1663         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1664         before following it.
1666 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1668         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1669         from mntent correctly.
1671 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1673         * sunrpc/Makefile (generated): Correct typo.
1675 1998-06-04  Philip Blundell  <philb@gnu.org>
1677         * elf/elf.h (EM_ARM, et al.): New definitions.
1678         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1680 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1682         * localedata/SUPPORTED: Add sk_SK.
1683         * localedata/locales/sk_SK: New file.
1685 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1687         * Makeconfig (subdirs): Add debug.
1688         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1689         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1690         backtrace_symbols.
1691         * sysdeps/generic/backtrace.c: New file.
1692         * sysdeps/generic/backtracesyms.c: New file.
1693         * sysdeps/generic/elf/backtracesyms.c: New file.
1694         * sysdeps/i386/backtrace.c: New file.
1695         * debug/Makefile: New file.
1696         * debug/backtrace-tst.c: New file.
1697         * debug/execinfo.h: New file.
1699 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1701         * elf/sprof.c: Implement call graph profiling.
1703         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1705 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1707         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1708         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1709         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1710         Noticed by Jake Garver <garver@valkyrie.net>.
1712 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1714         * libio/genops.c (__underflow): Read character from read pointer
1715         as unsigned.
1716         (__uflow): Likewise.
1718 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1720         * libc.map: Add _dl_profile.
1721         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1722         this to ELF_DYNAMIC_RELOCATE.
1723         Always allocate array for relocation result if LD_PROFILE is defined.
1724         * elf/ldsodefs.h: Adjust prototypes.
1725         * elf/dl-open.c (_dl_open): Call relocation function with extra
1726         argument.
1727         * elf/rtld.c: Likewise.
1728         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1729         Correct loop condition.
1730         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1731         consider_profile to runtime setup function.
1732         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1733         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1735         * elf/dl-support.c: Define __libc_stack_end.
1736         * elf/rtld.c: Likewise.
1737         * sysdeps/generic/libc-start.c: Store last stack address in
1738         __libc_stack_end.
1739         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1740         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1742         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1743         Include <stdint.h>, not <inttypes.h>.
1745         * elf/sprof.c: Implement flat profiling.
1747         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
1748         _IO_funlockfile explicitly.
1749         * libio/fileops.c: Likewise.
1750         * libio/fputc.c: Likewise.
1751         * libio/freopen.c: Likewise.
1752         * libio/freopen64.c: Likewise.
1753         * libio/fseek.c: Likewise.
1754         * libio/fseeko.c: Likewise.
1755         * libio/fseeko64.c: Likewise.
1756         * libio/ftello.c: Likewise.
1757         * libio/ftello64.c: Likewise.
1758         * libio/getc.c: Likewise.
1759         * libio/getchar.c: Likewise.
1760         * libio/iofclose.c: Likewise.
1761         * libio/iofflush.c: Likewise.
1762         * libio/iofgetpos.c: Likewise.
1763         * libio/iofgetpos64.c: Likewise.
1764         * libio/iofgets.c: Likewise.
1765         * libio/iofputs.c: Likewise.
1766         * libio/iofread.c: Likewise.
1767         * libio/iofsetpos.c: Likewise.
1768         * libio/iofsetpos64.c: Likewise.
1769         * libio/ioftell.c: Likewise.
1770         * libio/iofwrite.c: Likewise.
1771         * libio/iogetdelim.c: Likewise.
1772         * libio/iogets.c: Likewise.
1773         * libio/ioputs.c: Likewise.
1774         * libio/ioseekoff.c: Likewise.
1775         * libio/ioseekpos.c: Likewise.
1776         * libio/iosetbuffer.c: Likewise.
1777         * libio/iosetvbuf.c: Likewise.
1778         * libio/ioungetc.c: Likewise.
1779         * libio/iovsprintf.c: Likewise.
1780         * libio/iovsscanf.c: Likewise.
1781         * libio/oldfileops.c: Likewise.
1782         * libio/oldiofclose.c: Likewise.
1783         * libio/peekc.c: Likewise.
1784         * libio/putc.c: Likewise.
1785         * libio/putchar.c: Likewise.
1786         * libio/rewind.c: Likewise.
1788         * malloc/mtrace.c: Pretty print.
1790         * misc/mntent.h (struct mentent): Make string elements const char *.
1792         * nis/nis_printf.c: Optimize I/O a little bit.
1794         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
1795         * sysdeps/generic/sigset-cvt-mask.h: New file.
1796         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
1797         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
1798         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
1799         sigset-cvt-mask.h to do the dirty work.
1800         Patches by Joe Keane.
1802         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
1804         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
1805         syscall_error label in case of PIC anonymous.
1806         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
1807         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
1808         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
1809         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
1810         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
1811         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
1812         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
1814 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
1816         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
1817         we cannot declare the struct element as const.
1818         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
1819         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
1821 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1823         * manual/Makefile: Include ../Makeconfig earlier.
1824         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
1825         exist.
1826         (dir-add.texinfo): Remove useless $(SHELL).
1828 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1830         * Makefile (others): Build programs from install-bin.
1831         * configure.in: Modify config.make only if is was just created and
1832         move that command to second argument of AC_OUTPUT.  Add command to
1833         set config_vars in config.status.
1835 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1837         * malloc/Makefile (address-width): Fix conditional.
1839 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1841         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
1842         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
1843         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
1844         version GLIBC_2.1.
1846 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1848         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
1849         (Floating Point Parameters): Likewise.
1851 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1853         * hurd/Makefile (routines): Add cthreads.
1855 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1857         * login/login.c (login): Let pututline take care of finding the
1858         positin to insert the UTMP entry.  This corrects a bug where ssh
1859         was not reusing UTMP entries marked as DEAD_PROCESS.
1860         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1862 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1864         * login/Makefile (tests): New variable, add tst-utmp and
1865         tst-utmpx.
1866         * login/tst-utmp.c: New file.
1867         * login/tst-utmpx.c: New file.
1869 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1871         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1872         aliases for _hurd_nerr, for programs that don't use sys_errlist,
1873         but need sys_err.
1875 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1877         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1878         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1880 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1882         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1883         make __read a weak alias.  Use ANSI-style function definition.
1884         * sysdeps/mach/hurd/write.c: Likewise.
1886 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1888         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1889         _sys_errlist.
1891 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1893         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1894         Renamed from librtld.so.
1896 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1898         * libc.map: Remove _IO_getline_info which was erroneously
1899         introduced in section GLIBC_2.0.
1900         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1902 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1904         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1905         created a weak alias.
1906         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1908 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
1910         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1911         ftruncate function, and create a weak alias to ftruncate.
1913 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1915         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1916         * inet/getnetgrent_r.c: Likewise.
1917         * nss/getXXbyYY_r.c: Likewise.
1918         * nss/getXXent_r.c: Likewise.
1919         * pwd/fgetpwent_r.c: Likewise.
1920         * shadow/sgetspent_r.c: Likewise.
1921         * shadow/fgetspent_r.c: Likewise.
1922         * sunrpc/publickey.c: Likewise.
1924 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1926         * hurd/libhurduser.map: New file.
1927         * mach/libmachuser.map: Likewise.
1929         * libc.map: Add Hurd-specific functions to version 2.1.
1930         Add __flshfp and __fillbf.
1932 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1934         * manual/signal.texi (Basic Signal Handling): Fix typo.
1935         * manual/errno.texi (Error Codes): Likewise.
1937 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
1939         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1940         instead of <sys/socket.h>.
1941         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1943         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1944         Finally make it working.
1945         Patch by Mark Hatle <fray@kernel.crashing.org>.
1947 1998-03-22  Paul Eggert  <eggert@twinsun.com>
1949         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1950         a Solaris 2.6 bug.
1952 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
1954         * stdlib/gmp-impl.h: Support strange mixed-endian double format
1955         used by ARM systems.
1956         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1957         FE_EXCEPT_SHIFT.
1958         * sysdeps/arm/bits/fenv.h: Deleted.
1959         * sysdeps/arm/fpu/ieee754.h: New file.
1960         * sysdeps/arm/gmp-mparam.h: New file.
1961         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1962         implementation.
1964 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
1966         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1968         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1969         of ((unused)).  Reported by Bruno Haible.
1971 1998-05-31  Philip Blundell  <philb@gnu.org>
1973         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1974         referring to errno and _errno.
1976         * sysdeps/arm/fpu/feholdexcpt.c: New file.
1978         * sysdeps/i386/fpu_control.h: Fix typo.
1980         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1981         (_JMPBUF_UNWINDS): Added.
1982         * sysdeps/arm/fpu/bits/setjmp.h: New file.
1984 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
1986         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1987         order to build header files, not `generated'.
1989         * Rules (before-compile): New target which depends on all
1990         $(before-compile) files.
1992 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1994         * nis/nis_call.c: Make directory search faster.
1996         * nis/nis_callback.c: Insert public key of user in callback data.
1998         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2000         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2002         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2004         * nis/nis_intern.h: Remove duplicated prototype.
2006 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2008         * sunrpc/auth_des.c: Move prototypes from here ...
2009         * sunrpc/rpc/auth.h: ... to here.
2011         * sunrpc/clnt_tcp.c: Add more control flags.
2012         * sunrpc/clnt_udp.c: Likewise.
2014         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2015         domainname.
2017         * sunrpc/rpc/clnt.h: Document, which control flags are not
2018         implementable.
2020         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2022 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2024         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2025         files crash the program.
2027         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2028         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2029         Reported by Deborah Wallach <kerr@pa.dec.com>.
2031 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2033         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2034         on whether this is a stable release or not (keeps snapshot bug
2035         reports out of the database).
2037         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2038         * sysdeps/arm/sysdep.h: Likewise.
2039         * sysdeps/i386/sysdep.h: Likewise.
2040         * sysdeps/m68k/sysdep.h: Likewise.
2041         * sysdeps/mach/mips/sysdep.h: Likewise.
2042         * sysdeps/mach/sys/reboot.h: Likewise.
2043         * sysdeps/mach/sysdep.h: Likewise.
2044         * sysdeps/unix/alpha/sysdep.h: Likewise.
2045         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2046         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2047         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2048         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2049         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2050         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2051         * sysdeps/unix/i386/sysdep.h: Likewise.
2052         * sysdeps/unix/mips/sysdep.h: Likewise.
2053         * sysdeps/unix/sparc/sysdep.h: Likewise.
2054         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2055         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2056         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2057         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2058         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2059         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2060         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2061         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2063 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2065         * mach/Machrules: Use $(move-if-change).
2067 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2069         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2070         * Makerules (lib%.so): Depend on $(+interp).
2071         (libc.so): Add interp.os to list of dependencies.
2072         (interp-obj): Remove variable.
2073         * mach/Machrules (+interp): Define to empty since libhurduser and
2074         libmachuser don't need to have the interpreter set.
2076 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2078         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2080         * resolv/gethnamaddr.c: Likewise.
2082         * resolv/res_comp.c: Likewise.
2084 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2086         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2087         so that transparent union works.
2089 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2091         * manual/texinfo.tex: Update to last available version.
2093         * timezone/africa: Update from tzdata1998e.
2094         * timezone/antarctica: Likewise.
2095         * timezone/asia: Likewise.
2096         * timezone/australasia: Likewise.
2097         * timezone/europe: Likewise.
2098         * timezone/iso3166.tab: Likewise.
2099         * timezone/northamerica: Likewise.
2100         * timezone/tzselect.ksh: Likewise.
2101         * timezone/zone.tab: Likewise.
2103 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2105         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2106         Reported by Matt McLean <keys@brio.yikes.com>.
2108 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2110         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2111         do-gencat-test.  Use automatic variables.
2112         ($(objpfx)de.msg): Fix reference to po file.
2114 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2116         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2117         $(move-if-change).
2119 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2121         * intl/dcgettext.c: Fix typo.
2123 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2125         * configure.in: Allow more make versions e.g 3.76.90.
2127 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2129         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2131         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2132         for Hurd.  Patch by Mark Kettenis.
2134 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2136          * mach/Machrules (+preinit, +postinit): Define these variables to
2137          empty because libhurduser and libmachuser don't need startup
2138          files.
2140 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2142          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2143          instead of a raw bitmask.
2145 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2147         * Makeconfig (rpath-dirs): New variable.
2148         (rpath-link): Use it.
2149         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2150         (db-objpfx): Removed.
2151         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2152         * md5-crypt/Makefile: Likewise.
2153         * sysdeps/mach/hurd/Makefile: Likewise.
2155         * Makeconfig (move-if-change): New variable.
2156         * iconvdata/Makefile (move-if-change): Removed.
2157         * manual/Makefile (move-if-change): Set only if undefined, use
2158         local script by default.
2159         * sunrpc/Makefile (move-if-change): Removed.
2160         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2161         $(move-if-change).
2163          * elf/Makefile: Remove all references to obsolete file
2164          $(objpfx)rtldtbl.h.
2165          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2167 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2169         * elf/dl-close.c (_dl_close): Add debugging message.
2171 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2173         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2174         to get Linux version and not gcc version.
2175         Reported by Alan Curry <pacman@cqc.com>.
2177 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2179         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2180         pointers - return unknown error message instead.
2181         Reported by Alan Curry <pacman@cqc.com>.
2183 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2185         * iconvdata/Makefile (modules, sed-generated-headers,
2186         perl-generated-headers): ibm424.h is perl generated.  Make
2187         necessary modifications to compile without perl.
2189 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2191         * hesiod/hesiod.c (read_config_file): Fix typo.
2193 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2195         * version.h: Bump VERSION.
2197         * csu/Makefile (distribute): Add munch-tmpl.c.
2199 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2201         * nis/nis_defaults.c: Fix buffer problems and typos.
2203 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2205         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2206         Patch by Fred Fish.
2208 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2210         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2211         overwriting bugs.
2213         * libio/strops.c (_IO_str_underflow): Read newly available
2214         character from buffer as unsigned.
2216 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2218         * catgets/Makefile (distribute): Add xopen-msg.h.
2219         (generated): Add de.msg and de.cat.
2220         (tests): Add do-gencat-test.
2221         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2222         * catgets/xopen-msg.h: New file.
2224 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2226         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2227         functions.  Optimize filename creation a bit.
2229 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2231         * stdlib/random_r.c: Help gcc to optimize the code.
2232         Patch by Joe Keane <jgk@jgk.org>.
2234 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2236         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2237         tsearch calls.
2239 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2241         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2242         it.
2244 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2246         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2247         * wcsmbs/wcsrtombs.c: Likewise.
2249         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2250         * wcsmbs/wcsmbs-tst1.c: New file.
2252         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2254         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2255         as 1.
2257         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2258         weak.
2260 1998-05-21  Philip Blundell  <philb@gnu.org>
2262         * sysdeps/arm/fpu_control.h: Replace stub file with real
2263         implementation.
2264         * sysdeps/arm/fpu/bits/fenv.h: New file.
2265         * sysdeps/arm/fpu/fesetround.c: Likewise.
2266         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2267         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2268         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2269         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2270         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2271         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2273 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2275         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2276         read instead of mmap.
2278 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2280         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2281         directly instead of include_next.  Add missing semicolons.
2282         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2283         Add missing semicolons.
2285 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2287         * iconvdata/gconv-modules: Add more aliases to please java
2288         environments.
2290 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2292         * stdio-common/vfprintf.c (process_arg): Fix typo.
2294         * iconvdata/TESTS: New tests for EUC-KR.
2296         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2297         * iconvdata/testdata/EUC-KR: New file.
2299 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2301         * math/libm-test.c (hypot_test): Fix a typo.
2303 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2305         * stdio-common/vfprintf.c: When precision is specified for %ls or
2306         %S handle it correctly.
2308 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2310         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2311         the" in one line - fixed it.
2312         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2313         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2314         * posix/unistd.h: Likewise
2316 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2318         * Makeconfig (rpath-link): Add resolvobjdir.
2319         (resolvobjdir): New variable.
2320         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2322 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2324         * elf/dl-close.c: Call shared object terminators at the right time.
2325         Patch by Philippe Troin <phil@fifi.org>.
2327 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2329         * Make-dist (+tsrcs): Also add *.map for every member of
2330         $(extra-libs).
2332         * Makefile (distribute): Don't distribute scripts/printsources and
2333         scripts/=__ify.  Distribute FAQ.in.
2334         (rpm/%): Don't pass subdirs to sub-make.
2336         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2337         instead of $(no_deps).
2339 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2341         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2342         (KNOWN_VALUE, STORE_VALUE): Do it right.
2343         (setenv): Remove unused variable.
2345 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2347         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2348         (CFLAGS-zdump.c): Add $(tz-cflags).
2350         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2351         return type.
2353 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2355         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2356         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2357         if use_localtime.
2358         * time/tzset.c: Update prototype of __tzfile_compute.
2359         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2360         tm_zone and tm_offset here if __use_tzfile.
2362 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2364         * Makerules: Install libc.a even if there are no object file.
2366 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2368         * Makerules (do-makelib): Don't force creating library from
2369         scratch, which is faster and gets correct behaviour if $(subdirs)
2370         is incomplete.
2372 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2374         * Makerules (do-stamp): Make it work when building in source
2375         directory.
2377 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2379         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2380         inhibit-rpath.
2381         * elf/dl-support.c: Likewise.
2382         * elf/ldsodefs.h: Likewise.
2383         * elf/rtld.c: Likewise.
2384         * iconvdata/run-iconv-test.sh: Likewise.
2386 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2388         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2389         variable using the value.
2390         * elf/ldsodefs.h: Declare _dl_ignore_path.
2391         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2392         object against list in _dl_ignore_path and ignore RPATH if on the list.
2393         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2394         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2395         to make sure we get the correct helper libraries loaded.
2397         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2398         "RPATH" string in call to fillin_rpath instead.
2399         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2401 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2403         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2404         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2406 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2408         * manual/terminal.texi (I/O Queues): Fix typo.
2410         * manual/stdio.texi (Closing Streams): Fix grammar.
2412         * manual/arith.texi (Absolute Value): Correct typo.
2413         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2415 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2417         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2418         LD_PROFILE_OUTPUT in SUID binaries.
2419         * intl/dcgettext.c: In SUID binaries don't let language part of
2420         locale value contain path elements.
2421         * intl/explodename.h: Define new function _nl_find_language.
2422         * intl/loadinfo.h: Declare _nl_find_language.
2423         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2424         language part it drop the value is path element is contained.
2426         * locale/setlocale.c: Fix typo.
2428 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2430         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2432         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2434         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2435         log, not a byte-count.
2437         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2438         a.out compatibility.
2440 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2442         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2443         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2444         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2445         * posix/unistd.h: Likewise.
2446         * math/math.h: Likewise.
2447         * manual/users.texi (Manipulating the Database): Likewise.
2448         * manual/signal.texi (Job Control Signals): Likewise.
2449         * manual/message.texi (The gencat program): Likewise.
2450         * manual/filesys.texi (Hard Links): Likewise.
2451         * manual/math.texi (SVID Random): Likewise.
2452         * manual/llio.texi (Waiting for I/O): Likewise.
2453         * manual/io.texi (File Name Errors): Likewise.
2454         * manual/conf.texi (String Parameters): Likewise.
2455         * manual/arith.texi (Infinity): Likewise.
2456         * malloc/malloc.c: Likewise.
2457         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2458         * csu/Makefile: Likewise.
2460 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2462         * manual/memory.texi: Add back accidently removed line.
2464 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2466         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2467         (timeout_handler): New function.
2468         (LOCK_FILE, UNLOCK_FILE): New macros.
2469         Implement file locking with timeout.
2470         (getutent_r_file, internal_getut_r, getutline_r_file,
2471         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2472         locking.
2474 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2476         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2477         directory.
2479 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2481         * rpm/Makefile: Delete inclusion of version.mk.
2483 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2485         * libc.map: Add all libio functions needed libstdc++ with version
2486         2.0, sort entries.
2488 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2490         * iconvdata/Makefile (generated): Add *.stmp files.
2492 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2494         * timezone/Makefile (testdata, build-testdata): New variables, use
2495         them in rules for test data.
2496         ($(objpfx)tst-timezone.out): Depend on test data.
2497         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2498         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2499         New rules to build test data.
2500         (tst-timezone-ENV): Pass TZDIR to point to test data.
2502 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2504         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2505         (the designation sequence is disturbing).
2507 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2509         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2510         * sunrpc/xdr_rec.c: Likewise.
2512 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2514         * posix/Makefile (tests): Add runptests.
2515         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2516         (before-compile): Add ptestcases.h.
2517         (ptestscases.h): Add rule to generate from PTESTS.
2518         * posix/runptests.c: New file.
2519         * posix/PTESTS: New file.
2520         * posix/PTESTS2C.sed: New file.
2522 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2524         * iconv/loop.c: Let user add code to use and set paramaters.
2526         * iconvdata/iso-2022-kr.c: Correct to-loop.
2528         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2529         point to output buffer.
2531         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2532         hanja.
2534         * iconvdata/TESTS: Add ISO-2022-KR test.
2535         * iconvdata/testdata/ISO-2022-KR: New file.
2537 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2539         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2540         and internal_use.
2541         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2542         and internal_use.
2543         * wcsmbs/btowc.c: Likewise.
2544         * wcsmbs/mbrtowcs.c: Likewise.
2545         * wcsmbs/mbsnrtowcs.c: Likewise.
2546         * wcsmbs/mbsrtowcs.c: Likewise.
2547         * wcsmbs/wcrtomb.c: Likewise.
2548         * wcsmbs/wcsnrtombs.c: Likewise.
2549         * wcsmbs/wcsrtombs.c: Likewise.
2550         * wcsmbs/wctob.c: Likewise.
2551         * iconv/skeleton.c: Increment invocation_counter.
2552         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2553         sequence first.
2555         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2556         * iconvdata/iso-2022-jp.c: Likewise.
2557         * iconvdata/iso646.c: Likewise.
2559         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2561 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2563         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2565         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2566         overwriting existing values if it fits.
2568 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2570         * posix/wordexp-test.c: Avoid duplicate messages.
2572         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2573         tsearch.  Correctly interpret values returned by those functions.
2574         (unsetenv): Store pointer to string, not pointer to string pointer.
2576         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2577         DST information and offset in them.
2578         * time/tzset.c (__tz_convert): Pass extra parameters to
2579         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2581 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2583         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2584         stamp files to avoid unnecessary recompilation.
2585         (gen-8bit-gap-table): Likewise.
2586         (move-if-change): New variable.
2587         (all generated .h rules): Change to be .stmp rules.
2588         (%.h): New rule; depend on %.stmp; no commands.
2589         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2590         gen-8bit-gap-1.sh.
2592 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2594         * Makerules (libc-map): Deleted.
2595         (load-map-file): Set to the appropriate compiler switch, not
2596         just the file name.  If libfoo-map is not set, look for a
2597         libfoo.map in the current directory and $(..).
2598         (map-file): New variable, contains just the mapfile name.
2599         (build-shlib): Adjust for new value of load-map-file.
2600         (libc.so): Correct dependencies.
2602         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2603         may not be set anymore.
2605         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2606         Delete libdl-map.  Tweak ld.so link rule to work with changed
2607         variable settings in Makerules.
2608         * iconvdata/Makefile: Tweak build-module to work with changed
2609         variable settings in Makerules.
2611         * db/Makefile: Delete libdb-map.
2612         * hesiod/Makefile: Delete libnss_hesiod-map.
2613         * linuxthreads/Makefile: Delete libpthread-map.
2614         * locale/Makefile: Delete libBrokenLocale-map.
2615         * login/Makefile: Delete libutil-map.
2616         * math/Makefile: Delete libm-map.
2617         * md5-crypt/Makefile: Delete libcrypt-map.
2618         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2619         libnss_nisplus-map, and libnss_compat-map.
2620         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2621         libnss_ldap-map.
2622         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2623         * rt/Makefile: Delete librt-map.
2625 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2627         * configure.in: Instead of substituting `yes' or `no' for whether
2628         --no-whole-archive is available, set @no_whole_archive@ to the
2629         appropriate gcc switch or the empty string.  Likewise for
2630         -fno-exceptions.
2631         * config.make.in: Replace have-no-whole-archive with
2632         no-whole-archive and have-no-exceptions with no-exceptions.
2633         * Makerules: Delete stanzas setting no-whole-archive and
2634         no-exceptions.
2636         * sunrpc/Makefile: Use move-if-change to update generated .h
2637         and .c files.
2639 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2641         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2642         of strchr loop.
2644 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2646         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2647         (__tzfile_compute): Likewise.
2649 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2651         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2652         defines from Linux 2.1.102.
2654 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2656         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2658 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2660         * inet/netinet/in.h: Add defines for multicast.
2661         Reported by Jeremy Hall <jhall@UU.NET>.
2663         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2664         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2665         and unsetenv.  Optimize _LIBC case.
2666         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2667         Define functions with leading __.
2669         * time/tzfile.c: Correct handling of global variables daylight,
2670         timezone, and tzname.
2671         * time/tzset.c: Likewise.
2672         * timezone/Makefile (tests): Add tst-timezone.
2673         * timezone/tst-timezone.c: New file.
2675 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2677         * timezone/asia: Update from tzdata1998d.
2678         * timezone/australasia: Likewise.
2679         * timezone/europe: Likewise.
2681 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2683         * string/string.h: Don't use the optimized versions for the string
2684         functions if optimizing for space.
2686         * stdlib/tst-strtod.c: Add test for -0.0.
2688         * io/ftwtest-sh: Prevent tests from being run by root.
2690         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2691         last addition.  Patch by wkpark@chem.skku.ac.kr.
2693 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2695         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2696         table.
2698 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2700         * iconvdata/gen-8bit.sh: New file.
2701         * iconvdata/gen-8bit-gap.sh: New file.
2702         * iconvdata/gen-8bit-gap-1.sh: New file.
2703         * iconvdata/Makefile (generate-8bit-table): Use shell script
2704         instead of writing the commands directly.
2705         (generate-8bit-gap-table): Likewise.
2706         ($(objpfx)iso8859-7jp.h): Likewise.
2707         (generated headers): Depend on shell script instead of Makefile.
2708         (before-compile): Add $(perl-generated-headers) only if perl is
2709         available.
2710         (headers): Depend on $(perl-generated-headers) only if perl is
2711         available.
2712         (sed-generated-headers): Remove iso8859-7jp.h.
2714 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2716         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2717         (/): Removed.
2719 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2721         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2722         formed charset names to getfct.  Let user override charset
2723         selection by mention charset in locale name.
2725 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2727         * posix/glob.c: Move to ...
2728         * sysdeps/generic/glob.c: ...here.
2729         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2730         elements.
2731         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2732         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2733         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2734         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2735         subdir.
2736         * libc.map [GLIBC_2.1]: Add glob and globfree.
2738 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2740         * sunrpc/Makefile (generated): Restore old list.
2742 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2744         * rt/Makefile (tests): Define only if we have a thread library.
2746         * nis/ypclnt.c: Add: #include <errno.h>.
2748 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2750         * configure.in: Define and substitute RELEASE as well as
2751         VERSION.
2752         * config.make.in: Add RELEASE and VERSION to be substituted.
2753         * Makeconfig: Delete all references to version.mk.
2754         * Make-dist: Likewise.
2755         * MakeTAGS: Likewise.
2756         * elf/Makefile: Likewise.
2758 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2760         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
2761         yp_get_default_domain.
2763 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2765         * sysdeps/posix/profil.c (__profil): Don't define act and timer
2766         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
2768 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2770         * malloc/malloc.c: Fix for NO_THREADS case.
2772 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
2774         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2775         Remove statfs and fstatfs.
2776         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
2777         and pwrite as EXTRA.
2778         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2780 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
2782         * libc.map: Add capget and capset.
2784 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2786         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2787         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
2788         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
2789         and Matt McLean <keys@brio.yikes.com>.
2791 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
2793         * misc/Makefile (tests): Add tst-mntent.
2794         * misc/tst-mntent.c: New file.
2796 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2798         * autolock.sh: Removed.
2799         * manual/move-if-change: Removed.
2801         * scripts: New directory.
2802         * =__ify: Moved to scripts.
2803         * config.guess: Likewise.
2804         * config.sub: Likewise.
2805         * gen-FAQ.pl: Likewise.
2806         * install-sh: Likewise.
2807         * mkinstalldirs: Likewise.
2808         * move-if-change: Likewise.
2809         * printsources: Likewise.
2810         * rellns.sh: Likewise.
2811         * test-installation.pl: Likewise.
2813         * configure.in: Look in scripts for config.guess, config.sub,
2814         install-sh.
2815         * Makefile: Distribute all above files in their
2816         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
2817         * manual/Makefile: Find mkinstalldirs and move-if-change in
2818         $(..)scripts.  Drop them from distribute.  Minor cleanups.
2819         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
2820         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
2821         * timezone/Makefile: Find rellns-sh in scripts.
2823 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2825         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
2826         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
2828 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2830         * Makefile (+subdir-inits): Delete variable.
2831         (+init_subdirs): Likewise.
2832         (aux): Likewise.
2833         (before-compile): Likewise.
2834         (libc-init): Delete stanza.
2835         (version-info.h): Delete rule and associated variable.
2836         (distribute): Don't distribute moved files.
2837         * Makerules (interp-obj): It lives in elf now.  Only use it
2838         if $(elf) is set.  Delete rule to build it.
2839         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
2840         version.o and version-info.h.  Minor cleanups.
2841         (routines): Add libc-init, sysdep, version.
2842         (generated): Add version-info.h.
2843         * elf/Makefile: Build interp.os.
2845         * interp.c: Moved to elf.
2846         * set-init.c: Moved to csu.
2847         * munch-init.c: Likewise.
2848         * munch.awk: Likewise.
2849         * version.c: Likewise.
2851         * Rules: Unconfuse syntax highlighting with a fake comment.
2853 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2855         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
2856         syscalls.
2858 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2860         * iconvdata/Makefile (generated): Set to *-generated-headers
2861         plus gconv-modules.
2862         (tests): Set to iconv-test.
2863         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2864         * posix/Makefile (generated): Set to wordexp-test-result*.
2865         * sunrpc/Makefile (generated): Remove rpcsvc/*.
2866         (generated-dirs): Add rpcsvc.
2867         * libio/Makefile: Clean up.
2869 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
2871         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2872         * Makerules: Likewise.
2873         (+depfiles): Also add sysdep-others.
2874         * Rules: Likewise.
2875         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2876         * iconvdata/Makefile (distribute): Add TESTS.
2877         * localedata/Makefile (repertoires): Rename to repertoiremaps.
2878         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2879         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2880         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2881         sysdep-others, not others.
2882         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2883         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2885 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
2887         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2888         cost_hi and cost_lo.
2889         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2890         Cost parameter and set cost_lo to INT_MAX.
2891         (add_module): Take new parameter and use it to initialize cost_lo.
2892         (read_conf_file): Count modules being loaded and use counter for
2893         new parameter to add_module.
2894         * iconv/gconv_db.c (find_derivation): When look for cost examine
2895         cost_hi and cost_lo.
2897 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
2899         * string/bits/string2.h: Don't use unsigned char * unless really
2900         necessary since this disturbs C++.
2901         * sysdeps/i386/i486/bits/string.h: Likewise.
2902         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2904 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2906         * malloc/malloc.c (top_check): Fix last change.
2908 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2910         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2911         Patch by Matt McLean <keys@brio.yikes.com>.
2913 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2915         * Makerules (lib): Put back dependency on lib-noranlib.
2916         ($(subdirs-stamps)): Remove dependency on stamp.* again.
2918 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2920         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2921         test in __pow2 implementation.
2923 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2925         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2926         Still need *FLAGS-.o because we still sometimes build .o files.
2927         * db2/Makefile: Don't build libndbm.a if !build-static.
2929 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2931         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2933 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2935         * configure.in: New test for broken gcc on PowerPC.
2936         * sysdeps/powerpc/atomicity.h: Use result of test.
2937         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2939         * math/libm-test.c: Update many of the epsilon to match actual
2940         performance.
2942         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2943         * sysdeps/libm-ieee754/e_expf.c: Likewise.
2944         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2945         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2947         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2949         * sysdeps/powerpc/elf/libc-start.c: New file.
2950         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2951         * sysdeps/powerpc/elf/start.c: Delete.
2953         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2954         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
2956         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2957         few patches.
2959 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
2961         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2962         test for integer.
2964         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2965         * sysdeps/libm-i387/e_powl.S: Likewise.
2967 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2969         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2970         (malloc_check, free_check, realloc_check, memalign_check): Use
2971         them to improve overrun checking.  Overruns of a single byte and
2972         corruption of the top chunk are now detected much more reliably.
2974 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2976         * math/libm-test.c (pow_test): Add test for special value from PR
2977         libc/590.
2979 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
2981         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2982         including linux/errno.h.
2984 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
2986         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2987         Use correct types.
2988         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
2989         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
2991 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2993         * Makerules (elide-routines.*): Fix assignments.
2994         (do-makelib): Fix typo.
2995         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
2996         makefile.
2998 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3000         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3001         $(objpfx)sysd-dirs): Move them...
3002         * Makeconfig: ... here.
3003         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3004         (stubs): Fix circular depedency.
3005         (do-makelib): Clean up.
3006         (lib): Don't depend on lib-noranlib.
3007         ($(objpfx)stamp.oS): Remove special case for empty
3008         static-only-routines.
3009         (elide-routines.o): Add $(static-only-routines).
3010         (elide-routines$o): Define this instead of elide-routines.$o.
3011         * manual/Makefile (stubs): Fix circular dependency.
3013 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3015         * libio/Makefile (routines): Remove duplicate oldiofclose.
3017 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3019         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3021 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3023         * libio/stdio.h: Fix typo in __REDIRECT.
3024         * io/sys/stat.h: Likewise.
3025         Reported by Myles Uyema <myles@uyema.nws.net>.
3027 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3029         * locale/programs/localedef.c (options): Fix help message.
3031 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3033         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3034         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3036 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3038         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3039         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3040         (ptmalloc_init): Use new function in thread_at_fork call.
3041         (thread_atfork_static): Likewise.
3042         Suggested by Wolfram Gloger and Xavier Leroy.
3044 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3046         * signal/signal.h: Move definitions of struct sigstack and
3047         struct sigaltstack into separate file and include it.
3048         * sysdeps/generic/bits/sigstack.h: New file.
3049         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3050         * signal/Makefile (headers): Add bits/sigstack.h.
3052 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3054         * elf/rtld.c (dl_main): Fix check for number of references to
3055         interpreter object.
3057 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3059         * elf/rtld.c (dl_main): Check has_interp after executing platform
3060         specific code.
3062 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3064         * iconvdata/run-iconv-test.sh: Fix typo.
3066 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3068         * Makerules (+depfiles): Add depfiles for $(tests-static).
3069         Simplified.
3071 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3073         * manual/terminal.texi (Special Characters): Fix description of
3074         c_cc indexes.
3076 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3078         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3079         array.
3080         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3081         of c_cc array.
3083 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3085         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3087 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3089         * intl/locale.alias: Update russian entry.
3091 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3093         * Makerules (static-only-routines): Reimplement in terms of
3094         elide-routines.os.
3095         (shared-only-routines): Reimplement in terms of
3096         elide-routines.X [where X is all object-suffixes except .os].
3098         (stubs): Create stubs file inside the subdir.
3099         (common-mostlyclean): Remove stubs file from inside the subdir.
3100         * Makefile (subdir-stubs): Look for stubs files inside the
3101         subdirs.
3102         * manual/Makefile (stubs): Create dummy stubs file inside the
3103         subdir.
3105 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3107         Build speed improvement: make ar less of a bottleneck.
3109         * Makerules (stamp$o): Just record the object list for later
3110         use.
3111         (libc_foo.a): New rule, depends on subdir stamp files; builds
3112         and ranlibs the library from the lists saved in those files.
3114         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3115         (subdirs-stamp-o): Likewise.
3117         (ar-symtab-name): Delete variable.
3118         (lib%.a): Delete target.
3119         (libc_foo.a(bar.%)): Delete target.
3120         (libc_foo.a($(ar-symtab-name))): Delete target.
3122         (objects objs): Just depend on libobjs and extra-objs.
3123         (libobjs): Depend on the stamp files, not the objects.
3124         (extra-objs): New target, just depends on the extra-objs list.
3126         (CREATE_ARFLAGS): Kill the `ar S' hack.
3128         * config.make.in (have-ar-S): Deleted.
3129         * configure.in: Delete test for `ar S'.  Add test to determine
3130         whether ranlib does anything useful.
3132 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3134         * inet/tst-ether_aton.c: Include <stdio.h>.
3136 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3138         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3140         * locale/Makefile (distribute): Add programs/repertoire.h.
3141         (localedef-modules): Add repertoire.
3142         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3143         * locale/programs/repertoire.c: New file.
3144         * locale/programs/repertoire.h: New file.
3145         * locale/programs/charmap.c: Starting fixing character set handling
3146         to handle multi-byte encodings.
3147         * locale/programs/charset.c: Likewise.
3148         * locale/programs/charset.h: Likewise.
3149         * locale/programs/ld-collate.c: Likewise.
3150         * locale/programs/ld-ctype.c: Likewise.
3151         * locale/programs/linereader.c: Likewise.
3152         * locale/programs/localedef.c: Likewise.
3153         * locale/programs/locfile-kw.gperf: Likewise.
3154         * locale/programs/locfile-kw.h: Likewise.
3155         * locale/programs/locfile-token.h: Likewise.
3156         * locale/programs/locfile.h: Likewise.
3157         * locale/programs/stringtrans.c: Likewise.
3159         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3160         path, extended with "/locales/".
3162 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3164         * sysdeps/arm/memset.S: Fix off by one error.
3166         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3167         __syscall_error rather than syscall_error directly.
3169 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3171         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3172         mmap() syscall for ARM.
3174         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3175         binaries.
3177 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3179         * locale/programs/localedef.c: Recognize repertoire-map option.
3181 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3183         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3184         converting non-hex numbers.
3185         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3187 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3189         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3190         check overflow.
3191         * resolv/Makefile (tests): New, add tst-aton.
3192         * resolv/tst-aton.c: New file.
3194 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3196         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3197         semicolon.
3199 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3201         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3202         by letting the later modify the variable computing the total directly.
3203         * wcsmbs/mbsrtowcs.c: Likewise.
3204         * wcsmbs/wcsnrtombs.c: Likewise.
3205         * wcsmbs/wcsrtombs.c: Likewise.
3207         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3208         it is not used.
3209         * wcsmbs/wctoc.c: Likewise.
3211         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3212         * wcsmbs/wcsrtombs.c: Likewise.
3214         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3216 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3218         * iconv/skeleton.c: Correct counting of actually converted
3219         characters.
3221         * intl/localealias.c (read_alias_file): Use unsigned char for
3222         local variables.  Remove unused variable tp.
3223         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3224         for type of codeset.  For loosing Solaris systems.
3225         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3226         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3227         len if not needed.
3228         Patches by Jim Meyering.
3230         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3231         wcsrtombs must put it into initial state.
3233 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3235         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3236         argument of bswap_XX macro.
3238 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3240         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3241         variable name.
3243 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3245         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3246         semun and use stdarg macros to get the value.
3247         * sysdeps/generic/semctl.c: Don't use union semun.
3249         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3251         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3253         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3254         strings.h.
3256         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3257         defines grouping.
3259         * intl/hash-string.h: Don't include values.h.
3261         * inet/Makefile (tests): Add tst-ether_aton.
3262         * inet/tst-ether_aton.c: New file.
3264         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3265         in hex conversion.
3266         * inet/ether_aton.c (ether_aton): Declare result variable static.
3267         Reported by ahyung@unixg.ubc.ca.
3269         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3270         Define macro _SEM_SEMUN_UNDEFINED instead.
3271         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3273         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3274         * stdio-common/Makefile (tests): Add tst-wc-printf.
3276 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3278         * manual/stdio.texi (Variable Arguments Output): Correct variable
3279         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3281 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3283         * intl/dcgettext.c: Remove unneeded definition of
3284         internal_function.
3286 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3288         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3289         instead of do-iconv-test.
3290         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3291         empty.
3293 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3295         * string/string.h: Fix feature test.
3297 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3299         * iconvdata/iso646.c (BODY): Don't use character constants that
3300         depend on signedness of char.
3302 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3304         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3305         (sysdep_routines): Add s_pread64 and s_pwrite64.
3307 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3309         * iconvdata/Makefile (distribute): Remove generated .h files.
3310         * iconvdata/koi8-r.h: Removed.
3311         * iconvdata/latin-greek-1.h: Removed.
3312         * iconvdata/latin-greek.h: Removed.
3314         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3315         * iconvdata/KOI-8: Likewise.
3316         * iconvdata/KOI-8..UTF8: Likewise.
3317         * iconvdata/KOI8-R: Likewise.
3318         * iconvdata/KOI8-R..UTF8: Likewise.
3320 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3322         * streams/Makefile (headers): Add sys/stropts.h.
3323         * streams/sys/stropts.h: New file.
3325 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3327         * sysdeps/unix/sysv/linux/ttyname.c,
3328         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3329         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3331 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3333         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3334         argument of _itoa_word.
3336 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3338         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3339         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3340         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3341         sigprocmask, resp., instead of EXTRA.
3343         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3344         s_pread64 and s_pwrite64.
3346 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3348         * iconvdata/Makefile: Correct rules to generate gap table.
3349         * iconvdata/gap.pl: Simplify.
3351         * iconvdata/TESTS: Name new tests.
3352         * iconvdata/testdata/CP1250: New file.
3353         * iconvdata/testdata/CP1250..UTF8: New file.
3354         * iconvdata/testdata/CP1251: New file.
3355         * iconvdata/testdata/CP1251..UTF8: New file.
3356         * iconvdata/testdata/CP1252: New file.
3357         * iconvdata/testdata/CP1252..UTF8: New file.
3358         * iconvdata/testdata/CP1253: New file.
3359         * iconvdata/testdata/CP1253..UTF8: New file.
3360         * iconvdata/testdata/CP1254: New file.
3361         * iconvdata/testdata/CP1254..UTF8: New file.
3362         * iconvdata/testdata/CP1255: New file.
3363         * iconvdata/testdata/CP1255..UTF8: New file.
3364         * iconvdata/testdata/CP1256: New file.
3365         * iconvdata/testdata/CP1256..UTF8: New file.
3366         * iconvdata/testdata/CP1257: New file.
3367         * iconvdata/testdata/CP1257..UTF8: New file.
3369 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3371         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3372         * iconvdata/iso-2022-kr.c: New file.
3374         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3375         and ISO-2022-KR.
3377 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3379         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3380         iso8859-8 and iso8859-10.
3381         * iconvdata/iso8859-5.c: Change to use gap method.
3382         * iconvdata/iso8859-7.c: Likewise.
3383         * iconvdata/iso8859-8.c: Likewise.
3384         * iconvdata/iso8859-10.c: Likewise.
3386         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3387         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3388         end of the loop.
3389         * iconvdata/iso-2022-jp.c: New file.
3391         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3392         * iconvdata/ksc5601.h: Unify function interfaces.
3393         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3394         * iconvdata/uhc.c: Likewise.
3396         * iconvdata/gb2312.h: Use correct types.
3398         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3399         size elements of data.
3401 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3403         * string/tst-svc.expect: Adapt for change in .input.
3404         * string/tst-svc.input: More tests.
3406 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3408         * iconvdata/Makefile: Add rules for new modules.
3409         * iconvdata/gconv-modules: Likewise.
3410         * iconvdata/cp737.c: New file.
3411         * iconvdata/cp737.h: New file.
3412         * iconvdata/cp775.c: New file.
3413         * iconvdata/cp775.h: New file.
3414         * iconvdata/cp874.c: New file.
3415         * iconvdata/cp874.h: New file.
3417 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3419         * iconvdata/Makefile: Create target directory before generating
3420         headers.
3422 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3424         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3425         __USER_LABEL_PREFIX__.
3426         (__ASMNAME, __ASMNAME2): New macros.
3428 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3430         * elf/dl-load.c: Include sys/param.h for MAX.
3432 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3434         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3435         __ftruncate the strong symbol, and add weak alias.
3436         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3438 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3440         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3441         Patch by Joe Keane <jgk@jgk.org>.
3443         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3444         free()ing.
3446 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3448         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3449         Patch by Thomas Bushnell, n/BSG.
3451 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3453         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3455 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3457         * iconvdata/Makefile: Put generated headers in build directory.
3459 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3461         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3462         strsep as current directory.
3464         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3465         Java.  Add definitions for unicodelittle implementation.
3466         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3467         * iconv/gconv_simple.c: Define unicodelittle functions.
3469         * iconv/iconv_prog.c: Make program print information about position
3470         of illegal character in input.
3472         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3473         comparison of charset name.
3474         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3475         * iconvdata/ebcdic-at-de-a.c: Likewise.
3476         * iconvdata/ebcdic-at-de.c: Likewise.
3477         * iconvdata/ebcdic-ca-fr.c: Likewise.
3478         * iconvdata/euccn.c: Likewise.
3479         * iconvdata/eucjp.c: Likewise.
3480         * iconvdata/euckr.c: Likewise.
3481         * iconvdata/euctw.c: Likewise.
3482         * iconvdata/hp-roman8.c: Likewise.
3483         * iconvdata/iso6937.c: Likewise.
3484         * iconvdata/iso8859-1.c: Likewise.
3485         * iconvdata/iso8859-10.c: Likewise.
3486         * iconvdata/iso8859-2.c: Likewise.
3487         * iconvdata/iso8859-3.c: Likewise.
3488         * iconvdata/iso8859-4.c: Likewise.
3489         * iconvdata/iso8859-5.c: Likewise.
3490         * iconvdata/iso8859-6.c: Likewise.
3491         * iconvdata/iso8859-7.c: Likewise.
3492         * iconvdata/iso8859-8.c: Likewise.
3493         * iconvdata/iso8859-9.c: Likewise.
3494         * iconvdata/johab.c: Likewise.
3495         * iconvdata/koi-8.c: Likewise.
3496         * iconvdata/koi8-r.c: Likewise.
3497         * iconvdata/latin-greek-1.c: Likewise.
3498         * iconvdata/latin-greek.c: Likewise.
3499         * iconvdata/sjis.c: Likewise.
3500         * iconvdata/t61.c: Likewise.
3501         * iconvdata/uhc.c: Likewise.
3503         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3504         * iconvdata/TESTS: Add tests for ISO646 module.
3505         * iconvdata/gconv-modules: Add new modules.
3506         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3507         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3508         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3509         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3510         * iconvdata/testdate/DIN_66003: Likewise.
3511         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3512         * iconvdata/testdate/DS_2089: Likewise.
3513         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3514         * iconvdata/testdate/ES: Likewise.
3515         * iconvdata/testdate/ES..UTF8: Likewise.
3516         * iconvdata/testdate/ES2: Likewise.
3517         * iconvdata/testdate/ES2..UTF8: Likewise.
3518         * iconvdata/testdate/GB_1988-80: Likewise.
3519         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3520         * iconvdata/testdate/IT: Likewise.
3521         * iconvdata/testdate/IT..UTF8: Likewise.
3522         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3523         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3524         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3525         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3526         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3527         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3528         * iconvdata/testdate/KSC5636: Likewise.
3529         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3530         * iconvdata/testdate/MSZ_7795.3: Likewise.
3531         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3532         * iconvdata/testdate/NC_NC00-10: Likewise.
3533         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3534         * iconvdata/testdate/NF_Z_62-010: Likewise.
3535         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3536         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3537         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3538         * iconvdata/testdate/NS_4551-1: Likewise.
3539         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3540         * iconvdata/testdate/NS_4551-2: Likewise.
3541         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3542         * iconvdata/testdate/PT: Likewise.
3543         * iconvdata/testdate/PT..UTF8: Likewise.
3544         * iconvdata/testdate/PT2: Likewise.
3545         * iconvdata/testdate/PT2..UTF8: Likewise.
3546         * iconvdata/testdate/SEN_850200_B: Likewise.
3547         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3548         * iconvdata/testdate/SEN_850200_C: Likewise.
3549         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3551         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3552         * iconvdata/cns11643l1.h: Likewise.
3553         * iconvdata/latin-greek-1.h: Likewise.
3554         * iconvdata/latin-greek.h: Likewise.
3555         * iconvdata/koi8-r.h: Likewise.
3556         * iconvdata/jis0212.h: Likewise.
3557         * iconvdata/gb2312.h: Likewise.
3558         * iconvdata/ksc5601.h: Likewise.
3560         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3562         * iconvdata/Makefile: Add rules for lots of more modules.
3563         * iconvdata/cp1250.c: New file.
3564         * iconvdata/cp1251.c: New file.
3565         * iconvdata/cp1252.c: New file.
3566         * iconvdata/cp1253.c: New file.
3567         * iconvdata/cp1254.c: New file.
3568         * iconvdata/cp1255.c: New file.
3569         * iconvdata/cp1256.c: New file.
3570         * iconvdata/cp1257.c: New file.
3571         * iconvdata/ebcdic-dk-no-a.c: New file.
3572         * iconvdata/ebcdic-dk-no.c: New file.
3573         * iconvdata/ebcdic-es-a.c: New file.
3574         * iconvdata/ebcdic-es-s.c: New file.
3575         * iconvdata/ebcdic-es.c: New file.
3576         * iconvdata/ebcdic-fi-se-a.c: New file.
3577         * iconvdata/ebcdic-fi-se.c: New file.
3578         * iconvdata/ebcdic-fr.c: New file.
3579         * iconvdata/ebcdic-is-friss.c: New file.
3580         * iconvdata/ebcdic-it.c: New file.
3581         * iconvdata/ebcdic-pt.c: New file.
3582         * iconvdata/ebcdic-uk.c: New file.
3583         * iconvdata/ebcdic-us.c: New file.
3584         * iconvdata/ibm037.c: New file.
3585         * iconvdata/ibm038.c: New file.
3586         * iconvdata/ibm1004.c: New file.
3587         * iconvdata/ibm1026.c: New file.
3588         * iconvdata/ibm1047.c: New file.
3589         * iconvdata/ibm256.c: New file.
3590         * iconvdata/ibm273.c: New file.
3591         * iconvdata/ibm274.c: New file.
3592         * iconvdata/ibm275.c: New file.
3593         * iconvdata/ibm277.c: New file.
3594         * iconvdata/ibm278.c: New file.
3595         * iconvdata/ibm280.c: New file.
3596         * iconvdata/ibm281.c: New file.
3597         * iconvdata/ibm284.c: New file.
3598         * iconvdata/ibm285.c: New file.
3599         * iconvdata/ibm290.c: New file.
3600         * iconvdata/ibm297.c: New file.
3601         * iconvdata/ibm420.c: New file.
3602         * iconvdata/ibm423.c: New file.
3603         * iconvdata/ibm424.c: New file.
3604         * iconvdata/ibm437.c: New file.
3605         * iconvdata/ibm500.c: New file.
3606         * iconvdata/ibm850.c: New file.
3607         * iconvdata/ibm851.c: New file.
3608         * iconvdata/ibm852.c: New file.
3609         * iconvdata/ibm855.c: New file.
3610         * iconvdata/ibm857.c: New file.
3611         * iconvdata/ibm860.c: New file.
3612         * iconvdata/ibm861.c: New file.
3613         * iconvdata/ibm862.c: New file.
3614         * iconvdata/ibm863.c: New file.
3615         * iconvdata/ibm864.c: New file.
3616         * iconvdata/ibm865.c: New file.
3617         * iconvdata/ibm868.c: New file.
3618         * iconvdata/ibm869.c: New file.
3619         * iconvdata/ibm870.c: New file.
3620         * iconvdata/ibm871.c: New file.
3621         * iconvdata/ibm875.c: New file.
3622         * iconvdata/ibm880.c: New file.
3623         * iconvdata/ibm891.c: New file.
3624         * iconvdata/ibm903.c: New file.
3625         * iconvdata/ibm904.c: New file.
3626         * iconvdata/ibm905.c: New file.
3627         * iconvdata/ibm918.c: New file.
3629         * locale/iso-4217.def: Update.
3630         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3632         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3633         formats.
3635 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3637         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3638         LD_LIBRARY_PATH.
3640 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3642         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3643         * Makefile: Likewise.
3644         * posix/Makefile: Likewise.
3645         * sysdeps/mach/hurd/Makefile: Likewise.
3647 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3649         * sysdeps/mach/hurd/bits/dirent.h: New file.
3650         * sysdeps/mach/hurd/readdir64.c: New file.
3651         * sysdeps/mach/hurd/readdir64_r.c: New file.
3653 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3655         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3656         dprintf): Synchronize declarations with libio/stdio.h.
3658 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3660         * elf/dlerror.c (dlerror): Don't assume that
3661         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3662         well-protected, so just use it directly.
3664 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3666         * io/ftw.h (ftw): Fix typo.
3668 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3670         * sysdeps/gnu/utmp_file.c: Fix typo.
3672 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3674         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3675         one part of a test fails move on to the next test.
3677 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3679         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3681 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3683         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3684         as pointers, not signed integers.
3686 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3688         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3690 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3692         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3693         asm symbol name of functions.
3694         * include/features.h: Kill redundant test.
3696         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3697         * io/ftw.h: Likewise.
3698         * io/sys/stat.h: Likewise.
3699         * io/sys/statfs.h: Likewise.
3700         * io/sys/statvfs.h: Likewise.
3701         * libio/stdio.h: Likewise.
3702         * resource/sys/resource.h: Likewise.
3703         * rt/aio.h: Likewise.
3705         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3706          __FAVOR_BSD.
3707         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3709         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3710         a dummy library.
3711         * misc/bsd-compat.c: Removed.
3713 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3715         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3716         function declaration.
3717         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3718         and use them in conversion function.
3719         * iconvdata/Makefile (modules): Re-add ISO6446.
3720         * iconvdata/TEST: Add tests for ASCII variants.
3721         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3722         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3723         * iconvdata/testdata/BS_4730: New file.
3724         * iconvdata/testdata/BS_4730..UTF8: New file.
3726 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3728         * iconv/gconv.h (struct gconv_step): Add element stateful.
3729         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3730         to zero for all internal conversions.
3731         * iconv/skeleton.c: Initialize stateful depending on whether or not
3732         RESET_STATE is defined to one or zero respectively.
3733         * stdlib/mblen.c: Use stateful element of currently selected
3734         converter for result if S is NULL.
3735         * stdlib/mbtowc.c: Likewise.
3736         * stdlib/wctomb.c: Likewise.
3738 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
3740         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3742         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3744         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
3745         character in comparison with uint32_t.
3746         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
3747         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
3748         Optimize BODY a bit.
3750         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
3751         be defined.
3753         * iconv/skeleton.c: Also reset converted counter in case of an error.
3754         Call reset function using correct value for output buffer start.
3756         * iconvdata/Makefile: Re-enable tests.
3758         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
3759         value for to-conversion.
3761         * iconvdata/TESTS: Add new third column.
3762         * iconvdata/run-iconv-test.sh: Add support for charsets which are
3763         not ASCII based.
3764         * iconvdata/testdata/suntzus: New file.
3766         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
3767         while reading.  Correctly used base.  Little optimization.
3768         (__strtoul_internal): Likewise.
3770         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
3771         was wrong.  Use explicit variable.
3773 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3775         * configure.in: Check for awk.
3776         * config.make.in: Add AWK to be substituted.
3778         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
3779         * manual/users.texi: Fix typo exposed by above rewrite.
3781         * Makefile: Invoke awk using AWK variable.
3782         * csu/Makefile: Likewise.
3783         * elf/Makefile: Likewise.
3784         * mach/Makefile: Likewise.
3785         * manual/Makefile: Likewise.
3786         * sysdeps/gnu/Makefile: Likewise.
3787         * sysdeps/mach/hurd/Makefile: Likewise.
3788         * sysdeps/unix/Makefile: Likewise.
3789         * timezone/Makefile: Likewise.
3791 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3793         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
3794         array index translation.
3795         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
3796         these are defined.
3798         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
3800         * sysdeps/mach/hurd/errlist.c: New file.
3801         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
3802         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
3803         semantics, so rename it.
3805 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3807         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
3808         conversions.
3810 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
3812         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
3813         * wcsmbs/wcsnrtombs.c: Likewise.
3815 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
3817         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
3819         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
3821         * time/strftime.c (my_strftime): Initialize pad variable in
3822         declaration.
3824         * iconvdata/big5.c: Don't use character constants in comparisons
3825         with unsigned value.
3827 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
3829         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
3830         __libc_siglongjmp to GLIBC_2.1.
3832         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
3833         __strerror_r.
3835         * iconv/Makefile: Don't run tests now.
3837         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
3838         with correct output buffer.
3840         Major rewrite of the low-level gconv functionality.
3841         * iconv/gconv.c: Rewritten.
3842         * iconv/gconv.h: Likewise.
3843         * iconv/gconv_builtin.c: Likewise.
3844         * iconv/gconv_builtin.h: Likewise.
3845         * iconv/gconv_conf.c: Likewise.
3846         * iconv/gconv_int.h: Likewise.
3847         * iconv/gconv_open.c: Likewise.
3848         * iconv/gconv_simple.c: Likewise.
3849         * iconv/iconv.c: Likewise.
3850         * iconvdata/8bit-gap.c: Likewise.
3851         * iconvdata/8bit-generic.c: Likewise.
3852         * iconvdata/Makefile: Likewise.
3853         * iconvdata/big5.c: Likewise.
3854         * iconvdata/cns11643.c: Likewise.
3855         * iconvdata/cns11643.h: Likewise.
3856         * iconvdata/cns11643l1.c: Likewise.
3857         * iconvdata/cns11643l1.h: Likewise.
3858         * iconvdata/ebcdic-at-de-a.c: Likewise.
3859         * iconvdata/ebcdic-at-de.c: Likewise.
3860         * iconvdata/ebcdic-ca-fr.c: Likewise.
3861         * iconvdata/euccn.c: Likewise.
3862         * iconvdata/eucjp.c: Likewise.
3863         * iconvdata/euckr.c: Likewise.
3864         * iconvdata/euctw.c: Likewise.
3865         * iconvdata/gb2312.c: Likewise.
3866         * iconvdata/gb2312.h: Likewise.
3867         * iconvdata/hp-roman8.c: Likewise.
3868         * iconvdata/iso646.c: Likewise.
3869         * iconvdata/iso6937.c: Likewise.
3870         * iconvdata/iso8859-1.c: Likewise.
3871         * iconvdata/iso8859-10.c: Likewise.
3872         * iconvdata/iso8859-2.c: Likewise.
3873         * iconvdata/iso8859-3.c: Likewise.
3874         * iconvdata/iso8859-4.c: Likewise.
3875         * iconvdata/iso8859-5.c: Likewise.
3876         * iconvdata/iso8859-6.c: Likewise.
3877         * iconvdata/iso8859-7.c: Likewise.
3878         * iconvdata/iso8859-8.c: Likewise.
3879         * iconvdata/iso8859-9.c: Likewise.
3880         * iconvdata/jis0201.c: Likewise.
3881         * iconvdata/jis0201.h: Likewise.
3882         * iconvdata/jis0208.c: Likewise.
3883         * iconvdata/jis0208.h: Likewise.
3884         * iconvdata/jis0212.c: Likewise.
3885         * iconvdata/jis0212.h: Likewise.
3886         * iconvdata/johab.c: Likewise.
3887         * iconvdata/koi-8.c: Likewise.
3888         * iconvdata/koi8-r.c: Likewise.
3889         * iconvdata/ksc5601.c: Likewise.
3890         * iconvdata/ksc5601.h: Likewise.
3891         * iconvdata/latin-greek-1.c: Likewise.
3892         * iconvdata/latin-greek.c: Likewise.
3893         * iconvdata/run-iconv-test.sh: Likewise.
3894         * iconvdata/sjis.c: Likewise.
3895         * iconvdata/t61.c: Likewise.
3896         * iconvdata/uhc.c: Likewise.
3897         * wcsmbs/btowc.c: Likewise.
3898         * wcsmbs/mbrtowc.c: Likewise.
3899         * wcsmbs/mbsnrtowcs.c: Likewise.
3900         * wcsmbs/mbsrtowcs.c: Likewise.
3901         * wcsmbs/wcrtomb.c: Likewise.
3902         * wcsmbs/wcsmbsload.c: Likewise.
3903         * wcsmbs/wcsnrtombs.c: Likewise.
3904         * wcsmbs/wcsrtombs.c: Likewise.
3905         * wcsmbs/wctob.c: Likewise.
3906         * iconv/loop.c: New file.
3907         * iconv/skeleton.c: New file.
3909         * stdlib/mblen.c: Handle empty input string correctly.
3910         * stdlib/mbtowc.c: Likewise.
3912         * posix/getopt.c: Various cleanups.
3914         * sysdeps/arm/bits/setjmp.h: Add copyright text.
3915         * sysdeps/i386/bits/setjmp.h: Likewise.
3916         * sysdeps/m68k/bits/setjmp.h: Likewise.
3917         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3918         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3920         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3921         and make longjmp weak alias.
3923 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
3925         * iconv/Makefile (routines): Only include gconv_dl if building for
3926         an ELF system - dynamic linking is not available on a.out.
3927         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3928         due to above check.
3929         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3930         routines from gconv_dl.
3932 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
3934         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3935         we can compile without libio.
3937 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
3939         * sysdeps/mach/hurd/Subdirs: Remove login.
3941 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
3943         * db2/compat.h: Include <errno.h>, to make sure we get the
3944         definition of EFTYPE before we define it ourselves.
3946 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3948         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3949         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3950         Fix typo to allow inclusion from sys/ioctl.h again.
3952 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3954         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
3956 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3958         * libc.map: Export __strerror_r.  Remove _strerror_internal.
3960 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3962         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3963         Also undefine __strcasestr.
3965 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3967         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3968         aliases do not work with global variables due to copy relocations.
3970 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
3972         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
3974 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
3976         * signal/sighold.c: Include stddef.h for NULL definition.
3977         * signal/sigrelse.c: Likewise.
3978         * sysdeps/posix/sigignore.c: Likewise.
3979         * sysdeps/posix/sigset.c: Likewise.
3980         * sysdeps/posix/waitid.c: Likewise.
3981         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3982         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3983         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3984         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3985         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3987 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
3989         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3990         * login/getutent.c (getutxent): Remove alias.
3991         * login/getutent_r.c (setutxent, pututxline, endutxent):
3992         Remove aliases.
3993         * login/getutid.c (getutxid): Remove alias.
3994         * login/getutline.c (getutxline): Remove alias.
3995         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
3996         __getutid, __getutline and __pututline.
3997         * login/utmpx.h: Moved to ...
3998         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
3999         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4000         and updwtmpx.
4001         * login/updwtmp.c: Moved to ...
4002         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4003         allowing file name transformation.
4004         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4005         additional file name transformation.
4006         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4007         * login/utmp_file.c: Moved to ...
4008         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4009         Generalized by allowing file name transformation.  Do not
4010         print error message.  Library functions should not print them.
4011         Reported by Jim Meyering.
4012         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4013         with additional file name transformation.
4014         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4015         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4016         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4017         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4018         and bits/utmpx.h.
4019         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4020         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4021         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4022         Define if __USE_GNU.
4023         * sysdeps/generic/setutxent.c: New file.
4024         * sysdeps/generic/getutxent.c: New file.
4025         * sysdeps/generic/endutxent.c: New file.
4026         * sysdeps/generic/getutxid.c: New file.
4027         * sysdeps/generic/getutxline.c: New file.
4028         * sysdeps/generic/pututxline.c: New file.
4029         * sysdeps/generic/utmpxname.c: New file.
4030         * sysdeps/generic/updwtmpx.c: New file.
4031         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4032         * sysdeps/generic/bits/utmpx.h: Remove.
4034 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4036         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4037         ~root test.
4039 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4041         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4043 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4045         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4046         variable using _G_stat64.
4047         * libio/fileops.c: Remove macro definition of fstat, it is in the
4048         global header.
4049         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4051 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4053         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4054         <willy@odie.barnet.ac.uk>.
4056 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4058         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4059         required by IPv6 Basic API.
4060         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4061         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4062         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4063         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4065 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4067         Don't name internal representation since it might be different from
4068         the external form (namely on little endian machines).
4069         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4070         UCS4 into references to INTERNAL.
4071         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4072         Add endianess support to UCS functions.  Change references to
4073         UCS4 into references to INTERNAL.
4074         * iconv/gconv_int.h: Change references to UCS4 into references to
4075         INTERNAL.
4076         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4077         * iconvdata/gconv-modules: Change accordingly.
4078         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4080         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4081         overflow.
4082         * iconvdata/8bit-gap.c: Likewise.
4083         * iconvdata/8bit-generic.c: Likewise.
4084         * iconvdata/big5.c: Likewise.
4085         * iconvdata/euccn.c: Likewise.
4086         * iconvdata/eucjp.c: Likewise.
4087         * iconvdata/euckr.c: Likewise.
4088         * iconvdata/euctw.c: Likewise.
4089         * iconvdata/iso646.c: Likewise.
4090         * iconvdata/iso6937.c: Likewise.
4091         * iconvdata/iso8859-1.c: Likewise.
4092         * iconvdata/johab.c: Likewise.
4093         * iconvdata/sjis.c: Likewise.
4094         * iconvdata/t61.c: Likewise.
4095         * iconvdata/uhc.c: Likewise.
4097         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4098         * iconvdata/8bit-generic.c: Likewise.
4100         * iconvdata/TESTS: Add more tests.
4102         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4104 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4106         * iconvdata/Makefile: Better rules to run tests.
4108         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4109         * iconvdata/testdata/ISO-8859-10: Likewise.
4110         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4111         * iconvdata/testdata/ISO-8859-2: Likewise.
4112         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4113         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4114         * iconvdata/testdata/ISO-8859-3: Likewise.
4115         * iconvdata/testdata/ISO-8859-4: Likewise.
4116         * iconvdata/testdata/ISO-8859-5: Likewise.
4117         * iconvdata/testdata/ISO-8859-6: Likewise.
4118         * iconvdata/testdata/ISO-8859-7: Likewise.
4119         * iconvdata/testdata/ISO-8859-8: Likewise.
4120         * iconvdata/testdata/ISO-8859-9: Likewise.
4122 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4124         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4125         intermediate result (if available).
4127         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4128         last change.
4130         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4131         (distribute): Add run-iconv-test.sh and testdata/*.
4133         * stdlib/testmb.c (main): Simplify mbc array handling.
4135 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4137         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4138         return value on overflow.
4140 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4142         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4143         bits.
4145 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4147         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4148         of non-standard function setbuffer.
4150 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4152         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4154 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4156         * iconvdata/Makefile: Add rules to run tests.
4157         * iconvdata/TESTS: New file.
4158         * iconvdata/run-iconv-test.sh: New file.
4159         * iconvdata/testdata/ISO-8859-1: New file.
4161         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4162         not stdout.
4164 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4166         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4167         counter element of step.
4169         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4171         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4172         termination test.
4173         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4174         ACTUALLY.
4175         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4177 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4179         * Makefile: Include makeconfig before defining rule to regenerate
4180         configure files.
4182         * configure.in: Remove restriction on compiling without static
4183         libs.
4185 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4187         * test-skeleton.c: Provide hook for initializing code before the fork.
4188         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4189         removed.
4191         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4192         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4193         * libio/libioP.h: Adopt _IO_cleanup prototype.
4195         * stdlib/Makefile (tests): Add test-canon2.
4196         * stdlib/test-canon2.c: New file.
4197         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4198         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4199         symlink sequences.
4200         (__realpath): Make real function which checks RESOLVED parameter for
4201         not being NULL.
4203 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4205         * catgets/open_catalog.c (__open_catalog): Fix problems with
4206         reading non-files.  Always close file.
4207         Reported by Cristian Gafton <gafton@redhat.com>.
4209         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4211 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4213         * libc.map: Add various low-level I/O functions.
4215 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4217         * string/Makefile (routines): Remove strerror_r.
4218         * string/strerror_r.c: Removed.
4219         * string/strerror.c: Call __strerror_r for doing the real work.
4220         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4221         add weak alias strerror_r.
4222         * sysdeps/mach/_strerror.c: Likewise.
4223         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4224         * elf/dl-error.c (_dl_signal_error): Likewise.
4225         * elf/dl-profile.c (_dl_start_profile): Likewise.
4226         * gmon/gmon.c (write_gmon): Likewise.
4227         * stdio-common/perror.c: Likewise.
4228         * stdio-common/vfprintf.c: Likewise.
4230 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4232         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4233         (sysdep_headers): Add netatalk/at.h.
4235 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4237         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4238         Formatting fixes.
4240 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4242         * posix/regex.c: Rename __re_syntax_options back to
4243         re_syntax_options, aliases do not work with global variables due
4244         to copy relocations.
4245         (regex_compile): Use syntax parameter instead of
4246         re_syntax_options.
4248 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4250         * configure.in: Document that enable-force-install is default.
4252 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4254         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4255         all needed 36 bits.
4256         * sysdeps/posix/mkstemp.c: Likewise.
4258 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4260         * iconvdata/8bit-gap.c: Simplify step data handling.
4261         * iconvdata/8bit-generic.c: Likewise.
4262         * iconvdata/big5.c: Likewise.
4263         * iconvdata/euccn.c: Likewise.
4264         * iconvdata/eucjp.c: Likewise.
4265         * iconvdata/euckr.c: Likewise.
4266         * iconvdata/euctw.c: Likewise.
4267         * iconvdata/iso6937.c: Likewise.
4268         * iconvdata/iso8859-1.c: Likewise.
4269         * iconvdata/jis0208.h: Likewise.
4270         * iconvdata/jis0212.c: Likewise.
4271         * iconvdata/jis0212.h: Likewise.
4272         * iconvdata/johab.c: Likewise.
4273         * iconvdata/ksc5601.h: Likewise.
4274         * iconvdata/sjis.c: Likewise.
4275         * iconvdata/t61.c: Likewise.
4276         * iconvdata/uhc.c: Likewise.
4278 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4280         * manual/texinfo.texi: Updated from last version.
4282 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4284         * iconvdata/cns11643.c: New file.
4285         * iconvdata/cns11643.h: New file.
4286         * iconvdata/cns11643l1.c: New file.
4287         * iconvdata/cns11643l1.h: New file.
4288         * iconvdata/euctw.c: New file.
4289         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4290         * iconvdata/gconv-modules: Likewise.
4292         * iconvdata/eucjp.c: Several bug fixes and improvements.
4293         * iconvdata/gb2312.h: Likewise.
4294         * iconvdata/jis0201.h: Likewise.
4295         * iconvdata/jis0208.h: Likewise.
4296         * iconvdata/jis0212.h: Likewise.
4298 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4300         * iconvdata/eucjp.c: New file.
4301         * iconvdata/euccn.c: New file.
4302         * iconvdata/gb2312.h: New file.
4303         * iconvdata/gb2312.c: New file.
4304         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4305         * iconvdata/gconv-modules: Likewise.
4307         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4309 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4311         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4312         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4313         Patch by Mark Hatle <fray@kernel.crashing.org>.
4315 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4317         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4318         comment.
4319         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4320         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4322 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4324         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4326         * iconvdata/Makefile: Add rules for big5 conversion.
4327         * iconvdata/gconv-modules: Likewise.
4328         * iconvdata/big5.c: New file.
4330         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4331         Patch by Jim Meyering.
4333 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4335         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4337         * rt/lio_listio.c: Correct total counter handling.
4339         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4340         from request queue.
4342         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4343         of signal on exit even more.
4345         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4346         instead of call to pthread_cond_init.
4347         * rt/lio_listio.c (lio_listio): Likewise.
4348         * rt/lio_listio64.c (lio_listio64): Likewise.
4350         * nis/nis_findserv.c: Include sys/socket.h.
4352 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4354         * Makeconfig (rtobjdir): New variable.
4355         (rpath-link): Add rtobjdir and thread directory, if available.
4357         * test-skeleton.c: Add support to remove temporary files.
4358         Always define test_dir.  Improve message about expected signal.
4360         * rt/Makefile (tests): Add tst-aio.
4361         Add rules for tst-aio to be linked with librt and thread library.
4362         * rt/aio_misc.c: Correct fundamental bugs.
4363         * rt/aio_suspend.c: Correct bug in test for available request.
4364         Initialize conditional variable.
4365         * rt/lio_listio.c: Initialize conditional variable.
4366         * rt/lio_listio64.c: Likewise.
4367         * rt/tst-aio.c: New file.
4369         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4370         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4371         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4372         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4373         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4374         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4375         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4377 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4379         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4381 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4383         * elf/dl-load.c (open_path): Use correct name for test whether
4384         directory in load path exists.
4386         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4387         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4388         Patches by Tom Rini <trini@kernel.crashing.org>.
4390         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4391         * wcsmbs/wcstod_l.c: Likewise.
4392         * wcsmbs/wcstold_l.c: Likewise.
4394         * include/byteswap.h: New file.
4396         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4397         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4399         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4400         declaration.  Patch by Richard Henderson.
4402 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4404         * manual/process.texi (SIGCHLD example): Save errno.
4406 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4408         * posix/regex.c: Define regerror really as __regerror.
4409         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4410         regerror and regfree.
4412         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4413         * stdlib/strtod_l.c: Likewise.
4414         * stdlib/strtold_l.c: Likewise.
4416         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4418         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4420         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4421         Patch by Christian Gafton.
4423 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4425         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4426         for if_indextoname.
4428 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4430         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4432         * manual/socket.texi (Interface Naming): Fix typo.
4434 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4436         * manual/examples/filesrv.c (main): Remove filename first.
4438         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4439         ?F_UNIX.
4441         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4442         instead of PF_UNIX.
4444         * manual/examples/filecli.c (main): Use AF_LOCAL
4445         instead of AF_UNIX.
4447 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4449         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4450         signgam weak alias.
4451         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4452         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4453         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4454         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4455         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4456         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4458         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4460 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4462         * configure.in: Add new option --enable-force-install.  Substitute
4463         force_install.
4464         * config.make.in (force-install): Set from configure.
4465         * Makerules (force-install): New phony target.
4466         * Makeconfig (+force): New variable.
4467         * Makefile: Use it in dependency list of installation targets.
4468         * db/Makefile: Likewise.
4469         * db2/Makefile: Likewise.
4470         * elf/Makefile: Likewise.
4471         * hurd/Makefile: Likewise.
4472         * iconv/Makefile: Likewise.
4473         * iconvdata/Makefile: Likewise.
4474         * intl/Makefile: Likewise.
4475         * localedata/Makefile: Likewise.
4476         * login/Makefile: Likewise.
4477         * po/Makefile: Likewise.
4478         * sunrpc/Makefile: Likewise.
4479         * sysdeps/mach/hurd/Makefile: Likewise.
4480         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4481         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4482         * timezone/Makefile: Likewise.
4484 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4486         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4487         alloc_size.  Pass return value of getcwd syscall to realloc.
4489 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4491         * manual/socket.texi: Spelling fixes.
4493 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4495         * elf/dl-load.c (print_search_path): Remove unused variable.
4497 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4499         * login/utmp_file.c: use __ftruncate not ftruncate.
4500         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4501         for system call and make ftruncate weak alias.
4502         * posix/unistd.h: Add prototype for __ftruncate.
4503         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4504         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4505         instead of snprintf and readv.
4506         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4507         snprintf.
4508         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4509         directly.
4511 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4513         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4514         * iconv/gconv_db.c: Use __ protected regex functions.
4515         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4516         * posix/getopt_init.c: Use __getpid not getpid.
4517         * posix/regex.c: Rename all global functions to start with __ and
4518         make old names weak aliases.
4519         * posix/regex.h: Adopt prototypes for this.
4520         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4521         a weak alias and use __getcwd instead of getcwd.
4522         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4523         * stdlib/strtod.c: Use __btowc instead of btowc.
4524         * stdlib/strtol.c: Likewise.
4525         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4526         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4527         and sys_errlist are weak.
4528         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4529         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4530         * wcsmbs/mbsnrtowcs.c: Likewise.
4531         * wcsmbs/mbsrtowcs.c: Likewise.
4532         * wcsmbs/wcsnrtombs.c: Likewise.
4533         * wcsmbs/wcsrtombs.c: Likewise.
4534         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4535         weak alias.
4536         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4537         * wctype/wctype.c: Define function as __wctype and make wctype
4538         weak alias.
4539         * wctype/wctype.h: Declare __wctype.
4541 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4543         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4545 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4547         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4548         stat64.
4549         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4550         functions.
4551         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4552         for __llseek.
4553         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4554         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4555         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4556         make it a weak alias.
4557         * posix/unistd.h: Declare __lseek64.
4559         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4560         (_IO_file_stat): Fix typo.
4561         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4562         block size from the file.  Use __mempcpy if _LIBC.
4564 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4566         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4567         * wcsmbs/mbrtowc.c: Likewise.
4568         * wcsmbs/mbsnrtowcs.c: Likewise.
4569         * wcsmbs/mbsrtowcs.c: Likewise.
4570         * wcsmbs/wcrtomb.c: Likewise.
4571         * wcsmbs/wcsnrtombs.c: Likewise.
4572         * wcsmbs/wcsrtombs.c: Likewise.
4573         * wcsmbs/wctob.c: Likewise.
4575         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4576         position of next output character correctly.
4577         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4579         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4581         * stdlib/strtod.c: Don't use mbtowc.
4583 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4585         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4586         what we want is smaller than a buffer.
4588 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4590         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4591         this function.
4593 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4595         * configure.in: Recognize --with-headers flag and determine
4596         commandline options to be used in compilation.
4597         * Makeconfig (+includes): Use $(sysincludes).
4598         * config.make.in (sysincludes): Define from SYSINCLUDES.
4599         * glibcbug.in: Use SYSINCLUDES information.
4600         Patches by Zack Weinberg.
4602 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4604         * glibcbug.in: On linux, report version of kernel headers seen
4605         by compiler.
4607 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4609         * libc.map: Add __asprintf to GLIBC_2.1.
4610         * elf/dlerror.c: Use __asprintf, not asprintf.
4611         * libio/stdio.h: Declare __asprintf.
4612         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4613         a weak alias.
4615         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4616         to avoid inclusion from libc_pic.a.
4618         * elf/dl-runtime.c: Undo last patch.
4620         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4622         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4623         as default, use NULL.
4625 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4627         * resolv/Makefile: Include ../Makeconfig - needed for building
4628         static NSS module.
4630 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4632         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4633         static-nss since we don't want hesiod in the static NSS.
4635         * nss/Makefile: Build only nss_files as static.
4637         * nss/function.def: Remove support for service db.
4639 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4641         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4643 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4645         * posix/wordexp-test.c: Make IFS per test-case.
4647 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4649         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4650         ENVIRONMENT.
4652 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4654         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4655         `-print-file-name' to find as and ld.
4657 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4659         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4660         template is wrong.  Remove unused varaible `ignored'.
4662 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4664         * libc.map: Export __libc_sa_len.
4666         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4668 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4670         * iconv/gconv.c: Take care for NULL arguments.
4671         * iconv/gconv_dl.c: Make find_func function global.
4672         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4673         Add prototypes for ASCII conversion functions.
4674         * iconv/gconv_simple.c: Add ASCII conversion functions.
4675         * locale/C-ctype.c: Correct charset name.
4677         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4678         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4679         wcsmbsload.
4680         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4681         * wcsmbs/mbrtowc.c: Likewise.
4682         * wcsmbs/mbsnrtowcs.c: Likewise.
4683         * wcsmbs/mbsrtowcs.c: Likewise.
4684         * wcsmbs/wcrtomb.c: Likewise.
4685         * wcsmbs/wcsnrtombs.c: Likewise.
4686         * wcsmbs/wcsrtombs.c: Likewise.
4687         * wcsmbs/wctob.c: Likewise.
4688         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4689         prototypes for wmemr*.
4690         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4691         * wcsmbs/wcsnlen.c: New file.
4692         * wcsmbs/wcsmbsload.c: New file.
4693         * wcsmbs/wcsmbsload.h: New file.
4695         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4697         * manual/install.texi: Describe some more critical points.
4699         * string/string.h: Add prototype for __strnlen.
4700         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4702         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4703         much less predictable names.
4704         * sysdeps/posix/mkstemp.c: Likewise.
4706 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4708         * manual/libc.texinfo (Top): Change "file namespace" to "local
4709         namespace".
4711         * manual/socket.texi: Change file namespace to local namespace.
4712         (Out-of-Band Data): Remove unneeded variable link.
4713         (Host Address Functions): Use uint32_t consequently and add a
4714         number of clarifications for IPv4/IPv6, classless addresses.
4715         (Internet Namespace): Added some paragraphs about IPv6.
4716         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4718 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4720         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4722         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4723         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4724         (AI_NUMERICHOST): Define.
4725         (getnodebyname): New prototype.
4726         (AI_V4MAPPED, et al.): New constants.
4728         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4729         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4730         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4731         for socket.
4732         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4733         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4735         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4737         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4738         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4739         * socket/Makefile (headers): Add bits/sockunion.h.
4740         * socket/sys/socket.h: Include <bits/sockunion.h>
4741         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4742         <sys/socket.h>, to avoid getting sockaddr_union defined.
4743         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4744         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4745         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4747         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
4748         (2.2.x kernels won't have it).
4750 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
4752         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
4753         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
4754         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
4755         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
4757 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4759         * manual/socket.texi (Socket Addresses): Fix a typo.
4760         (Interface Naming): New section.
4762 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4764         * configure.in: Check for CC using $ac_tool_prefix, to handle
4765         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
4766         * config.make.in: Add MIG to be substituted.
4767         * mach/Machrules: Don't define MIG variable.
4769         Patch by Gordon Matzigkeit <gord@profitpress.com>.
4771 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
4773         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
4774         strdupa to copy rpath.
4776 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4778         * configure.in: Fix gcc version check.
4780         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
4781         confusing.
4783 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
4785         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
4786         of ptsname_r.
4788         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
4789         like ttyname_r.
4790         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
4791         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
4792         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
4793         of __ptsname_r accordingly.
4794         * login/openpty.c (openpty): Likewise.
4796 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
4798         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
4800 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4802         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
4804         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
4806 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4808         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
4809         return value for better error checking.
4811 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
4813         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
4814         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
4816         * elf/elf.h (EM_SPARC64): Remove.
4817         (EM_SPARC32PLUS, EM_SPARCV9): Add.
4818         (HWCAP_SPARC_V9): Add.
4820         * elf/ldsodefs.h (_dl_hwcap): Declare.
4821         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
4822         Weaken so dlopen from static progies works.
4823         (WEAKADDR): New macro.
4824         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
4825         (LD_SO_PRELOAD): New macro.
4826         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
4827         (elf_machine_rela): Weaken _dl_rtld_map.
4829         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
4830         to __clone, and remove the later's alias.
4831         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4833         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
4834         the kernel's structure.
4836         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
4837         Sparc needs a custom value of __KERNEL_NCCS.
4839 1998-04-06  Richard Henderson  <rth@cygnus.com>
4841         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
4843         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
4844         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4846 1998-04-06  Richard Henderson  <rth@cygnus.com>
4848         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
4849         as the buffer is not properly aligned.
4850         Reported by Juan Cespedes <cespedes@debian.org>.
4852 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4854         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
4855         instead of AF_FILE.
4857 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
4859         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
4860         and wc*tomb* functions.
4862 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
4864         * sysdeps/unix/start.c: Fix typo.
4866 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
4868         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4870 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
4872         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4873         expressions and using array variables.
4874         * sysdeps/libm-ieee754/e_asin.c: Likewise.
4875         * sysdeps/libm-ieee754/e_j0.c: Likewise.
4876         * sysdeps/libm-ieee754/e_j1.c: Likewise.
4877         * sysdeps/libm-ieee754/e_log.c: Likewise.
4878         * sysdeps/libm-ieee754/e_pow.c: Likewise.
4879         * sysdeps/libm-ieee754/k_cos.c: Likewise.
4880         * sysdeps/libm-ieee754/k_sin.c: Likewise.
4881         * sysdeps/libm-ieee754/k_tan.c: Likewise.
4882         * sysdeps/libm-ieee754/s_atan.c: Likewise.
4883         * sysdeps/libm-ieee754/s_erf.c: Likewise.
4884         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4885         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4886         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4888 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
4890         * iconv/gconv.c: Rewrite of the low-level of gconv.
4891         * iconv/gconv.h: Likewise.
4892         * iconv/gconv_builtin.h: Likewise.
4893         * iconv/gconv_close.c: Likewise.
4894         * iconv/gconv_db.: Likewise.
4895         * iconv/gconv_dl.c: Likewise.
4896         * iconv/gconv_int.h: Likewise.
4897         * iconv/gconv_open.c: Likewise.
4898         * iconv/gconv_simple.c: Likewise.
4899         * iconvdata/8bit-gap.c: Adapt for rewrite.
4900         * iconvdata/8bit-generic.c: Likewise.
4901         * iconvdata/euckr.c: Likewise.
4902         * iconvdata/iso646.c: Likewise.
4903         * iconvdata/iso6937.c: Likewise.
4904         * iconvdata/iso8859-1.c: Likewise.
4905         * iconvdata/johab.c: Likewise.
4906         * iconvdata/sjis.c: Likewise.
4907         * iconvdata/t61.c: Likewise.
4908         * iconvdata/uhc.c: Likewise.
4910 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
4912         * iconv/gconv_int.h: New file.  Internal header.
4913         * iconv/Makefile (distribute): Add gconv_int.h.
4914         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4915         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4916         * iconv/gconv_close.c: Likewise.
4917         * iconv/gconv_conf.c: Likewise.
4918         * iconv/gconv_db.c: Likewise.
4919         * iconv/gconv_dl.c: Likewise.
4920         * iconv/gconv_int.h: Likewise.
4921         * iconv/gconv_open.c: Likewise.
4922         * iconv/iconv.c: Likewise.
4923         * iconv/iconv_close.c: Likewise.
4924         * iconv/iconv_open.c: Likewise.
4925         * iconv/iconv_prog.c: Likewise.
4927 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4929         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4930         missing braces.
4932 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4934         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4936 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4938         Based on patch from Pat Beirne:
4939         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4940         PIC and non-PIC now.  Correctly negate error number.
4941         (errno): Use `%' not `@' in .type directives.
4943 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4945         * sysdeps/i386/strtok.S: Change to use single exit point.
4946         * sysdeps/i386/i686/strtok.S: Likewise.
4948 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4950         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4951         default.
4953 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4955         * Makerules (installed-libcs): Fix typo.
4957 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4959         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4960         (UHC-routines): Remove ksc5601.
4962 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4964         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4965         introduced in last change.
4967 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
4969         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4970         before 2.1.92.
4972 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4974         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4976         * stdlib/isomac.c: Use -isystem instead of -I for system include
4977         dir.
4979 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
4981         * resolv/res_comp.c (underscorechar): New.
4982         (middlechar): Allow '_'.
4984 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4986         * intl/explodename.c (stdlib.h): Include that file only if
4987         STDC_HEADERS or _LIBC.
4988         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4989         Patch by Philippe De Muyter <phdm@macqel.be>.
4991 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4993         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
4994         (AC_PROG_CHECK_VER): New macro.
4995         * configure.in: Use AC_PROG_CHECK_VER to check versions of
4996         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
4998 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5000         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5001         * sysdeps/i386/i686/strtok.S: New file
5002         * sysdeps/i386/i686/strtok_r.S: New file
5004 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5006         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5007         type to __off64_t.
5008         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5009         parameter as __off64_t instead of __off_t.
5010         (ftello): Make alias for ftello64 instead of ftello.  Change
5011         return type to __off64_t.
5013 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5015         * sysdeps/i386/bits/string.h: Fix various typos.
5016         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5018         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5020 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5022         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5023         lchown syscall correctly.  [PR libc/541].
5025 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5027         * localedata/Makefile: Correct testsuite rules.
5029         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5030         * iconvdata/iso646.c: Fix conversion from UCS4.
5032         * elf/ldsodefs.h: Mark internal function with internal_function.
5033         * elf/dl-addr.c: Likewise.
5034         * elf/dl-close.c: Likewise.
5035         * elf/dl-debug.c: Likewise.
5036         * elf/dl-deps.c: Likewise.
5037         * elf/dl-error.c: Likewise.
5038         * elf/dl-fini.c: Likewise.
5039         * elf/dl-init.c: Likewise.
5040         * elf/dl-load.c: Likewise.
5041         * elf/dl-lookup.c: Likewise.
5042         * elf/dl-object.c: Likewise.
5043         * elf/dl-open.c: Likewise.
5044         * elf/dl-profile.c: Likewise.
5045         * elf/dl-reloc.c: Likewise.
5046         * elf/dl-runtime.c: Likewise.
5047         * elf/dl-symbol.c: Likewise.
5048         * elf/dl-version.c: Likewise.
5049         * elf/dlerror.c: Likewise.
5050         * sysdeps/generic/dl-sysdep.c: Likewise.
5051         * sysdeps/i386/dl-machine.h: Likewise.
5052         * intl/finddomain.c: Likewise.
5053         * intl/gettextP.h: Likewise.
5054         * intl/loadmsgcat.c: Likewise.
5056 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5058         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5059         * iconv/gconv_builtin.h: Add definitions for new builtins.
5060         * iconv/gconv.h: Add prototypes for new builtins.
5062         * iconvdata/Makefile (modules): Add ISO646.
5063         Add rules for ISO646 module.
5064         (distribute): Add iso646.c.
5065         * iconvdata/gconv-modules: Add module and alias definition for
5066         ISO646 charsets.
5067         * iconvdata/iso646.c: New file.
5069 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5071         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5072         * iconv/iconv_prog.c: Implement --list option to print available
5073         coded character sets.
5075 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5077         Make fread() read large blocks straight to the user buffer.
5079         * libio/fileops.c (_IO_file_xsgetn): New function.
5080         (_IO_file_jumps): Use it.
5081         * libio/libioP.h: Prototype it.
5083 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5085         * iconv/gconv_conf.c (builtin_aliases): New variable.
5086         (__gconv_read_conf): Add builtin aliases.
5087         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5088         noop macro before including gconv_builtin.h.
5089         * iconv/gconv_builtin.h: Add alias names.
5091         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5092         number of converted bytes correctly.
5094 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5096         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5097         we only wait for a replay.
5099 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5101         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5102         EUC-KR modules.
5104 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5106         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5107         use PLTJMP() rather than explicit (PLT).
5109         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5110         __libc_start_main().
5112         Based on patch from Pat Beirne:
5113         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5114         Always define, not only #ifndef PIC.
5115         (DO_CALL): Pass fifth argument correctly in R4.
5116         (PSEUDO): Correct test for error, call syscall_error through PLT
5117         if PIC.
5119 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5121         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5122         definitions.
5124 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5126         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5127         JOHAB.so.
5129 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5131         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5132         lstat64.
5134 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5136         * manual/Makefile: Use object-suffixes-for-libc instead of
5137         object-suffixes.
5138         * rpm/Makefile (install-lib): Likewise.
5140 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5142         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5144         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5145         `m68*', not only `m68k'.
5147 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5149         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5151         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5152         install lddlibc4.
5154 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5156         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5157         EUC-KR.
5159         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5160         comment.
5162 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5164         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5165         the init stuff.
5167 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5169         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5170         adjtimex syscall.
5171         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5172         adjtimex.
5173         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5175 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5177         * Makerules (install): Change comment for libc.so following the
5178         libc_nonshared changes.
5180 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5182         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5184         * iconvdata/gap.pl: Avoid using %#06x.
5186 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5188         * Makerules: Use $? instead of S^ when invoking ar.
5190 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5192         * db2/compat.h: Allow EFTYPE being defined.
5193         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5194         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5195         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5196         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5197         (__libc_once): Correctly unlock semaphore.
5198         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5199         * sysdeps/unix/bsd/getpt.c: Fix typo.
5200         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5202 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5204         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5205         macros.
5207 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5209         * include/mntent.h: New file.
5211         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5212         * elf/dl-load.c: Rewrite search path handling.
5213         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5214         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5215         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5216         * elf/ldsodefs.h: Add prototype.
5218 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5220         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5222         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5223         function.
5225         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5227         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5228         New function.
5229         (HWCAP_IMPORTANT): New definition.
5231 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5233         * elf/dl-open.c (_dl_open): Fix a typo.
5234         (_dl_global_scope_alloc): Make it static.
5236 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5238         * Makerules: Remove duplicate rules to handle stamp.oS.
5240 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5242         * manual/examples/inetsrv.c (main): Change prototype of
5243         make_socket following change in mkisock.c.
5245         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5246         example host.
5247         (main): Change prototype of init_sockaddr following change in
5248         isockadd.c.
5250         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5251         * manual/examples/isockad.c (init_sockaddr): Likewise.
5253         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5254         lines for clarification.
5255         (make_named_socket): Use strncpy instead of strcpy.
5256         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5258 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5260         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5261         determining libs to remove.
5262         (postclean): Add soversions.mk.
5263         * Makerules (common-mostlyclean): Add tests-static and generated
5264         files.
5266 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5268         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5269         scanning for \0.
5270         (__strncat_g): Add i686 specific code.
5272 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5274         * manual/install.texi (Reporting Bugs): Ask to include section
5275         names in reports.
5277 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5279         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5280         guard against direct inclusion.
5282 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5284         Rework support for libc_nonshared.a:
5285         * Makeconfig (object-suffixes-for-libc): New variable.
5286         * Rules: Remove handling of static-only and shared-only routines.
5287         * Makerules: Handle them here instead.  Use
5288         object-suffixes-for-libc instead of object-suffixes when dealing
5289         with libc objects.
5290         (object-suffixes-for-rules): Remove variable.
5291         (elide-routines.oS): Elide all routines except static-only
5292         routines.
5293         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5294         empty.
5295         (installed-libcs): Remove special case for .oS.
5296         (rmobjs): Likewise.
5298 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5300         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5301         do-tst-rpmatch): New targets.
5302         (test): Use them.
5303         (install-locales): Ignore comment lines.
5305 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5307         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5308         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5309         ($(objpfx)rtldtbl.h): Likewise.
5310         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5312 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5314         * manual/string.texi (Finding Tokens in a String): Extend strsep
5315         description and correct example.
5317 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5319         * manual/socket.texi: Remove misguided explicit line breaks and
5320         fix the formatting problem instead by reformulating the
5321         paragraphs.
5322         * manual/filesys.texi: Likewise.
5323         * manual/conf.texi: Likewise.  Don't typeset table with index
5324         fonts, that looks worse than a minimally overfull line.
5326 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5328         * nscd/Makefile (nscd-modules): Move definition outside of
5329         conditional.
5331         * pwd/Makefile: Use have-thread-library to test for thread
5332         library.
5334 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5336         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5338         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5340 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5342         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5344 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5346         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5348         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5349         Reported by Andreas Jaeger.
5351 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5353         * elf/Makefile: Fix typo.
5354         (distribute): Add dl-librecon.h.
5355         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5356         * elf/ldd.sh.in: Likewise.
5357         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5358         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5359         Use strsep correctly.
5360         (process_envvars): Allow platform specific variables.
5361         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5362         (_dl_load_cache_lookup): Test cache IDs found against
5363         _dl_correct_cache_id.
5364         * sysdeps/generic/dl-librecon.h: New file.
5365         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5367         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5369 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5371         * config.make.in (ldd-rewrite-script): New variable.
5372         * configure.in: Substitute ldd-rewrite-script.
5373         * elf/Makefile: Rewrite rules to generate ldd script.
5374         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5375         * elf/ldd.sh.in: Likewise.
5376         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5377         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5378         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5379         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5380         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5382 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5384         * inet/rcmd.c (iruserok): Remain setuid to the local user
5385         while .rhosts is actually read, to make .rhosts-over-NFS work
5386         (PR libc/524).  Use iruserfopen() for security checks on both
5387         hosts.equiv and .rhosts.  General cleanup.
5388         (iruserfopen): New function, performs careful checking on
5389         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5390         stuff plus hard links to files.
5392 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5394         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5396         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5398 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5400         * sysdeps/i386/i486/bits/string.h: Fix typos.
5402 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5404         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5405         strong alias.
5407         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5409         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5410         Added.  Used by libm.so on alpha.
5412 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5414         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5415         defined.
5417 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5419         * Makerules (object-suffixes-for-rules): Add .oS only for
5420         building shared library.
5421         Add ranlib rule for nonshared library.
5422         (rmobjs): Fix typo.
5424         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5425         into for shared library only.
5426         (CPPFLAGS-.oS): Add -DPIC.
5427         (libtypes): Use $(object-suffixes-for-rules) instead of
5428         $(object-suffixes).
5430 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5432         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5433         and install lddlibc4.
5435 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5437         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5438         hash.
5439         * iconvdata/gaptab.pl: Likewise.
5441 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5443         * Rules: Allow Makefiles to specify test-static for tests which
5444         cannot be linked dynamically.
5445         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5446         tests-static.
5448         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5450         * misc/error.c: Pretty print.
5452 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5454         * Makerules (libc_nonshared-name): Remove variable.
5455         (installed-libcs): Use libc-name instead.
5456         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5457         dynamic linker.
5459         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5460         libc.a.  Remove explicit reference to dynamic linker.
5462 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5464         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5465         to wchar_t.
5466         * iconv/iconv_prog.c: Correctly test for write failure.
5467         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5468         * iconvdata/gconv-modules: Likewise.
5469         * iconvdata/euckr.c: New file.
5470         * iconvdata/johab.c: New file.
5471         * iconvdata/ksc5601.c: New file.
5472         * iconvdata/ksc5601.h: New file.
5473         * iconvdata/uhc.c: New file.
5474         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5476         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5477         * stdio/fopen.c: Correct handling of 'x' flag.
5478         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5480 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5482         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5483         * sunrpc/rpcsvc/key_prot.x: Likewise.
5484         * sunrpc/key_prot.c: Likewise.
5486 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5488         * sysdeps/i386/bits/string.h: Correct things which never worked.
5489         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5490         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5492 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5494         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5495         defined.  Reported by Thorsten Kukuk.
5497 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5499         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5501 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5503         * manual/install.texi (Supported Configurations): Add
5504         arm-linuxaout and arm-none.
5506 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5508         * version.h (VERSION): Bump to 2.0.93.
5510 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5512         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5514         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5516         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5517         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5519 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5521         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5523 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5525         Put the static-only routines in a separate library.
5526         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5527         variables.
5528         (all-object-suffixes): Add .oS.
5529         * Makerules (libc_static-name): New variable.
5530         (installed-libcs): Add libc_nonshared.a.
5531         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5532         (object-suffixes-for-rules): New variable.  Use it instead of
5533         object-suffixes for generating compilation rules.
5534         (rmobjs): Also remove *.oS.
5535         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5536         ($(objpfx)stamp.oS): New target.
5538 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5540         * Makefile (FAQ): Automatically check in regenerated FAQ.
5542 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5544         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5546 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5548         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5549         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5551         * sysdeps/generic/stub_warning: Removed.
5553         * Makefile (distribute): Add include/des.h.
5555         * manual/Makefile (distribute): Change dir-add.texi to
5556         dir-add.texinfo.
5558         * glibcbug.in: Create files safely when mktemp is not available.
5560         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5561         Patch by a sun <asun@saul1.u.washington.edu>.
5563 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5565         * libc.map: Rename getname to getnetname.
5567 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5569         * manual/maint.texi: Use supported platform in examples.
5571         * manual/install.texi: Document some installation tips.
5573 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5575         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5576         Fix a bug so that it returns an error if a numeric parameter is
5577         unset and WRDE_UNDEF is set.
5578         Patch by Andreas Schwab and Tim Waugh.
5579         * posix/wordexp-test.c: Add new new test.
5581 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5583         * posix/regex.c (regex_compile): Last patch wasn't entirely
5584         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5586 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5588         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5590 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5592         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5593         clobbered registers don't appear as operands.
5595 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5597         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5598         Solaris' sake.
5600         * posix/regex.c (regex_compile): Don't allow non-alphabet
5601         characters in character set name.
5603 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5605         * posix/wordexp.c (w_newword): New function.
5606         (do_parse_glob): New function.
5607         (parse_glob): Use do_parse_glob.  Now handles the case where a
5608         variable expansion causes a field-split.
5609         (wordexp): Use w_newword.
5610         (parse_arith): Likewise.
5611         (exec_comm): Likewise.
5612         (parse_comm): Likewise.
5613         (parse_param): Likewise.
5614         (parse_backtick): Likewise.
5616 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5618         * posix/wordexp-tst.sh: Another test.
5620         * posix/wordexp-test.c: Two new tests.
5622         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5623         directly (the code using realloc was buggy).
5624         (parse_param): Fix typo in comment.
5626 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5628         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5630 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5632         * libc.map: Add more rpc auth functions/variables.
5634         * nscd/nscd.c: Add -g option to argp options.
5636 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5638         * configure.in: Be prepared for gcc 2.9.10 and up.
5639         * configure.in: Add missing disabling of quote characters in
5640         compiler version check.  Reported by HJ Lu.
5642 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5644         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5646 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5648         * intl/locale.alias: Fix spelling of romanian.
5650         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5651         (distribute): Remove des.h.
5652         * include/des.h: New file.
5653         * sunrpc/des.h: Moved to ...
5654         * sunrpc/rpc/rpc_des.h: ...here.
5656 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5658         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5659         Fix paren.
5661 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5663         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5664         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5666 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5668         * elf/ldsodesf.h: New file.
5669         * elf/Makefile (distribute): Add ldsodefs.h.
5670         * elf/link.h: Separate internal information in exter header.
5671         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5672         * elf/dl-minimal.c: Likewise.
5673         * sysdeps/generic/dl-sysdep.c: Likewise.
5674         * elf/sprof.c: Likewise.
5675         * elf/dlsym.c: Likewise.
5676         * elf/dlvsym.c: Likewise.
5677         * elf/dlerror.c: Likewise.
5678         * elf/dladdr.c: Likewise.
5679         * elf/dlclose.c: Likewise.
5680         * elf/dlopen.c: Likewise.
5681         * elf/dl-addr.c: Likewise.
5682         * elf/dl-close.c: Likewise.
5683         * elf/dl-debug.c: Likewise.
5684         * elf/dl-deps.c: Likewise.
5685         * elf/dl-error.c: Likewise.
5686         * elf/dl-fini.c: Likewise.
5687         * elf/dl-init.c: Likewise.
5688         * elf/dl-load.c: Likewise.
5689         * elf/dl-lookup.c: Likewise.
5690         * elf/dl-object.c: Likewise.
5691         * elf/dl-open.c: Likewise.
5692         * elf/dl-profile.c: Likewise.
5693         * elf/dl-reloc.c: Likewise.
5694         * elf/dl-runtime.c: Likewise.
5695         * elf/dl-support.c: Likewise.
5696         * elf/dl-symbol.c: Likewise.
5697         * elf/dl-version.c: Likewise.
5698         * sysdeps/generic/dl-cache.c: Likewise.
5699         * sysdeps/generic/libc-start.c: Likewise.
5700         * iconv/gconv_dl.c: Likewise.
5701         * nss/nsswitch.c: Likewise.
5703 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5705         * manual/nss.texi: The database is not called network but networks.
5706         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5708 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5710         * configure.in: Correct test for compiler version.
5711         Check that LD_LIBRARY_PATH doesn't contain current path.
5713 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5715         * elf/dl-close.c (_dl_close): Fix byte count while removing
5716         the shared object from the global scope list and optimize
5717         a little bit.
5719 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5721         * manual/filesys.texi (Scanning Directory Content): Add missing
5722         closing brace.
5723         (Scanning Directory Content): Fix text.
5725 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5727         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5728         explaining difference of -lmcheck and MALLOC_CHECK_.
5730 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5732         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5733         typos in comments.
5735 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5737         * test-skeleton.c (main): Fix test for exit signal.
5739 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5741         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5743 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5745         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
5746         appropriate.
5748 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5750         * libc.map: Export __strtok_r.
5752 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
5754         * posix/regex.c (re_compile_fastmap): Remove unused variable
5755         num_regs and adjust comment.
5756         Patch by Jim Meyering <meyering@ascend.com>.
5758         * math/math.h (M_*l): Extend long double constants to be usable
5759         for 128 bit floats.  Patch by Richard Henderson.
5761 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5763         * sysdeps/m68k/m68020/wordcopy.S: New file.
5765 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
5767         * posix/wordexp.c: Rewrite parse_param.
5768         Patch by Tim Waugh and Andreas Schwab.
5770 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5772         * Rules: Update timestamps on empty object files.
5774 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
5776         * manual/filesys.texi (Scanning Directory Content): Add description
5777         of 64 bits scandir function and friends.
5779 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5781         * glibcbug.in: Use mktemp to generate unique file name for
5782         temporary files.
5784         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
5785         ptsname_r.  Use cast for execve call.
5787 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
5789         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
5790         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
5791         * io/sys/statvfs.h: New file.
5792         * sysdeps/generic/fstatvfs.h: New file.
5793         * sysdeps/generic/statvfs.h: New file.
5794         * sysdeps/generic/fstatvfs64.h: New file.
5795         * sysdeps/generic/statvfs64.h: New file.
5796         * sysdeps/generic/bits/statvfs.h: New file.
5797         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
5798         * sysdeps/unix/sysv/linux/statvfs.c: New file.
5799         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
5801         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
5802         and f_ffree elements.
5804         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
5805         mount options in enum.
5807 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5809         * configure.in: Check for recent egcs/gcc.
5811 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5813         * libc.map: Add alphasort64, scandir64, versionsort64.
5814         * dirent/Makefile (routines): Add scandir64, alphasort64, and
5815         versionsort64.
5816         * dirent/alphasort64.c: New file.
5817         * dirent/scandir64.c: New file.
5818         * dirent/versionsort64.c: New file.
5819         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
5820         versionsort.
5821         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
5822         old name weak alias.
5823         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5825         * dirent/alphasort.c: Use strcoll instead of strcmp.
5827         * dirent/scandir.c: Optimize a bit.
5829         * dirent/versionsort.c: Pretty print.
5831 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5833         * string/string.h: Add prototype for __strtok_r.
5835 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5837         * posix/Makefile: Fix typo in last change.
5839 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5841         * dirent/dirent.h (scandir): Make argument of select function const.
5842         * dirent/scandir.c (scandir): Likewise.
5843         Reported by David.Faure@insa-lyon.fr [PR libc/512].
5845 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
5847         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
5848         weak alias.
5849         * sysdeps/i386/strtok_r.c: Likewise.
5851         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
5852         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
5853         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
5854         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
5855         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
5856         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
5858 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5860         * intl/localealias.c: Remove unneeded define for strdup.
5862 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
5864         * manual/argp.texi: Adjust for better TeX output.
5865         * manual/arith.texi: Likewise.
5866         * manual/conf.texi: Likewise.
5867         * manual/filesys.texi: Likewise.
5868         * manual/header.texi: Likewise.
5869         * manual/lgpl.texinfo: Likewise.
5870         * manual/math.texi: Likewise.
5871         * manual/message.texi: Likewise.
5872         * manual/pattern.texi: Likewise.
5873         * manual/process.texi: Likewise.
5874         * manual/signal.texi: Likewise.
5875         * manual/socket.texi: Likewise.
5876         * manual/startup.texi: Likewise.
5877         * manual/stdio.texi: Likewise.
5878         * manual/terminal.texi: Likewise.
5879         * manual/examples/rprintf.c: Likewise.
5880         * manual/examples/testopt.c: Likewise.
5881         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5883 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
5885         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5886         parameter name after seeing a digit if it's enclosed in braces.
5888 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5890         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5892 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5894         * manual/memory.texi (Heap Consistency Checking): Document
5895         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
5897 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5899         * manual/Makefile: Add missing rules.
5901 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5903         * timezone/Makefile (generated): Define to remove all stamp files.
5905         * sysdeps/generic/strsep.c: Also undefine __strsep.
5907         * string/strdup.c: Undefine __strdup and strdup first.
5908         * string/strndup.c: Likewise.
5910         * string/bits/string2.h: Correct strtok_r and strsep.
5911         Add strndup optimization.
5913         * sysdeps/generic/strsep.c: Little optimization.
5915 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
5917         * string/bits/string2.h: Add optimization for strdup.
5918         Always define __strsep and __strtok_r and make real names available
5919         when feature select macros are defined.
5921 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5923         * manual/install.texi (Installation): Use i486-linux as example
5924         instead of the unsupported sunos4.
5925         (Reporting Bugs): Mention glibcbug script.
5926         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5928 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5930         * posix/wordexp-tst.sh: Make portable.  Add more tests.
5932         * posix/Makefile (do-globtest do-wordexp-test): New targets.
5934 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
5936         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5937         * sysdeps/generic/libc-start.c: ...here, replacing former content.
5939         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5940         netpacket/packet.h.
5942         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5944 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5946         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5947         in enumerator for strict standard compliance.
5948         * sysdeps/generic/bits/resource.h: Likewise.
5950 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
5952         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5953         (PLTJMP): New macro.
5955         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5956         longjmp() when floating point enabled.
5957         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5958         * sysdeps/arm/__longjmp.S: Remove floating point code.
5959         * sysdeps/arm/setjmp.S: Likewise.
5961         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5962         * sysdeps/arm/bsd-_setjmp.S: Likewise.
5964         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5965         memset().
5967         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5968         prototype.
5970 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
5972         Based on patches from Pat Beirne and Scott Bambrough:
5974         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5976         * sysdeps/arm/bits/fenv.h: New file.
5978         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
5979         * sysdeps/arm/elf/setjmp.S: Likewise.
5980         * sysdeps/arm/elf/start.S: Likewise.
5981         * sysdeps/arm/init-first.c: Likewise.
5982         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5983         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
5984         comment about floating point to reflect current reality.
5986         * sysdeps/unix/arm/brk.S: Support PIC.
5987         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5988         re-entrant code.
5989         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5990         return; call syscall_error through PLT.
5991         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
5993 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
5995         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
5996         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
5997         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
5999 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6001         * dirent/list.c (test): Return error value.
6002         (main): Exit with error value.
6004         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6006         * Makefile (distribute): Add test-skeleton.c.
6007         * test-skeleton.c: New file.
6008         * dirent/Makefile (tests): Add opendir-tst1.
6009         * dirent/opendir-tst1.c: New file.
6011 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6013         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6014         Optimize memory handling.
6015         * sysdeps/unix/closedir.c: Optmize memory handling.
6017 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6019         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6020         handling.  Optimize a bit.
6022 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6024         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6025         (parse_param): Fold in Andreas' fixes to do with when the end of
6026         the parameter name has been reached, and quoting inside ${...}.
6027         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6028         $((echo);(ls)).
6030 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6032         * manual/maint.texi: Split out installation and contribution
6033         sections to their own appendices.  Misc cleanups.
6034         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6035         * manual/contrib.texi: New file.
6036         * manual/libc.texinfo: Pull in new appendices.
6037         * manual/header.texi: Correct node pointer.
6039 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6041         * manual/process.texi (Process Completion): Clarify return value
6042         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6044 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6046         * posix/wordexp-test.c: Add more tests.
6047         (testit): Fix logic.
6049         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6050         /dev/null instead of closing it, close pipe.  Always chop off all
6051         trailing newlines.  Kill and reap child before returning error.
6052         (w_addword, parse_glob): Fix memory leak.
6053         (wordexp): Fix dangling pointer problem.
6055 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6057         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6059         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6061         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6062         directory index by only the language.
6064 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6066         * posix/wordexp-tst.sh: Store test results in the
6067         ${common_objpfx}posix directory.
6069         * posix/wordexp-test.c: Remove temporary directory afterwards.
6071 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6073         * libc.map: Export internal versions of cancelable functions.
6075 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6077         * Makerules (MAKEFLAGS): Append `r'.
6079 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6081         * Makeconfig: Define have-thread-library, shared-thread-library
6082         and static-thread-library if a thread library is available.  Don't
6083         define rt.
6084         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6085         nscd-routines to nscd-modules.  Use shared-thread-library and
6086         static-thread-library in dependencies.
6087         * rt/Makefile: Only compile librt if have-thread-library is
6088         defined.
6089         * Makefile (subdirs): Always include rt subdir.
6091 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6093         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6095 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6097         * configure.in: Recognize variations for 32 MIPS processors.
6098         Don't assume ELF systems always have .weak, test for .weakext.
6100 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6102         * configure.in: Irix6 is an ELF platform.
6104 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6106         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6107         unmapping the last loaded segment.
6109 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6111         * configure.in: Set base_os for Irix6.
6112         Correct test for .weakext.
6114 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6116         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6117         (new_line) to _dl_debug_message call.
6119 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6121         * posix/wordexp.c (parse_param): Perform field-splitting after
6122         expanding positional parameter.
6124         * posix/wordexp-tst.sh: Test that field-splitting is performed
6125         after expanding positional parameter.
6127         * posix/wordexp.c (parse_param): Fixed memory leak in
6128         field-splitting after parameter expansion.
6130 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6132         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6133         (get_toplvl_escape): Correctly terminate loop at EOF.
6134         Patch by Cristian Gafton <gafton@redhat.com>.
6136 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6138         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6139         (test_strsep): Likewise.  Correct horrible bugs.
6141         * string/bits/string2.h (strcspn): Optimize also reject string of
6142         length 2 and 3.
6143         (strspn): Likewise.
6144         (strpbrk): Likewise.
6145         (strsep): Likewise.  Correct bug with successive separators and
6146         separators at the end of the string.
6147         * sysdeps/generic/strsep.c: Correct bug with successive separators
6148         and separators at the end of the string.
6150 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6152         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6153         etc) now handled, as well as $$ (pid).
6155         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6156         (distribute): Add wordexp-tst.sh.
6158         * posix/wordexp-tst.sh: New file.
6160         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6161         number of positional parameters.  Renamed substitute_length to
6162         seen_hash.
6163         Don't free(env) is env is NULL.
6165 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6167         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6169 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6171         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6172         for output file replacing gmon.out.
6173         Patch by Dean Gaudet <dgaudet@arctic.org>.
6175 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6177         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6178         up namespace.  Optimize finding end of line.
6180 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6182         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6183         securely.  Optimized.
6184         (process_dl_debug): Add ':' to list of separators.  Optimized.
6186 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6188         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6189         isless, islessequal, islessgreater, isunordered): Return zero or
6190         one.
6192 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6194         * posix/wordexp-test.c: More tests.
6195         (main): Set up arena for pathname expansion tests (in a temporary
6196         directory).
6197         (testit): Don't check word count or word vector if return value is
6198         non-zero.
6200         * posix/wordexp.c (exec_comm): Always chop off terminating
6201         linefeed (just like bash does).
6202         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6203         (!env || !*env)".
6204         (parse_param): For assignment inside parameter expansion, use all
6205         expanded words in assignment rather than just the first.
6206         (parse_param): Corrected return value for parameter expansion of
6207         an unset variable when WRDE_UNDEF is in effect.
6208         (parse_dollars): Don't field-split if quoted.
6209         (wordexp): Opening brace character isn't allowed unquoted.
6211 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6213         * elf/dlerror.c: Fix concurrency problems with error string and
6214         number.
6216         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6217         filter/auxiliary are being loaded.
6219 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6221         * elf/dlerror.c (last_object_name): Removed.
6222         (dlerror): Don't use last_object_name.
6223         (_dl_error_run): Omit second argument to _dl_catch_error.
6224         * elf/dl-error.c (struct catch): Remove objname member.
6225         (_dl_signal_error): Construct string including objname when given.
6226         (_dl_catch_error): Remove objname handling.
6227         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6228         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6229         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6230         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6231         * iconv/gconv_dl.c (dlerror_run): Likewise.
6232         [Corrects PR libc/501].
6234 1998-03-12  Matthias Urlichs <smurf@noris.de>
6236         * nscd/nscd.c: Ignore SIGPIPE.
6238 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6240         * nscd/nscd_getgr_r.c: Use __ protected names.
6241         * nscd/nscd_getpw_r.c: Likewise.
6243 1998-03-12  Matthias Urlichs <smurf@noris.de>
6245         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6246         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6247         null bytes are not transmitted.
6249 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6251         * powerpc/syscalls.list: Correct typo.
6252         * alpha/syscalls.list: Likewise.
6253         * mips/syscalls.list: Likewise.
6255 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6257         * socket/sys/socket.h: Add prototype for __socket.
6259 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6261         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6263         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6264         constants.
6266         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6267         definition here.
6268         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6269         definition here.
6271         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6272         AF_* and PF_* constants.
6274         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6276 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6278         * elf/rtld.c: Update help message.
6279         Install link maps for preloaded objects using main_map as loader.
6281         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6282         * elf/dl-profile.c: Likewise.
6284         * elf/dlsym.c: Little optimization.
6285         * elf/dlvsym.c: Likewise.
6287 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6289         * posix/wordexp-test.c: Move test for parameter list at the very
6290         beginning.
6292 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6294         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6295         WRDE_REUSE flag is set.
6296         (parse_param): Allow `*', `@', and numbers in parameter names.
6297         (parse_dollars): Differentiate between arithmetic expansion and a
6298         command substitution that starts immediately with a sub-shell
6299         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6300         (parse_param): Memory allocated with __alloca in a block was
6301         referenced outside that block.  Adjusted to use malloc/free.
6302         (parse_param): Adjusted field-splitting algorithm so that there is
6303         not necessarily a field split at the end of a parameter expansion.
6305 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6307         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6308         don't free words that have already been allocated.
6309         (parse_param): A dollar sign on its own will never have a pattern
6310         associated with it (like "${HOME%%/}" has), so don't try to free it.
6311         (parse_glob): Attempt to glob when an unquoted `[' is found
6312         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6313         (parse_glob): Sorted out quoting in a glob-able word.
6314         (parse_param): Added $* and $@ handling.
6316 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6318         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6319         parsing it.
6321 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6323         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6324         _dl_debug_message.
6326 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6328         * elf/dl-misc.c: Default for debug output should be stderr.
6329         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6330         * elf/dl-lookup.c: reference_name may be NULL or empty.
6332 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6334         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6336 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6338         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6340         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6342 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6344         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6345         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6347 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6349         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6350         init stuff.
6352 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6354         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6355         flag.
6357         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6358         syslog daemon.
6359         (closelog_internal): Don't do anything if not connected.
6361 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6363         * libc.map: Add _dl_debug_message.
6364         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6365         before every line.
6366         * elf/fini.c: Correctly use new _dl_debug_message function.
6367         * elf/init.c: Likewise.
6368         * elf/dl-lookup.c: Likewise.
6369         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6370         * elf/dl-load.c: Likewise.  Add more debugging prints.
6371         * elf/dl-reloc.c: Likewise.
6372         * elf/dl-version.c: Likewise.
6373         * elf/dl-support.c: Add variables for debugging.
6374         * elf/rtld.c: Likewise.  Recognize new debug options.
6375         * elf/link.h: Declare new variables.
6377         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6379 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6381         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6382         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6384 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6386         * posix/wordexp-test.c (command_line_test): New function to allow
6387         testing of specific cases from the command-line.
6389 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6391         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6392         * elf/dl-fini.c (_dl_fini): Likewise.
6393         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6395         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6396         symbol in debug message.
6397         (_dl_lookup_versioned_symbol_skip): Likewise.
6399 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6401         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6402         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6403         * manual/filesys/texi: Document this.
6405 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6407         * manual/filesys.texi: Document the change below.
6409 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6411         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6412         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6414 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6416         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6417         instead scope.  If debugging display information about symbol
6418         resolving.
6419         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6420         (_dl_lookup_symbol_skip): Likewise.
6421         (_dl_lookup_versioned_symbol): Likewise.
6422         (_dl_lookup_versioned_symbol_skip): Likewise.
6423         * elf/dl-support.c: Define _dl_debug_symbols.
6424         * elf/link.h: Add declaration for _dl_debug_symbols.
6425         * elf/rtld.c: Define _dl_debug_symbols.
6426         (process_dl_debug): Recognize symbols option.
6428 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6430         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6431         in correct format.
6432         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6433         with correct parameters.
6434         [!PIC]: Initialize __libc_multiple_libcs.
6436 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6438         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6439         * elf/rtld.c (_dl_debug_bindings): Add definition.
6440         (process_dl_debug): Recognize bindings option.  Update help message.
6441         * elf/link.h (struct link_map): Add l_versyms member.
6442         (_dl_debug_bindings): Add declaration.
6443         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6444         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6445         and l_reloc_result.
6446         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6447         (sym_val): Remove a member, add m as link_map.
6448         (do_lookup): Return result appropriately.
6449         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6450         Call do_lookup correctly.
6451         (_dl_lookup_symbol_skip): Likewise.
6452         (_dl_lookup_versioned_symbol): Likewise.
6453         (_dl_lookup_versioned_symbol_skip): Likewise.
6455 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6457         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6458         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6460         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6461         * libc.map: Add chown to GLIBC_2.1.
6462         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6463         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6465 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6467         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6468         weak alias.
6469         * sysdeps/alpha/ffs.c: Likewise.
6470         * sysdeps/am29k/ffs.c: Likewise.
6471         * sysdeps/i386/ffs.c: Likewise.
6472         * sysdeps/i960/ffs.c: Likewise.
6473         * sysdeps/m68k/ffs.c: Likewise.
6474         * sysdeps/m88k/ffs.c: Likewise.
6475         * sysdeps/powerpc/ffs.c: Likewise.
6476         * sysdeps/rs6000/ffs.c: Likewise.
6477         * sysdeps/vax/ffs.s: Likewise.
6478         * string/string.h: Declare __ffs.
6479         * libc.map: Export it.
6480         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6481         __builtin_ffs, which is not guaranteed to be namespace clean.
6483 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6485         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6486         table, which is much more likely to exist than debugging symbols.
6487         (printsym): Remove const.
6488         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6489         header table.
6491         * libc.map: Export __profile_frequency, used by elf/sprof, to
6492         avoid infinite recursion during startup.
6494 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6496         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6497         Readd lost negate.
6499         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6501 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6503         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6505 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6507         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6508         LD_PRELOAD, and LD_VERBOSE.
6509         (dl_main): Use global variables set by process_envvars instead of
6510         calling getenv.
6511         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6512         LD_LIBRARY_PATH value, this comes with the parameter.
6513         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6514         ("LD_LIBRARY_PATH") to _dl_init_paths.
6516 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6518         * elf/rtld.c (dl_main): Delay initialization of path structure if
6519         the dynamically linker is invoked implicitly until we read the
6520         dynamic section.
6522 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6524         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6526 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6528         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6529         Linux 2.0 and 2.1.
6531         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6533 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6535         * Makeconfig (nisobjdir): Set to path to nis directory.
6536         (rpath-link): Add nisobjdir.
6537         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6539         * elf/Makefile: Pretty print.
6540         * elf/dl-lookup.c: Include unistd.h.
6541         * elf/dl-runtime.c: Likewise.
6543         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6544         (distribute): Add tst-rpmatch.sh.
6545         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6547         New tests for rpmatch function by
6548         Jochen Hein <jochen.hein@delphi.central.de>.
6549         * localedata/tst-rpmatch.c: New file.
6550         * localedata/tst-rpmatch.sh: New file.
6552         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6553         * localedata/locales/de_AT: Likewise.
6555         * posix/getopt.c: Update contact address.
6556         * posix/getopt1.c: Pretty print.
6558         * sysdeps/generic/libc-start.c: Do most of the initialization now
6559         here instead of in start.S.
6560         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6561         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6563         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6564         profil_counter to be public.
6566 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6568         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6569         (parse_param): Coded parameter length expansion (${#var}).
6570         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6571         (parse_param): Cleaned up (fixed) error handling.
6573         * posix/wordexp-test.c: IFS now includes non-whitespace character
6574         (comma).  Added more tests.
6576 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6578         * elf/link.h: Fix typos.
6579         Reported by Andreas Jaeger.
6581         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6582         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6584 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6586         * argp/argp-help.c: Remove last bits of using gettext instead of
6587         dgettext.
6589 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6591         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6592         __libc_start_main.
6593         * csu/Makefile (routines): Add libc-start.
6594         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6595         * elf/dl-lookup.c: Likewise.
6596         * elf/dl-version.c: Likewise.
6597         * sysdeps/i386/dl-machine.h: Likewise.
6598         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6599         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6600         _dl_sysdep_message macros which use _dl_sysdep_output.
6601         * elf/dl-fini.c: Write out which destructor is called while debugging.
6602         * elf/dl-init.c: Likewise for constructor.
6603         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6604         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6605         _dl_sysdep_message.  Add _dl_sysdep_output.
6606         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6607         this file can be opened.
6608         For LD_DEBUG=libs also set _dl_debug_impcalls.
6609         * sysdeps/generic/dl-cache.c: Include unistd.h.
6610         * sysdeps/generic/libc-start.c: New file.
6611         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6612         * sysdeps/i386/elf/start.S: Don't call main directly, call
6613         __libc_start_main instead.
6615         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6617 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6619         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6621 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6623         * argp/argp.h (struct argp): Add new field domain.
6624         * argp/argp-help.c: Change all gettext calls to dgettext and use
6625         domain field from appropriate argp in call.
6626         * argp/argp-parse.c: Likewise.
6628 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6630         * posix/wordexp-test.c: Change testsuite so that it can run even
6631         for ~root != /root.
6633 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6635         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6637 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6639         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6640         Don't store into global errno if we already store through
6641         __errno_location.
6642         * sysdeps/unix/i386/sysdep.S: Likewise.
6643         * sysdeps/unix/alpha/sysdep.S: Likewise.
6644         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6645         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6647         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6648         PIC).
6650 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6652         * sysdeps/generic/sysdep.h (L): Remove definition.
6653         * sysdeps/i386/sysdep.h (L): Define it here instead.
6655 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6657         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6659         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6661 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6663         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6664         declaration style to avoid warnings.
6666 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6668         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6669         "LD_DEBUG".
6671 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6673         * posix/Makefile (tests): Add wordexp-test.
6674         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6675         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6677 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6679         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6680         dependencies.
6682         * elf/link.h (struct r_search_path_elem): Add two new field for
6683         lib path debugging.
6684         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6685         variable accordingly.
6686         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6687         is considered next along with information about load paths.
6688         * sysdeps/generic/dl-cache.c: Likewise.
6689         * elf/dl-support.c: Define _dl_debug_libs.
6690         * elf/genrtldtbl.awk: Add initializers for two new field in
6691         struct r_search_path_elem.
6693 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6695         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6696         * sysdeps/m68k/lshift.S: Likewise.
6697         * sysdeps/m68k/rshift.S: Likewise.
6698         * sysdeps/m68k/sub_n.S: Likewise.
6699         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6700         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6701         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6703         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6704         [_LIBC_REENTRANT]: Don't store into global errno.
6706         * sysdeps/m68k/sysdep.h: New file.
6707         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6708         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6709         (DO_CALL): Change to expect syscall name as argument.
6710         (PSEUDO): Pass syscall_name to DO_CALL.
6711         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6712         errno.
6714 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6716         * elf/rtld.c: Speed up processing of environment variables.  Do
6717         only one run on the environment by avoiding to call getenv.
6718         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6719         function.  Used by patch above.
6721 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6723         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6724         running nscd.
6725         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6726         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6727         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6729 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6731         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6732         module cannot be found.  Reported by Andreas Jaeger.
6734 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6736         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6737         on platforms which default to unsigned chars.
6738         * nscd/nscd_getpw_r.c: Likewise.
6739         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6740         defining it.
6742 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6744         * elf/Makefile (install-bin): Change = to += for sprof to install
6745         ldd also.
6747 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
6749         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
6751 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
6753         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
6755 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6757         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
6758         that a failure to connect to nscd doesn't change errno.
6760 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6762         * manual/maint.texi (Reporting Bugs): Change
6763         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
6765         * locale/iso-4217.def: Likewise
6767 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
6769         * manual/texinfo.tex: Updated.
6771 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6773         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
6774         value.
6775         * sysdeps/posix/pathconf.c: Likewise.
6776         * posix/getconf.c: Print `undefined' if pathconf returns -1
6777         without setting errno.
6779 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
6781         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
6782         problem.
6783         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
6784         Patches by Elliot Lee <sopwith@cuc.edu>.
6786 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
6788         * elf/link.h (struct link_map): Add new field l_reloc_result.
6789         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
6790         of relocation for the object to be profiled.
6791         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
6792         to NULL.
6793         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
6794         array here.
6795         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
6796         contains a result from a previous run use this instead of computing
6797         the value again.
6798         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
6800 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6802         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
6803         offsets into the GOT.
6804         (RTLD_START): Likewise.
6806 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
6808         * elf/sprof.c: Cleanup a bit.
6810 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
6812         * sysdeps/generic/sysdep.h (L): New. Define.
6814         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
6816         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
6818         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
6819         to have only one exit point for functions.
6820         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6821         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
6822         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
6823         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6824         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6826 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6828         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
6829         reset errno so that errno isn't set to ENOSYS in the first call.
6830         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
6831         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6832         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6833         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6835 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
6837         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
6838         * sysdeps/i386/addmul_1.S: Likewise.
6839         * sysdeps/i386/lshift.S: Likewise.
6840         * sysdeps/i386/mul_1.S: Likewise.
6841         * sysdeps/i386/rshift.S: Likewise.
6842         * sysdeps/i386/sub_n.S: Likewise.
6843         * sysdeps/i386/submul_1.S: Likewise.
6844         * sysdeps/i386/i586/add_n.S: Likewise.
6845         * sysdeps/i386/i586/addmul_1.S: Likewise.
6846         * sysdeps/i386/i586/lshift.S: Likewise.
6847         * sysdeps/i386/i586/mul_1.S: Likewise.
6848         * sysdeps/i386/i586/rshift.S: Likewise.
6849         * sysdeps/i386/i586/sub_n.S: Likewise.
6850         * sysdeps/i386/i586/submul_1.S: Likewise.
6852         * sysdeps/i386/sysdep.h: Extend last change.
6854         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
6855         to have only one exit point for functions.
6857 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6859         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
6860         search.
6862 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
6864         * Makerules: Generate libc.so with absolute paths for the used
6865         shared objects.
6867         * config.make.in: Add MAKEINFO definition.
6869 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6871         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6872         (ENTRY): Use STABS_FUN.
6873         (END): Use STABS_FUN_END.
6874         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6876         * elf/Makefile: Add rules to build sprof program.
6877         * elf/sprof.c: New file.
6879 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6881         * misc/syslog.c (openlog_internal): Insert missing closing brace.
6883 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6885         * configure.in: Check for working msgfmt version (from GNU gettext
6886         0.10 or later).
6888 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6890         * configure.in: Avoid //s in sysdirs.
6891         Patch by Roland McGrath.
6893         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6895 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
6897         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6898         setting _dl_global_scope for RTLD_GLOBAL.
6900 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6902         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6903         possible lists of object-suffixes are taken care of.
6905 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
6907         * timezone/private.h: Update from tzcode1998c.
6908         * timezone/zic.c: Likewise.
6909         * timezone/antarctica: Updated from tzdata1998c.
6910         * timezone/asia: Likewise.
6911         * timezone/australasia: Likewise.
6912         * timezone/europe: Likewise.
6913         * timezone/southamerica: Likewise.
6915 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6917         * posix/glob.c (glob_in_dir): Add support for cases insensitive
6918         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6920 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
6922         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6923         Changed type of TWO43, TWO52 from float to double.
6924         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6925         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6926         Changed type of TWO43 from float to double.
6927         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6928         Use __isinff.
6930 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
6932         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6933         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6934         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6936 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
6938         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6939         kernel_termios.h.
6940         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6941         Clean up random whitespace.
6942         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6943         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6945         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6947 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
6949         * shlib-versions: Match alpha*.
6950         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6951         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6953         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6954         Implement copysign* with and without __ prefix.
6955         Likewise for fabs; use builtin for gcc 2.8.
6956         (floor*): New.
6957         (fdim*): New.
6959         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6960         (R_SPARC*): Match current v9 ABI.
6962         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6964         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6965         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6966         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6967         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6968         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6969         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6970         * sysdeps/unix/grantpt.c (argv): Fix consts.
6971         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6972         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6974 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6976         * misc/syslog.c: Change to allow user the interpretation of the
6977         outcome even with syslog having no return value.
6979 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6981         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6982         that the number of program headers is >0 (which is wrong for the
6983         loader itself).
6985 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6987         * Makefile (distribute): Add README.libm.
6989 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6991         * time/clocktest.c (main): Correct typo: "--" -> "==".
6993 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
6995         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
6996         inline function.
6997         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
6998         inline functions.
7000         * math/libm.map (__atan2): Added.
7002 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7004         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7005         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7007         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7008         bug.
7010 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7012         * manual/arith.texi (Old-style number conversion): Correct
7013         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7015 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7017         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7018         but does not require it.  Handle missing argv[] values gracefully.
7019         * posix/execl.c: Likewise.
7020         * posix/execle.c: Likewise.
7022 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7024         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7025         bit.
7026         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7028 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7030         * libc.map: Add __adjtimex.
7032 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7034         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7035         Remove memset.
7037 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7039         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7040         to 64.
7042         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7044         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7045         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7047         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7048         for shared library.
7050         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7052         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7053         Added adjtimex and old_adjtimex.
7055         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7056         New.
7057         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7058         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7060         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7061         symbols only for shared library.
7062         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7063         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7064         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7065         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7066         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7067         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7068         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7070         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7071         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7072         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7073         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7074         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7075         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7076         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7077         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7079         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7080         rusage pointer.
7082         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7083         New macros.
7084         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7085         timex and __adjtimex, respectively.
7087         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7089         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7091 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7093         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7094         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7096 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7098         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7100 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7102         * Makefile.in: Disable built-in rules.
7104 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7106         * sysdeps/i386/fpu/t_exp.c: Move to ...
7107         * sysdeps/libm-i387/t_exp.c: ... here.
7109 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7111         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7112         from __exp2_deltatable.
7114 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7116         * nis/ypclnt.c (yp_master): Check result of strdup.
7117         Patch by Thorsten Kukuk.
7119 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7121         * nis/ypclnt.c: Give clnt handle after error checking free, change
7122         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7124 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7126         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7127         Patch by Joe Keane <jgk@jgk.org>.
7129         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7130         * misc/fstab.c: Remove casts in fs_type assignments.
7132 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7134         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7135         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7136         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7137         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7138         * sysdeps/powerpc/bits/fenv.h: Likewise.
7139         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7140         * sysdeps/generic/bits/fenv.h: Likewise.
7141         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7142         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7143         * sysdeps/powerpc/test-arith.c (main): Likewise.
7145 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7147         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7148         the comparison macros.
7150 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7152         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7153         (__log2): Fixed return values.
7154         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7156 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7158         * math/math.h (isunordered): Rename local variables to ensure
7159         correct code.  Reported by HJ Lu.
7161 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7163         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7164         isless, islessequal, islessgreater, isunordered): Fix syntax for
7165         fucompip instruction.
7166         (isless, islessequal): Fix logic.
7168 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7170         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7171         (comparisons_test): New tests for comparison macros.
7173 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7175         * Makeconfig: Filter out frame-pointer effecting options when
7176         compiling profiling or debugging code.
7177         * config.h.in (internal_function): Don't define here if PROF is
7178         defined.
7179         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7180         state.
7181         (__monstartup): If calloc fails set error state and mark array as
7182         not allocated.
7183         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7184         to free array if not  successfully allocated.
7186         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7187         Include elf.h to get macro definitions.
7188         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7190 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7192         * elf/ldd.sh.in: Add compatibility for broken old shells.
7193         * elf/ldd.bash.in: Likewise.
7195 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7197         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7199         * time/clocktest.c (main): Check signal return error.
7201 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7203         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7204         "/" and use do-install-program. Reported by Mark M. Kettenis.
7205         (subdir_install):  Likewise.
7207 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7209         * sunrpc/rpc_sample.c: Fix typo.
7211         * nscd/connections.c: Use locale.
7212         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7213           calloc result.
7214         * nscd/nscd.c: Check if init functions fails.
7215         * nscd/nscd_conf.c: Allow disabling of group cache.
7216         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7217         * nscd/pwdcache.c: Fix debug messages.
7219 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7221         * libc.map: Add __monstartup and _mcleanup for profiling support.
7223 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7225         * libc.map: Export __getpagesize, for binary compatibility with
7226         2.0.
7228 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7230         * posix/globtest.sh: Use --library-path instead of
7231         LD_LIBRARY_PATH.
7232         * localedata/sort-test.sh: Likewise.
7233         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7235 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7237         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7238         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7239         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7241         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7242         kernel_sigaction): Define.
7243         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7244         kernel_sigaction): Define.
7246 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7248         * math/libm-test.c: Change epsilons for libm-ieee754.
7250 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7252         * sysdeps/i386/__longjmp.S: Fix race condition.
7253         Reported by Bruno Haible <haible@ilog.fr>.
7255 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7257         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7258         * iconvdata/8bit-gap.c: Likewise.
7259         * iconvdata/8bit-generic.c: Likewise.
7260         * iconvdata/iso6937.c: Likewise.
7261         * iconvdata/iso8859-1.c: Likewise.
7262         * iconvdata/sjis.c: Likewise.
7263         * iconvdata/t61.c: Likewise.
7265 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7267         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7268         feature tests by positive feature tests.
7270 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7272         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7274 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7276         * elf/dlvsym.c (dlvsym_doit): More corrections.
7277         Patch by Andreas Jaeger.
7279 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7281         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7283 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7285         * libc.map: More reordering for GLIBC_2.1 symbols.
7287 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7289         * libc.map: Move some functions from version GLIBC_2.0 to
7290         GLIBC_2.1, reorder declarations.
7292 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7294         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7295         Patch by zab@thebrain.grumblesmurf.net.
7297 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7299         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7300         NIS+ functions with version GLIBC_2.1.
7302 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7304         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7305         with 2.0 binaries.  Reported by Thorsten Kukuk.
7307 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7309         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7311         * elf/dlsym.c (dlsym_doit): Likewise.
7313 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7315         * elf/link.h: Correct typos.
7317         * iconv/iconv_prog.c: Correct typo.
7319 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7321         * iconv/Makefile: Add rules to build and install iconv program.
7322         * iconv/iconv_prog.c: New file.
7324 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7326         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7327         _dl_lookup_symbol_skip call.
7328         * elf/dlvsym.c (dlvsym_doit): Likewise.
7330 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7332         * libio/iovsscanf.c: Do not include errno.h.
7334 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7336         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7337         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7338         pulling in the whole error list.
7339         (__dcgettext, dcgettext): Removed.
7340         * libc.map: Export _strerror_internal.
7342 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7344         * sysdeps/i386/fpu/t_exp.c: New file.
7346 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7348         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7349         everything with version GLIBC_2.1.
7350         * hesiod/libnss_hesiod.map: Likewise.
7352 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7354         * manual/arith.texi (Old-style number conversion): This node is a
7355         section, not a subsection.
7357 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7359         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7361 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7363         * elf/rtld.c (dl_main): Make sure that the library search paths
7364         have been initialized before the first call to _dl_map_object.
7366 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7368         * Makerules (common-generated): Add libc_pic.os.
7370 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7372         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7373         of the executable.
7375 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7377         * sysdeps/m68k/fpu/t_exp.c: New file.
7379 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7381         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7382         to global errno variable anymore.
7384 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7386         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7387         If PRELOADED is nonzero check in case of an SUID application
7388         whether the shared object has the SUID bit set.
7389         Fix some other problems with handling shared objects in system
7390         specific directories.
7391         (_dl_map_object): Also take extra parameter and pass it to open_path.
7392         * elf/link.h (_dl_map_object): Correct prototype and comment.
7393         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7394         * elf/dl-open.c (_dl_open): Likewise.
7395         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7397         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7399 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7401         * math/libm-test.c (modf_test): Add test for 1.5.
7403         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7404         0 to get always an int.
7406 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7408         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7409         version GLIBC_2.1.
7411 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7413         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7414         trying to read another character.
7416 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7418         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7419         name to lowercase.
7421         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7422         name to lowercase, add test for big enough buffer.
7424 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7426         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7427         Make compatible with older kernels.  Patch by Richard Henderson.
7429 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7431         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7433         * localedata/tst-locale.sh: Comment out first test for now.
7435 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7437         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7438         as 1.
7439         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7440         Likewise.
7442         * libio/iogetline.c (_IO_getline_info): Renamed from
7443         _IO_getline.
7444         (_IO_getline): Just call _IO_getline_info.
7446         * libio/libioP.h (_IO_getline_info): New declaration.
7448         * libc.map (_IO_getline_info, __write): Added.
7450 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7452         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7453         const char* to shut up gcc.
7455 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7457         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7458         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7460         * math/math.h: Define M_* constants always as `double' and add new
7461         macros M_*l which are of type `long double'.
7462         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7463         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7464         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7465         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7466         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7467         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7468         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7469         * math/libm-tst.c: Likewise.
7471         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7472         define as long double unconditionally.
7474 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7476         * manual/arith.texi (Old-style number conversion): Correct some
7477         typos.
7479 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7481         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7482         Restore.
7484         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7486 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7488         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7489         on $(rtld-ldscript).
7491         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7492         starting from 0 not only from `from'.
7493         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7495 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7497         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7498         pass value (or NULL) to _dl_init_paths.
7499         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7500         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7501         environment variable.
7502         * elf/link.h: Change prototype for _dl_init_paths.
7503         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7505         * localedata/Makefile (distribute): Add test files.
7507 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7509         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7510         test1.def, test2.def, test3.def, test4.def}: Simple input files
7511         for localedef. Contributed by Yung-Ching Hsiao
7512         <yhsiao@cae.wisc.edu>.
7514         * localedata/Makefile (tests): Call tst-locale.sh.
7516         * localedata/tst-locale.sh: New file, regression tests for some
7517         localedef problems.
7519 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7521         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7523         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7524         terminated.
7525         * nis/nss_nisplus/nisplus-network.c: Likewise.
7526         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7527         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7528         * nis/nss_nisplus/nisplus-service.c: Likewise.
7530         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7531         and support generating thread safe RPC code.
7532         * sunrpc/rpc_main.c: Add changes.
7533         * sunrpc/rpc_clntout.c: Likewise.
7534         * sunrpc/rpc_cout.c: Likewise.
7535         * sunrpc/rpc_hout.c: Likewise.
7536         * sunrpc/rpc_parse.c: Likewise.
7537         * sunrpc/rpc_sample.c: Likewise.
7538         * sunrpc/rpc_scan.c: Likewise.
7539         * sunrpc/rpc_svcout.c: Likewise.
7540         * sunrpc/rpc_util.c: Likewise.
7541         * sunrpc/rpc_util.h: Add new structs and prototypes.
7542         * sunrpc/proto.h: Remove prototypes for static functions.
7544 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7546         * locale/programs/ld-messages.c (messages_finish): Don't skip
7547         error checking when being quiet.
7548         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7549         (set_class_defaults): Likewise.
7550         * locale/programs/charmap.c (parse_charmap): Likewise.
7551         * locale/programs/ld-collate.c (collate_finish): Likewise.
7552         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7553         * locale/programs/ld-time.c (time_finish): Likewise.
7554         * locale/programs/locfile.c (write_locale_data): Likewise.
7556         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7557         unknown characters and empty ranges.
7558         * locale/programs/ld-collate.c (collate_order_elem): When
7559         processing an ellipsis properly form a linked list in the result
7560         table, fix typo when allocating ordering array.
7561         [PR libc/419]
7563 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7565         * elf/Makefile (ld-map): Define.
7566         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7567         `$(rtld-ldscript)'.
7568         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7569         on $(ld-map).
7570         (rtld-link): Combine the two versions of this definition.  Fixed
7571         to make it work when no symbol versioning is used.
7573 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7575         * Makeconfig (build-program-cmd): Use --library-path parameter to
7576         ld.so instead of environment variable.
7578         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7579         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7581 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7583         * Make-dist: Respect with-cvs setting.
7584         * MakeTAGS (all-pot): Likewise.
7585         * sysdeps/sparc/sparc32/Makefile: Likewise.
7586         * sysdeps/mach/hurd/Makefile: Likewise.
7587         * stdlib/Makefile: Likewise.
7588         * posix/Makefile: Likewise.
7589         * intl/Makefile: Likewise.
7590         * po/Makefile (linguas): Likewise
7592 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7594         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7596 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7598         * libc.map: Add __strcasecmp.
7600         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7601         module.
7603         * nss/getXXent_r.c: If no more module is found don't try to call
7604         setXXent functions but leave unsuccessfully.
7606         * malloc/obstack.h: Cleanups.
7608         * sysdeps/wordsize-32/stdint.h: New file.
7609         * sysdeps/wordsize-64/stdint.h: New file.
7610         * sysdeps/generic/stdint.h: New file.
7611         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7612         * sysdeps/wordsize-64/inttypes.h: Likewise.
7613         * stdlib/Makefile (headers): Add stdint.h.
7615 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7617         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7619 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7621         * timezone: New directory.
7622         * time/README, time/africa, time/antarctica, time/asia,
7623         time/australasia, time/backward, time/checktab.awk,
7624         time/etcetera, time/europe, time/factory, time/ialloc.c,
7625         time/iso3166.tab, time/leapseconds, time/northamerica,
7626         time/pacificnew, time/private.h, time/scheck.c,
7627         time/solar87, time/solar88, time/solar89, time/southamerica,
7628         time/systemv, time/test-tz.c, time/tzfile.h,
7629         time/tzselect.ksh, time/yearistype, time/zdump.c,
7630         time/zic.c, time/zone.tab: Moved to timezone.
7631         * time/tzfile.c: Include tzfile.h from timezone subdir.
7632         * time/tzset.c: Likewise.
7633         * time/Makefile: Cut out all code relating to timezones...
7634         * timezone/Makefile: ...and paste it in here.
7635         * Makefile (subdirs): Add timezone.
7637 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7639         * libc.map (_sys_nerr): Added.
7641         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7642         versioned symbol.
7644 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7646         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7647         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7648         Reported by Craig Metz <cmetz@inner.net>.
7650 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7652         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7653         instead of strcasecmp.
7654         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7656         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7658 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7660         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7661         Patch by Dean Gaudet <dgaudet@arctic.org>.
7663 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7665         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7667 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7669         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7670         with no poll syscall, just include the BSD version.
7671         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7672         kernel without the syscall, include the stub version.
7673         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7674         * sysdeps/generic/getresuid.c: New file.
7675         * sysdeps/generic/getresgid.c: New file.
7677 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7679         * stdio-common/vfscanf.c: Correct last change a bit.
7681 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7683         * elf/Makefile: Don't use --version-script parameter to link ld.so
7684         unconditionally.
7686 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7688         * math/Makefile: Add t_exp.
7689         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7690         constants.
7691         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7692         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7693         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7694         better accuracy.
7695         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7696         algorithm for very large/very small arguments.
7697         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7698         correct algorithm for very large/very small arguments; adjust for
7699         new table.
7700         * sysdeps/libm-ieee754/t_exp.c: New file.
7701         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7703         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7704         back, with comment that explains what breaks when you remove it :-(.
7706         * localedata/xfrm-test.c: Avoid integer overflow.
7708         * stdlib/strfmon.c: char is unsigned, sometimes.
7710         * sysdeps/powerpc/Makefile: Remove quad float support.
7711         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7712         * sysdeps/powerpc/quad_float.h: Likewise.
7713         * sysdeps/powerpc/test-arith.c: Likewise.
7714         * sysdeps/powerpc/test-arithf.c: Likewise.
7716         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7717         * sysdeps/generic/s_exp2f.c: Likewise.
7719         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7720         don't try anything if _SOFT_FLOAT.
7722 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7724         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7725         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7726         * wctype/wctype.c: Likewise.
7727         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7728         changed.  They are incompatible with the _ISxxx values from
7729         <ctype.h> on little endian machines.
7730         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7731         bit number.  This fixes the real bug and restores the integrity of
7732         the ctype locale file.
7733         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7734         * wctype/wcfuncs_l.c: Likewise.
7735         * wctype/wcextra.c: Likewise.
7736         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7737         byte swapping.
7739 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7742         into .bss segment instead of .common, so that aliases on it work.
7744         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
7745         .size directives, put into .bss segment instead of initializing it
7746         to 4.
7748 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
7750         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
7752         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
7753         functions.
7754         Make names without __ weak aliases.
7755         (__libc_release, __libc_version): Make them static.
7757         * include/gnu/libc-version.h: New file.
7758         * Makefile (headers): Add gnu/libc-version.h.
7760 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
7762         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
7763         and use x for member name.
7764         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
7766         * stdlib/drand48.c: Change according to member name change.
7767         * stdlib/drand48_r.c: Likewise.
7768         * stdlib/lcong48_r.c: Likewise.
7769         * stdlib/lrand48.c: Likewise.
7770         * stdlib/lrand48_r.c: Likewise.
7771         * stdlib/mrand48.c: Likewise.
7772         * stdlib/mrand48_r.c: Likewise.
7773         * stdlib/seed48.c: Likewise.
7774         * stdlib/seed48_r.c: Likewise.
7775         * stdlib/srand48_r.c: Likewise.
7777 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7779         * nss/test-netdb.c: Add some more test cases.
7781 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
7783         * libio/iovsscanf.c: Undo last change modifying errno.
7785 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7787         * stdio-common/vfscanf.c: Never try to read another character
7788         after EOF.  Don't decrement read_in after EOF, it wasn't
7789         incremented in the first place.
7790         (NEXT_WIDE_CHAR): Set First, not first.
7792 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
7794         * db/Makefile ($(inst_libdir)/libndbm.a,
7795         $(inst_libdir)/libndbm.so): New targets.
7796         * db2/Makefile: Likewise.
7798 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
7800         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
7801         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
7803 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7805         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
7806         <streambuf.h>.
7807         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7809 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7811         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
7812         versioned symbols.
7814 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
7816         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
7817         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
7818         Added for libdl.so.
7820 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7822         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
7823         extra syscall.
7825         * grp/Makefile: Fix logic when checking for thread package.
7826         * pwd/Makefile: Likewise.
7828 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
7830         * elf/Makefile (rtld-map): Replaced by libc-map.
7832         * elf/rtld.map: Removed.
7834         * libc.map (__libc_enable_secure, _dl_catch_error,
7835         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
7836         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
7837         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
7838         _dl_object_relocation_scope, _dl_relocate_object,
7839         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
7840         _r_debug): Added for ld.so.
7842 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
7844         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
7845         DO_VERSIONING.
7846         * libio/iofdopen.c: Ditto.
7847         * libio/iofopen.c: Ditto.
7848         * libio/oldfileops.c: Ditto.
7850         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
7851         version GLIBC_2.1.
7853         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
7854         oldsiglist from sysdep_routines and shared-only-routines.
7856         * sysdeps/unix/sysv/linux/errlist.c: New.
7857         * sysdeps/unix/sysv/linux/errlist.h: New.
7858         * sysdeps/unix/sysv/linux/sizes.h: New.
7859         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
7860         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
7862         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
7864         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
7865         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
7866         directive.
7868         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
7870         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
7871         (oldsiglist.c): Removed.
7873         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
7874         (_sys_siglist): Use SYS_SIGLIST instead.
7875         (_sys_nerr): Use SYS_NERR instead.
7877         * sysdeps/gnu/errlist.c: Rebuilt.
7879 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
7881         * elf/Makefile (others-static): New, set to ldconfig.
7882         ($(objpfx)ldconfig): Removed.
7884         * Rules (binaries-all, binaries-static, binaries-shared): New.
7885         Create targets for $(binaries-static) and $(binaries-shared).
7887         * Makeconfig (+link-static, link-libc-static,
7888         link-extra-libs-static): New for static linking.
7890 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7892         * manual/memory.texi (Using the Memory Debugger): Fix typo.
7894         * math/libm-test.c (modf_test): Add one more test for modf.
7896 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
7898         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7899         Rename from __libc_have_rt_sigs and leave as COMMON data.
7901 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
7903         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
7904         of __finite.
7906 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
7908         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
7910 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
7912         * misc/tst-efgcvt.c: Add yet more tests.
7913         * misc/efgcvt_r.c: And correct for these tests again.
7914         Reported by HJ Lu.
7916         * isomac.c: Move to...
7917         * stdlib/isomac.c: ...here.
7918         * Makefile: Move rules for handling isomac...
7919         * stdlib/Makefile: ...to here.
7921 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7923         * misc/tst-efgcvt.c: Add more tests.
7924         * misc/efgcvt_r.c: Correct result for above new tests.
7926 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
7928         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
7929         NDIGIT <= 0.
7931 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
7933         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
7934         if the programs weren't built.
7936 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
7938         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
7939         FE_TONEAREST, soldier on regardless and do the best we can.
7940         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
7942 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
7944         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
7945         _STDIO_H, before including <bits/stdio_lim.h>.
7947         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
7949         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
7950         exist.
7952         * sysdeps/arm/sys/ucontext.h: New file.
7954 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
7956         * manual/stdio.texi (Formatted Output Functions): Explicitly say
7957         that the return value from snprintf() does not count the
7958         terminating NUL as a character.
7960 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7962         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
7963         add description for sete[ug]id and general cleanup.
7964         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7966 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7968         * Makefile (parent-clean): Don't remove makefile fragments here.
7969         (postclean): New variable.
7970         (clean): Remove makefile fragments here.
7971         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
7972         (generated): Add isomac and isomanc.out.
7973         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
7974         avoid-generated is set.
7975         (postclean-generated): Add soversion.mk.
7976         ($(common-objpfx)version.mk): Don't include if avoid-generated is
7977         set.
7978         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
7979         avoid-generated is set.
7980         (common-generated): Add libc.so and libc.so$(libc.so-version).
7981         (generated): Add versioned libraries.
7982         (common-mostlyclean): Also remove %.so and %_pic.a.
7983         * csu/Makefile (generated): Add abi-tag.h.
7984         * db2/Makefile (extra-objs): Add getlong.o.
7985         * elf/Makefile (generated): Add ld.so, ldd and
7986         $(rtld-installed-name).
7987         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
7988         * malloc/Makefile (generated): Add mtrace.
7989         * po/Makefile: Don't include version.mk, not needed any more.
7990         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
7991         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
7992         syscall.h -> sys/syscall.h.
7993         (common-generated): Add s-proto.d.
7994         (postclean-generated): Add sysd-syscalls.
7995         * localedata/Makefile (test-output): Add all output files.
7996         (generated): Add test-input and test-output.
7997         (generated-dirs): Add all the dirs.
7999 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8001         * Makefile (test-output, generated, generated-dirs): New
8002         variables.
8004 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8006         * resolv/nss_dns/dns-host.c: Various code cleanups.
8008 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8010         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8011         From Philip Blundell <pb@nexus.co.uk>.
8012         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8014 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8016         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8017         Suggested by debian/sparc porters.
8019 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8021         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8022         for ecvt and fcvt.
8024 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8026         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8027         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8029         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8030         defined even if __USE_POSIX is not defined.
8032 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8034         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8035         to support obsolete tty major numbers correctly.
8037 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8039         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8040         directory first and ignore install error.
8042         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8043         128 from ptyno and fix a typo for the BSD style pty.
8045 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8047         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8048         syscalls.list's.
8050 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8052         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8053         getresuid and getresgid.
8055         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8056         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8058         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8059         s_getres[ug]id.
8061         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8062         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8063         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8064         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8066 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8068         * nscd/grpcache.c: Include <stdlib.h>.
8070 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8072         * stdlib/atoll.c: Fix comments.
8074         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8075         * sysdeps/posix/ttyname_r.c: Ditto.
8077 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8079         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8080         __USE_MISC, independent of __USE_UNIX98.
8082 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8084         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8085         Rename from __libc_have_rt_sigs and leave as COMMON data.
8087 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8089         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8090         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8092         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8093         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8094         version symbols.
8095         * include/libc-symbols.h (symbol_version, default_symbol_version):
8096         Provide asm versions and correct !DO_VERSIONING versions.
8097         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8098         the weak symbol list.
8100         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8101         Rename from __libc_have_rt_sigs and leave as COMMON data.
8102         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8103         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8104         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8106 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8108         * sunrpc/Makefile: Correct dependencies of rpcgen.
8110 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8112         * nscd/Makefile: Fix test for available linuxthreads add-on.
8113         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8115 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8117         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8119 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8121         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8123         * manual/errno.texi (Error Messages): Correct description of
8124         strerror_r.  Pointed out by jonas@bagge.se.
8126 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8128         * manual/socket.texi (Host Address Functions): Clarify description
8129         of inet_network.
8131 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8133         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8134         (grantpt): Delete superfluous cast.
8136 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8138         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8139         elf/ldso_install instead of elf/subdir_install.
8140         (elf/ldso_install): New target.
8142         * elf/Makefile (ldso_install): New target.
8144 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8146         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8147         of 1998-01-06.
8149 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8151         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8152         constant expressions.
8154 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8156         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8157         for __nss_configure_lookup.
8158         (output_hostent): Remove unused variable.
8160 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8162         * string/tst-inlcall.c: Fix format string.
8164 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8166         * inet/netinet/in.h: Rename second parameter of bindresvport to
8167         avoid buggy gcc warning. [PR libc/412]
8169 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8171         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8172         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8174         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8175         Follow POSIX and make tv_sec a time_t.
8176         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8177         new tv64 syscall as well as fall back to tv32.
8178         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8179         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8180         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8181         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8182         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8183         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8184         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8185         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8187         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8188         * include/rpcsvc/nis_tags.h: Likewise.
8189         * include/rpcsvc/nislib.h: Likewise.
8191 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8193         * libc.map: Add _h_errno.
8194         * inet/herrno.c: Make _h_errno weak alias.
8196         * login/Makefile (distribute): Add pty-internal.h.
8198         * nscd/Makefile (distribute): Add all the files missing.
8200         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8201         are available.
8203         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8204         and report status at the end.
8206         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8208         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8209         variable.
8210         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8214 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8216         * configure.in: Fix --enable-add-ons code.
8218 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8220         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8221         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8222         [PR libc/441]
8224         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8225         occurence in cache.  Reported by Rudolf Leitgeb
8226         <leitgeb@leland.stanford.edu>.
8227         [PR libc/440]
8229 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8231         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8232         that it never is EINTR (which is tested for in _IO_vfscanf).
8234         * Makefile.in: Call sub-make with CVSOPTS.
8236         * elf/Makefile (distribute): Add dl-procinfo.h.
8238         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8240 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8242         * version.h (VERSION): Bump to 2.0.92.
8244 1998-01-31  Phil Blundell  <philb@gnu.org>
8246         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8247         alias for __new_sys_siglist.
8249 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8251         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8252         getgrgid_r.c if thread package is available.
8253         * pwd/Makefile: Likewise.
8254         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8255         * grp/getgrgid_r.c: Likewise.
8256         * pwd/getpwnam_r.c: Likewise.
8257         * pwd/getpwuid_r.c: Likewise.
8259 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8261         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8262         with error to allow user intervention.
8263         * nss/getXXent_r.c: Likewise.
8265 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8267         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8268         AT_PLATFORM string.  Pretty print AT_BASE info.
8270         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8271         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8272         * sysdeps/generic/dl-procinfo.h: New file.
8273         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8275 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8277         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8279         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8280         thread and not pthread_detach.
8282         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8284 1998-01-31  Phil Blundell  <philb@gnu.org>
8286         * configure.in: Add --without-cvs option to suppress automatic
8287         checkin of regenerated files.
8288         * config.make.in: Likewise.
8289         * Makefile: Respect with-cvs setting.
8290         * Makerules: Likewise.
8292         * configure.in: Allow the standalone ARM port to be configured.
8294 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8296         * grp/getgrgid_r.c: Define USE_NSCD.
8297         * grp/getgrnam_r.c: Likewise.
8298         * pwd/getpwuid_r.c: Likewise.
8299         * pwd/getpwnam_r.c: Likewise.
8301         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8303         * nss/getXXbyYY_r.c: Try at first nscd.
8305         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8306         * nscd/connections.c: New file.
8307         * nscd/dbg_log.c: New file.
8308         * nscd/dbg_log.h: New file.
8309         * nscd/grpcache.c: New file.
8310         * nscd/nscd.c: New file.
8311         * nscd/nscd.h: New file.
8312         * nscd/nscd_conf.c: New file.
8313         * nscd/nscd_stat.c: New file.
8314         * nscd/pwdcache.c: New file.
8316         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8317         * nscd/nscd_getpw_r.c: Likewise.
8318         * nscd/nscd_proto.h: New, prototypes for client functions.
8320         * nscd/nscd.conf: New, example for a configuration file.
8321         * nscd/nscd.init: New, example for a startup script.
8323         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8324         avoid deadlocks.
8325         * nscd/getgrnam_r.c: Likewise.
8326         * nscd/getpwnam_r.c: Likewise.
8327         * nscd/getpwuid_r.c: Likewise.
8329 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8331         * intl/Makefile: Use CVSOPTS in cvs invocation.
8332         * po/Makefile: Likewise.
8333         * posix/Makefile: Likewise.
8334         * stdlib/Makefile: Likewise.
8336 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8338         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8339         [PR libc/410]
8340         * misc/Makefile (tests): Add tst-efgcvt.
8341         * misc/tst-efgcvt.c: New file.
8343 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8345         * posix/regex.c: Add some more cleanups by Akim Demaille.
8347 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8349         * signal/signal.h: Revert last change.
8350         * string/strsignal.c: Regard signal number NSGI as illegal.
8351         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8352         members.
8354 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8356         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8357         * Makerules: Use CVSOPTS in cvs invocation.
8358         * Makefile: Likewise.
8359         * MakeTAGS: Likewise.
8360         * Make-dist: Likewise.
8362 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8364         * sysdeps/generic/memmem.c: Correct last change.
8366 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8368         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8369         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8371 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8373         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8374         before using RPC.
8376 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8378         * manual/memory.texi (Heap Consistency Checking): mcheck is
8379         declared in <mcheck.h>.
8380         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8382 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8384         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8385         beginning of haystack.
8387 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8389         * nss/nss_files/files-service.c: Correct last patch.
8391 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8393         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8394         __libc_have_rt_sigs.
8395         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8396         including <bits/setjmp.h>.
8397         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8398         Patch from the Debian glibc/SPARC package.
8400 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8402         * sysdeps/alpha/bzero.S: Fix a typo.
8403         * sysdeps/alpha/htonl.S: Ditto.
8404         * sysdeps/alpha/htons.S: Ditto.
8406 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8408         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8410 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8412         * include/cpio.h: Move to ...
8413         * posix/cpio.h: ...here.
8415         * locale/programs/ld-collate.c: Fix typo.
8417         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8419         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8421         * login/utmp_file.c (pututline_file): Don't always report success
8422         if similar entry is found.  Patch by Mark M. Kettenis.
8424 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8426         * manual/Makefile: Don't try to install the info files if makeinfo
8427         is not available.
8429 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8431         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8432         kernel's network ioctls, rather than using <linux/sockios.h> to
8433         get them.  This way we are sure of maintaining compatibility if
8434         the kernel interface should change.
8436 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8438         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8440 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8442         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8445 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8447         Implement System V pseudoterminal handling.
8449         * login/Makefile
8450         (routines): Add getpt, grantpt, unlockpt, ptsname.
8451         (libutil-routines): Remove pty. Add openpty, forkpty.
8452         (distribute): New internal header pty-internal.h.
8453         (others): Add the helper program, pt_chown.
8454         (install-others): Install it, in $(libexecdir), mode 4755.
8456         * login/pty-internal.h: New file.
8457         * login/openpty.c: New file.
8458         * login/forkpty.c: New file.
8459         * login/programs/pt_chown.c: New file.
8461         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8462         * stdlib/stdlib.h: Prototype them.
8464         * config.make.in: Define $(libexecdir).
8465         * Makeconfig: Define $(inst_libexecdir).
8467         * sysdeps/generic/pty.c: Removed.
8468         * sysdeps/unix/sysv/linux/pty.c: Removed.
8470         * sysdeps/generic/getpt.c: Stub out.
8471         * sysdeps/generic/grantpt.c: Likewise.
8472         * sysdeps/generic/ptsname.c: Likewise.
8473         * sysdeps/generic/unlockpt.c: Likewise.
8475         * sysdeps/unix/grantpt.c: New file.
8476         * sysdeps/unix/bsd/getpt.c: New file.
8477         * sysdeps/unix/bsd/unlockpt.c: New file.
8478         * sysdeps/unix/sysv/linux/getpt.c: New file.
8479         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8480         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8482 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8484         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8486 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8488         * nss/Makefile (tests): Add rule for test-netdb.c.
8490         * nss/test-netdb.c: New file.
8492 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8494         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8495         really kept as a variable.  Patch by Richard Henderson,
8496         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8498         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8499         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8500         entries as not existing.
8502 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8504         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8505         zero in alternate form with precision of zero, which must produce
8506         "0".  Add braces to avoid ambiguous `else'.
8508 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8510         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8511         problem with strncpy.
8512         * nis/nss_compat/compat-pwd.c: Likewise.
8513         * nis/nss_compat/comapt-spwd.c: Likewise.
8515 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8517         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8518         by uch@nop.or.jp. [PR libc/437]
8520 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8522         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8524 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8526         * stdio-common/test-popen.c: Include <errno.h>.
8528         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8529         close.
8531         * inet/getnetgrent_r.c: Include <errno.h>.
8533         * db2/db/db_conv.c: Include <string.h> for memcpy.
8535         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8536         so that memcpy is declared.
8538         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8540         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8542 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8544         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8545         overflow while reading line with fgets.
8546         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8548 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8550         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8551         unsigned short, not short.
8552         Reported by Andreas Jaeger.
8554 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8556         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8557         (ccept->accept).
8559         * sysdeps/generic/inttypes.h: Fix spelling.
8561 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8563         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8565         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8567 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8569         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8570         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8571         field for hh modifier.
8572         * stdio-common/vfprint.c: Use is_char field and do not depend in
8573         is_short having the value 2.
8574         Bug reported by Andreas Jaeger.
8576 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8578         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8579         PIC && DO_VERSIONING.
8581 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8583         * Rules: Add rules for $(common-objpfx)dummy$o.
8585 1998-01-26  Richard Henderson  <rth@cygnus.com>
8587         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8588         unimplemented OSF/1 definitions so that they are not accidentally seen.
8590         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8591         of the trampoline function into the macro.
8592         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8593         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8594         kernel 2.1.82 has this fixed.
8596         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8597         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8599 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8601         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8602         support sigaction on kernels > 2.1.7x.
8604 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8606         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8607         if it is empty.
8609         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8610         Patch by David Engel <david@sw.ods.com>.
8612         * configure.in: Fix another typo in --enable-add-ons code.
8614 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8616         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8618 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8620         * nss/nss_files/files-network.c: Correct order of parameters for
8621         getnetbyaddr.
8623 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8625         * db2/Makefile (routines): Add os_alloc.
8626         * db2/db.h: Update from db-2.3.16.
8627         * db2/db_185.h: Likewise.
8628         * db2/db_int.h: Likewise.
8629         * db2/btree/bt_close.c: Likewise.
8630         * db2/btree/bt_cursor.c: Likewise.
8631         * db2/btree/bt_delete.c: Likewise.
8632         * db2/btree/bt_open.c: Likewise.
8633         * db2/btree/bt_page.c: Likewise.
8634         * db2/btree/bt_put.c: Likewise.
8635         * db2/btree/bt_rec.c: Likewise.
8636         * db2/btree/bt_recno.c: Likewise.
8637         * db2/btree/btree_auto.c: Likewise.
8638         * db2/common/db_appinit.c: Likewise.
8639         * db2/common/db_apprec.c: Likewise.
8640         * db2/common/db_err.c: Likewise.
8641         * db2/common/db_region.c: Likewise.
8642         * db2/common/db_shash.c: Likewise.
8643         * db2/db/db.c: Likewise.
8644         * db2/db/db_auto.c: Likewise.
8645         * db2/db/db_conv.c: Likewise.
8646         * db2/db/db_dispatch.c: Likewise.
8647         * db2/db/db_dup.c: Likewise.
8648         * db2/db/db_pr.c: Likewise.
8649         * db2/db/db_rec.c: Likewise.
8650         * db2/db185/db185.c: Likewise.
8651         * db2/dbm/dbm.c: Likewise.
8652         * db2/hash/hash.c: Likewise.
8653         * db2/hash/hash_auto.c: Likewise.
8654         * db2/hash/hash_dup.c: Likewise.
8655         * db2/hash/hash_page.c: Likewise.
8656         * db2/hash/hash_rec.c: Likewise.
8657         * db2/include/btree_ext.h: Likewise.
8658         * db2/include/clib_ext.h: Likewise.
8659         * db2/include/common_ext.h: Likewise.
8660         * db2/include/db.h.src: Likewise.
8661         * db2/include/db_185.h.src: Likewise.
8662         * db2/include/db_am.h: Likewise.
8663         * db2/include/db_ext.h: Likewise.
8664         * db2/include/db_int.h.src: Likewise.
8665         * db2/include/hash_ext.h: Likewise.
8666         * db2/include/lock_ext.h: Likewise.
8667         * db2/include/log.h: Likewise.
8668         * db2/include/log_auto.h: Likewise.
8669         * db2/include/log_ext.h: Likewise.
8670         * db2/include/mp.h: Likewise.
8671         * db2/include/mp_ext.h: Likewise.
8672         * db2/include/mutex_ext.h: Likewise.
8673         * db2/include/os_ext.h: Likewise.
8674         * db2/include/os_func.h: Likewise.
8675         * db2/include/txn_ext.h: Likewise.
8676         * db2/lock/lock.c: Likewise.
8677         * db2/lock/lock_util.c: Likewise.
8678         * db2/log/log.c: Likewise.
8679         * db2/log/log.src: Likewise.
8680         * db2/log/log_archive.c: Likewise.
8681         * db2/log/log_auto.c: Likewise.
8682         * db2/log/log_get.c: Likewise.
8683         * db2/log/log_put.c: Likewise.
8684         * db2/log/log_rec.c: Likewise.
8685         * db2/log/log_register.c: Likewise.
8686         * db2/mp/mp_bh.c: Likewise.
8687         * db2/mp/mp_fget.c: Likewise.
8688         * db2/mp/mp_fopen.c: Likewise.
8689         * db2/mp/mp_fput.c: Likewise.
8690         * db2/mp/mp_pr.c: Likewise.
8691         * db2/mp/mp_sync.c: Likewise.
8692         * db2/mutex/mutex.c: Likewise.
8693         * db2/os/os_alloc.c: Likewise.
8694         * db2/os/os_config.c: Likewise.
8695         * db2/os/os_stat.c: Likewise.
8696         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8697         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8698         * db2/progs/db_load/db_load.c: Likewise.
8699         * db2/progs/db_printlog/db_printlog.c: Likewise.
8700         * db2/progs/db_recover/db_recover.c: Likewise.
8701         * db2/progs/db_stat/db_stat.c: Likewise.
8702         * db2/txn/txn.c: Likewise.
8704         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8705         Unmap memory blocks in reverse order of allocation.
8706         Call munmap with load address added to offset.
8707         Bug reported by Miguel de Icaza.
8709         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8710         up weight array.
8712         * localedata/locales/cs_CZ: Update by Michael Mraka
8713         <michael@informatics.muni.cz>.
8715         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8716         __USE_BSD.
8718         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8719         reading line with fgets.
8720         * nis/nss_compat/compat-pwd.c: Likewise.
8721         * nis/nss_compat/compat-spwd.c: Likewise.
8722         * nss/nss_files/files-XXX.c: Likewise.
8723         * nss/nss_files/files-alias.c: Likewise.
8724         * shadow/fgetspent_r.c: Likewise.
8726         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8728         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8729         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8730         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8732         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8733         FP register content in ucontext_t.
8735 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8737         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8738         calculation.  Patch by Markus Schoder
8739         <Markus.Schoder@dresdner-bank.de>.
8741         * math/libm-test.c (modf_test): Add more tests for modf.
8743         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8744         munlock according to Unix98.
8746 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8748         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
8749         AF_INET.
8751 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
8753         * sysdeps/posix/ttyname.c: Handle symbolic links.
8754         * sysdeps/posix/ttyname_r.c: Ditto.
8756 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
8758         * db2/makedb.c (process_input): Write terminating \0 for value.
8759         (print_database): Simply print value string, don't use length.
8761 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8763         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
8764         exit of loop.
8766 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8768         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
8769         close all sockets.
8771 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
8773         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
8774         sigset.
8775         * signal/sighold.c: New file.
8776         * signal/sigrelse.c: New file.
8777         * sysdeps/generic/sigignore.c: New file.
8778         * sysdeps/generic/sigset.c: New file.
8779         * sysdeps/posix/sigignore.c: New file.
8780         * sysdeps/posix/sigset.c: New file.
8781         * signal/signal.h: Add prototypes for new functions.
8783         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
8784         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
8785         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
8786         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
8788 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
8790         * posix/wordexp.c: Added IFS field-splitting in parameter and
8791         command substitution.  Fixed an IFS-related bug that caused an
8792         infinite loop.
8794 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
8796         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
8797         and swapcontext.
8798         * stdlib/ucontext.h: Correct prototypes.
8799         * sysdeps/generic/getcontext.c: New file.
8800         * sysdeps/generic/setcontext.c: New file.
8801         * sysdeps/generic/makecontext.c: New file.
8802         * sysdeps/generic/swapcontext.c: New file.
8803         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
8805 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
8807         * resource/sys/resource.h: Remove #include of ulimit.h which is
8808         not allowed by SUSv2 and not available on other systems.
8809         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
8811         * streams/Makefile: New file.
8812         * streams/stropts.h: New file.
8813         * sysdeps/generic/bits/stropts.h: New file.
8814         * sysdeps/generic/isastream.c: New file.
8815         * sysdeps/generic/getmsg.c: New file.
8816         * sysdeps/generic/getpmsg.c: New file.
8817         * sysdeps/generic/putmsg.c: New file.
8818         * sysdeps/generic/putpmsg.c: New file.
8819         * sysdeps/generic/fattach.c: New file.
8820         * sysdeps/generic/fdetach.c: New file.
8821         * sysdeps/unix/inet/Subdirs: Add streams.
8822         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
8823         __t_uscalar_t.
8824         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8825         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8826         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8827         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8829         * sysdeps/mach/_strerror.c: Follow changes of generic version to
8830         handle small buffers correctly.
8832 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
8834         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8835         Remove the 3rd arg and add declaration for _dl_runtime_resolve
8836         and _dl_runtime_profile.
8838 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
8840         * include/cpio.h: New file.  Mainly copied from GNU cpio.
8841         * posix/Makefile (headers): Add cpio.h.
8843 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8845         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
8846         to routines.
8847         * nis/nis_cache.c: New file.
8848         * nis/nis_cache2.h: New file.
8849         * nis/nis_cache2_xdr.c: New file.
8850         * nis/nis_call.c: Changes for cache2_info parameter.
8851         * nis/nis_checkpoint.c: Likewise.
8852         * nis/nis_intern.h: Likewise.
8853         * nis/nis_mkdir.c: Likewise.
8854         * nis/nis_ping.c: Likewise.
8855         * nis/nis_rmdir.c: Likewise.
8856         * nis/nis_server.c: Likewise.
8857         * nis/nis_util.c: Likewise.
8859 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8861         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
8862         return/errnop codes.
8863         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8864         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8865         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8866         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8867         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8868         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8869         * nis/nss_nisplus/nisplus-rpc.c: Likewise
8870         * nis/nss_nisplus/nisplus-service.c: Likewise.
8871         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8873 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8875         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
8876         * nis/nss_nis/nis-ethers.c: Likewise.
8877         * nis/nss_nis/nis-grp.c: Likewise.
8878         * nis/nss_nis/nis-hosts.c: Likewise.
8879         * nis/nss_nis/nis-network.c: Likewise.
8880         * nis/nss_nis/nis-proto.c: Likewise.
8881         * nis/nss_nis/nis-hosts.c: Likewise.
8882         * nis/nss_nis/nis-network.c: Likewise.
8883         * nis/nss_nis/nis-proto.c: Likewise.
8884         * nis/nss_nis/nis-publickey.c: Likewise.
8885         * nis/nss_nis/nis-pwd.c: Likewise.
8886         * nis/nss_nis/nis-rpc.c: Likewise.
8887         * nis/nss_nis/nis-service.c: Likewise.
8888         * nis/nss_nis/nis-spwd.c: Likewise.
8890 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
8892         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
8893         Added to follow latest kernel development.
8895 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
8897         * nss/db-Makefile: Handle empty and comment lines better.
8898         ($(VAR_DB)/services.db): Generate entries with missing protocol
8899         value.
8901 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8903         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
8904           NULL.
8905           (getservbyname): Allow proto == NULL.
8906           Pointed out by David N. Welton <davidw@gate.cks.com>.
8907           [PR libc/430].
8909 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
8911         * nis/nislib/nislib.h: Finally removed.
8913         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
8914         C compiler.  From Kaveh Ghazi.
8915         (TYPE_MINIMUM): Define.
8916         (TYPE_MAXIMUM): Define.
8917         (TIME_T_MIN): Use TYPE_MINIMUM.
8918         (TIME_T_MAX): Use TYPE_MAXIMUM.
8919         Patch by Jim Meyering <meyering@ascend.com>.
8921 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
8923         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
8924         __pread64, __pwrite64, and __getpid.
8926         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
8927         versions.
8929 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8931         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
8932         cancelable socket functions as __libc_xxx with __xxx as weak
8933         alias.
8934         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8935         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8937         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
8938         redefined.
8939         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8940         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
8941         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
8942         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8944         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
8945         and __xxx a weak alias.
8946         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8947         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8948         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8949         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8950         * sysdeps/unix/sysv/linux/send.S: Likewise.
8951         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8952         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8954 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8956         * locale/langinfo.h: Add defines.
8958         * dirent/dirent.h: Add defines for DT_*, check also for
8959         _DIRENT_HAVE_D_TYPE.
8960         Suggested by Roland McGrath.
8962 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8964         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
8965         Update from Linux 2.1.73+79.
8967         * README.template: Update information about possible
8968         configurations.
8970         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
8971         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8972         [PR libc/417].
8974         * manual/time.texi (Priority): Correct description of
8975         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8976         [PR libc/416].
8978 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
8980         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
8981         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
8983 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
8985         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
8986         Andreas Jaeger.
8988 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
8990         * locale/programs/ld-collate.c: Little optimizations.
8992         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
8994         * string/Makefile (tests): Add tst-inlcall.
8995         * string/tst-inlcall.c: New file.
8997         * string/strsignal.c: Add support for real-time signals.
8999         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9000         presense of small buffer.
9002         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9004         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9005         for i686.
9007         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9008         _NSIG + 1.
9010 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9012         * Rules: Add explicit rule for dummy.o; at least one library needs
9013           it and it isn't autogenerated by the default rules.
9015 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9017         * math/libm-test.c: Tweak epsilons.
9019 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9021         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9022         child.
9023         (feenv_mask_test): Likewise.
9025 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9027         * Makeconfig: Don't export CPPFLAGS.
9029 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9031         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9032         message.
9034 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9036         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9037         terminating null in key size.
9039 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9041         * nss/nss_files/files-service.c: Fix allocation size to include
9042         length of PROTO.
9044         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9045         applicable.  Fix return value and error checking.
9046         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9047         unparsable lines.
9048         (DB_LOOKUP): Allocate space for terminating null byte.
9050         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9051         uids specially.
9053         * db2/makedb.c (process_input): Continue processing if a duplicate
9054         key is encountered.
9056 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9058         * time/tzfile.h: Updated from tzcode1998b.
9059         * time/zdump.c: Likewise.
9060         * time/zic.c: Likewise.
9061         * time/africa: Update from tzdata1998b.
9062         * time/antarctica: Likewise.
9063         * time/asia: Likewise.
9064         * time/australasia: Likewise.
9065         * time/etcetera: Likewise.
9066         * time/europe: Likewise.
9067         * time/leapseconds: Likewise.
9068         * time/northamerica: Likewise.
9069         * time/southamerica: Likewise.
9071 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9073         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9074         lookups ignoring case.
9075         * nss/nss_files/files-network.c: Do network lookups ignoring
9076         case.
9077         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9078         case.
9079         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9080         case insensitive comparing.
9081         Patches by Cristian Gafton <gafton@redhat.com>.
9083 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9085         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9086         by Roland McGrath. [PR libc/395]
9088 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9090         * manual/arith.texi (Parsing of Integers): Correct description of
9091         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9092         [PR libc/396]
9094 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9096         * misc/lsearch.c (lsearch): Return a pointer to the new element
9097         if one was "allocated".
9099 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9101         * string/strsignal.c: NSIG is not a valid index into
9102         _sys_siglist.  Don't zap the last character of the "Unknown
9103         signal" message.
9105 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9107         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9108         ellipsis expressions.
9110         * locale/programs/charset.c (insert_char): Correctly insert value
9111         of eliipsis expression.
9113 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9115         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9116         <bits/setjmp.h>.
9117         * sysdeps/powerpc/setjmp.S: Likewise.
9118         Patches by Matt McLean <keys@keys.got.net>.
9120         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9122         * Makefile: Undo last patch.
9123         (distribute): Add test-installation.pl.
9125         * configure.in: Correct handling of --enable-add-ons without parameter.
9126         Correct address of WWW pages.
9128         * libc.map: Add _nl_domain_bindings.
9130         * db2/mutex/tsl_parisc.s: New file.
9132         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9133         and extra-module.mk.
9135         * localedata/Makefile (distribute): New.  Add all the files.
9137         * stdlib/Makefile (headers): Add inttypes.h.
9138         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9139         * sysdeps/generic/inttypes.h: New file.
9140         * sysdeps/generic/strtoimax.c: New file.
9141         * sysdeps/generic/strtoumax.c: New file.
9142         * sysdeps/generic/wcstoimax.c: New file.
9143         * sysdeps/generic/wcstoumax.c: New file.
9144         * sysdeps/wordsize-32/Dist: Removed.
9145         * sysdeps/wordsize-32/Makefile: Removed.
9146         * sysdeps/wordsize-64/Dist: Removed.
9147         * sysdeps/wordsize-64/Makefile: Removed.
9148         * sysdeps/generic/bits/environments.h: New file.
9150         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9151         header is still not correct.
9153         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9154         * posix/unistd.h: Likewise.
9155         * sysdeps/generic/sys/mman.h: Likewise.
9156         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9158         * manual/arith.texi: Change definition of mul macro.
9159         * manual/math.texi: Likewise.
9161         * misc/Makefile (routines): Add mmap64.
9162         * sysdeps/generic/mmap64.c: New file.
9163         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9164         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9165         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9166         aliases to mmap.
9167         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9169         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9171         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9173         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9175         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9176         FOPEN_MAX also when included by limits.h.
9177         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9179         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9180         and netrom/netrom.h.
9181         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9182         oldsiglist to sysdep_routines, not aux.
9183         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9185         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9186         and SOL_NETROM definition.
9188         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9190         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9191         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9193 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9195         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9197         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9198         sa_handler with k_sa_handler.
9199         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9200         strong alias.
9201         Reported by a sun.
9203         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9204         __libc_have_rt_sigs here.
9205         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9206         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9207         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9208         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9210 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9212         * sysdeps/powerpc/atomicity.h: New file.
9213         * sysdeps/mach/powerpc/machine-lock.h: New file.
9215         * Rules: Use -fpic to build anything that might end up in a users'
9216         shared library.
9218         * sysdeps/powerpc/s_fdim.c: New file.
9219         * sysdeps/powerpc/s_fdimf.c: New file.
9220         * sysdeps/powerpc/s_fmax.S: New file.
9221         * sysdeps/powerpc/s_fmaxf.S: New file.
9222         * sysdeps/powerpc/s_fmin.S: New file.
9223         * sysdeps/powerpc/s_fminf.S: New file.
9224         * sysdeps/powerpc/s_llrint.c: Now is for double.
9225         * sysdeps/powerpc/s_llrintf.c: New file.
9226         * sysdeps/powerpc/s_llround.c: Now is for double.
9227         * sysdeps/powerpc/s_llroundf.c: New file.
9228         * sysdeps/powerpc/s_lrint.c: Now is for double.
9229         * sysdeps/powerpc/s_lrintf.S: New file.
9230         * sysdeps/powerpc/s_lround.c: Now is for double.
9231         * sysdeps/powerpc/s_lroundf.c: New file.
9232         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9233         lrintf, fdim, fdimf.
9235         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9236         file directly, use its parent.
9238         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9239         (for the third time).
9241 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9243         * posix/sched.h: timespec is in <time.h>.
9245         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9247 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9249         * configure.in: Stop with error if --disable-static is used when
9250         the shared lib uses this library.
9252         * gen-FAQ.pl: I've perl installed in /usr/bin.
9254         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9256         Fix Unix98 conformance problems in the headers.
9257         * catgets/nl_types.h: Define nl_item.
9258         * grp/grp.h: Define gid_t.
9259         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9260         * include/nl_types.h: New file.
9261         * include/ulimit.h: New file.
9262         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9263         constants in POSIX mode.
9264         * io/utime.h: Get definition for time_t.
9265         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9266         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9267         * libio/stdio.h: Define va_list.  Make snprintf also available is
9268         __USE_UNIX98.  Declare getopt function and variables.
9269         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9270         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9271         * math/math.h: Defined M_* constants as double for Unix98 mode.
9272         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9273         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9274         * posix/regex.h: Define REG_NOSYS.
9275         * posix/wordexp.h: Define WRDE_NOSYS.
9276         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9277         500 for Unix98.
9278         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9279         somewhere else as well.  Define clock_t for Unix98.
9280         * posix/sys/wait.h: Define pid_t.
9281         * pwd/pwd.h: Define gid_t, uid_t.
9282         * resource/Makefile (headers): Add ulimit.h.
9283         * resource/ulimit.h: New file.
9284         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9285         instead of second argument.
9286         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9287         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9288         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9289         * signal/signal.h: Define pid_t.
9290         * string/string.h: Don't declare BSD string functions in POSIX mode.
9291         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9292         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9293         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9294         and POSIX.
9296         * inet/test_ifindex.c: Change test so that it does not fail for
9297         interface aliases.
9299         * locale/programs/locale.c (show_info): Use correct cast sequence
9300         for 64bit machines.
9302         * malloc/malloc.c: __malloc_initialized now signals three states:
9303         uninitialized, initializing, initialized.  Used in mcheck.
9304         * malloc/mcheck.c (mabort): Add '\n' to messages.
9305         (mcheck): Allow installation when malloc is uninitialized or is
9306         just initializing.
9308         * manual/memory.texi: Explain mtrace output a bit more.
9310         * math/libm-test.c: Add more epsilons.
9312         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9314         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9315         instead of strcpy for security.
9316         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9317         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9318         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9320         * nss/digits_dots.c: Pretty print.
9322         * posix/getconf.c (vars): Add symbols for programming environment
9323         recognition.  Recognize --version.
9325         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9326         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9327         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9329         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9330         __need_FOPEN_MAX.
9331         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9332         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9333         __need_FOPEN_MAX.
9335         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9336         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9338         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9339         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9340         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9341         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9342         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9343         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9345         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9346         SCNu*.
9347         * sysdeps/wordsize-64/inttypes.h: Likewise.
9349         * time/africa: Update from tzdata1997j.
9350         * time/antarctica: Likewise.
9351         * time/asia: Likewise.
9352         * time/australasia: Likewise.
9353         * time/backward: Likewise.
9354         * time/etcetera: Likewise.
9355         * time/europe: Likewise.
9356         * time/factory: Likewise.
9357         * time/northamerica: Likewise.
9358         * time/pacificnew: Likewise.
9359         * time/southamerica: Likewise.
9361         * time/tzfile.h: Update from tzcode1997h.
9362         * time/zic.c: Likewise.
9364         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9365         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9366         isw*() functions for Unix98.
9367         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9368         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9369         is defined.
9371 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9373         * locale/duplocale.c: Increase usage_count only if less than
9374         MAX_USAGE_COUNT.
9375         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9376         MAX_USAGE_COUNT.
9377         * locale/setlocale.c: Likewise.
9379 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9381         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9382         dependency to make it easier to install it selectively.
9384         * Makerules (.SUFFIXES): Don't define any suffixes.
9386 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9388         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9389         * sysdeps/generic/statfs64.c: Emulate using statfs.
9390         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9391         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9392         * sysdpes/generic/ftruncate64.c: New file.
9393         * sysdpes/generic/truncate64.c: New file.
9395         * sysdeps/generic/bits/stat.h: Add LFS support.
9396         * sysdeps/generic/bits/statfs.h: Likewise.
9398         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9399         [__USE_FILE_OFFSET64]: Make long long constant.
9400         (RLIM64_INFINITY): Likewise.
9402         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9403         for LFS support.
9404         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9405         * sysdeps/generic/bits/resource.h: Likewise.
9407         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9409         * include/features.h: Don't prevent LFS support from defining BSD
9410         and SYSV things.
9412         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9413         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9414         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9416         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9417         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9418         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9420         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9421         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9422         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9423         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9424         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9425         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9426         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9427         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9428         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9429         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9430         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9431         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9432         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9433         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9434         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9435         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9436         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9437         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9438         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9439         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9441         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9442         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9443         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9444         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9445         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9447         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9448         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9449         [$(subdir)=dirent]: Add getdents64.
9450         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9452         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9454 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9456         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9458         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9459         * sysdeps/generic/getrlimit64.c: Likewise.
9460         * sysdeps/generic/setrlimit.c: Likewise.
9461         * sysdeps/generic/setrlimit64.c: Likewise.
9463 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9465         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9466         using versioning.
9468         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9470         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9472 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9474         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9475         after the codeset name.
9477 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9479         * libc.map: Add get_kernel_syms.
9481 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9483         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9484         static.
9485         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9486         Likewise.  Fix condition.
9488 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9490         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9492 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9494         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9495         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9497 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9499         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9500         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9501         instead.  Oops.
9503 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9505         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9507 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9509         * math/libm-test.c (catanh_test): Change epsilon.
9510         Reported by H.J. Lu.
9512 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9514         * libc.map (__getpid): Added for linuxthreads.
9516 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9518         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9519         it if gcc uses static variable in DWARF2 unwind information
9520         for exception support.
9522         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9524         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9525         HAVE_DWARF2_UNWIND_INFO_STATIC.
9527         * libc.map (__register_frame*, __deregister_frame*): Make them
9528         global.
9530 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9532         * math/libm-test.c: Add more tests for "normal" values.
9534 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9536         * stdio-common/printf_fphex.c: Fix printing of long double number
9537         with a biased exponent of zero.  Fix rounding.
9539 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9541         * sunrpc/rpc_main.c: Accept new flag -$.
9542         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9544 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9546         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9547         dynamic linker first, in case the interface has changed.
9549 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9551         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9552         order.
9554 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9556         * math/tgmath.h: Check for double first, for architectures where
9557         sizeof (long double) == sizeof (double).
9559 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9561         * math/libm-test.c: New tests for "normal" values added for most
9562         functions.
9564 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9566         * version.h (VERSION): Bump to 2.0.91.
9568         * db2/makedb.c (process_input): Fix typo in message.
9569         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9571         * elf/dynamic-link.h: Pretty print.
9573         * elf/rtld.c: Allow multiple preloading of a shared object.
9575         * include/limits.h: Prevent multiple inclusion.
9577         * malloc/Makefile (headers): Add mcheck.h.
9578         (distribute): Remove it here.
9579         * malloc/mcheck.h: Pretty print.
9580         * malloc/mtrace.c (mallenv): Make `const'.
9581         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9582         are none.
9583         * manual/memory.texi: Update descriptor of malloc hooks.
9585         * posix/Makefile (routines): Add waitid.
9586         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9587         on __id_t.
9588         * posix/sys/wait.h: Define idtype_t type.
9589         Add prototype for waitid.
9590         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9591         * sysdeps/generic/waitid.c: Stub for waitid.
9592         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9593         the __need_siginfo_t defined.
9594         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9595         * sysdeps/generic/bits/types.h: Define __id_t.
9596         Correct definition of __FDMASK.
9597         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9598         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9599         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9601         * sysdeps/posix/waitid.c: New file.
9602         Provided by Zack Weinberg.
9604         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9606         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9607         Add missing parameters.
9609         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9610         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9611         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9612         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9613         initialized.
9615         * sysdeps/i386/dl-machine.h: Little cleanup.
9617         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9618         (__finite): Mark function as const.
9619         Add inline code for __ieee754_atan2.
9621         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9622         (but don't use it now).
9623         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9624         __atan.
9625         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9626         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9627         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9628         real part.
9629         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9630         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9631         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9632         __ieee754_atan2 to base 10.
9633         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9634         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9636         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9637         old_kernel_sigaction.
9639         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9641         * wctype/Makefile (routines): Add wctype_l.
9642         * wctype/wctype.h: Add declaration of __wctype_l.
9643         * wctype/wctype_l.c: New file.
9645 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9647         * locale/C-ctype.c: Correct data for isw* functions.
9648         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9649         byte order.
9650         * wctype/test_wctype.c: Add test for isw* functions.
9651         * wctype/wctype.c: Return value with expected byte order.
9653 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9655         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9657 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9659         * iconvdata/Makefile: Fix a typo.
9661         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9662         oldsiglist for shared library.
9664         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9665         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9667         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9668         sys_siglist, sys_sigabbrev): New file. Make them as the old
9669         version GLIBC_2.0.
9671         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9672         to GLIBC_2.1.
9674 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9676         * libio/iofgets.c (_IO_fgets): Return an error only if there
9677         is a new error.
9678         * libio/iogets.c (_IO_gets): Ditto.
9680 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9682         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9684         * libio/Makefile (routines, shared-only-routines): Add
9685         oldiofdopen.
9687         * libio/fileops.c: Don't use _IO_FILE_complete.
9688         * libio/iofdopen.c: Ditto.
9689         * libio/iofopen.c: Ditto.
9690         * libio/iofopen64.c: Ditto.
9691         * libio/iopopen.c: Ditto.
9692         * libio/iovdprintf.c: Ditto.
9694         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9696         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9697         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9699         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9700         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9702         * libio/libio.h (_IO_FILE): Add more fields.
9703         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9704         one if _IO_USE_OLD_IO_FILE is defined
9705         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9706         them _IO_FILE_complete.
9708         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9709         to adjust vtable.
9710         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9711         _IO_JUMPS.
9712         (_IO_FILE_complete): Commented out.
9714         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9715         * libio/oldiofclose.c: Ditto.
9716         * libio/oldiofopen.c: Ditto.
9717         * libio/oldstdfiles.c: Ditto.
9719         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9720         for the old _IO_FILE.
9722         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9723         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9724         and stderr.
9726         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9727         and remove INAME.
9729         * libio/stdio.c (stdin, stdout, stdin): Don't use
9730         _IO_FILE_complete.
9732         * libio/oldiofdopen.c: New.
9734         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9735         hp->_vtable_offset to 0.
9737 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
9739         * libc.map (_IO_file_open): Added.
9741         * libio/libioP.h (_IO_file_open): Declared.
9743         * libio/fileops.c (_IO_file_open): New.
9744         (_IO_file_fopen): Call _IO_file_open ().
9746         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
9747         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9749 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9751         * signal/signal.h: Fix selection of signal semantics to match
9752         comment.
9754 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9756         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
9757         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
9758         rt_sigreturn.
9759         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9760         [$(subdir)=signal]: Remove rt_sigreturn.
9761         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
9762         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
9763         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
9765 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9767         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
9768         declarations.
9770 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9772         * iconvdata/extra-module.mk: Expand extra-objs now.
9774 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9776         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
9777         inline functions by feature tests to avoid warning about missing
9778         prototype declarations.
9780 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9782         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
9783         return code for non existent +name entries.
9784         * nis/nss_compat/compat-pwd.c: Likewise.
9785         * nis/nss_compat/compat-spwd.c: Likewise.
9787 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
9789         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
9790         (EIO): Likewise.
9791         (ENOSPC): Likewise.
9792         (EEXIST): Likewise.
9793         (__errno_location): Likewise.
9795         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
9797         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
9799 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9801         * sunrpc/publickey.c: Use new NSS interface.
9803 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
9805         * manual/malloc.texi: Document mtrace/muntrace and the concept.
9807 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9809         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
9810         value, to match spirit of the standard.
9811         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
9812         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
9813         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
9815 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9817         * manual/signal.texi (Signal Stack): Remove spurious @item.
9819 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9821         * rt/aio.h: Remove double semicolon.
9823         * rt/librt.map: Add aio_init.
9825 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
9827         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
9828         * Makefile (subdirs): Replace rt by $(rt).
9830         * shlib-versions: Use version .2 for NSS modules.
9832         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
9833         argument.
9834         * pwd/fgetpwent_r.c: Likewise.
9835         * spwd/fgetspent_r.c: Likewise.
9836         * spwd/sgetspent_r.c: Likewise.
9837         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
9838         Store error number in *ERRNOP.  Little optimization.
9839         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
9840         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
9841         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9842         (__internal_getnetgrent_r): New argument.
9843         Call __internal_setnetgrent_reuse with new argument.
9844         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
9845         * inet/netgroup.h: Add argument to prototypes.
9846         * nis/nisplus-parser.h: Likewise.
9847         * nis/nss_compat/compat-grp.c: Change everything to store error
9848         code through provided pointer and not use errno.
9849         * nis/nss_compat/compat-pwd.c: Likewise.
9850         * nis/nss_compat/compat-spwd.c: Likewise.
9851         * nis/nss_nis/nis-alias.c: Likewise.
9852         * nis/nss_nis/nis-ethers.c: Likewise.
9853         * nis/nss_nis/nis-grp.c: Likewise.
9854         * nis/nss_nis/nis-hosts.c: Likewise.
9855         * nis/nss_nis/nis-netgrp.c: Likewise.
9856         * nis/nss_nis/nis-network.c: Likewise.
9857         * nis/nss_nis/nis-proto.c: Likewise.
9858         * nis/nss_nis/nis-publickey.c: Likewise.
9859         * nis/nss_nis/nis-pwd.c: Likewise.
9860         * nis/nss_nis/nis-rpc.c: Likewise.
9861         * nis/nss_nis/nis-service.c: Likewise.
9862         * nis/nss_nis/nis-spwd.c: Likewise.
9863         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9864         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9865         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9866         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9867         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9868         * nis/nss_nisplus/nisplus-network.c: Likewise.
9869         * nis/nss_nisplus/nisplus-parser.c: Likewise.
9870         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9871         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9872         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9873         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9874         * nis/nss_nisplus/nisplus-service.c: Likewise.
9875         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9876         * nss/nss_db/db-XXX.c: Likewise.
9877         * nss/nss_db/db-alias.c: Likewise.
9878         * nss/nss_db/db-netgrp.c: Likewise.
9879         * nss/nss_files/files-XXX.c: Likewise
9880         * nss/nss_files/files-alias.c: Likewise
9881         * nss/nss_files/files-netgrp.c: Likewise
9882         * nss/nss_files/files-parse.c: Likewise
9883         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
9884         parameter of get functions.
9885         * nss/getXXent_r.c: Likewise.
9887         * localedata/tst-fmon.c: Print debug info if test fails.
9889         * rt/Makefile (routines): Add aio_notify.
9890         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
9891         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
9892         * rt/aio_fsync.c: Likewise.
9893         * rt/aio_misc.c: Likewise.
9894         * rt/aio_misc.h: Likewise.
9895         * rt/aio_read.c: Likewise.
9896         * rt/aio_read64.c: Likewise.
9897         * rt/aio_suspend.c: Likewise.
9898         * rt/aio_write.c: Likewise.
9899         * rt/aio_write64.c: Likewise.
9900         * rt/lio_listio.c: Likewise.
9901         * rt/lio_listio64.c: Likewise.
9902         * rt/aio_notify.c: New file.
9904         * sysdeps/generic/bits/sigset.h: Pretty print.
9906         * sysdeps/posix/pwrite.c: Define weak alias only if function is
9907         really defined as __pwrite.
9909         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
9910         instead of pread64.
9911         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9913         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9914         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
9915         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
9916         size in syscall.
9917         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9918         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9919         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
9920         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9921         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9922         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9923         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
9924         for ACT being NULL.
9925         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
9926         RT signals.
9927         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
9928         __NR_pread is not defined.
9929         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
9930         __NR_pwrite is not defined.
9932 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9934         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
9935         handle for /etc/group back in some more cases.
9936         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
9937         handle for /etc/passwd back in some more cases.
9938         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
9939         handle for /etc/shadow back in some more cases.
9941 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
9943         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
9944         beyound its size.
9945         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
9946         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
9948 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
9950         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
9951         handling.  Don't use macros, we need functions.  Use inline functions
9952         for optimization.
9953         * sysdeps/wordsize-64/inttypes.h: Likewise.
9954         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
9955         and wcstoumax.
9956         * sysdeps/wordsize-64/Makefile: Likewise.
9957         * sysdeps/wordsize-32/Dist: Likewise.
9958         * sysdeps/wordsize-64/Dist: Likewise.
9959         * sysdeps/wordsize-32/strtoimax.c: New file.
9960         * sysdeps/wordsize-32/strtoumax.c: New file.
9961         * sysdeps/wordsize-32/wcstoimax.c: New file.
9962         * sysdeps/wordsize-32/wcstoumax.c: New file.
9963         * sysdeps/wordsize-64/strtoimax.c: New file.
9964         * sysdeps/wordsize-64/strtoumax.c: New file.
9965         * sysdeps/wordsize-64/wcstoimax.c: New file.
9966         * sysdeps/wordsize-64/wcstoumax.c: New file.
9968 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
9970         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
9971         that transparent union works.
9972         * sysdeps/generic/wait4.c (__wait4): Likewise.
9973         * sysdeps/generic/wait.c (__wait): Likewise.
9975         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
9976         size_t.
9978         * sysdeps/generic/syscall.c (syscall): Return value and arg are
9979         long, to match prototype.
9981         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
9982         have mremap() yet.
9984         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
9986         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
9988         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
9990         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
9991         __rlim_t.
9993         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
9995         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
9997         * io/sys/stat.h (S_ISLNK): Always false if we don't have
9998         __S_IFLNK.
10000         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10001         <bits/stdio_lim.h>.
10002         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10004 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10006         * posix/sys/wait.h: Don't use transparent unions in C++.
10008 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10010         * time/time.h: Add strfxtime.
10012         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10013         sysv_signal, strfxtime, pread64, pwrite64.
10015 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10017         Alpha changes for EGCS:
10018         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10019         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10020         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10021         (_start): Likewise.
10022         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10024 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10026         The kernel expects the arguments in a different order.
10027         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10028         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10030         * FAQ.in: New file.
10031         * gen-FAQ.pl: New file.
10032         * Makefile (FAQ): Add rule to generate from FAQ.in.
10034         * iconvdata/Makefile: Treat libJIS like the other modules.
10036         * rt/librt.map: New file.
10038         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10039         inclusion.
10040         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10041         comment.
10043 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10045         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10046         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10047         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10048         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10050 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10052         * string/bits/string2.h: Fix spellings.
10054         * string/string.h: Fix spellings.
10056 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10058         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10059         declaration to __syscall_rt_sigaction.
10061         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10062         non-existant <sigcontext.h>.
10064 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10066         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10067         typo.
10069 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10071         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10073         * Makeconfig (shared-thread-library): Correct spelling.
10075         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10076         <asm/pci.h>.
10078 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10080         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10081         constants from Linux headers. Pointed out by
10082         csmall@scooter.o.i.net. [PR libc/369]
10084 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10086         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10088 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10090         * configure.in: If --enable-add-ons is given without an
10091         argument, set the addons list to all subdirs with a configure
10092         script.
10094 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10096         * Makeconfig: Add shared-thread-library variable.
10098         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10099         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10100         here.
10101         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10102         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10103         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10104         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10105         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10106         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10107         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10108         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10109         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10110         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10111         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10112         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10113         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10114         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10115         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10116         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10117         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10118         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10119         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10120         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10121         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10122         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10123         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10124         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10125         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10127         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10128         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10129         * signal/Makefile (headers): Add bits/siginfo.h.
10130         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10131         (distribute): Add testrtsig.h.
10132         * signal/allocrtsig.c: New file.
10133         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10134         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10135         __libc_current_sigrtmax.
10136         * sysdeps/generic/sigqueue.c: New file.
10137         * sysdeps/generic/sigtimedwait.c: New file.
10138         * sysdeps/generic/sigwaitinfo.c: New file.
10139         * sysdeps/generic/testrtsig.h: New file.
10140         * sysdeps/generic/bits/siginfo.h: New file.
10141         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10142         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10143         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10144         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10145         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10146         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10147         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10148         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10149         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10150         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10151         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10152         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10153         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10154         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10155         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10156         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10157         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10158         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10159         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10160         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10161         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10162         and _POSIX_REALTIME_SIGNALS.
10163         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10164         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10165         update _NSIG.
10166         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10167         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10168         definitions.
10170         * Makefile (subdirs): Add rt.
10171         * shlib-versions: Add entry for librt.
10172         * rt/Makefile: New file.
10173         * rt/aio.h: New file.
10174         * rt/aio_cancel.c: New file.
10175         * rt/aio_error.c: New file.
10176         * rt/aio_fsync.c: New file.
10177         * rt/aio_misc.c: New file.
10178         * rt/aio_misc.h: New file.
10179         * rt/aio_read.c: New file.
10180         * rt/aio_read64.c: New file.
10181         * rt/aio_return.c: New file.
10182         * rt/aio_suspend.c: New file.
10183         * rt/aio_write.c: New file.
10184         * rt/aio_write64.c: New file.
10185         * rt/lio_listio.c: New file.
10186         * rt/lio_listio64.c: New file.
10187         * sysdeps/generic/aio_sigqueue.c: New file.
10188         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10189         * sysdeps/unix/sysv/linux/Dist: Add new files
10190         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10191         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10192         rt_sigqueueinfo, rt_sigaction.
10194         * posix/Makefile (headers): Add bits/environments.h.
10195         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10196         and _CS_LFS_CFLAGS on 64bit platforms.
10197         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10198         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10199         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10200         compilation modules.
10201         * sysdeps/wordsize-32/bits/environments.h: New file.
10202         * sysdeps/wordsize-64/bits/environments.h: New file.
10204         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10205         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10206         __libc_pid.
10207         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10208         0xf00baa.
10210         * string/string.h: Add declaration of __strverscmp.
10211         * string/strverscmp.c: Rename function ot __strverscmp and make old
10212         name weak alias.
10214         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10215         * sysdeps/generic/enbl-secure.c: Likewise.
10216         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10218         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10220         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10222 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10224         * posix/sys/wait.h: Use __transparent_union__ instead of
10225         transparent_union.  Reported by Roland McGrath.
10227 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10229         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10230         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10231         [PR libc/366].
10233         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10235         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10237 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10239         * grp/initgroups.c: Increase buffer if it is too small.
10241 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10243         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10244         fields, this is no ISO C.  Reported by Andreas Jaeger.
10246 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10248         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10250 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10252         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10253         _SYS_UTSNAME_H not _UTSNAME_H.
10255 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10257         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10258         computing s_scale.
10260 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10262         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10263         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10264         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10266         * math/libm-test.c (csqrt_test): Add testcase.
10268 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10270         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10271         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10272         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10274 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10276         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10278 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10280         * math/libm-test.c (acos_test): Add more tests.
10281         (asin_test): Likewise.
10282         (atan_test): Likewise.
10283         (exp_test): Likewise.
10284         (sin_test): Likewise.
10285         (sqrt_test): Likewise.
10286         (cpow_test): Likewise.
10287         (csqrt_test): Likewise.
10288         (cexp_test): Correct typo in gcc version test.
10290 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10292         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10293         <bits/setjmp.h>.
10294         * sysdeps/arm/setjmp.S: Likewise.
10296         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10298 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10300         * stdio/stdio.h: Add prototype for tmpfile64().
10302 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10304         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10305         prototype to keep in step with libio version.
10307         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10309 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10311         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10312         cross-compiling.
10314 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10316         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10317         load GOT ptr before jumping to _exit.
10318         Reported by Xavier Leroy.
10320 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10322         * Makefile (subdirs): Add iconvdata and localedata.
10324         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10326         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10328         * iconvdata/8bit-gap.c: New file.
10329         * iconvdata/8bit-generic.c: Renamed from ...
10330         * iconvdata/iso8859-generic.c: ...this.
10331         * iconvdata/configure: Removed.
10332         * iconvdata/Makefile: Add new modules and better rules.
10333         * iconvdata/iso6937.c: Minor bug fixes.
10334         * iconvdata/iso8859-1.c: Likewise.
10335         * iconvdata/t61.c: Likewise.
10336         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10337         Minor bug fixes.
10338         * iconvdata/iso8859-3.c: Likewise.
10339         * iconvdata/iso8859-4.c: Likewise.
10340         * iconvdata/iso8859-5.c: Likewise.
10341         * iconvdata/iso8859-6.c: Likewise.
10342         * iconvdata/iso8859-7.c: Likewise.
10343         * iconvdata/iso8859-8.c: Likewise.
10344         * iconvdata/iso8859-9.c: Likewise.
10345         * iconvdata/iso8859-10.c: Likewise.
10346         * iconvdata/ebcdic-at-de-a.c: New file.
10347         * iconvdata/ebcdic-at-de.c: New file.
10348         * iconvdata/ebcdic-ca-fr.c: New file.
10349         * iconvdata/hp-roman8.c: New file.
10350         * iconvdata/koi-8.c: New file.
10351         * iconvdata/koi8-r.c: New file.
10352         * iconvdata/koi8-h.c: New file.
10353         * iconvdata/latin-greek-1.c: New file.
10354         * iconvdata/latin-greek-1.h: New file.
10355         * iconvdata/latin-greek.c: New file.
10356         * iconvdata/latin-greek.h: New file.
10357         * iconvdata/jis0201.c: New file.
10358         * iconvdata/jis0201.h: New file.
10359         * iconvdata/jis0208.c: New file.
10360         * iconvdata/jis0208.h: New file.
10361         * iconvdata/jis0212.c: New file.
10362         * iconvdata/jis0212.h: New file.
10363         * iconvdata/sjis.c: New file.
10364         * iconvdata/gap.pl: New file.  Script to generate table header.
10365         * iconvdata/gaptab.pl: New file.
10366         * iconvdata/gconv-modules: Add info about new modules.
10368         * locale/programs/charmap.c: Also examine alias names given in charmap
10369         files.
10371         * localedata/*: Add to here from add-on.  We need the information
10372         to generate tables for iconv.
10374         Update from db-2.3.14.
10375         * db2/Makefile: Updated.
10376         * db2/config.h: Likewise.
10377         * db2/db.h: Likewise.
10378         * db2/db_int.h: Likewise.
10379         * db2/btree/bt_cursor.c: Likewise.
10380         * db2/btree/bt_delete.c: Likewise.
10381         * db2/btree/bt_put.c: Likewise.
10382         * db2/btree/bt_search.c: Likewise.
10383         * db2/btree/bt_split.c: Likewise.
10384         * db2/btree/btree_auto.c: Likewise.
10385         * db2/common/db_appinit.c: Likewise.
10386         * db2/common/db_apprec.c: Likewise.
10387         * db2/common/db_err.c: Likewise.
10388         * db2/common/db_region.c: Likewise.
10389         * db2/db/db_auto.c: Likewise.
10390         * db2/db/db_dispatch.c: Likewise.
10391         * db2/db/db_ret.c: Likewise.
10392         * db2/dbm/dbm.c: Likewise.
10393         * db2/hash/hash_auto.c: Likewise.
10394         * db2/include/btree_ext.h: Likewise.
10395         * db2/include/common_ext.h: Likewise.
10396         * db2/include/db.h.src: Likewise.
10397         * db2/include/db_cxx.h: Likewise.
10398         * db2/include/db_ext.h: Likewise.
10399         * db2/include/db_int.h.src: Likewise.
10400         * db2/include/lock.h: Likewise.
10401         * db2/include/log.h: Likewise.
10402         * db2/include/mp.h: Likewise.
10403         * db2/include/mp_ext.h: Likewise.
10404         * db2/include/os_ext.h: Likewise.
10405         * db2/include/os_func.h: Likewise.
10406         * db2/lock/lock.c: Likewise.
10407         * db2/lock/lock_deadlock.c: Likewise.
10408         * db2/log/log.c: Likewise.
10409         * db2/log/log_archive.c: Likewise.
10410         * db2/log/log_auto.c: Likewise.
10411         * db2/log/log_get.c: Likewise.
10412         * db2/log/log_put.c: Likewise.
10413         * db2/mp/mp_bh.c: Likewise.
10414         * db2/mp/mp_fget.c: Likewise.
10415         * db2/mp/mp_fopen.c: Likewise.
10416         * db2/mp/mp_fput.c: Likewise.
10417         * db2/mp/mp_fset.c: Likewise.
10418         * db2/mp/mp_open.c: Likewise.
10419         * db2/mp/mp_pr.c: Likewise.
10420         * db2/mp/mp_region.c: Likewise.
10421         * db2/mp/mp_sync.c: Likewise.
10422         * db2/mutex/README: Likewise.
10423         * db2/mutex/mutex.c: Likewise.
10424         * db2/os/os_open.c: Likewise.
10425         * db2/os/os_func.c: Removed.
10426         * db2/os/os_config.c: New file.
10427         * db2/os/os_spin.c: New file.
10428         * db2/txn/txn.c: Likewise.
10429         * db2/txn/txn_auto.c: Likewise.
10431 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10433         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10434         __typeof for C++ since this fails for class members.
10435         Reported by Neal Becker <neal@ctd.comsat.com>.
10437 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10439         * configure.in: Check for a working makeinfo (3.11 or better).
10440         * config.make.in: Add MAKEINFO to be substituted.
10441         * manual/Makefile: Don't update info if makeinfo is too old.
10443 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10445         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10446         * sysdeps/alpha/__longjmp.S: Likewise.
10447         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10448         not <bits/termios.h>.
10450         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10451         __llseek and make llseek and lseek64 weak aliases.
10452         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10453         Patches by a sun <asun@zoology.washington.edu>.
10455 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10457         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10458         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10459         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10460         * misc/sys/syslog.h: Clean up BSD header.
10462 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10464         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10466         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10467         for ctan(+-inf,x).
10468         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10469         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10471         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10472         csqrt (-1), ctanh(i*pi/4).
10474 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10476         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10478 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10480         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10482 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10484         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10486 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10488         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10489         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10490         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10491         of GETCWD_STORYGE_CLASS and put the return type and the
10492         `internal_function' in the right order for gcc 2.7.2.
10494 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10496         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10497         incompatible with Linux 2.1.x.  Packages using modules
10498         (e.g. modutils) should/do provide their own version.  Suggested by
10499         Richard Henderson.
10501         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10504         [$(subdir)=socket]: Remove sys/module.h.
10506 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10508         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10509         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10511         * iconv/gconv_close.c: Correct freeing of descriptor data.
10512         * iconv/gconv_simple.c: Return correct error values for illegal or
10513         incomplete characters.
10515         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10516         development.
10517         * iconvdata/Makefile: New file.
10518         * iconvdata/configure: Likewise.
10519         * iconvdata/extra-module.mk: Likewise.
10520         * iconvdata/gconv-modules: Likewise.
10521         * iconvdata/iso6937.c: Likewise.
10522         * iconvdata/iso8859-1.c: Likewise.
10523         * iconvdata/iso8859-10.c: Likewise.
10524         * iconvdata/iso8859-10.h: Likewise.
10525         * iconvdata/iso8859-2.c: Likewise.
10526         * iconvdata/iso8859-2.h: Likewise.
10527         * iconvdata/iso8859-3.c: Likewise.
10528         * iconvdata/iso8859-3.h: Likewise.
10529         * iconvdata/iso8859-4.c: Likewise.
10530         * iconvdata/iso8859-4.h: Likewise.
10531         * iconvdata/iso8859-5.c: Likewise.
10532         * iconvdata/iso8859-5.h: Likewise.
10533         * iconvdata/iso8859-6.c: Likewise.
10534         * iconvdata/iso8859-6.h: Likewise.
10535         * iconvdata/iso8859-7.c: Likewise.
10536         * iconvdata/iso8859-7.h: Likewise.
10537         * iconvdata/iso8859-8.c: Likewise.
10538         * iconvdata/iso8859-8.h: Likewise.
10539         * iconvdata/iso8859-9.c: Likewise.
10540         * iconvdata/iso8859-9.h: Likewise.
10541         * iconvdata/iso8859-generic.c: Likewise.
10542         * iconvdata/t61.c: Likewise.
10544         * string/Makefile (routines): Add strcasestr.
10545         * string/string.h: Add prototype for strcasestr.
10546         * sysdeps/generic/strcasestr.c: New file.
10547         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10548         * wcsmbs/wcrtomb.c: Likewise.
10549         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10550         * wcsmbs/wcsnrtombs.c: Likewise.
10551         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10552         partial character is read.
10553         * wcsmbs/wcsrtombs.c: Likewise.
10554         * wcsmbs/wmemrtombs.c: Likewise.
10555         * wcsmbs/wmemrtowcs.c: Likewise.
10557         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10558         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10559         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10560         * sysdeps/i386/elf/setjmp.S: Likewise.
10561         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10562         <bits/termios.h>.
10564         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10565         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10567         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10568         * sysvipc/sys/ipc.h: Likewise.
10569         * sysvipc/sys/msg.h: Likewise.
10570         * sysvipc/sys/sem.h: Likewise.
10571         * sysvipc/sys/shm.h: Likewise.
10573         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10574         used directly.
10575         * sysdeps/alpha/bits/setjmp.h: Likewise.
10576         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10577         * sysdeps/arm/bits/endian.h: Likewise.
10578         * sysdeps/arm/bits/setjmp.h: Likewise.
10579         * sysdeps/generic/bits/byteswap.h: Likewise.
10580         * sysdeps/generic/bits/confname.h: Likewise.
10581         * sysdeps/generic/bits/dirent.h: Likewise.
10582         * sysdeps/generic/bits/dlfcn.h: Likewise.
10583         * sysdeps/generic/bits/endian.h: Likewise.
10584         * sysdeps/generic/bits/fenv.h: Likewise.
10585         * sysdeps/generic/bits/huge_val.h: Likewise.
10586         * sysdeps/generic/bits/in.h: Likewise.
10587         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10588         * sysdeps/generic/bits/ioctls.h: Likewise.
10589         * sysdeps/generic/bits/ipc.h: Likewise.
10590         * sysdeps/generic/bits/msq.h: Likewise.
10591         * sysdeps/generic/bits/poll.h: Likewise.
10592         * sysdeps/generic/bits/resource.h: Likewise.
10593         * sysdeps/generic/bits/sched.h: Likewise.
10594         * sysdeps/generic/bits/sem.h: Likewise.
10595         * sysdeps/generic/bits/setjmp.h: Likewise.
10596         * sysdeps/generic/bits/shm.h: Likewise.
10597         * sysdeps/generic/bits/sigaction.h: Likewise.
10598         * sysdeps/generic/bits/sigcontext.h: Likewise.
10599         * sysdeps/generic/bits/socket.h: Likewise.
10600         * sysdeps/generic/bits/stat.h: Likewise.
10601         * sysdeps/generic/bits/statfs.h: Likewise.
10602         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10603         * sysdeps/generic/bits/termios.h: Likewise.
10604         * sysdeps/generic/bits/time.h: Likewise.
10605         * sysdeps/generic/bits/uio.h: Likewise.
10606         * sysdeps/generic/bits/utmp.h: Likewise.
10607         * sysdeps/generic/bits/utmpx.h: Likewise.
10608         * sysdeps/generic/bits/utsname.h: Likewise.
10609         * sysdeps/generic/bits/waitflags.h: Likewise.
10610         * sysdeps/generic/bits/waitstatus.h: Likewise.
10611         * sysdeps/gnu/bits/utmp.h: Likewise.
10612         * sysdeps/gnu/bits/utmpx.h: Likewise.
10613         * sysdeps/i386/bits/byteswap.h: Likewise.
10614         * sysdeps/i386/bits/endian.h: Likewise.
10615         * sysdeps/i386/bits/huge_val.h: Likewise.
10616         * sysdeps/i386/bits/setjmp.h: Likewise.
10617         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10618         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10619         * sysdeps/m68k/bits/byteswap.h: Likewise.
10620         * sysdeps/m68k/bits/endian.h: Likewise.
10621         * sysdeps/m68k/bits/setjmp.h: Likewise.
10622         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10623         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10624         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10625         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10626         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10627         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10628         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10629         * sysdeps/mips/bits/dlfcn.h: Likewise.
10630         * sysdeps/mips/bits/endian.h: Likewise.
10631         * sysdeps/mips/bits/setjmp.h: Likewise.
10632         * sysdeps/mips/dec/bits/endian.h: Likewise.
10633         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10634         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10635         * sysdeps/mips/p40/bits/endian.h: Likewise.
10636         * sysdeps/powerpc/bits/endian.h: Likewise.
10637         * sysdeps/powerpc/bits/fenv.h: Likewise.
10638         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10639         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10640         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10641         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10642         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10643         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10644         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10645         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10646         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10647         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10648         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10649         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10650         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10651         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10652         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10653         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10654         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10655         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10656         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10657         * sysdeps/unix/common/bits/dirent.h: Likewise.
10658         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10659         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10660         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10661         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10662         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10663         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10664         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10665         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10666         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10667         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10668         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10669         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10670         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10671         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10672         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10673         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10674         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10675         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10676         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10677         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10678         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10679         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10680         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10681         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10682         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10683         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10684         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10685         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10686         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10687         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10688         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10689         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10690         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10691         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10692         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10693         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10694         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10695         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10696         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10697         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10698         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10699         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10700         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10701         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10702         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10703         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10704         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10705         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10706         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10707         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10708         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10709         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10710         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10711         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10712         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10713         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10714         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10715         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10716         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10717         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10718         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10719         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10720         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10721         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10722         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10723         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10724         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10725         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10726         * sysdeps/vax/bits/huge_val.h: Likewise.
10727         * sysdeps/vax/bits/setjmp.h: Likewise.
10728         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10729         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10731 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10733         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10735 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
10737         * strftime.c (strftime):
10738         No longer any need to undef or declare if emacs is defined.
10739         (my_strftime): When checking a -1 returned by mktime, don't blow up
10740         if localtime_r returns NULL.
10742 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10744         * README.template: Fix spelling.
10746 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10748         * configure.in: Enhance --enable-add-ons description a wee bit.
10750 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10752         * glibcbug.in: Add more information of build environment and flags.
10754 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10756         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
10757         it into ENOENT.
10759 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
10761         * elf/dl-support.c: Call __libc_init_secure to make sure
10762         __libc_enable_secure is defined early.
10763         * sysdeps/generic/enbl-secure.c: Change function name to
10764         __libc_init_secure and make it global instead of a constructor.
10766         * iconv/gconv.c: Fix lots of bugs.
10767         * iconv/gconv.h: Likewise.
10768         * iconv/gconv_builtin.h: Likewise.
10769         * iconv/gconv_close.c: Likewise.
10770         * iconv/gconv_conf.c: Likewise.
10771         * iconv/gconv_db.c: Likewise.
10772         * iconv/gconv_dl.c: Likewise.
10773         * iconv/gconv_open.c: Likewise.
10774         * iconv/gconv_simple.c: Likewise.
10775         * iconv/iconv.c: Likewise.
10776         * iconv/iconv_close.c: Likewise.
10777         * iconv/iconv_open.c: Likewise.
10779         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
10780         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
10781         * wcsmbs/wmemrtombs.c: New file.
10782         * wcsmbs/wmemrtowcs.c: New file.
10784 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
10786         * iconv/gconv_simple.c: Fix lots of bugs.
10787         * iconv/iconv_open.c: Normalize names before passing them to
10788         __gconv_open.
10790         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
10792         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
10793         * stdio-common/test-popen.c: Add test for above change.
10795         * math/libm-test.c: Print test results also using %a format,
10796         specified in PRINTF_XEXPR macro.
10797         * math/test-double.c: Define PRINTF_XEXPR.
10798         * math/test-float.c: Likewise.
10799         * math/test-ldouble.c: Likewise.
10800         * math/test-idouble.c: Likewise.
10801         * math/test-ifloat.c: Likewise.
10802         * math/test-ildoubl.c: Likewise.
10804         * stdio-common/vfscanf.c: Recognize a in format specifier only as
10805         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
10806         FP number format.
10808         * stdlib/strtod.c: Little code cleanup.
10810         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
10811         compiling in math subdir.
10813         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
10814         instead of __LIBC_M81_MATH_INLINES.
10815         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10816         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10817         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10818         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10819         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10820         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10821         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10822         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10823         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10824         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10825         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10826         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10827         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10828         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10829         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10830         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10831         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10832         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10833         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10834         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10835         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10836         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10837         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10838         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10839         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
10840         __LIBC_INTERNAL_MATH_INLINES is defined.
10842         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
10843         of compare macros from ISO C 9X.  Optimize generic versions a bit.
10844         Define __signbit inline functions and __ieee754_sqrt which can be
10845         used if the ompiler is fixed.
10847         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
10849 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10851         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
10852         sysdeps/generic in the whole dep file, not only in the first line.
10854 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10856         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
10858 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10860         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
10861         place.
10863 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10865         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
10866         is non-empty.
10868 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
10870         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
10871         return value.
10873 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
10875         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
10876         readlink succeeds but the return value is too long.
10878         * stdio-common/printf_fphex.c: Determine sign of number correctly.
10880 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
10882         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
10883         __remqu for Alpha.
10885 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
10887         * sysdeps/generic/sys/ucontext.h: Stub context file.
10889         * libio/iofprintf.c: Removed.  We use the stdio-common version.
10891         * manual/Makefile (distribute): Add stdio-fp.c.
10893         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
10895         * db2/Makefile (distribute): Add include/os_func.h, README and
10896         mutex/tsl_parisc.s.
10898         * hesiod/Makefile (distribute): Add README.hesiod.
10900 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
10902         * iconv/gconv.c: Correctly call transformation function.
10904         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
10906 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10908         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
10909         wrong results for e.g. remquo (3,2, &x)).
10910         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
10911         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
10913 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10915         * configure.in (ld --version-script): Test if the same symbol
10916         maybe defined in all versions (needed by recent changes to
10917         libc.map and supported with binutils 2.8.1.0.17) and issue warning
10918         if versioning is not supported/enabled.
10919         (bash test): Correct test case.
10921         * math/libm-test.c: Added counting/reporting of number of test cases.
10923         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
10924         use awk instead.
10926         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
10928 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10930         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
10932 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
10934         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
10935         Replace revoke call by use of REVOKE.
10936         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
10937         empty and #include generic version.
10938         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10940 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
10942         * libc.map: Add socket functions with __libc_* names.
10943         Reported by Andreas Jaeger.
10945 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10947         * libc.map: Tidy up (remove duplicates, sort entries).
10949 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10951         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
10953 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
10955         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
10956         again after successful call.
10957         Patch by Marc Lehmann <pcg@goof.com>.
10959 1997-11-17  Paul Eggert  <eggert@twinsun.com>
10961         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
10962         as some hosts need this to declare localtime_r properly.
10964 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
10966         * libc.map: Add iconv_open, iconv, and iconv_close.
10968 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
10970         * iconv/Makefile: New file.
10971         * iconv/gconv.c: New file.
10972         * iconv/gconv.h: New file.
10973         * iconv/gconv_builtin.c: New file.
10974         * iconv/gconv_builtin.h: New file.
10975         * iconv/gconv_close.c: New file.
10976         * iconv/gconv_conf.c: New file.
10977         * iconv/gconv_db.c: New file.
10978         * iconv/gconv_dl.c: New file.
10979         * iconv/gconv_open.c: New file.
10980         * iconv/gconv_simple.c: New file.
10981         * iconv/iconv.c: New file.
10982         * iconv/iconv.h: New file.
10983         * iconv/iconv_close.c: New file.
10984         * iconv/iconv_open.c: New file.
10985         * include/gconv.h: New file.
10987         * Makeconfig: Define gconvdir.
10988         * Makefile (subdirs): Add iconv.
10990         * string/bits/string2.h: Add optimization for strtok_r.
10992         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
10993         for NULL.
10994         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10995         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
10997         * configure.in: Correct test for bash2.
10998         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11000         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11001         (CFLAGS-locfile.c): Likewise.
11002         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11004         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11005         non-existing entry if the table is full.
11007         * posix/regex.h: Pretty print.
11009         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11011         * sysdeps/posix/ctermid.c: Simplify a bit.
11013         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11015 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11017         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11018         <sys/types.h> instead of <asm/types.h>.
11020 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11022         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11024 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11026         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11027         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11028         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11029         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11030         fclose): Added to GLIBC_2.1.
11032         * libio/Makefile (routines, shared-only-routines): Add
11033         oldiofclose.  Remove oldfreopen.
11035         * libio/freopen.c (freopen): When PIC is defined, call
11036         _IO_old_freopen () for old stdio.
11038         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11039         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11040         for GLIBC_2.1.
11042         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11043         instead of _IO_file_close_it.
11045         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11046         to _IO_2_1_stdxxx_.
11047         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11048         is defined.
11050         * libio/libioP.h (_IO_old_do_flush): New.
11052         * libio/oldfileops.c (_IO_old_file_close_it,
11053         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11054         Call _IO_old_do_flush () instead of _IO_do_flush ().
11055         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11056         _IO_do_write ().
11058         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11059         instead of _IO_file_init ().
11060         Bind old symbols to version GLIBC_2.0.
11062         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11063         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11064         _IO_stdxxx_.
11065         (_IO_check_libio): New function in .init.
11067         * libio/oldiofclose.c: New file.
11069         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11070         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11071         (DEF_STDFILE): Don't use default_symbol_version.
11073         * libio/stdio.c (stdin, stdout, stderr): Set to
11074         _IO_2_1_stdxxx_._
11075         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11076         stdxxx.
11078         * csu/Makefile (distribute): Add init.c.
11079         (extra-objs): Add init.o for ELF.
11080         (start-installed-name): Add $(objpfx)init.o.
11082         * csu/init.c: New file.
11084 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11086         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11087         definition as the default.
11089 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11091         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11093 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11095         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11096         (PR 351).
11098 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11100         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11101         to preserve condition codes on function call.
11103 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11105         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11107 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11109         * math/libm-test.c (asin_test): Add epsilon for float.
11110         (tan_test): Add epsilon for float.
11111         (log1p_test): Add epsilon for float.
11112         (inverse_functions): Add epsilons.
11114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11115         net/if_packet.h.
11117         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11119 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11121         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11122         variable, since $(object-suffixes) is not defined yet.
11124 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11126         * db2/Makefile (distribute): db185/db185_int.src ->
11127         db185/db185_int.h.
11129 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11131         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11132         exactly one.
11134 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11136         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11137         name.
11138         * sysdeps/generic/e_acosl.c: Likewise.
11139         * sysdeps/generic/e_asinl.c: Likewise.
11140         * sysdeps/generic/e_atan2l.c: Likewise.
11141         * sysdeps/generic/e_expl.c: Likewise.
11142         * sysdeps/generic/e_fmodl.c: Likewise.
11143         * sysdeps/generic/e_j0l.c: Likewise.
11144         * sysdeps/generic/e_j1l.c: Likewise.
11145         * sysdeps/generic/e_jnl.c: Likewise.
11146         * sysdeps/generic/e_lgammal_r.c: Likewise.
11147         * sysdeps/generic/e_log10l.c: Likewise.
11148         * sysdeps/generic/e_logl.c: Likewise.
11149         * sysdeps/generic/e_powl.c: Likewise.
11150         * sysdeps/generic/e_sqrtl.c: Likewise.
11151         * sysdeps/generic/e_exp2l.c: Likewise.
11153 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11155         * Make-dist (+sysdep-names): Remove extra paren.
11156         * Makefile (distribute): Add stub-tag.h.
11157         * elf/Makefile (distribute): Add atomicity.h.
11158         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11160         [$(subdir)=socket]: Add net/if_packet.h.
11161         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11162         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11163         net/if_packet.h, scsi/sg.h.
11165 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11167         * Makefile (install): Quote $(CC) expansion.
11169 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11171         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11172         working /proc cwd and no restrictions on path length.  Following
11173         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11175 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11177         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11178         * nis/nss_compat/compat-pwd.c: Likewise.
11179         * nis/nss_compat/compat-spwd.c: Likewise.
11181 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11183         * sysdeps/libm-i387/s_fdim.S: New file.
11184         * sysdeps/libm-i387/s_fdimf.S: New file.
11185         * sysdeps/libm-i387/s_fdiml.S: New file.
11186         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11187         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11188         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11190 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11192         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11193         pointer to unsigned char.
11195 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11197         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11199         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11201         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11203 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11205         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11206         ilogb(0/NaN).
11207         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11208         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11210 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11212         * sysdeps/libm-i387/s_fmin.S: New file.
11213         * sysdeps/libm-i387/s_fminf.S: New file.
11214         * sysdeps/libm-i387/s_fminl.S: New file.
11215         * sysdeps/libm-i387/s_fmax.S: New file.
11216         * sysdeps/libm-i387/s_fmaxf.S: New file.
11217         * sysdeps/libm-i387/s_fmaxl.S: New file.
11218         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11219         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11220         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11221         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11222         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11223         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11225 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11227         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11228         * sysdeps/unix/sysv/linux/send.S: Likewise.
11229         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11230         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11231         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11232         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11233         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11234         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11235         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11237 See ChangeLog.7 for earlier changes.