2.9.90-4
[glibc/history.git] / ChangeLog.7
blobcc1a5a79f8039c9c6b129c60e94160bc28086115
1 1997-11-13 20:39  Ulrich Drepper  <drepper@cygnus.com>
3         * sysdeps/m68k/bits/nan.h: Removed.  The generic version is usable.
5 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7         * manual/arith.texi: Fix typo in @ifclear.
9         * manual/arith.texi (Imaginary Unit): Add @end deftypevr.
11 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
13         * sysdeps/libm-ieee754/s_nanl.c (__nanl): Use NAN instead of
14           NANL.
16         * sysdeps/libm-ieee754/s_nanf.c (__nanf): Use NAN instead of
17           NANF.
19 1997-11-13 01:07  Ulrich Drepper  <drepper@cygnus.com>
21         * manual/arith.texi: Update documentation according to most recent
22         ISO C 9X draft.
23         Document fma, fdim, fmin, and fmax.
24         * manual/math.texi: Allow multiple defitino of mul etc.
26         * math/complex.h (I): Define using _Complex_U not _Imaginary_I.
28         * math/libm-test.c: Add tests for fma.
30         * math/math.h: Describe DECIMAL_DIG macro.  Pretty print.
32         * sysdeps/alpha/fpu/bits/mathdef.h: Define INFINITY as of type float.
33         Define DECIMAL_DIG.
34         * sysdeps/generic/bits/mathdef.h: Likewise.
35         * sysdeps/i386/bits/mathdef.h: Likewise.
36         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
37         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
40         * sysdeps/ieee754/bits/nan.h: Define NAN as of type float.
41         * sysdeps/m68k/bits/nan.h. Likewise.  Remove NANF and NANL.
43 1997-11-12 17:50  Ulrich Drepper  <drepper@cygnus.com>
45         * sunrpc/xcrypt.c: Don't process #ident preprocessor instruction.
46         Reported by Philip Blundell <pb@nexus.co.uk>.
48         * string/strndup.c: Use K&R like definition.
50         * sysdeps/unix/sysv/linux/getcwd.c: New file.  Use kernel information
51         instead of longish search for the name.
52         * sysdeps/posix/getcwd.c: Add support for use of the code as a
53         backup solution.
55 1997-11-12 15:31  Philip Blundell  <pb@nexus.co.uk>
57         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYS_ify): Don't add
58         SWI_BASE in twice.
60         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
61         Use correct name to access PC.
63         * sysdeps/unix/arm/sysdep.S: Include <bits/errno.h> not <errnos.h>.
65         * sysdeps/generic/bits/types.h: Add __ino64_t and __off64_t.
66         * sysdeps/generic/bits/stat.h: Add struct stat64.
68 1997-11-12 16:08  Ulrich Drepper  <drepper@cygnus.com>
70         * intl/loadmsgcat.c [_LIBC] (fstat): Don't define as __fstat since
71         now we have a definition as _fxstat.
72         * libio/fileops.c: Likewise.
73         * libio/oldfileops.c: Likewise.
74         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
76 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
78         * sysdeps/wordsize-32/inttypes.h (SIG_ATOMIC_MAX): Correct value.
79         * sysdeps/wordsize-64/inttypes.h (SIG_ATOMIC_MAX): Likewise.
81 1997-11-11  Paul Eggert  <eggert@twinsun.com>
83         Add overflow checking for 64-bit time_t and 32-bit int.
85         * time/time.h (__offtime): Now returns int.
87         * time/offtime.c (__offtime): Return nonzero if successful;
88         check for tm_year overflow.
89         (DIV): New macro.
90         (LEAPS_THRU_END_OF): Handle negative years correctly.
92         * time/tzset.c (__tz_convert): Return NULL if offtime cannot convert.
94         * time/mktime.c (ranged_convert): New function.
95         (ydhms_tm_diff): Return nonzero if TP is null.
96         (__mktime_internal): Handle cases correctly even if they are near or
97         past the limits of time_t values that can be broken down to struct tm.
98         (print_tm, check_result, main): Diagnose localtime failures.
100         * manual/time.texi: Document the fact that localtime returns 0
101         if the time can't be represented.
103 1997-11-12 06:03  Ulrich Drepper  <drepper@cygnus.com>
105         * time/strftime.c (memset_space, memset_zero): Use MEMPCPY, not
106         mempcpy.  Patch by Ken'ichi Handa  <handa@etl.go.jp>.
108         * manual/time.texi: Document %F and %f format for strftime.
110         * manual/arith.texi: Document copysign, nextafter and nan.
112 1997-11-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
114         * test-installation.pl: New file. Tests for some installation
115         problems.
117 1997-11-11 21:30  Ulrich Drepper  <drepper@cygnus.com>
119         * include/sys/stat.h: Define stat, fstat, lstat and *64 variants
120         as macros so the the library compiles correctly even without
121         optimization.
122         * io/fstat.c: Undef fstat.
123         * io/fstat64.c: Undef fstat64
124         * io/lstat.c: Undef lstat.
125         * io/lstat64.c: Undef lstat64
126         * io/stat.c: Undef stat.
127         * io/stat64.c: Undef stat64
128         * io/fts.c: Include <include/sys/stat.h> to get macro definitions.
129         * io/ftw.c: Likewise.
130         * io/getdirname.c: Likewise.
132         * Makefile (install): Run test-installation.pl if possible.
134         * db2/Makefile: Update from db-2.3.12.
135         * db2/db.h: Likewise.
136         * db2/db_int.h: Likewise.
137         * db2/btree/bt_cursor.c: Likewise.
138         * db2/btree/bt_delete.c: Likewise.
139         * db2/btree/bt_open.c: Likewise.
140         * db2/btree/bt_put.c: Likewise.
141         * db2/btree/bt_rec.c: Likewise.
142         * db2/btree/bt_recno.c: Likewise.
143         * db2/btree/bt_search.c: Likewise.
144         * db2/btree/bt_split.c: Likewise.
145         * db2/btree/bt_stat.c: Likewise.
146         * db2/btree/btree.src: Likewise.
147         * db2/btree/btree_auto.c: Likewise.
148         * db2/btree/bt_cursor.c: Likewise.
149         * db2/btree/bt_delete.c: Likewise.
150         * db2/btree/bt_open.c: Likewise.
151         * db2/btree/bt_put.c: Likewise.
152         * db2/btree/bt_rec.c: Likewise.
153         * db2/btree/bt_recno.c: Likewise.
154         * db2/btree/bt_search.c: Likewise.
155         * db2/btree/bt_split.c: Likewise.
156         * db2/btree/bt_stat.c: Likewise.
157         * db2/btree/btree.src: Likewise.
158         * db2/btree/btree_auto.c: Likewise.
159         * db2/common/db_appinit.c: Likewise.
160         * db2/common/db_apprec.c: Likewise.
161         * db2/common/db_byteorder.c: Likewise.
162         * db2/common/db_region.c: Likewise.
163         * db2/db/db.c: Likewise
164         * db2/db/db.src: Likewise
165         * db2/db/db_auto.c: Likewise
166         * db2/db/db_dispatch.c: Likewise
167         * db2/db/db_dup.c: Likewise
168         * db2/db/db_overflow.c: Likewise
169         * db2/db/db_pr.c: Likewise
170         * db2/db/db_rec.c: Likewise
171         * db2/db/db_ret.c: Likewise
172         * db2/db/db_thread.c: Likewise
173         * db2/db185/db185.c: Likewise.
174         * db2/hash/hash.c: Likewise.
175         * db2/hash/hash.src: Likewise.
176         * db2/hash/hash_auto.c: Likewise.
177         * db2/hash/hash_dup.c: Likewise.
178         * db2/hash/hash_page.c: Likewise.
179         * db2/hash/hash_rec.c: Likewise.
180         * db2/include/btree_auto.h: Likewise.
181         * db2/include/btree_ext.h: Likewise.
182         * db2/include/clib_ext.h: Likewise.
183         * db2/include/common_ext.h: Likewise.
184         * db2/include/db.h.src: Likewise.
185         * db2/include/db_am.h: Likewise.
186         * db2/include/db_auto.h: Likewise.
187         * db2/include/db_cxx.h: Likewise.
188         * db2/include/db_ext.h: Likewise.
189         * db2/include/db_int.h.src: Likewise.
190         * db2/include/hash.h: Likewise.
191         * db2/include/hash_auto.h: Likewise.
192         * db2/include/hash_ext.h: Likewise.
193         * db2/include/lock.h: Likewise.
194         * db2/include/lock_ext.h: Likewise.
195         * db2/include/log.h: Likewise.
196         * db2/include/log_ext.h: Likewise.
197         * db2/include/mp.h: Likewise.
198         * db2/include/mp_ext.h: Likewise.
199         * db2/include/mutex_ext.h: Likewise.
200         * db2/include/os_ext.h: Likewise.
201         * db2/include/os_func.h: Likewise.
202         * db2/include/txn.h: Likewise.
203         * db2/include/txn_ext.h: Likewise.
204         * db2/lock/lock.c: Likewise.
205         * db2/lock/lock_deadlock.c: Likewise.
206         * db2/log/log.c: Likewise.
207         * db2/log/log_archive.c: Likewise.
208         * db2/log/log_auto.c: Likewise.
209         * db2/log/log_findckp.c: Likewise.
210         * db2/log/log_get.c: Likewise.
211         * db2/log/log_put.c: Likewise.
212         * db2/log/log_rec.c: Likewise.
213         * db2/log/log_register.c: Likewise.
214         * db2/mp/mp_bh.c: Likewise.
215         * db2/mp/mp_fget.c: Likewise.
216         * db2/mp/mp_fopen.c: Likewise.
217         * db2/mp/mp_fput.c: Likewise.
218         * db2/mp/mp_fset.c: Likewise.
219         * db2/mp/mp_open.c: Likewise.
220         * db2/mp/mp_pr.c: Likewise.
221         * db2/mp/mp_region.c: Likewise.
222         * db2/mp/mp_sync.c: Likewise.
223         * db2/mutex/mutex.c: Likewise.
224         * db2/os/os_abs.c: Likewise.
225         * db2/os/os_dir.c: Likewise.
226         * db2/os/os_fid.c: Likewise.
227         * db2/os/os_fsync.c: Likewise.
228         * db2/os/os_func.c: Likewise.
229         * db2/os/os_map.c: Likewise.
230         * db2/os/os_oflags.c: Likewise.
231         * db2/os/os_open.c: Likewise.
232         * db2/os/os_rpath.c: Likewise.
233         * db2/os/os_rw.c: Likewise.
234         * db2/os/os_seek.c: Likewise.
235         * db2/os/os_sleep.c: Likewise.
236         * db2/os/os_stat.c: Likewise.
237         * db2/os/os_unlink.c: Likewise.
238         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
239         * db2/progs/db_dump/db_dump.c: Likewise.
240         * db2/progs/db_load/db_load.c: Likewise.
241         * db2/progs/db_recover/db_recover.c: Likewise.
242         * db2/progs/db_stat/db_stat.c: Likewise.
243         * db2/txn/txn.c: Likewise.
244         * db2/txn/txn_auto.c: Likewise.
245         * db2/txn/txn_rec.c: Likewise.
246         * db2/os/db_os_abs.c: Removed.
247         * db2/os/db_os_dir.c: Removed.
248         * db2/os/db_os_fid.c: Removed.
249         * db2/os/db_os_lseek.c: Removed.
250         * db2/os/db_os_mmap.c: Removed.
251         * db2/os/db_os_open.c: Removed.
252         * db2/os/db_os_rw.c: Removed.
253         * db2/os/db_os_sleep.c: Removed.
254         * db2/os/db_os_stat.c: Removed.
255         * db2/os/db_os_unlink.c: Removed.
257         * libio/stdio.h (fopen): Add __restrict to parameters.
259         * manual/process.texi (system): Describe behaviour for NULL argument.
261         * stdio-common/printf-parse.h: Parse hh modifier.
262         * stdio-common/vfprintf.c: Handle hh modifier.
263         * stdio-common/vfscanf.c: Likewise.
264         * manual/stdio.texi: Describe hh modifier for scanf/printf.
266         * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I.
267         gcc does no yet know the `imaginary' keyword.
269         * math/test-math.c: Add little test for know gcc bug.
271         * math/tgmath.h: Make complex versions of log10() only available
272         if __USE_GNU.
274         * stdlib/test-canon.c: Fix typo.
276         * sysdeps/generic/setenv.c: Avoid compilation warnings.
277         Reported by Jim Meyering.
279         * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number.
280         * sysdeps/mach/hurd/bits/errno.h: Likewise.
281         * sysdeps/standalone/bits/errno.h: Likewise.
282         * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
284         * sysdeps/i386/i586/memcpy.S: New file.
285         * sysdeps/i386/i586/mempcpy.S: New file.
287         * sysdeps/i386/i586/memset.S: Fix typo.
289         * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC.  Add casts.
291         * sysdeps/posix/system.c: Add comment to explain code.
293         * sysdeps/wordsize-32/inttypes.h: Include <stddef.h> for wchar_t.
294         Define PTRDIFF_{MIN,MAX}, SIG_ATOMIC_{MIN,MAX}, SIZE_MAX,
295         WCHAR_{MIN,MAX}, WINT_{MIN,MAX}.
296         Define wcstoimax, wcstoumax.
297         * sysdeps/wordsize-64/inttypes.h: Likewise.
299         * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined.
300         Declare __wcsto{l,ul,ll,ull}_internal only if not already done.
302         * time/Makefile (routines): Add strfxtime.
303         * time/strftime.c: Implement %F and %f format.
304         * time/strfxtime.c: New file.
305         * time/time.h: Define new types and symbols from ISO C 9X.
307         * time/mktime.c: Little comment correction.
309 1997-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
311         * sysdeps/libm-ieee754/s_sincosl.c: Fix typo.
313         * sysdeps/libm-ieee754/s_tanl.c: Fix typo.
315         * sysdeps/libm-ieee754/s_floorl.c: Correct typos.
317         * sysdeps/libm-ieee754/e_remainderl.c: Replace
318         EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS.
320         * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS
321         by GET_LDOUBLE_WORDS.
323         * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct
324         variable declaration.
325         * sysdeps/libm-ieee754/s_scalblnl.c: Likewise.
327         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function.
329         * math/libm-test.c (sqrt_test): Add test for sqrt (0.25).
330         (asin_test): Add more test.
332 1997-11-10 23:34  Ulrich Drepper  <drepper@cygnus.com>
334         * sysdeps/libm-ieee754/e_asin.c: Add braces to make code clearer
335         and to not confuse the poor compiler.
336         * sysdeps/libm-ieee754/e_asinf.c: Likewise.
337         Reported by vertex@cagent.com.
339 1997-11-10 07:40  H.J. Lu  <hjl@gnu.ai.mit.edu>
341         * stdlib/exit.c (exit): Handle recursive calls to exit ().
343 1997-11-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
345         * sysdeps/m68k/fpu/s_llrint.c: Fixed to take double argument
346         instead of long double.
347         * sysdeps/m68k/fpu/s_llrintf.c: New file.
348         * sysdeps/m68k/fpu/s_llrintl.c: New file.
350         * sysdeps/libm-ieee754/s_llrint.c: Make compilable and fix
351         overflow condition.
352         * sysdeps/libm-ieee754/s_llrintf.c: Fix overflow condition.
353         * sysdeps/libm-ieee754/s_llrintl.c: Likewise.
354         * sysdeps/libm-ieee754/s_llround.c: Likewise.
355         * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
356         * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
357         * sysdeps/libm-ieee754/s_lrint.c: Likewise.
358         * sysdeps/libm-ieee754/s_lrintf.c: Likewise.
359         * sysdeps/libm-ieee754/s_lrintl.c: Likewise.
360         * sysdeps/libm-ieee754/s_lround.c: Likewise.
361         * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
362         * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
364         * math/libm-test.c: Test all three variants of lrint and llrint.
365         Fix typos in lround and llround tests.  Add tests for boundary
366         cases for lrint and llround.
368 1997-11-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
370         * manual/arith.texi: Misc doc fixes.
371         * manual/ctype.texi: Likewise.
372         * manual/pattern.texi: Likewise.
373         * manual/terminal.texi: Likewise.
375 1997-11-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
377         * sysdeps/unix/sysv/linux/xstatconv.c: Use struct assignment
378         instead of memcpy to let the compiler use whatever it regards as
379         optimal.
380         * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Likewise.
382 1997-11-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
385         [$(subdir)=misc]: Add sys/prctl.h.
386         * sysdeps/unix/sysv/linux/Dist: Distribute it.
388 1997-11-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
390         * io/ftwtest-sh: Don't use the unknown which command, instead try
391         pwd as /bin/pwd and /usr/bin/pwd.
393 1997-11-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
395         * manual/maint.texi (Tools for Installation): Don't recommend
396         broken version 3.76.1 of make.
397         (Porting): Fix wording.
399 1997-11-06 06:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
401         * config.make.in (build-pic-default): New, defined with
402         pic_default.
404         * configure.in (pic_default): New, set to yes if PIC is
405         default.
407         * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og,
408         CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes.
410 1997-11-09 18:15  Ulrich Drepper  <drepper@cygnus.com>
412         * Makerules (libc.so): Fix typo.
414         * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
415         definition.  Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
417         * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
418         produce Â±0.0.  Reported by Joe Keane <jgk@jgk.org>.
420         * sysdeps/libm-ieee754/s_ceill.c: Fix typos.
421         * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked.
423 1997-11-06 07:00  H.J. Lu  <hjl@gnu.ai.mit.edu>
425         * sysdeps/unix/sysv/i386/i686/time.S: Removed.
427 1997-11-08 14:07  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
429         * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr.
431         * nis/nis_call.c: Set UDP resend timeout correct.
433         * nis/nss_compat/compat-grp.c: Rewritten to make it faster.
434         * nis/nss_compat/compat-pwd.c: Likewise.
435         * nis/nss_compat/compat-spwd.c: Likewise.
436         * nis/ypclnt.c: Fix UDP resend timeout, fix yp_bind/do_ypcall
437         interaction.
439         * inet/protocols/routed.h: Include sys/socket.h.
440         * inet/protocols/talkd.h: Likewise.
441         * inet/protocols/timed.h: Include rpc/types.h.
442         * sunrpc/rpc/pmap_clnt.h: Include rpc/clnt.h.
444 1997-11-06 01:39  Ulrich Drepper  <drepper@cygnus.com>
446         * Makerules (libc.so): Add missing closing brace.
448 1997-11-05  Brendan Kehoe  <brendan@lisa.cygnus.com>
450         * libio.h (__P): Name its arg `p' instead of `params'.
451         This was added solely to work around problems with
452         the definition of __P in the Solaris math.h header.
454 1997-11-06 00:06  Ulrich Drepper  <drepper@cygnus.com>
456         * argp/argp-help.c: Optimize a bit by using mempcpy.
457         * elf/dl-load.c: Likewise.
458         * elf/dl-lookup.c: Likewise.
459         * inet/rcmd.c: Likewise.
460         * io/ftw.c: Likewise.
461         * libio/fileops.c: Likewise.
462         * libio/genops.c: Likewise.
463         * libio/obprintf.c: Likewise.
464         * nss/nsswitch.c: Likewise.
465         * posix/execvp.c: Likewise.
466         * posix/getopt.c: Likewise.
467         * posix/glob.c: Likewise.
468         * posix/wordexp.c: Likewise.
469         * stdio-common/vfprintf.c: Likewise.
470         * stdlib/canonicalize.c: Likewise.
471         * stdlib/msort.c: Likewise.
472         * string/argz-replace.c: Likewise.
473         * sysdeps/generic/putenv.c: Likewise.
474         * sysdeps/generic/setenv.c: Likewise.
475         * sysdeps/posix/getcwd.c: Likewise.
476         * sysdeps/posix/ttyname.c: Likewise.
477         * sysdeps/posix/writev.c: Likewise.
478         * time/strftime.c: Likewise.
479         * time/tzfile.c: Likewise.
481         * login/utmp_daemon.c: Use memcpy instead of strcpy where possible.
482         * sunrpc/svcauth_des.c: Likewise.
483         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
485         * misc/tsearch.c: Use memcpy return value if possible.
486         * posix/regex.c: Likewise.
487         * sysdeps/unix/readdir_r.c: Likewise.
488         * wcsmbc/wcsdup.c: Likewise.
490         * nss/digits_dots.c: Little optimization.
492         * inet/ruserpass.c (ruserpass): Optimize by using stpcpy.
493         (struct toktab): Make tokstr field a const char *.
495         * elf/dl-profile.c: Fix typo.
497         * inet/ether_ntoh.c: Don't use relative #include path.
498         * inet/gethstbynm.c: Likewise.
499         * resolv/inet_pton.c: Likewise.
500         * shadow/sgetspent_r.c: Likewise.
502         * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write
503         callbacks.  Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
505         * posix/confstr.c: Correct string for _CS_LFS_CFLAGS.
506         Handle _CS_XBS5_* constants.
507         * posix/unistd.h: Add comment describing _XBS5_* constants.
508         * sysdeps/generic/bits/confname.h: Add _CS_XBS5_* constants.
510         * posix/regex.c: Indent preprocessor code.
512         * posix/wordexp.c: Using _itoa_word instead of sprintf.
514         * stdlib/canonicalize.c: Avoid unnecessary copying.  Handle NULL
515         and "" arguments correctly according to SUS.
516         * stdlib/test-canon.c: Test "" and NULL argument handling.
518         * sysdeps/posix/writev.c: Correct condition to leave the loop.
520 1997-11-05 18:13  Ulrich Drepper  <drepper@cygnus.com>
522         * nss/getXXbyYY.c: Set buffer to NULL if realloc fails so that possible
523         next call starts with malloc again.
524         Proposed by Joe Keane <jgk@jgk.org>.
526 1997-11-04 23:57  Ulrich Drepper  <drepper@cygnus.com>
528         * configure.in: Correct gcc -pipe test.
529         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
531         * posix/glob.c: Cleanups.  Patch by H.J. Lu <hjl@lucon.org>.
533 1997-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
535         * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE
536         definition.
538 1997-11-04  Ulrich Drepper  <drepper@cygnus.com>
540         * manual/filesys.texi: Correct description of return value for
541         readdir_r.
542         * sysdeps/unix/readdir_r.c (__readdir_r): Return value of errno
543         not -1 in error case.
544         * sysdeps/generic/readdir_r.c (__readdir_r): Return ENOSYS not -1.
545         Reported by Jim Meyering <meyering@eng.ascend.com>.
547 1997-11-02  Paul Eggert  <eggert@twinsun.com>
549         * strftime.c: Use host's underlying strftime to access
550         locale-specific info.  This is useful e.g. when building GNU
551         Emacs under Solaris 2.6.
552         (weekday_name, month_name): Omit if HAVE_STRFTIME.
553         (my_strftime): New macro, which names the strftime function that
554         this source file produces.
555         (strftime): #undef if emacs is defined; this works around Emacs 20.2's
556         method of compiling with -Dstrftime=emacs_strftime.
557         Also, declare as a function returning size_t, for similar reasons.
558         (my_strftime): If HAVE_STRFTIME, use underlying strftime to handle
559         locale-dependent formats like %a and %Ec.
561 1997-11-02  Paul Eggert  <eggert@twinsun.com>
563         * strftime.c (memcpy_lowcase, memcpy_uppcase, strftime):
564         Ensure that args to islower and isupper are valid unsigned
565         chars, even if char is signed.
567 1997-11-04  Ulrich Drepper  <drepper@cygnus.com>
569         * assert/Makefile (headers): Add assert.h, necessary after patch
570         to Makefiles.
571         * ctype/Makefile (headers): Likewise.
572         * pwd/Makefile (headers): Likewise.
573         * grp/Makefile (headers): Likewise.
574         Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
576 1997-11-04 03:08  Ulrich Drepper  <drepper@cygnus.com>
578         * glibcbug.in: Add information about configured target.
579         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
581         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Be prepared for
582         empty string as `reference_name' parameter.
583         * elf/rtld.c: Don't set real program name in l_name of main object.
585         * manual/creature.texi: Apply Paul Eggert's patch for better
586         _POSIX_C_SOURCE description.
588         * stdlib/strfmon.c: Fix numerous bugs in formatting.
590         * time/strptime.c [%Y]: Treat all years, not only those which fit
591         in time_t.
592         [%Oy]: Really store value.
593         Patches by Paul Eggert.
595         * wcsmbs/wchar.h: Fix documentation bugs.  Declare wcsdup only
596         is __USE_GNU.
598 1997-11-03 02:48  Ulrich Drepper  <drepper@cygnus.com>
600         * sysdeps/generic/bits/errno.h: Remove all error definitions.  This
601         is only meant as a stub.
603 1997-10-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
605         * sysdeps/standalone/bits/errno.h: Copied from
606         sysdeps/generic/bits/errno.h and added all know error codes that
607         are used in glibc.
609 1997-11-03 02:23  Ulrich Drepper  <drepper@cygnus.com>
611         * sysdeps/generic/make_siglist.c: Add comment to clarify use and
612         make sure the correct _NSIG value is used.
613         Patch by Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>.
615 1997-11-03 00:20  Ulrich Drepper  <drepper@cygnus.com>
617         * intl/localealias.c (read_alias_file): Correct handling of line
618         reader which sometimes skipped complete lines (PR 205).
619         Optimize a bit by using mempcpy.
621 1997-11-02 16:59  Philipp Thomas  <kthomas@gwdg.de>
623         * intl/localealias.c (read_alias_file): Correctly set map[].value
624         instead of overwriting map[].alias
626 1997-11-02 15:32  Ulrich Drepper  <drepper@cygnus.com>
628         * libc.map: Add _IO_flockfile and _IO_funlockfile.
629         Suggested by H.J. Lu <hjl@lucon.org>.
631 1997-11-02 15:17  Ulrich Drepper  <drepper@cygnus.com>
633         * elf/dl-error.c (_dl_signal_error): Use _strerror_internal instead
634         of strerror.
635         * assert/assert-perr.c: Use _strerror_internal directly instead of
636         __strerror_r.
637         Suggested by Joe Keane <jgk@jgk.org>.
639 1997-11-01 16:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
641         * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it
642         (PR 245).
644 1997-11-01  Paul Eggert  <eggert@twinsun.com>
646         * time/strptime.c (strptime_internal): Fix bug: %Oy forgot to
647         assign tm_year.  Do not restrict %Y to years less than 2037 even
648         on 32-bit time_t hosts, as strptime returns an int tm_year, not a
649         time_t, and it's possible for programs to use the year without
650         having to use time_t.
652 1997-10-31 23:16  Ulrich Drepper  <drepper@cygnus.com>
654         * posix/glob.c (glob): If calling glob_in_dir for a list which was
655         generated by a glob call disable GLOB_ERR since there might be
656         non-directories in the list (PR 203).
658         * posix/glob.h (GLOB_ONLYDIR): New flag.
659         (__GLOB_FLAGS): Add GLOB_ONLYDIR.
660         * posix/glob.c: Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined.
661         (glob): Add GLOB_ONLYDIR to recursive call to match dirname.
662         (glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test
663         whether they are directories if GLOB_ONLYDIR flag is given.
664         * manual/pattern.texi: Document GLOB_ONLYDIR.
666         * misc/Makefile (tests): Add tst-fdset.
668         * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner.
670         * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c.
671         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
673         * time/strptime.c (strptime_internal): In %y format, regard years
674         >= 69 as of twentieth century, all other as of twenty-first.
676         * time/tzset.c: Correct typo and little optimization.
678 1997-10-31 16:01  Ulrich Drepper  <drepper@cygnus.com>
680         * inet/getnetgrent.c: Allocate buffer dynamically if needed.
681         Suggested by Joe Keane <jgk@jgk.org>.
683 1997-10-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
685         * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when
686         __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true.
688 1997-10-30 05:47  Ulrich Drepper  <drepper@cygnus.com>
690         * misc/mntent.c: Don't use statically allocated buffer.  Allocate
691         it dynamically if necessary.
692         * misc/efgcvt.c: Likewise.
693         Patch by Joe Keane <jgk@jgk.org>.
695         * misc/mntent.c: Allow freeing of allocated buffer in
696         __libc_subfreeres.
697         * misc/efgcvt.c: Likewise.
699         * misc/efgcvt.c: Call correct reentrant functions.
700         Use better values for MAXDIG.
701         * misc/qefgcvt.c: Use better values for MAXDIG.
703 1997-10-29 18:48   Richard Henderson  <rth@cygnus.com>
705         * sysdeps/unix/sysv/linux/Makefile [io]: Add xstatconv.
706         * sysdeps/unix/sysv/linux/alpha/xstatconv.c: New file.  Convert
707         between kernel_stat and the userland version indicated.
708         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
709         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STAT_VER_KERNEL.
711         * sysdeps/unix/sysv/linux/fxstat.c: Defer to __xstat_conv.  Alias
712         to __*xstat64 if requested.
713         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
714         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
716         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Add struct stat64.
717         Increment _STAT_VER, and make struct stat the same.
718         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Add __ino64_t, and
719         __off64_t.  Reorganize.
720         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Add struct glibc2_stat
721         for backward compatibility.  Define XSTAT_IS_XSTAT64.
723         * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file.
724         * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise.
725         * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise.
727         * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For
728         consistency, force d_ino to use ino_t and supply padding.
730 1997-10-29 18:47  Richard Henderson  <rth@cygnus.com>
732         * libio/iofopen.c: Correct weak_alias.
734 1997-10-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
736         * Makerules (install): Correct last patch.
738 1997-10-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
740         * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299).
742 1997-10-29 21:20  Ulrich Drepper  <drepper@cygnus.com>
744         * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write
745         pointers are tied set mode according to current stream mode.
747         * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
748         199506L.
749         Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined.
750         * manual/creature.texi: Describe this.
752         * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto,
753         recv, recvfrom, and recvmsg as cancelation points.
754         * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these
755         functions.
757 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
759         * Make-dist (try-sysdeps): Don't look for stub files anymore.
761         * manual/maint.texi (Porting): Remove another reference to stub
762         directory.
764         * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from
765         generic subdir.
766         * sysdeps/unix/sysv/irix4/reboot.c: Likewise.
767         * sysdeps/unix/sysv/irix4/swapon.c: Likewise
769 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
771         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
772         in all error cases (PR 244).
774 1997-10-29 00:56  Ulrich Drepper  <drepper@cygnus.com>
776         * posix/glob.c: Fix handling of expressions like "*/" (PR 325).
777         Optimize by using mempcpy.
779 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
781         * po/Makefile ($(mo-installed)): Don't fail during installation if
782         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
783         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
785 1997-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
787         * sysdeps/generic/bits/errno.h (ENOMSG): Define it.
788         Pointed out by Klaus Espenlaub
789         <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259).
791 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
793         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
794         zero isn't enough to determine illegal arguments.
795         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
796         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
798 1997-10-28 17:14  Ulrich Drepper  <drepper@cygnus.com>
800         * manual/filesys.texi (S_ISVTX): Describe that it is available with
801         _BSD_SOURCE only.
802         Reported by Jochen Hein <jochen.hein@delphi.central.de>.
804 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
806         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
807         timezone variable.
808         * time/tzset.c (tz_compute): Likewise.
809         Reported by Erik Troan <ewt@redhat.com>.
811 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
813         * manual/filesys.texi: Correct prototype in readdir_r description.
814         Reported by Jim Meyering <meyering@eng.ascend.com>.
816 1997-10-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
818         * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299).
820 1997-10-26 19:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
822         * stdlib/l64a.c: Produce a useful result for n < 0.
823         * stdlib/a64l.c: Use unsigned type for working variable.
824         * manual/string.texi (general): Grammar, typo, overfull fixes.
825         (strlen): Insert warning about sizeof(char *).
826         (a64l, l64a): Make documentation agree with implementation.
828 1997-10-26 18:12  Ulrich Drepper  <drepper@cygnus.com>
830         * libio/genops.c: Partial undo of last patch.
831         * libio/stdfiles.c: Likewise.
832         * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus.
833         * libio/iopopen.c: Likewise.
834         * libio/iovdprintf.c: Likewise.
835         * libio/libio.h: Remove duplicated `;'.
836         * libio/stdio.c: Remove misleading comment.
837         * libio/stdio.h: Declare standard streams as variables.
839         * login/Makefile (distribute): Add README.utmpd.
840         * login/README.utmpd: New file.
841         Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
843         * manual/job.texi: Document tcgetsid.
844         * manual/pattern.texi: Document globfree.
845         * manual/terminal.texi: Document B38400 ... B460800.
847         * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS.
849         * posix/unistd.h: Add explanation of _POSIX_* constants.
851         * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite
852         and __pwrite64.
853         * sysdeps/generic/pread.c: Define as __pread and make pread weak alias.
854         * sysdeps/generic/pread64.c: Likewise.
855         * sysdeps/generic/pwrite.c: Likewise.
856         * sysdeps/generic/pwrite64.c: Likewise.
857         * sysdeps/posix/pread.c: Likewise.
858         * sysdeps/posix/pwrite.c: Likewise.
859         * sysdeps/posix/pread64.c: New file.
860         * sysdeps/posix/pwrite64.c: Likewise.
861         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines):
862         Add s_pread64 and s_pwrite64.
863         * sysdeps/unix/sysv/linux/pread.c: New file.
864         * sysdeps/unix/sysv/linux/pread64.c: New file.
865         * sysdeps/unix/sysv/linux/pwrite.c: New file.
866         * sysdeps/unix/sysv/linux/pwrite64.c: New file.
867         * sysdeps/unix/sysv/linux/s_pread64.c: New file.
868         * sysdeps/unix/sysv/linux/s_pwrite64.c: New file.
869         * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite.
870         * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file.
871         * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file.
872         * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file.
873         * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file.
874         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite
875         with weak aliases for *64 functions.
876         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
878         * string/bits/string2.h: Add casts to allow void * arguments.
880         * sysdeps/i386/i486/bits/string.h: Define index and rindex only if
881         __USE_BSD or __USE_XOPEN_EXTENDED.
883         * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other
884         SCM_* constants from kernel header.
886         * termios/termios.h: Add prototype for tcgetsid.
888 1997-10-26 13:26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
890         * sunrpc/clnt_perr.c: Add trailing '\0' to strings.
892         * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes.
894         * sunrpc/pmap_clnt.c: Use get_myaddress from header file.
896 1997-10-26 05:26  Ulrich Drepper  <drepper@cygnus.com>
898         * configure.in: Punt if any directory mentioned in the
899         enable-add-on parameter does not exist.
901 1997-10-25 19:25  Ulrich Drepper  <drepper@cygnus.com>
903         * termios/Makefile (routines): Add tcgetsid.
904         * termios/tcgetsid.c: New file.
905         Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
907 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
909         * stdlib/stdlib.h: Remove mblen optimization.
910         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
911         Reported by anderson@metrolink.com.
913 1997-10-19 21:51  Wolfram Gloger  <wg@wolfram.dent.med.uni-muenchen.de>
915         * malloc/thread-m.h [_LIBC]:  Use new __libc_internal_tsd_{set,get}
916         interface for thread-specific data.
918 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
920         * elf/dl-addr.c: Use braces for correct logical grouping.
921         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
923 1997-10-18 09:15  Geoff Keating  <geoffk@ozemail.com.au>
925         * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more
926         convenient; that caused this test to break.
928         * sysdeps/powerpc/dl-machine.h: Fix typo.
930         * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers
931         when -msoft-float is in effect, because this causes compilation to
932         stop.
933         * sysdeps/powerpc/bits/mathinlines.h: Likewise.
935         * rpm/template: Add description, use RPM flags rather than the ones
936         used to build the spec.  Build in a temporary directory, not /.
938         * elf/dl-lookup.c: Don't include _itoa.h, it's not used.
939         * elf/dl-minimal.c: Use _itoa_word rather than _itoa.  It seems that
940         _itoa is the only routine that ld.so uses that requires something
941         from libgcc.a on powerpc, so it would be best to avoid it in ld.so.
942         * elf/rtld.c: Likewise.
943         * sysdeps/generic/_strerror.c: Likewise.
944         * stdio-common/_itoa.c: Split out digits strings.
945         * stdio-common/itoa-digits.c: New file.
946         * stdio-common/Makefile: Add itoa-digits.
948 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
950         * manual/filesys.texi (Scanning Directory Content): Document error
951         case more.
953         * dirent/scandir.c (scandir): Ignore errors from select function.
954         Suggested by urbanw@cs.umu.se (closes PR libc/316).
956 1997-10-25 06:18  Ulrich Drepper  <drepper@cygnus.com>
958         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections.
959         Patch by Erik Troan <ewt@redhat.com>.
961 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
963         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
964         matching of version function if both the general (1) and
965         glibc-specific (3) entry are present.
967 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
969         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
971         * nis/libnsl.map: Fix typo.
973         * nis/nis_call.c: Fix memory leak.
975 1997-10-22 19:29  Ulrich Drepper  <drepper@cygnus.com>
977         * sysdeps/generic/memcmp.c: Define __P if not defined before.
978         Patch by Jim Meyering <meyering@eng.ascend.com>.
980 1997-10-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
982         * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch
983         <rgooch@atnf.csiro.au>.
985 1997-10-21 21:50  Ulrich Drepper  <drepper@cygnus.com>
987         * misc/syslog.c (vsyslog): Open console with O_NOCTTY.
988         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
990 1997-10-21 18:07  Ulrich Drepper  <drepper@cygnus.com>
992         * posix/wordexp.c: Improve handling of $... expressions.
993         Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
995 1997-10-21 16:12  Ulrich Drepper  <drepper@cygnus.com>
997         * manual/string.texi: Correct return values of bcopy and bzero.
998         Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>.
1000 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
1002         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
1003         elements in struct msghdr and struct cmsghdr, to keep in step with
1004         the kernel.
1006 1997-10-17 22:29  Ulrich Drepper  <drepper@cygnus.com>
1008         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another
1009         bug in startup code.
1010         Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
1012 1997-10-16 20:17  Richard Henderson  <rth@cygnus.com>
1014         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the
1015         stack and give the kernel a pointer.  Use the sysdep.h macros.
1017 1997-10-17 04:07  Ulrich Drepper  <drepper@cygnus.com>
1019         * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly.
1020         Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
1022 1997-10-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1024         * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo.
1026 1997-10-16 14:50  Ulrich Drepper  <drepper@cygnus.com>
1028         * manual/pattern.texi: Document globfree.
1030 1997-10-15 21:11  Philip Blundell  <Philip.Blundell@pobox.com>
1032         * sysdeps/unix/sysv/linux/net/if_packet.h: New file.
1033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1034         net/if_packet.h.
1036         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for
1037         64Mbps ASH.
1038         (ARPHRD_ETHER): This is used for 100Mbps networks too.
1040 1997-10-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1042         * Makerules (install): Use full pathnames for linker script.
1043         This is to work around a limitation in `ld' while no better solution
1044         is possible.
1046 1997-10-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1048         * malloc/malloc.c (mmap_chunk): Put inline before static in
1049         function definition to avoid compiler warning.
1050         (malloc_extend): Likewise.
1052         * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning.
1054 1997-10-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1056         * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org.
1057         * README.template: Likewise.
1058         * db/makedb.c: Likewise.
1059         * elf/ldd.bash.in: Likewise.
1060         * elf/ldd.sh.in: Likewise.
1061         * intl/locale.alias: Likewise.
1062         * login/programs/utmpd.c: Likewise.
1063         * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list.
1065 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1067         * Rules: Remove all empty.* files.
1068         (shared-only-routines): Correct implementation.
1070 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1072         * sysdeps/libm-ieee754/s_lrintl.c: Make compilable.
1073         * sysdeps/libm-ieee754/s_llrintl.c: Likewise.  Optimized.
1075 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1077         * elf/ldd.bash.in: Only prepend ./ if the file contains no slash
1078         at all.
1079         * elf/ldd.sh.in: Likewise.
1081 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1083         * sysdeps/m68k/sys/ucontext.h: New file.
1085 1997-10-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1087         * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file.
1088         * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file.
1089         * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file.
1091         * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias.
1092         * sysdeps/m68k/fpu/s_scalbnf.c: Adapted.
1093         * sysdeps/m68k/fpu/s_scalbnl.c: Adapted.
1095         * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff.
1096         * sysdeps/m68k/fpu/s_lrintf.c: New file.
1097         * sysdeps/m68k/fpu/s_lrintl.c: New file.
1099         * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln.  Update
1100         lrint and scalbn.
1101         (__m81_inline) [__cplusplus]: Define to __inline.
1103         * math/bits/mathcalls.h: Remove whitespace before second argument
1104         of __MATHDECL.  Add note explaining this.
1106 1997-10-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1108         * manual/arith.texi (Absolute Value): Spelling fix.
1110 1997-10-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1112         * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly
1113         parenthesize the macro parameter.
1115 1997-10-15 06:56  Ulrich Drepper  <drepper@cygnus.com>
1117         * Rules: Remove rules to magically install <subdir>.h headers.
1118         Reported by Mark Kettenis <kettenis@phys.uva.nl>.
1120         * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
1121         * version.c: Likewise.
1122         * catgets/gencat.c: Likewise.
1123         * db2/makedb.c: Likewise.
1124         * locale/programs/locale.c: Likewise.
1125         * locale/programs/localedef.c: Likewise.
1127         * libc.map: Move _IO_list_all back to GLIBC_2.0.
1129         * elf/rtld.c: Provide name of running program to _dl_new_object.
1131         * Rules: Implement shared-only-sources.
1132         * include/libc-symbols.h: Define default_symbol_version.
1133         * libio/Makefile (shared-only-sources): Define.
1134         * libio/freopen.c: Define as default version.
1135         * libio/iofopen.c: Likewise.
1136         * libio/genops.c: Define _IO_list_all here.
1137         * libio/stdfiles.c: Create linked list with public names.
1138         * libio/oldstdfiles.c: Likewise.
1140         * stdio-common/printf.c: Optimize.
1141         * stdio-common/scanf.c: Optimize.
1143         * sysdeps/generic/setfpucw.c: Include #include <...> not "...".
1145         * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
1146         rindex.
1148 1997-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1150         * manual/arith.texi: Spelling fixes.
1151         * manual/conf.texi: Likewise.
1152         * manual/creature.texi: Likewise.
1153         * manual/filesys.texi: Likewise.
1154         * manual/intro.texi: Likewise.
1155         * manual/llio.texi: Likewise.
1156         * manual/math.texi: Likewise.
1157         * manual/message.texi: Likewise.
1158         * manual/pattern.texi: Likewise.
1159         * manual/search.texi: Likewise.
1160         * manual/signal.texi: Likewise.
1161         * manual/socket.texi: Likewise.
1162         * manual/startup.texi: Likewise.
1163         * manual/stdio.texi: Likewise.
1164         * manual/string.texi: Likewise.
1165         * manual/time.texi: Likewise.
1166         * manual/users.texi: Likewise.
1168 1997-10-13 05:25  Ulrich Drepper  <drepper@cygnus.com>
1170         * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
1171         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1172         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1173         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1174         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1175         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1176         * sysdeps/mach/hurd/mmap.c: Likewise.
1177         * sysdeps/generic/mmap.c: Likewise.
1178         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
1179         * sysdeps/mach/munmap.c: Likewise.
1180         * sysdeps/generic/munmap.c: Likewise.
1181         * sysdeps/mach/mprotect.c: Likewise.
1182         * sysdeps/generic/mprotect.c: Likewise.
1183         * sysdeps/generic/msync.c: Likewise.
1184         * sysdeps/generic/madvise.c: Likewise.
1186         * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
1187         subdir.
1189 1997-10-12 20:27  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1191         * sysdeps/stub (all files):  Moved to sysdeps/generic.
1192         * all files using stub_warning: Include <stub-tag.h>.
1193         * include/stub-tag.h: New file, marks stubs in .d files.
1194         * Makerules: Look for stub-tag.h, not sysdeps/stub, when building
1195         <gnu/stubs.h>.
1196         * configure.in: Don't add sysdeps/stub to $sysnames.
1197         * sysdeps/unix/Makefile: Look for generic headers, not stub
1198         headers.
1199         * sysdeps/generic/Makefile: Likewise.
1200         * manual/maint.texi: Delete references to sysdeps/stub.
1201         * INSTALL: Rebuilt.
1202         * configure: Rebuilt.
1204 1997-10-13 03:14  Ulrich Drepper  <drepper@cygnus.com>
1206         * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
1207         _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version.
1208         * include/libc-symbol.h: Define define_symbol.
1209         * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and
1210         oldfreopen.
1211         [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles.
1212         * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field.
1213         * libio/freopen.c: Use versioning.
1214         * libio/iofopen.c: Likewise.  Generate object of type
1215         _IO_FILE_complete.
1216         * libio/iofopen64.c: Generate object of type _IO_FILE_complete.
1217         * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen.
1218         Define _IO_old_freopen.
1219         * libio/libio.h: Remove _offset field from _IO_FILE.  Rename _unused2
1220         field to _old_offset.  Declare _IO_std*_ streams as of type
1221         _IO_FILE_complete.
1222         * libio/libioP.h: Define _IO_FILE_complete.
1223         Declare callbacks for old fileops implementation.
1224         * libio/stdfile.c: Define standard stream of type _IO_FILE_complete.
1225         * libio/stdio.c: Correctly address FILE part of standard streams.
1226         * libio/oldfileops.c: New file.
1227         * libio/oldfreopen.c: New file.
1228         * libio/oldiofopen.c: New file.
1229         * libio/oldstdfiles.c: New file.
1231         * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization.
1233         * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section.
1234         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1235         * sysdeps/libm-i387/s_fma.S: Fix typo.
1236         * sysdeps/libm-i387/s_fmaf.S: Likewise.
1237         * sysdeps/libm-i387/s_fmal.S: Likewise.
1239 1997-10-12 20:14  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1241         * sysdeps/stub/getsid.c: Add a stub_warning.
1242         * sysdeps/stub/mmap.c: Likewise.
1243         * sysdeps/stub/munmap.c: Likewise.
1245 1997-10-12 05:09  Ulrich Drepper  <drepper@cygnus.com>
1247         * libio/Makefile (routines): Remove iofprintf.
1248         * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
1249         * libio/filedoalloc.c: Use _G_stat64 instead of stat.
1250         * libio/fileops.c (_IO_file_open): Change to take extra argument
1251         indicating whether 32 or 64 bit mode is wanted.
1252         * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
1253         * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
1254         * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
1255         * libio/iofgetpos.c: Pretty print.
1256         * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
1258         * manual/conf.texi: Document all the _SC_ and _CS_ constants.
1259         * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
1260         and _FILE_OFFSET_BITS.
1261         * manual/llio.texi: Document truncate and ftruncate.
1262         * manual/stdio.texi: Document positional parameters for printf.
1264         * math/Makefile (headers): Add tgmath.h.
1265         (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
1266         move to ...
1267         (libm-calls): ... here.  Add scalbln, s_nextafterx and s_fma.
1268         * math/libm-test.c (lround_test, llround_test): Test for all FP formats
1269         by using FUNC().
1270         * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
1271         nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
1272         llrintl, lroundf, lroundl, llroundf, and llroundl.
1273         * math/math.h: Document new platform specific macros from mathdef.h.
1274         Remove declaration of lrint, llrint, lround, and llround.
1275         * math/test-double.c: Define TEST_DOUBLE.
1276         * math/test-idouble.c: Likewise.
1277         * math/test-float.c: Define TEST_FLOAT.
1278         * math/test-ifloat.c: Likewise.
1279         * math/tgmath.h: New file.
1280         * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
1281         lround, and llround.
1282         Change second argument of scalbn to `int'.
1283         * sysdeps/libm-ieee754/s_fma.c: New file.
1284         * sysdeps/libm-ieee754/s_fmaf.c: New file.
1285         * sysdeps/libm-ieee754/s_fmal.c: New file.
1286         * sysdeps/libm-i387/s_fma.S: New file.
1287         * sysdeps/libm-i387/s_fmaf.S: New file.
1288         * sysdeps/libm-i387/s_fmal.S: New file.
1289         * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
1290         * sysdeps/libm-i387/s_lrint.S: Likewise.
1291         * sysdeps/libm-i387/s_llrintf.S: New file.
1292         * sysdeps/libm-i387/s_llrintl.S: New file.
1293         * sysdeps/libm-i387/s_lrintf.S: New file.
1294         * sysdeps/libm-i387/s_lrintl.S: New file.
1295         * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
1296         80bit double.
1297         * sysdeps/libm-ieee754/s_lrint.c: Likewise.
1298         * sysdeps/libm-ieee754/s_llrintf.c: New file.
1299         * sysdeps/libm-ieee754/s_llrintl.c: New file.
1300         * sysdeps/libm-ieee754/s_lrintf.c: New file.
1301         * sysdeps/libm-ieee754/s_lrintl.c: New file.
1302         * sysdeps/libm-i387/s_scalbln.c: New file.  Empty file.
1303         * sysdeps/libm-i387/s_scalblnf.c: New file.  Empty file.
1304         * sysdeps/libm-i387/s_scalblnl.c: New file.  Empty file.
1305         * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
1306         * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
1307         * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
1308         * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
1309         80bit double.
1310         * sysdeps/libm-ieee754/s_lround.c: Likewise.
1311         * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
1312         * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
1313         * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
1314         * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
1315         * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
1316         * sysdeps/libm-ieee754/s_nextafterx.c: New file.
1317         * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
1318         * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
1319         * sysdeps/libm-ieee754/s_scalbln.c: New file.
1320         * sysdeps/libm-ieee754/s_scalblnf.c: New file.
1321         * sysdeps/libm-ieee754/s_scalblnl.c: New file.
1322         * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
1323         * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
1324         * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
1326         * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
1327         by #ifdefs since they are duplicated in inttypes.h.
1328         * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
1329         strtoumax plus needed declarations.
1331         * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
1333 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1335         * locale/programs/locfile.c (locfile_read): Correct while loop.
1337         * db2/makedb.c (main): Add missing parameter for error output.
1338         (process_input): Likewise.
1340         * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
1342 1997-10-12 05:05  Ulrich Drepper  <drepper@cygnus.com>
1344         * libc-map: Add __bzero, __mempcpy.
1346 1997-10-10 18:51  David S. Miller  <davem@tanya.rutgers.edu>
1348         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
1349         on kernel_termios.h
1351 1997-10-09  10:24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1353         Add the changes from the Solaris 2.6 header files, use the new public
1354         defines/functions.
1355         * nis/nis_addmember.c: Updated.
1356         * nis/nis_checkpoint.c: Updated.
1357         * nis/nis_creategroup.c: updated.
1358         * nis/nis_destroygroup.c: Updated.
1359         * nis/nis_getservlist.c: Updated.
1360         * nis/nis_ismember.c: Updated.
1361         * nis/nis_lookup.c: Updated.
1362         * nis/nis_modify.c: Updated.
1363         * nis/nis_ping.c: Updated.
1364         * nis/nis_print.c: Updated.
1365         * nis/nis_print_group_entry.c: Updated.
1366         * nis/nis_remove.c: Updated.
1367         * nis/nis_removemember.c: Updated.
1368         * nis/nis_xdr.c: Updated.
1369         * nis/nss_nisplus/nisplus-alias.c: Updated.
1370         * nis/nss_nisplus/nisplus-ethers.c: Updated.
1371         * nis/nss_nisplus/nisplus-hosts.c: Updated.
1372         * nis/nss_nisplus/nisplus-network.c: Updated.
1373         * nis/nss_nisplus/nisplus-parser.c: Updated.
1374         * nis/nss_nisplus/nisplus-proto.c: Updated.
1375         * nis/nss_nisplus/nisplus-rpc.c: Updated.
1376         * nis/nss_nisplus/nisplus-service.c: Updated.
1377         * nis/rpcsvc/nis.h: Updated.
1378         * nis/rpcsvc/nis.x: Updated.
1379         * nis/rpcsvc/nis_object.x: Updated.
1380         * nis/rpcsvc/nis_tags.h: Updated.
1381         * nis/rpcsvc/nislib.h: Updated.
1383         * nis/lckcache.c: Removed, since Sun has dropped the directory
1384         signatures.  The old cache version is now a security risk and not
1385         longer supported by Sun.
1386         * nis/nis_cache.c: Likewise.
1387         * nis/rpcsvc/nis_cache.h: Likewise.
1388         * nis/rpcsvc/nis_cache.x: Likewise.
1390         * nis/nis_call.c: Remove calls to the cache functions.
1392         * nis/libnsl.map: Remove cache and depending functions.
1393         * nis/nis_intern.h: Likewise.
1395         * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
1396         * nis/nis_domain_of.c: Likewise.
1397         * nis/nis_domain_of_r.c: Likewise.
1398         * nis/nis_error.c: Likewise.
1399         * nis/nis_file.c: Likewise.
1400         * nis/nis_local_names.c: Likewise.
1401         * nis/nis_mkdir.c: Likewise.
1402         * nis/nis_rmdir.c: Likewise.
1403         * nis/nis_subr.c: Likewise.
1404         * nis/nis_verifygroup.c: Likewise.
1406         * nis/nis_clone.c: Removed, replaced by ...
1407         * nis/nis_clone_dir.c: New.
1408         * nis/nis_clone_obj.c: New.
1409         * nis/nis_clone_res.c: New.
1410         * nis/nis_table.c: Fixed bugs shown through the new clone functions.
1412         * nis/nis_defaults.c: Fixed a lot of race conditions.
1414         * nis/nis_free.c: Rewritten.
1416         * sunrpc/auth_des.c: Fix use of free'ed pointer.
1418         * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
1419         lckcache.  Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
1421 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1423         * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
1425 1997-10-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1427         * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
1428         be empty.
1430 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
1432         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1433         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1434         struct and not a pointer.  Little optimizations.
1436 1997-10-09 05:00  Ulrich Drepper  <drepper@cygnus.com>
1438         * sysdeps/stub/getenv.c: Remove unused file.
1439         * sysdeps/stub/lxstat.c: Likewise.
1440         * sysdeps/stub/morecore.c: Likewise.
1441         * sysdeps/stub/putenv.c: Likewise.
1442         * sysdeps/stub/sbrk.c: Likewise.
1443         * sysdeps/stub/setenv.c: Likewise.
1444         * sysdeps/stub/sysd-stdio.c: Likewise.
1445         * sysdeps/stub/sysdep.h: Likewise.
1446         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1448 1997-10-09 04:58  Ulrich Drepper  <drepper@cygnus.com>
1450         * configure.in: Add __bzero definition to DWARF2 unwind test.
1451         Reported by David S. Miller <davem@caip.rutgers.edu>.
1453 1997-10-07  Paul Eggert  <eggert@twinsun.com>
1455         * intl/loadmsgcat.c (_nl_load_domain):
1456         Fix &&/|| typo when checking file size.
1457         Check for overflow when stuffing off_t into size_t.
1459 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
1461         * time/africa: Update from tzdata1997i.
1463 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1465         * posix/globtest.sh: Add arguments for name of dynamic linker and
1466         call dynamic linker to execute globtest.
1468         * posix/Makefile (tests): Supply arguments to globtest.sh.
1470 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1472         * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
1474 1997-10-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1476         * libc.map: Add mempcpy, prctl.
1478 1997-09-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1480         * sysdeps/generic/memcmp.c: Avoid warnings.
1481         * sysdeps/generic/memset.c: Likewise.
1482         * sysdeps/generic/strchr.c: Likewise.
1483         * sysdeps/generic/strlen.c: Likewise.
1485 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1487         * malloc/Makefile ($(objpfx)mtrace): Fix typo.
1489 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1491         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
1492         The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
1493         the addend, Richard.
1494         (elf_machine_fixup_plt): Don't add the addend.
1495         (elf_machine_plt_value): New function.
1497         * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
1498         function.
1499         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
1500         function.
1501         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
1502         function.
1503         * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
1504         function.
1505         * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
1506         function.
1508         * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
1509         addend, instead let the machine dependent setup decide.
1511 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1513         * sysdeps/m68k/m68020/bits/string.h: New file.
1515 1997-10-07 04:27  Richard Henderson  <rth@cygnus.com>
1517         * Makeconfig (+includes): Add -I$(objpfx).
1519         * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
1521         * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp.  Make
1522         the former a strong symbol and the later a weak alias.
1523         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1524         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1526 1997-10-06 21:01  David S. Miller  <davem@tanya.rutgers.edu>
1528         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
1529         64-bits.
1530         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
1531         member 64-bits as well, to match the kernel.
1533 1997-10-06 19:35  Ulrich Drepper  <drepper@cygnus.com>
1535         * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
1536         Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1538 1997-10-06 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1540         * time/README: Correct list of files from tzcode package.  Add
1541         contact information for tzcode/tzdata maintainers.  Correct
1542         spelling of author's name.  Compact lists.
1544 1997-10-06 01:48  Ulrich Drepper  <drepper@cygnus.com>
1546         * malloc/malloc.h: Remove hook definition without caller argument.
1547         * malloc/malloc.c: Likewise.
1549         * string/tester.c: Correct strsep test.
1551         * string/bits/string2.h: Define __string2_1bptr_p and use it.
1552         Patch by David S. Miller <davem@tanya.rutgers.edu>.
1554         * math/Makefile (routines): Add s_clog10.
1555         * math/libm-test.c: Add test for clog10.
1556         * math/libm.map: Add clog10{,f,l}.
1557         * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
1558         * sysdeps/libm-ieee754/s_clog10.c: New file.
1559         * sysdeps/libm-ieee754/s_clog10f.c: New file.
1560         * sysdeps/libm-ieee754/s_clog10l.c: New file.
1561         * manual/math.texi: Describe clog10.
1563         * config.h.in: Add USE_REGPARMS and define internal_function based on
1564         this.
1565         * configure.in: Define USE_REGPARMS for ix86 machines.
1566         * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
1567         as internal functions.
1568         * inet/getnameinfo.c: Likewise for  nrl_domainname.
1569         * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
1570         * inet/rcmd.c: Likewise for __icheckhost.
1571         * intl/dcgettext.c: Likewise for category_to_name and
1572         guess_category_value.
1573         * intl/localealias.c: Likewise for read_alias_file.
1574         * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
1575         fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
1576         * libio/genops.c: Likewise for save_for_backup.
1577         * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
1578         main_trim, heap_trim): Likewise.
1579         * malloc/mtrace.c (tr_where): Likewise.
1580         * misc/fstab.c (mnt2fs): Likewise.
1581         * misc/getttyent.c (skip, value): Likewise.
1582         * misc/syslog.c (openlog_internal): Likewise.
1583         * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
1584         * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
1585         nss_parse_service_list, nss_new_service): Likewise.
1586         * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
1587         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1588         * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
1589         * resolv/res_init.c (res_setoptions): Likewise.
1590         * stdio-common/printf_fp.c (group_number): Likewise.
1591         * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
1592         * stdlib/fmtmsg.c (internal_addseverity): Likewise.
1593         * sunrpc/auth_des.c (synchronize): Likewise.
1594         * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1595         * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1596         * sunrpc/key_call.c (key_call): Likewise.
1597         * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
1598         * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1599         * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
1600         Likewise.
1601         * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
1602         set_input_fragment, get_input_bytes): Likewise.
1603         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
1604         phys_pages_info): Likewise.
1605         * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
1606         * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
1607         * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
1608         Likewise.
1609         * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
1610         Likewise.
1611         * time/strptime.c (strptime_internal): Likewise.
1612         * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
1613         * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
1615         * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
1617         * ctype/ctype.h: Pretty print.
1618         * grp/grp.h: Likewise.
1619         * include/libc-symbols.h: Likewise.
1620         * include/limits.h: Likewise.
1621         * include/values.h: Likewise.
1622         * io/fcntl.h: Likewise.
1623         * io/sys/stat.h: Likewise.
1624         * libio/stdio.h: Likewise.
1625         * malloc/malloc.h: Likewise.
1626         * misc/err.h: Likewise.
1627         * misc/regexp.h: Likewise.
1628         * misc/sys/cdefs.h: Likewise.
1629         * misc/sys/file.h: Likewise.
1630         * posix/sys/utsname.h: Likewise.
1631         * posix/sys/wait.h: Likewise.
1632         * pwd/pwd.h: Likewise.
1633         * resolv/netdb.h: Likewise.
1634         * signal/signal.h: Likewise.
1635         * stdlib/stdlib.h: Likewise.
1636         * string/endian.h: Likewise.
1637         * string/memory.h: Likewise.
1638         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1639         * sysdeps/mach/hurd/sys/param.h: Likewise.
1640         * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
1641         * termios/termios.h: Likewise.
1642         * wcsmbs/wchar.h: Likewise.
1643         * wctype/wctype.h: Likewise.
1645         * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
1647         Implement Large File Support API.
1648         * include/features.h: Add suuport for _LARGEFILE_SOURCE,
1649         _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
1650         * libc.map: Add new functions for LFS.
1651         * dirent/Makefile (routines): Add readdir64 and readdir64_r.
1652         * dirent/dirent.h: Update readdir prototype for LFS and add new
1653         prototypes for above functions.
1654         * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
1655         statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
1656         * io/creat64.c: New file.
1657         * io/fstat64.c: New file.
1658         * io/lstat64.c: New file.
1659         * io/stat64.c: New file.
1660         * io/ftw64.c: New file.
1661         * io/ftw.c: Rewrite to allow easy definition of ftw64.
1662         * io/ftw.h: Add LFS interface.
1663         * io/fcntl.h: Likewise.
1664         * io/sys/stat.h: Likewise.
1665         * io/sys/statfs.h: Likewise.
1666         * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
1667         freopen64, fseeko64, and ftello64.
1668         * libcio/fseeko64.c: New file.
1669         * libio/ftello64.c: New file.
1670         * libio/iofgetpos64.c: New file.
1671         * libio/iofopen64.c: New file.
1672         * libio/iofsetpos64.c: New file.
1673         * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
1674         (_IO_file_attach): Likewise.
1675         (_IO_do_write): Likewise.
1676         (_IO_file_sync): Likewise.
1677         (_IO_file_seek): Likewise.
1678         (_IO_file_seekoff): Likewise.  Use _G_stat64.
1679         (_IO_file_fopen64): New function.
1680         (_IO_file_jumps): Initialize showmanyc and imbue.
1681         * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
1682         (_IO_default_seekoff): Likewise.
1683         (_IO_default_seek): Likewise.
1684         (_IO_default_showmanyc, _IO_default_imbue): New functions.
1685         * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
1686         * libio/iolibio.h: Add prototypes for LFS functions.
1687         * libio/ioseekoff.c: Change to use _IO_fpos64_t.
1688         * libio/ioseekpos.c: Likewise.
1689         * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
1690         (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
1691         (_IO_seekoff, _IO_seekpos): Change prototype.
1692         * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
1693         to use _IO_off64_t.
1694         Change prototypes for function from the *ops.c files.
1695         * libio/stdio.h: Add LFS interface definition.
1696         * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
1697         * posix/Makefile (routines): Add pread64 and pwrite64.
1698         * posix/confstr.c: Handle _CS_LFS* requests.
1699         * posix/getconf.c: Handle LFS* requests.
1700         * sysdeps/generic/confname.h: Add _CS_LFS* constants.
1701         * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
1702         Define off_t and off64_t appropriately.  Change prototypes of
1703         LFS functions.
1704         * posix/sys/types.h: Add LFS types.
1705         * resources/Makefile (routines): Add getrlimit64 and setlimit64.
1706         * resource/sys/resource.h: Change prototypes of LFS functions.
1707         * stdio-common/Makefile (routines): Add tmpfile64.
1708         * stdio-common/tmpfile64.c: New file.
1709         * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
1710         Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
1711         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1712         * sysdeps/generic/bits/resource.h: Add LFS definitions.
1713         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
1714         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1715         * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
1716         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
1717         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1718         * sysdeps/generic/types.h: Define LFS types.
1719         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1720         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1721         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1722         * sysdeps/generic/sys/mman.h: Add LFS definitions.
1723         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1724         * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
1725         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1726         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
1727         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1728         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1729         * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
1730         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1731         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1732         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1733         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1734         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1735         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1736         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1737         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1738         * sysdeps/posix/open64.c: New file.
1739         * sysdeps/stub/fstatfs64.c: New file.
1740         * sysdeps/stub/fxstat64.c: New file.
1741         * sysdeps/stub/getrlimit64.c: New file.
1742         * sysdeps/stub/lseek64.c: New file.
1743         * sysdeps/stub/lxstat64.c: New file.
1744         * sysdeps/stub/open64.c: New file.
1745         * sysdeps/stub/pread64.c: New file.
1746         * sysdeps/stub/pwrite64.c: New file.
1747         * sysdeps/stub/readdir64.c: New file.
1748         * sysdeps/stub/readdir64_r.c: New file.
1749         * sysdeps/stub/setrlimit64.c: New file.
1750         * sysdeps/stub/statfs64.c: New file.
1751         * sysdeps/stub/xstat64.c: New file.
1752         * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
1753         llseek and lseek64 weak aliases.
1754         * sysdeps/unix/sysv/linux/lseek64.c: New file.  Empty.
1755         * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
1756         * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
1758         * sysdeps/posix/tempname.c: Add extra argument to trigger use of
1759         open64.
1760         * sysdeps/stub/tempname.c: Likewise.
1761         * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
1762         argument.
1763         * stdio-common/tmpfile.c: Likewise.
1764         * stdio-common/tmpnam.c: Likewise.
1765         * stdio-common/tmpnam_r.c: Likewise.
1767         * libio/libioP.h: Add definition of showmanyc and imbue callbacks.
1768         * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
1769         * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
1770         * libio/iopopen.c (_IO_proc_jumps): Likewise.
1771         * libio/memstream.c (_IO_mem_jumps): Likewise.
1772         * libio/obprintf.c (_IO_obstack_jumps): Likewise.
1773         * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
1774         * libio/strops.c (_IO_str_jumps): Likewise.
1776         * manual/arith.texi: Add a few words why cabs should be used.
1777         * manual/llio.texi: Describe sync, fsync, fdatasync.
1778         Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
1779         * manual/process.texi: Tell about cleanup handlers & system,waitpid,
1780         wait.
1781         * manual/signal.texi: Likewise for pause.
1782         * manual/terminal.texi: Likewise for tcdrain.
1783         * manual/time.texi: Document nanosleep.
1785         * posix/exevp.c: Don't use nested function.
1787         * stdlib/ucontext.h: New file.
1788         * sysdeps/i386/sys/ucontext.h: New file.  SysV/i386 API definitions.
1790         * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
1792         * sysdeps/i386/setjmp.h: Make `here` label local.
1794         * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
1796         * sysdeps/stub/fstatfs.c: Correct warning.
1797         * sysdeps/stub/fxstat.c: Likewise.
1798         * sysdeps/stub/lxstat.c: Likewise.
1800         * sysdeps/unix/sysv/i386/i686/time.S: New file.
1802 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1804         * malloc/obstack.h (obstack_empty_p): New macro.
1806 1997-10-04 17:41  Philip Blundell  <Philip.Blundell@pobox.com>
1808         * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
1810 1997-09-30  Zack Weinberg <zack@rabi.phys.columbia.edu>
1812         * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
1813         Document new --with-binutils switch; delete reference to
1814         --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
1815         Add to description of --without-fp: a kernel FPU emulator
1816         is adequate (from FAQ).
1817         * INSTALL: Regenerated.
1819 1997-09-30 17:29  Richard Henderson  <rth@cygnus.com>
1821         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
1822         _dl_hwcap declaration to ...
1823         (elf_machine_fixup_plt): ... here.
1825 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
1827         * Makerules: Undo last change.
1828         * csu/Makefile: Define before-compile at the right place.
1830         * aclocal.m4: Remove a.out file created by assembler test.
1832         * set-init.c: Find set-hooks.h using <...>.
1834         Update to db 2.3.10.
1835         * db2/Makefile: Update.
1836         * db2/db.h: Likewise.
1837         * db2/db_185.h: Likewise.
1838         * db2/db_int.h: Likewise.
1839         * db2/btree/bt_close.c: Likewise.
1840         * db2/btree/bt_conv.c: Likewise.
1841         * db2/btree/bt_cursor.c: Likewise.
1842         * db2/btree/bt_put.c: Likewise.
1843         * db2/btree/bt_rec.c: Likewise.
1844         * db2/btree/bt_recno.c: Likewise.
1845         * db2/btree/btree.src: Likewise.
1846         * db2/btree/btree_auto.c: Likewise.
1847         * db2/clib/getlong.c: Likewise.
1848         * db2/db/db.c: Likewise.
1849         * db2/db/db_auto.c: Likewise.
1850         * db2/db/db_conv.c: Likewise.
1851         * db2/db/db_pr.c: Likewise.
1852         * db2/db/db_ret.c: Likewise.
1853         * db2/db/db_thread.c: Likewise.
1854         * db2/hash/hash.c: Likewise.
1855         * db2/hash/hash_auto.c: Likewise.
1856         * db2/hash/hash_conv.c: Likewise.
1857         * db2/hash/hash_dup.c: Likewise.
1858         * db2/hash/hash_func.c: Likewise.
1859         * db2/hash/hash_page.c: Likewise.
1860         * db2/hash/hash_rec.c: Likewise.
1861         * db2/include/btree.h: Likewise.
1862         * db2/include/btree_ext.h: Likewise.
1863         * db2/include/db.h.src: Likewise.
1864         * db2/include/db_185.h.src: Likewise.
1865         * db2/include/db_cxx.h: Likewise.
1866         * db2/include/db_ext.h: Likewise.
1867         * db2/include/db_int.h.src: Likewise.
1868         * db2/include/db_page.h: Likewise.
1869         * db2/include/db_shash.h: Likewise.
1870         * db2/include/lock.h: Likewise.
1871         * db2/include/log.h: Likewise.
1872         * db2/include/log_ext.h: Likewise.
1873         * db2/include/mp.h: Likewise.
1874         * db2/include/shqueue.h: Likewise.
1875         * db2/include/txn.h: Likewise.
1876         * db2/lock/lock.c: Likewise.
1877         * db2/lock/lock_deadlock.c: Likewise.
1878         * db2/log/log.c: Likewise.
1879         * db2/log/log_archive.c: Likewise.
1880         * db2/log/log_auto.c: Likewise.
1881         * db2/log/log_get.c: Likewise.
1882         * db2/log/log_put.c: Likewise.
1883         * db2/log/log_register.c: Likewise.
1884         * db2/mp/mp_bh.c: Likewise.
1885         * db2/mp/mp_fget.c: Likewise.
1886         * db2/mp/mp_fopen.c: Likewise.
1887         * db2/mp/mp_fput.c: Likewise.
1888         * db2/mp/mp_fset.c: Likewise.
1889         * db2/mp/mp_open.c: Likewise.
1890         * db2/mutex/mutex.c: Likewise.
1891         * db2/os/db_os_dir.c: Likewise.
1892         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1893         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1894         * db2/progs/db_dump185/db_dump185.c: Likewise.
1895         * db2/progs/db_load/db_load.c: Likewise.
1896         * db2/progs/db_recover/db_recover.c: Likewise.
1897         * db2/txn/txn.c: Likewise.
1898         * db2/txn/txn_auto.c: Likewise.
1900         * elf/link.h: Define struct libname_list outside struct link_map
1901         to not confuse C++ compilers.
1903         * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
1904         __USE_UNIX98.
1905         * manual/creature.texi: Explain this.
1907         * libc.map: Add new functions.
1909         * libio/Makefile (routines): Add fseeko and ftello.
1910         * libio/ftello.c: New file.
1911         * libio/fseeko.c: New file.
1912         * libio/stdio.h: Add prototypes for new functions.
1913         * manual/stdio.texi: Document fseeko and ftello.
1915         * posix/Makefile (routines): Add pread and pwrite.
1916         * sysdeps/posix/pread.c: New file.
1917         * sysdeps/posix/pwrite.c: New file.
1918         * sysdeps/stub/pread.c: New file.
1919         * sysdeps/stub/pwrite.c: New file.
1920         * posix/unistd.h: Add prototypes for pread and pwrite.
1921         Pretty print header.
1922         Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
1923         Declare ctermid and cuserid if __USE_UNIX98.
1924         (swab): Change to take void * arguments.
1925         * string/swab.c: Change parameter to void *.
1926         * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
1927         already happened.
1928         * manual/llio.texi: Document pread and pwrite.
1930         * string/strings.h: Don't simply include string.h.  Define BSD
1931         functions according to Unix98.
1932         * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
1933         * sunrpc/clnt_simp.c: Likewise.
1935         * malloc/Makefile (aux): Add set-freeres.
1936         * malloc/mtrace.c: Define function release_libc_mem which calls the
1937         __libc_subfreeres handler.
1938         (mtrace): Register release_libc_mem.
1939         * malloc/set-freeres.c: New file.
1941         * intl/dcgettext.c: Define free_mem function and add to
1942         __libc_subfreeres list.
1943         * intl/finddomain.c: Likewise.
1944         * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
1945         and mmap_size.  Add prototype for _nl_unloaded_domain.
1946         * intl/loadmsgcat.c: Define new function _nl_unload_domain.
1947         (_nl_load_domain): Store informaiton about mmap use and file size.
1948         * intl/localealias.c (read_alias_file): Optimize locale alias file
1949         reading by avoid frequent mallocs.
1950         Define free_mem function and add to __libc_subfreeres list.
1952         * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
1953         undeletable.
1954         Add prototype for _nl_unload_locale.
1955         * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
1956         * locale/C-ctype: Likewise.
1957         * locale/C-messages: Likewise.
1958         * locale/C-monetary: Likewise.
1959         * locale/C-numeric: Likewise.
1960         * locale/C-time: Likewise.
1961         * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
1962         MAX_USAGE_COUNT and UNDELETABLE.
1963         (free_mem): New function.  Add it to __libc_subfreeres list.
1964         * locale/loadlocale.c: Define _nl_unload_locale function.
1966         * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
1968         * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
1969         correctly.
1970         Define free_mem function and add to __libc_subfreeres list.
1972         * locale/programs/localedef.c (options): Short form of verbose is v.
1973         Reported by Andreas Jaeger.
1975         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1976         header is used in some others as well for historical reasons.
1978         * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
1980         * string/bits/string2.h: Add missing braces and optimize strcmp a
1981         bit more.
1982         * sysdeps/i386/i486/bits/string.h: Likewise.
1984         * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
1985         Pretty print.
1987         * sysdeps/mach/hurd/cthreads.c: Add copyright text.
1989         * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
1991         * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
1993         * time/time.h: Pretty print.
1995 1997-09-29  Paul Eggert  <eggert@twinsun.com>
1997         * time/strftime.c: Synchronize with GNU Emacs strftime.c.
1998         (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
1999         (gmtime_r, localtime_r): Undef before defining.
2000         (iso_week_days): Use __inline__, not inline.
2002 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2004         * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
2005         __ieee754_exp2{,l,f}.
2006         * sysdeps/m68k/fpu/s_exp2.c: Likewise.
2007         * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
2008         * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
2010 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2012         * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
2013         section read-only, it contains relocations.
2014         * elf/sofini.c (__FRAME_END__): Likewise.
2016 1997-09-29 03:08  Ulrich Drepper  <drepper@cygnus.com>
2018         * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
2019         __strpbrk_cg, __strstr_cg): Optimize even more.  No spill register
2020         needed.  Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
2022 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2024         * nis/nis_call.c (__do_niscall2): Fix return code, add missing
2025           break in switch case.
2027         * nis/nis_mkdir.c: Fix return codes to match Solaris version.
2028         * nis/nis_rmdir.c: Likewise.
2030         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
2031         for C++.
2033 1997-09-28 04:32  Ulrich Drepper  <drepper@cygnus.com>
2035         * configure.in: Fix typo.
2036         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2038 1997-09-25 20:14  Philip Blundell  <Philip.Blundell@pobox.com>
2040         * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
2041         * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
2043 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
2045         * Makeconfig (extra-objs): Depend in before-compile.
2047         * configure.in: Locate Perl and substitute with complete path.
2048         * config.make.in: Add PERL for substitution.
2049         * elf/Makefile (routines): Add dl-addr.
2050         * elf/dladdr.c: Move the real code into ...
2051         * elf/dl-addr.c: New file.
2052         * elf/link.h: Add prototype for _dl_addr.
2054         * elf/dladdr.c (dladdr): Change address argument to be const.
2055         * elf/dlfcn.h: Likewise.
2057         * locale/C_name.c: Add _nl_POSIX_name.
2058         * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
2059         * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
2060         (_nl_remove_locale): Free name of data set.
2061         * locale/setlocale.c (clever_copy): Remove.
2062         (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
2063         (setname): Only remove old name when it is for category LC_ALL.
2065         Change malloc, free, realloc, and memalign hooks for glibc to take
2066         another parameter indicating the location of the caller.
2067         * malloc/malloc.c: Change hook functions and variables.
2068         * malloc/malloc.h: Likewise.
2069         * malloc/mcheck.c: Likewise.  Make sure later hooked function also
2070         get the original caller address.
2071         * malloc/mtrace.c: Likewise.
2072         (tr_where): If no information in _mtrace_file is given use the
2073         information about the caller.
2074         * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
2075         Add rules to install mtrace.pl after rewriting.
2076         * malloc/mtrace.pl: New file.  Based on the old AWK script but
2077         with extended functionality.
2078         * malloc/mtrace.awk: Removed.
2080         * po/fr.po: New version.
2082         * string/Makefile: Do use builtins for tester.c and inl-tester.c.
2083         * string/tester.c: Rewrite.  Split in many small functions to not
2084         exceed gcc's limits.
2086         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
2088 1997-09-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2090         * string/bits/string2.h (__stpcpy_small): Don't use casts as
2091         lvalues.
2093 1997-09-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2095         * manual/time.texi (Formatting Date and Time): Clarify
2096         explanation of strftime flags a bit.
2097         Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
2099 1997-09-25 00:13  David S. Miller  <davem@tanya.rutgers.edu>
2101         * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
2102         Fix typo, it is FLT_MANT_DIG.
2104 1997-09-24 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
2106         * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
2108 1997-08-27 08:10  H.J. Lu  <hjl@gnu.ai.mit.edu>
2110         * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
2112         * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
2113         _IO_MTSAFE_IO is undefined.
2115 1997-09-24 23:27  Richard Henderson  <rth@cygnus.com>
2117         * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
2118         lookup the value of the target symbol ourselves and call the new
2119         elf_machine_fixup_plt.  This kills the ELF_FIXUP_RETURN_VALUE hack.
2120         (profile_fixup): Likewise, but don't fix up the plt.
2121         * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
2122         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
2123         (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
2124         * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
2125         (ELF_MACHINE_JMP_SLOT): Renamed.
2126         (elf_machine_fixup_plt): New function.
2127         * sysdeps/m68k/dl-machine.h: Likewise.
2128         * sysdeps/powerpc/dl-machine.h: Likewise.
2129         (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
2130         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2131         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2132         * sysdeps/stub/dl-machine.h: Update, sorta.
2134         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
2135         (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
2136         both normal and profile code.
2137         (elf_machine_rela): Handle r_addend for .got and .plt too.
2139 1997-09-25 00:23  Ulrich Drepper  <drepper@cygnus.com>
2141         * elf/dl-profile.c: Correct implementation.
2143         * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
2145         * locale/setlocale.c: Rewrite a bit for more clarity.
2147         * math/Makefile (libm-calls): Add w_exp2.
2148         * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
2149         * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
2150         * sysdeps/libm-i387/s_exp2f.S: Likewise.
2151         * sysdeps/libm-i387/s_exp2l.S: Likewise.
2152         * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
2154         * string/bits/string2.h (__strcpy_small): Optimize.
2155         (__stpcpy_small): Likewise.
2156         (strncpy): Use variable for dest argument since it's used more than
2157         once.
2158         (strncat): Likewise.
2159         (strcmp): Add optimization for this function.
2160         * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
2161         (__strcpy_small): Optimize.
2162         (__stpcpy_small): Likewise.
2163         (__stpcpy_c): Correctly use __mempcpy_* macros.
2164         (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
2165         byte following last copied.
2166         (strncat): Use variable for dest argument since it's used more than
2167         once.
2168         (strcmp): Add optimization for this function.
2170         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
2171         .text and .previous to select correct section.
2173 1997-09-23 19:56  Philip Blundell  <Philip.Blundell@pobox.com>
2175         * configure.in: Add `--disable-versioning' option to suppress the
2176         use of symbol versions even if binutils claims to support it.
2178 1997-09-24 20:10  Philip Blundell  <Philip.Blundell@pobox.com>
2180         * csu/Makefile (before-compile): Don't try to build abi-tags.h if
2181         not using ELF.
2183 1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2185         * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
2186         the frame unwind info section.
2188         * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
2189         the frame unwind info.
2191         * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
2193         * configure.in: Check whether gcc supports DWARF2 unwind info.
2195         * libc.map: Export frame handling tables.
2197 1997-09-10 06:56  Geoff Keating  <geoffk@ozemail.com.au>
2199         * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
2200         Use the size of the kernel's termios structure for ioctls.
2202         * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
2204         * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
2205         of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
2206         routines, because gcc has them as internals.
2208         * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
2209         CFLAGS-.os.
2211         * sysdeps/powerpc/bzero.S: New file.
2212         * sysdeps/powerpc/strcat.c: New file.
2213         * sysdeps/powerpc/strcpy.S: New file.
2214         * sysdeps/powerpc/stpcpy.S: New file.
2216         * math/Makefile: Add atest_exp2, test-reduce.
2217         * math/atest_exp2.c: New file.
2218         * math/test-reduce.c: New file.
2219         * sysdeps/libm-ieee754/Dist: New file.
2220         * sysdeps/libm-ieee754/s_exp2.c: New file.
2221         * sysdeps/libm-ieee754/s_exp2f.c: New file.
2222         * sysdeps/libm-ieee754/t_exp2.h: New file.
2223         * sysdeps/libm-ieee754/t_exp2f.h: New file.
2224         * math/libm-test.c (exp2_test): Add some more tests.
2226         * Rules: Use empty.os instead of empty.o, since it gets linked into
2227         libc.so...
2228         * configure.in: Add --disable-static to disable building .a files.
2229         * config.make.in: Substitute the new variable.
2230         * Makeconfig: Don't build .o files if not building .a files.
2232         * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
2233         (profile_fixup): Likewise.
2235 1997-09-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2237         * posix/globtest.c (main): Change to directory passed as first
2238         argument.
2240         * posix/globtest.sh: Don't cd before running the program, instead
2241         pass testdir as argument, so that $common_objpfx remains valid.
2243 1997-09-23 18:01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2245         * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
2247         * nis/nis_findserver.c: Save latest working sockaddr_in.
2249 1997-09-17 22:07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2251         * configure.in: Automatically determine whether as and ld are the
2252         GNU versions.
2253         (options):  --with-gnu-{as,ld,binutils} replaced by
2254         single option --with-binutils=PATH specifying a -B option to gcc.
2255         * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
2256         LIBC_PROG_BINUTILS.
2258         * configure.in: Allow the user to force configuration for
2259         unsupported platforms with an undocumented option.
2261 1997-09-22 16:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2263         * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
2264         return loopback address only if there is no other interface.
2266         * nis/Makefile: Add nis_callback libnsl-routines.
2268         * nis/nis_add.c: Use new __do_niscall* interface.
2269         * nis/nis_cache.c: Likewise.
2270         * nis/nis_checkpoint.c: Likewise.
2271         * nis/nis_lookup.c: Likewise.
2272         * nis/nis_mkdir.c: Likewise.
2273         * nis/nis_modify.c: Likewise.
2274         * nis/nis_ping.c: Likewise.
2275         * nis/nis_remove.c: Likewise.
2276         * nis/nis_rmdir.c: Likewise.
2277         * nis/nis_server.c: Likewise.
2278         * nis/nis_util.c: Likewise.
2280         * nis/rpcsvc/nis.h: Make C++ safe.
2282         * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
2283         of variables.
2285         * nis/nis_findserv.c: Make thread safe.
2287         * nis/nis_call.c: Add support for callback, Fix use of variables.
2288         * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
2289         ALL_RESULTS.
2290         * nis/nis_callback.c: New, callback functions.
2291         * nis/nis_intern.h: Add callback declarations.
2293 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2295         * string/bits/string2.h: Fix logic in preprocessor directive.
2296         (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
2297         const, to save a cast and a possible warning.
2299 1997-09-22 04:12  Ulrich Drepper  <drepper@cygnus.com>
2301         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
2302         memory in xadd not %1.
2304 1997-09-21 13:56  Ulrich Drepper  <drepper@cygnus.com>
2306         * manual/maint.texi (Supported Configurations): Add SPARC64 to
2307         list of supported platforms.
2309 1997-09-21 03:19  Ulrich Drepper  <drepper@cygnus.com>
2311         * libio/libio.h: More libstdc++ cleanups.  Define _IO_USE_DTOA if
2312         _G_HAVE_PRINTF_FP is not defined.
2313         * libio/strops.c: Undo patch of 1997-07-08 02:18.  Must find a
2314         different solution for the problem.
2316         * misc/search.h [__USE_GNU]: Define comparison_fn_t.
2317         * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
2318         not defined.
2319         Fix typo.  Pretty print inline functions.
2321         * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
2322         Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
2324 1997-09-20 16:45  Ulrich Drepper  <drepper@cygnus.com>
2326         * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
2327         HES_DOMAIN environment variable.
2328         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
2330         * hesiod/README.hesiod: A bit of information about Hesiod and how
2331         to use it.  Written by Mark Kettenis <kettenis@phys.uva.nl>.
2333 1997-09-20 05:15  Ulrich Drepper  <drepper@cygnus.com>
2335         * manual/maint.texi: Update requirement list.
2337         * io/ftw.h: Don't use parameter names from global namespace in
2338         prototypes.
2340         * stdlib/strtol.c: If used outside glibc handle broken systems
2341         which have character classification functions which are not 8-bit
2342         clean gracefully.  Patch by Bruno Haible <haible@ilog.fr>.
2344 1997-09-19 21:42  David S. Miller  <davem@tanya.rutgers.edu>
2346         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
2347         a long long int.
2349 1997-09-19 15:12  H.J. Lu  <hjl@gnu.ai.mit.edu>
2351         * posix/Makefile (test-srcs): New, set to globtest.
2353 1997-09-20 00:24  Ulrich Drepper  <drepper@cygnus.com>
2355         * manual/filesys.texi: Document ftw, nftw and needed data types.
2357 1997-09-19 12:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
2359         * sysdeps/i386/i486/bits/string.h: Fix typo.
2361 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
2363         * io/ftwtest.c (cb): Print level.
2364         * io/ftwtest-sh: Updated for ftwtest.c change.
2366         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
2367         compilers.
2368         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
2370         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
2371         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
2373 1997-09-18 13:30  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
2375         * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
2376         additional argument.
2377         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2378         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
2379         * sysdeps/stub/init-first.c: Likewise.
2381 1997-09-18 03:16  Ulrich Drepper  <drepper@cygnus.com>
2383         * manual/search.texi: Document lsearch, lfind, the hsearch and
2384         tsearch functions.
2386 1997-09-18 00:04  Ulrich Drepper  <drepper@cygnus.com>
2388         * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
2389         if the table is full and we *really* have to enter a new entry.
2391 1997-09-17 19:44  Ulrich Drepper  <drepper@cygnus.com>
2393         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
2394         of hack for handling flush opcode.
2395         Patch by Richard Henderson <rth@cygnus.com>.
2397 1997-09-16 23:48  Ulrich Drepper  <drepper@cygnus.com>
2399         * libio/fileops.c: Define __set_errno if necessary.
2400         * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
2402 1997-09-16 22:03  Ulrich Drepper  <drepper@cygnus.com>
2404         * string/Makefile (headers): Instead bits/string2.h.
2405         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
2407 1997-09-16 13:31  David S. Miller  <davem@tanya.rutgers.edu>
2409         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
2411 1997-09-16 17:42  Ulrich Drepper  <drepper@cygnus.com>
2413         * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
2414         as of type __fdset *.
2415         * sysdeps/i386/bits/select.h: Likewise.
2416         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
2418 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
2420         * hesiod/hesiod.c: Don't use and define cistrcmp.  We have
2421         strcasecmp.
2422         (hesiod_init): Use of HES_DOMAIN need not be protected by
2423         __secure_getenv.
2424         (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
2425         stpcpy.
2427         * string/Makefile (noinl-tester-ENV): New variable to make
2428         strerror test pass.
2429         (CFLAGS-noinl-tester): Make sure we test the correct functions.
2431         * sysdeps/stub/atomicity.h: Fix typo.
2432         Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
2434         * manual/string.texi: Document strnlen and mempcpy.
2435         Tell a bit more about the locale dependence of strcasecmp and
2436         strncasecmp.
2438         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
2439         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
2440         value type to long int.
2441         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
2442         types.
2443         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
2444         Patches by David S. Miller <davem@jenolan.rutgers.edu>.
2446 1997-09-16 02:14  Ulrich Drepper  <drepper@cygnus.com>
2448         Implementation of Hesiod NSS module by Mark Kettenis.
2449         * hesiod/Makefile: New file.
2450         * hesiod/hesiod.c: New file.
2451         * hesiod/hesiod.h: New file.
2452         * hesiod/hesiod_p.h: New file.
2453         * hesiod/libnss_hesiod.map: New file.
2454         * hesiod/nss_hesiod/hesiod-grp.c: New file.
2455         * hesiod/nss_hesiod/hesiod-pwd.c: New file.
2456         * hesiod/nss_hesiod/hesiod-service.c: New file.
2457         * sysdeps/unix/inet/Subdirs: Add hesiod.
2459         * shlib-versions: Add version number for libnss_hesiod.
2461         * libio/iolibio.h: Remove definition of _IO_* macros.
2462         * libio/fileops.c: Define close, fstat, lseek, read, and write as
2463         macros to use __ protected versions.  Use those functions instead
2464         of _IO_* functions.
2465         * libio/iopopen.c: Define _IO_close to close.
2467         * manual/math.texi: Explain the use of the optimizing inline
2468         functions.
2469         Describe rand_r function and tell about SysV RNGs in introduction.
2471         * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
2472         variable.
2474         * string/Makefile (tests): Add noinl-tester.
2475         * string/noinl-tester.c: New file.
2476         * string/tester.c: Add more stpcpy tests for constant arguments for
2477         all short lengths.
2479         * string/string.h: Always declare __bzero.
2480         Describe __NO_STRING_INLINES.
2481         Always include <bits/string.h>.
2482         * string/bits/string2.h: Add warning about direct use.
2483         Change __strcpy_small and __stpcpy_small implementation to use
2484         macros and provide alternative for platforms which cannot do
2485         unaligned stores.
2486         * sysdeps/i386/bits/string.h: Don't define anything is
2487         __NO_STRING_INLINES is defined.
2488         * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
2489         __stpcpy_small implementation to use macros and provide
2490         alternative for platforms which cannot do unaligned stores.
2491         * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
2492         * sysdeps/generic/bzero.c: Likewise.
2493         * sysdeps/i386/bzero.c: Likewise.
2494         * sysdeps/i386/i586/bzero.S: Likewise.
2495         * sysdeps/vax/bzero.s: Likewise.
2497         * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
2498         * sysdeps/i386/bits/select.h: Likewise.
2500         * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
2501         constraints a bit.
2502         Don't define and test for _BITS_MATHINLINE_H.  Emit warning if used
2503         directly and not through math.h.
2505         * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
2506         to char to get better code.  Fix typo.
2507         * sysdeps/stub/atomicity.h: Fix typo.
2509 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2511         * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
2513 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2515         * string/bits/string2.h: Add prototypes to avoid warning.
2517 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2519         * string/bits/string2.h (strsep): Fix handling of empty REJECT.
2520         (__strsep_1c): Handle NULL and empty string.
2521         (__strsep_g): Likewise.
2523 1997-09-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2525         * catgets/Makefile (extra-objs): Set this instead of generated.
2527         * md5-crypt/Makefile (extra-objs): Add all object file variants of
2528         onlymd5-entry.
2530 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2532         * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
2533         change.
2535 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2537         * sysdeps/m68k/m68020/atomicity.h: New file.
2539 1997-09-15 05:11  Ulrich Drepper  <drepper@cygnus.com>
2541         * posix/Makefile (distribute): Add globtest.c and globtest.sh.
2542         Compile and run globtest if not cross-compiling.
2543         * posix/globtest.c: New file.
2544         * posix/globtest.sh: New file.
2545         * posix/glob.c: Pretty print preprocessor stuff.
2546         (glob_in_dir): If PATTERN is not really a pattern still check
2547         whether it is a real file in the current directory and return
2548         error if not.
2549         Reported by Eugene Mamchits <eugin@ips.ras.ru>.
2551         * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
2552         * libio/ioseekoff.c (_IO_seekoff): Likewise.
2553         * libio/ioseekpos.c (_IO_seekpos): Likewise.
2555 1997-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
2557         * configure.in: Prevent configuration for unsupported platforms.
2559 1997-09-13 04:07  Ulrich Drepper  <drepper@cygnus.com>
2561         * elf/rtld.c (dl_main): Make sure we always have a file argument by
2562         testing for < 2 arguments after recognizing the options.
2564 1997-09-12 11:47  Fila Kolodny  <fila@ibi.com>
2566         * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
2567         (__strsep_g): Likewise.
2569 1997-09-11 17:32  Ulrich Drepper  <drepper@cygnus.com>
2571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
2572         Patch by David S. Miller <davem@jenolan.rutgers.edu>.
2574 1997-09-11 04:36  Ulrich Drepper  <drepper@cygnus.com>
2576         * db2/db_int.h: Define __set_errno if not yet available.
2577         * db2/btree/bt_rec.c: Use __set_errno to set errno value.
2578         * db2/clib/getlong.c: Likewise.
2579         * db2/db185/db185.c: Likewise.
2580         * db2/db185/db185_int.h: Likewise.
2581         * db2/dbm/dbm.c: Likewise.
2582         * db2/lock/lock_deadlock.c: Likewise.
2583         * db2/log/log_archive.c: Likewise.
2585         * elf/dl-profile.c: Implement mcount function.
2587         * gmon/gmon.c: Use __profil not profil because of namespace pollution.
2588         * gmon/mcount.c: Remove BSD kernel code.
2589         Use compare&swap instruction if possible to change state variable.
2590         Optimize frompc folding.
2591         * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
2592         * sysdeps/i386/i486/atomicity.h: New file.
2593         * sysdeps/stub/atomicity.h: New file.
2594         * sysdeps/mach/hurd/profil.c: Define function as __profil and make
2595         profil weak alias.
2596         * sysdeps/posix/profil.c: Likewise.
2598         * string/bits/string2.h: New file.
2599         * include/bits/string2.h: New file.
2600         * string/Makefile (routines): Add mempcpy.
2601         (tests): Add inl-tester.
2602         Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
2603         * sysdeps/generic/mempcpy.c: New file.
2604         * sysdeps/generic/memccpy.c: Undef function name to enable definition
2605         as macro.
2606         * sysdeps/generic/memchr.c: Likewise.
2607         * sysdeps/generic/memcmp.c: Likewise.
2608         * sysdeps/generic/memmem.c: Likewise.
2609         * sysdeps/generic/memmove.c: Likewise.
2610         * sysdeps/generic/strcat.c: Likewise.
2611         * sysdeps/generic/strchr.c: Likewise.
2612         * sysdeps/generic/strcmp.c: Likewise.
2613         * sysdeps/generic/strcpy.c: Likewise.
2614         * sysdeps/generic/strcspn.c: Likewise.
2615         * sysdeps/generic/strlen.c: Likewise.
2616         * sysdeps/generic/strncat.c: Likewise.
2617         * sysdeps/generic/strncmp.c: Likewise.
2618         * sysdeps/generic/strncpy.c: Likewise.
2619         * sysdeps/generic/strpbrk.c: Likewise.
2620         * sysdeps/generic/strrchr.c: Likewise.
2621         * sysdeps/generic/strsep.c: Likewise.
2622         * sysdeps/generic/strspn.c: Likewise.
2623         * sysdeps/generic/strstr.c: Likewise.
2624         * sysdeps/generic/strtok.c: Likewise.
2625         * sysdeps/generic/strtok_r.c: Likewise.
2626         * sysdeps/i386/memset.c: Likewise.
2627         * sysdeps/i386/bits/string.h: Correct a few types and constraints.
2628         * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
2629         * string/stratcliff.c: Undefine __USE_STRING_INLINES.
2630         * string/tst-strlen.c: Likewise.
2631         * string/string.h: Add prototype for mempcpy.  Include bits/string2.h
2632         header always if optimizing.
2633         * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
2634         yet defined.
2635         * intl/l10nflist.c: Likewise.
2637         * string/tester.c: Add copyright and make little cleanups.
2639         * inet/test_ifindex.c: Change type of ni variable to unsigned int.
2641         * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
2642         of fields map_collection_max and map_collection_act to size_t.
2644         * nss/libnss_files.map: Group entries.
2646         * posix/unistd.h: Add prototype for __setpgid and __profil.
2648         * sysdeps/generic/crypt.h: Declare __crypt_r.
2650         * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
2652         * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2653         isless, islessequal, islessgreater, isunordered): Optimize a bit.
2655         * sysdeps/stub/ftruncate.c: Include missing header for prototype.
2656         * sysdeps/stub/getdents.c: Likewise.
2657         * sysdeps/stub/reboot.c: Likewise.
2658         * sysdeps/stub/swapon.c: Likewise.
2659         * sysdeps/stub/syscall.c: Likewise.
2660         * sysdeps/stub/ualarm.c: Likewise.
2661         * sysdeps/stub/usleep.c: Likewise.
2663         * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
2664         if SIOGIFINDEX and SIOGIFNAME are not defined.
2666         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
2667         according to recent kernel changes.
2669 1997-09-10 21:32  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
2671         * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
2672         the installed name of the startup code.
2673         (common-generated): Add version.mk.
2674         * Makefile (distclean-1): Add glibcbug.
2675         * Makerules: Replace -lgcc by $(gnulib).
2676         * catgets/Makefile (generated): Add xmalloc.o.
2677         * csu/Makefile (generated): Replace align.h and end.h by defs.h to
2678         match the generated file.
2679         * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
2680         (realclean): Changed to remove chapters-incl[12].
2681         * po/Makefile (realclean): New rule to remove the generated .mo files.
2682         * time/Makefile: Only include zonefile dependencies if $(no_deps) is
2683         not true to avoid make clean failure when directory time doesn't exist
2684         yet.
2685         (generated): Add tzselect.
2687         * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
2688         * stdio/internals.c (flushbuf): Likewise.
2689         * stdio/linewrap.c (lwupdate): Likewise.
2690         * stdio/memstream.c (enlarge_buffer): Likewise.
2691         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2692         * time/tzset.c (compute_change): Likewise.
2693         * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
2694         is defined.
2695         * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
2696         functions.
2697         * sysdeps/stub/init-posix.c: Likewise.
2698         * sysdeps/stub/profil.c: Likewise.
2699         * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
2700         reduce gcc warning noise.
2701         * stdio/glue.c (_filbuf, _flsbuf): Likewise.
2702         * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
2703         * stdio/vasprintf.c (enlarge_buffer): Likewise.
2704         * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
2705         __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
2706         __stdio_reopen): Likewise.
2707         * sysdeps/posix/defs.c (_cleanup): Likewise.
2708         * time/offtime.c (__offtime): Add cast.
2710         * posix/getopt.c: Don't use text_set_element if not defined.
2712         * configure.in: Provide a check for underscores before user labels
2713         that works even when the compiler used for building doesn't work
2714         (like when there is no C library).  Use the old way if the compiler
2715         works.
2717 1997-09-10 05:08  David S. Miller  <davem@caip.rutgers.edu>
2719         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
2720         'T' not 't' on SparcLinux.
2721         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
2723         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
2724         _longjmp and siglongjmp.
2726 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2728         * libio/stdio.h: Add format attributes to the extra printf and
2729         scanf like functions.
2730         * stdio/stdio.h: Likewise.
2732 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2734         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2735         Print tablename_val, not tablename_len.
2737         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
2738         Use sprintf instead of sprintf, the string always fits.
2739         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2740         Likewise.
2741         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2742         Likewise.
2743         * nis/nss_nisplus/nisplus-proto.c
2744         (_nss_nisplus_getprotobynumber_r): Likewise.
2745         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
2746         Likewise.
2747         * nis/nss_nisplus/nisplus-service.c
2748         (_nss_nisplus_getservbynumber_r): Likewise.
2750         * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
2751         __stpcpy, __stpncpy and __strdup instead of public names.
2752         * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
2753         Likewise.
2754         * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
2755         * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
2756         Likewise.
2757         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
2758         Likewise.
2759         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
2760         Likewise.
2761         (_nss_create_tablename): Likewise.
2762         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
2763         Likewise.
2764         (_nss_create_tablename): Likewise.
2765         * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
2766         Likewise.
2767         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
2768         Likewise.
2769         (_nss_create_tablename): Likewise.
2770         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
2771         Likewise.
2772         (_nss_create_tablename): Likewise.
2773         * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
2774         Likewise.
2776         * libc.map: Export __stpcpy and __strdup.
2778 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2780         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
2781         CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
2782         precision.
2784 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2786         * include/rpc/auth_des.h: New file.
2788 1997-09-09  Paul Eggert  <eggert@twinsun.com>
2790         * time/mktime.c (__mktime_internal): Declare sec_requested even if
2791         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
2792         for time_t overflow.
2794 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
2796         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
2797         Reported by Erik Troan <ewt@redhat.com>.
2799         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2800         * elf/dl-open.c: Likewise.
2802 1997-09-07 17:09  Richard Henderson  <rth@cygnus.com>
2804         * sysdeps/alpha/Makefile: Kill setjmp_aux.
2805         * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
2806         * sysdeps/alpha/__longjmp.c: Remove.
2807         * sysdeps/alpha/setjmp_aux.c: Remove.
2808         * sysdeps/alpha/__longjmp.S: New file.
2809         * sysdeps/alpha/bsd-_setjmp.S: Stub out.
2810         * sysdeps/alpha/bsd-setjmp.S: Likewise.
2811         * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
2812         Move _setjmp and setjmp from bsd-*.S.
2814 1997-09-06  20:20  Ulrich Drepper  <drepper@cygnus.com>
2816         * include/rpc/auth.h: New file.
2817         * include/rpc/auth_unix.h: New file.
2819 1997-09-06  Paul Eggert  <eggert@twinsun.com>
2821         Fix gmtime so that it reports leap seconds when TZ
2822         indicates that leap seconds are desired.
2824         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
2825         (gmtime): Put after gmtime_r, to help the compiler inline.
2826         (__tz_convert): New decl.
2827         (gmtime_r): Use __tz_convert instead of __offtime,
2828         so that leap seconds are handled correctly.
2830         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
2831         are now unnecessary.
2832         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
2833         __tzset_lock): Remove extern decls that are now unnecessary.
2834         (localtime_internal): Moved to __tz_convert in tzset.c.
2835         so that localtime and gmtime can both use it easily.
2836         (localtime): Put after localtime_r, to help the compiler inline.
2837         (localtime_r): Use __tz_convert instead of localtime_internal.
2839         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
2840         decl.
2842         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
2844         * time/tzset.c (<errno.h>): Include.
2845         (_tmbuf): New decl.
2846         (__tzfile_compute): New function.
2847         (tz_compute): Renamed from __tz_compute.  No longer extern.
2848         Remove redundant call to tzset_internal.
2849         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
2850         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
2851         (__tz_convert): New function, containing functionality of old
2852         localtime_internal function, plus locking and optional UTC.
2854 1997-09-06  Paul Eggert  <eggert@twinsun.com>
2856         * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
2857         string, just use UTC without leap seconds.  This is for compatibility
2858         with the Olson code.
2860 1997-09-06  Paul Eggert  <eggert@twinsun.com>
2862         * time/tzset.c (__tzname_max): Lock tz data structures before
2863         invoking tzset_internal.
2865         * time/tzfile.c: Define compute_tzname_max statically.
2867 1997-09-07 10:57  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2869         * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
2870         * nis/nis_intern.h: Likewise.
2871         * nis/nss_nis/nis-publickey.c: Likewise.
2872         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2873         * nis/ypclnt.c: Likewise.
2875         * sunrpc/auth_des.c: Don't dereference NULL pointer,
2876         initialize ad->ad_timediff.
2878         * sunrpc/auth_none.c: Don't define our own prototypes, use the one
2879         from the header files.
2880         * sunrpc/auth_unix.c: Likewise.
2881         * sunrpc/clnt_raw.c: Likewise.
2882         * sunrpc/clnt_tcp.c: Likewise.
2883         * sunrpc/rpc_cmsg.c: Likewise.
2885         * sunrpc/key_call.c: Fix signal handling.
2887         * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
2888         or we will get a deadlock with NIS+.
2890         * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
2891         HAVE_SECURE_RPC.
2893 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
2895         * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
2896         __FD_ISSET): Use correct casts to address array correctly.
2897         Reported by urbanw@cs.umu.se.
2899 1997-09-07 05:07  Ulrich Drepper  <drepper@cygnus.com>
2901         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2902         * elf/dl-open.c: Likewise.
2903         * sysdeps/i386/memset.c: Undefine memset in case the header with the
2904         optimized functions is included.
2905         Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
2907         * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
2908         strsep): Use register for second parameter.
2909         * sysdeps/i386/i486/bits/string.h: Likewise.
2910         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2912 1997-09-03 09:48  Geoff Keating  <geoffk@ozemail.com.au>
2914         * math/libm-test.c: Change various tolerances to match what the
2915         tested routines can actually provide.
2917         * math/Makefile: Add new tests.
2918         * math/atest-sincos.c: New file.
2919         * math/atest-exp.c: New file.
2921         * csu/Makefile: Give initfini.s and initfiniS.s their own
2922         CFLAGS-* macros so they can be overridden.
2923         * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
2924         initfiniS.s to use -fpic instead of -fPIC, because the sed script
2925         breaks otherwise.
2927         * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
2928         efficiency.
2930         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2931         Don't use register 0, to let _mcount be in a shared object.
2933         * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
2934         Generally clean up.  Suppress some code we don't need when relocating
2935         ld.so.
2936         * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
2937         appropriate to suppress gcc warning.
2938         * resolv/res_send.c: Suppress warning.
2939         * sunrpc/xdr_sizeof.c: Suppress warning.
2941         * FAQ: Add ppc-linux.
2942         * manual/maint.texi: Add ppc-linux.  Explain that gcc can't build it
2943         yet.
2945         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
2946         current kernels.
2948 1997-08-15 07:45  Geoff Keating  <geoffk@ozemail.com.au>
2950         * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
2951         * sysdeps/i386/machine-gmon.h: Correct typo.
2953         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
2954         kernel.
2956         * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
2957         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
2958         sysdeps/linux/dl-sysdep.c.
2960         * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
2961         * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
2962         * sysdeps/powerpc/ppc-mcount: New file.
2964         The following are mostly changes to allow profiling:
2965         * sysdeps/powerpc/add_n.S: Added.
2966         * sysdeps/powerpc/add_n.s: Removed.
2967         * sysdeps/powerpc/addmul_1.S: Added.
2968         * sysdeps/powerpc/addmul_1.s: Removed.
2969         * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
2970         * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
2971         * sysdeps/powerpc/lshift.S: Added.
2972         * sysdeps/powerpc/lshift.s: Removed.
2973         * sysdeps/powerpc/memset.S: Added.
2974         * sysdeps/powerpc/memset.s: Removed.
2975         * sysdeps/powerpc/mul_1.S: Added.
2976         * sysdeps/powerpc/mul_1.s: Removed.
2977         * sysdeps/powerpc/rshift.S: Added.
2978         * sysdeps/powerpc/rshift.s: Removed.
2979         * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
2980         * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
2981         * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
2982         * sysdeps/powerpc/strchr.S: Added.
2983         * sysdeps/powerpc/strchr.s: Removed.
2984         * sysdeps/powerpc/strcmp.S: Added.
2985         * sysdeps/powerpc/strcmp.s: Removed.
2986         * sysdeps/powerpc/strlen.S: Added.
2987         * sysdeps/powerpc/strlen.s: Removed.
2988         * sysdeps/powerpc/sub_n.S: Added.
2989         * sysdeps/powerpc/sub_n.s: Removed.
2990         * sysdeps/powerpc/submul_1.S: Added.
2991         * sysdeps/powerpc/submul_1.s: Removed.
2992         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
2993         * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
2994         * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
2995         * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
2996         various bugs. Document that it isn't tested.
2997         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
2998         sysdeps/unix/_exit.S.
2999         * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
3000         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
3001         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
3002         to make assembler (possibly) more portable, allow profiling, etc.
3004 1997-09-05 03:15  Ulrich Drepper  <drepper@cygnus.com>
3006         * Makefile (subdirs): Reorganize order so that nss follows add-ons.
3007         * config.make.in (LDAP): Add.
3008         * configure.in: Prepare for ldap add-on.
3009         * shlib-versions: Add version numbers for ldap NSS module.
3010         * nss/Makefile: Add rules to build ldap NSS module.
3012         * db/btree/bt_page.c (__bt_free): Update meta data information.
3014         Update db from db-2.3.6.
3015         * db2/db.h: Updated.
3016         * db2/btree/bt_close.c: Updated.
3017         * db2/btree/bt_compare.c: Updated.
3018         * db2/btree/bt_conv.c: Updated.
3019         * db2/btree/bt_cursor.c: Updated.
3020         * db2/btree/bt_delete.c: Updated.
3021         * db2/btree/bt_put.c: Updated.
3022         * db2/btree/bt_rec.c: Updated.
3023         * db2/btree/bt_recno.c: Updated.
3024         * db2/btree/bt_search.c: Updated.
3025         * db2/btree/bt_split.c: Updated.
3026         * db2/btree/bt_stat.c: Updated.
3027         * db2/common/db_appinit.c: Updated.
3028         * db2/common/db_apprec.c: Updated.
3029         * db2/common/db_byteorder.c: Updated.
3030         * db2/common/db_err.c: Updated.
3031         * db2/common/db_region.c: Updated.
3032         * db2/db/db.c: Updated.
3033         * db2/db/db_conv.c: Updated.
3034         * db2/db/db_dup.c: Updated.
3035         * db2/db/db_pr.c: Updated.
3036         * db2/db/db_ret.c: Updated.
3037         * db2/db185/db185.c: Updated.
3038         * db2/dbm/dbm.c: Updated.
3039         * db2/hash/hash_dup.c: Updated.
3040         * db2/include/db_am.h: Updated.
3041         * db2/include/db_page.h: Updated.
3042         * db2/include/mp.h: Updated.
3043         * db2/include/queue.h: Updated.
3044         * db2/log/log.c: Updated.
3045         * db2/log/log_findckp.c: Updated.
3046         * db2/log/log_get.c: Updated.
3047         * db2/log/log_rec.c: Updated.
3048         * db2/mp/mp_bh.c: Updated.
3049         * db2/mp/mp_fopen.c: Updated.
3050         * db2/mp/mp_pr.c: Updated.
3051         * db2/mp/mp_sync.c: Updated.
3052         * db2/mutex/x86.gcc: Updated.
3053         * db2/os/db_os_dir.c: Updated.
3054         * db2/os/db_os_fid.c: Updated.
3055         * db2/progs/db_archive/db_archive.c: Updated.
3056         * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
3057         * db2/progs/db_deadlock/db_deadlock.c: Updated.
3058         * db2/progs/db_dump/db_dump.c: Updated.
3059         * db2/progs/db_dump185/db_dump185.c: Updated.
3060         * db2/progs/db_load/db_load.c: Updated.
3061         * db2/progs/db_printlog/db_printlog.c: Updated.
3062         * db2/progs/db_recover/db_recover.c: Updated.
3063         * db2/progs/db_stat/db_stat.c: Updated.
3064         * db2/txn/txn.c: Updated.
3065         * db2/txn/txn_rec.c: Updated.
3067         * db2/Makefile: Add rule to build db_printlog.
3068         * db2/config.h: Don't include endian.h and don't define
3069         WORDS_BIGENDIAN.  Only define HAVE_ENDIAN_H.
3071         * elf/dl-open.c (_dl_open): Make thread-safe.
3072         * elf/dl-close.c (_dl_close): Likewise.
3073         * elf/dlclose.c: Pretty print.
3074         * elf/dl-version.c (make_string): Use __strdup not strdup.
3075         (find_needed): Don't use l_searchlist of _dl_loaded, use the
3076         l_next list.
3077         * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
3079         * manual/math.texi: Add note about == and != for FP values.
3080         * manual/message.texi: Mention problems with relative paths and
3081         binstextdomain.
3082         * manual/string.texi: Mark strdupa and strndupa correctly as macros.
3084         * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
3085         * sunrpc/rpc_cout.c: Avoid needless races around return value.
3087         * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
3089         Update from tzdata-1997h.
3090         * time/africa: Updated.
3091         * time/europe: Updated.
3092         * time/iso3166.tab: Updated.
3093         * time/northamerica: Updated.
3094         * time/southamerica: Updated.
3095         * time/zone.tab: Updated.
3097 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
3099         * sysdeps/alpha/w_sqrt.S: Removed.
3100         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
3101         and build a version that is as fast as possible given the constraint.
3103 1997-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3105         * manual/maint.texi: Document some defaults for configuration
3106         parameters.
3108 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
3110         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
3111         * termios/termios.h: Change prototype accordingly.
3112         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3114 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
3116         * libio/stdfiles.c (_libio_using_thunks): Define if
3117         _G_USING_THUNKS is defined.
3119         * libio/_G_config.h: Moved to ...
3120         * sysdeps/generic/_G_config.h: ...here.
3122         * sysdeps/unix/sysv/linux/_G_config.h: New,
3123         Add vtable thunks support.
3125 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3127         * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
3128         efficient code (together with a change in gcc).
3130         * Makeconfig (pic-ccflag): New variable.
3131         (CFLAGS-.os): Use it instead of hardcoding -fPIC.
3133 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3135         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
3136         _dl_start instead of a local label, to avoid getting an unreadable
3137         label name.
3139 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3141         * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
3142         libdb.so.
3144         * Makeconfig (dbobjdir): Use db2.
3146 1997-08-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3148         * manual/maint.texi (Porting to Unix): Update description of the
3149         implementation of Unix system calls.
3150         (Contributors): Use real umlaut in tege's name.
3152 1997-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3154         * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
3155         _IEEE_LIBM.
3156         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3157         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3159 1997-08-29 21:45  Ulrich Drepper  <drepper@cygnus.com>
3161         * sunrpc/auth_des.c: New file.  Copied from former secure_rpc add-on.
3162         * sunrpc/authdes_prot.c: New file.  Likewise.
3163         * sunrpc/des.h: New file.  Likewise.
3164         * sunrpc/des_crypt.c: New file.  Likewise.
3165         * sunrpc/des_soft.c: New file.  Likewise.
3166         * sunrpc/key_call.c: New file.  Likewise.
3167         * sunrpc/key_prot.c: New file.  Likewise.
3168         * sunrpc/netname.c: New file.  Likewise.
3169         * sunrpc/openchild.c: New file.  Likewise.
3170         * sunrpc/rtime.c: New file.  Likewise.
3171         * sunrpc/svc_auth.c: New file.  Likewise.
3172         * sunrpc/svcauth_des.c: New file.  Likewise.
3173         * sunrpc/xcrypt.c: New file.  Likewise.
3174         * sunrpc/rpc/auth.h: New file.  Likewise.
3175         * sunrpc/rpc/auth_des.h: New file.  Likewise.
3176         * sunrpc/rpc/des_crypt.h: New file.  Likewise.
3177         * sunrpc/rpc/key_prot.h: New file.  Likewise.
3178         * sunrpc/rpcsvc/key_prot.x: New file.  Likewise.
3179         * sysdeps/generic/svc_auth.h: Removed.
3180         * sysdeps/generic/rpc/auth.h: Removed.
3181         * sysdeps/generic/rpc/auth_des.h: Removed.
3182         * sysdeps/stub/des_impl.c: New file.  Stub version for DES.
3183         * sunrpc/Makefile (rpcsvc): Add keyprot.x.
3184         (headers): Add des_crypt.h and key_prot.h.
3185         (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
3186         key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
3187         (distribute): Add des.h.
3189         * db2/Makefile: Add all headers and other files to distribute.
3190         (others): Add db_printlog.
3192         * sysdeps/mach/hurd/Dist: Add net/* headers.
3193         * sysdeps/mach/hurd/mips/Dist: New file.
3194         * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
3195         * sysdeps/sparc/Dist: Add sys/trap.h.
3196         * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
3197         * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
3198         * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
3199         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
3200         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
3202         Add previously missing assembler files for PPC.
3203         * sysdeps/powerpc/add_n.s: New file.
3204         * sysdeps/powerpc/addmul_1.s: New file.
3205         * sysdeps/powerpc/lshift.s: New file.
3206         * sysdeps/powerpc/memset.s: New file.
3207         * sysdeps/powerpc/mul_1.s: New file.
3208         * sysdeps/powerpc/rshift.s: New file.
3209         * sysdeps/powerpc/strchr.s: New file.
3210         * sysdeps/powerpc/strcmp.s: New file.
3211         * sysdeps/powerpc/sub_n.s: New file.
3212         * sysdeps/powerpc/submul_1.s: New file.
3214 1997-08-28 18:42  Thorsten Kukuk  <kukuk@uni-paderborn.de>
3216         * nis/nis_server.c: Rewritten to fix a lot of bugs.
3218 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3220         * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
3221         variables.
3223 1997-08-29 02:36  Ulrich Drepper  <drepper@cygnus.com>
3225         * Makefile (version-info.h): Use ISO form for the date.
3227         * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
3228         (struct catalog_obj): Add lock field.
3229         (__open_catalog): Remove second parameter from prototype.
3230         * catgets/catgets.c (catopen): Initialize lock field.
3231         (catgets): Don't pass second parameter to __open_catalog.
3232         * catgets/gencat.c: Initialize lock field and don't pass second
3233         parameter to __open_catalog.
3234         * catgets/open_catalog.c (__open_catalog): Decide about use of
3235         path by examining path in struct, not based on extra argument.
3236         Acquire a the lock before trying to load the catalog and release
3237         it before returning.
3239         * csu/Makefile (abi-tag.h): Make sure target directory exists.
3241         * io/Makefile (headers): Add bits/poll.h.
3242         * io/sys/poll.h: Remove definitions of POLL* constants.
3243         Include <bits/poll.h>.
3244         * sysdeps/generic/bits/poll.h: New file.
3245         * sysdeps/unix/sysv/linux/bits/poll.h: New file.
3246         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
3247         * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
3248         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
3250         * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
3252         * malloc/obstack.c: Add casts to keep very verbose compilers on
3253         64bit machine quiet.
3255         * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
3257 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
3259         * catgets/catgets.c (catopen): Correctly determine length of string
3260         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
3262 1997-08-27 23:19  Richard Henderson  <rth@cygnus.com>
3264         * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
3265         default macro to track down arguments from stack start.
3266         (_dl_sysdep_start): Use it.
3267         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
3268         providing a special DL_FIND_ARG_COMPONENTS and including the next
3269         file up the line.
3271         * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
3272         * sysdeps/powerpc/e_sqrtf.c: Likewise.
3273         * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
3274         the double precision version.
3275         * sysdeps/powerpc/s_fabsf.S: Likewise.
3276         * sysdeps/powerpc/s_isnanf.S: Likewise.
3278 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
3280         * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>.  Somebody
3281         should update this to use the new db API.
3282         * nss/nss_db/db-netgrp.c: Likewise.
3283         * nss/nss_db/db-alias.c: Likewise.
3284         * db2/Makefile: Makefile for db-2.x in glibc.
3286 1997-08-27 21:20  Ulrich Drepper  <drepper@cygnus.com>
3288         * csu/Makefile (before-compile): New goal.  Make sure abi-tag.h
3289         is generated.
3290         [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
3292         * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
3293         -D__USE_STRING_INLINES.
3294         * string/string.f: Move strnlen optimization after inclusion of
3295         <bits/string.h>.  Include <bits/string.h> only if __USE_STRING_INLINES
3296         is defined.
3297         * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
3298         in <bits/string.h>.
3299         * sysdeps/generic/memset.c: Likewise.
3300         * sysdeps/i386/string.h: i386 optimized string functions.
3301         * sysdeps/i386/i486string.h: i486+ optimized string functions.
3303         * Makefile (subdirs): Change db to db2.
3304         * shlib-versions: Bump libdb verion number to 3.
3305         * include/db.h: Include from db2 directory.
3306         * include/db_185.h: New file.
3307         * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
3308         to provide spinlock information for db2.
3309         * sysdeps/m68k/m68020/Makefile: New file.  Likewise.
3310         * sysdeps/sparc/Makefile: New file.  Likewise.
3311         * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
3312         Add -DHAVE_LLSEEK.
3313         * db2/config.h: Hand-edited config file for db2 in glibc.
3314         * db2/compat.h: New file from db-2.3.4.
3315         * db2/db.h: Likewise.
3316         * db2/db_185.h: Likewise.
3317         * db2/db_int.h: Likewise.
3318         * db2/makedb.c: Likewise.
3319         * db2/btree/bt_close.c: Likewise.
3320         * db2/btree/bt_compare.c: Likewise.
3321         * db2/btree/bt_conv.c: Likewise.
3322         * db2/btree/bt_cursor.c: Likewise.
3323         * db2/btree/bt_delete.c: Likewise.
3324         * db2/btree/bt_open.c: Likewise.
3325         * db2/btree/bt_page.c: Likewise.
3326         * db2/btree/bt_put.c: Likewise.
3327         * db2/btree/bt_rec.c: Likewise.
3328         * db2/btree/bt_recno.c: Likewise.
3329         * db2/btree/btree_auto.c: Likewise.
3330         * db2/btree/bt_rsearch.c: Likewise.
3331         * db2/btree/bt_search.c: Likewise.
3332         * db2/btree/bt_split.c: Likewise.
3333         * db2/btree/bt_stat.c: Likewise.
3334         * db2/btree/btree.src: Likewise.
3335         * db2/common/db_appinit.c: Likewise.
3336         * db2/common/db_err.c: Likewise.
3337         * db2/common/db_byteorder.c: Likewise.
3338         * db2/common/db_apprec.c: Likewise.
3339         * db2/common/db_salloc.c: Likewise.
3340         * db2/common/db_log2.c: Likewise.
3341         * db2/common/db_region.c: Likewise.
3342         * db2/common/db_shash.c: Likewise.
3343         * db2/db/db.c: Likewise.
3344         * db2/db/db.src: Likewise.
3345         * db2/db/db_conv.c: Likewise.
3346         * db2/db/db_dispatch.c: Likewise.
3347         * db2/db/db_dup.c: Likewise.
3348         * db2/db/db_overflow.c: Likewise.
3349         * db2/db/db_pr.c: Likewise.
3350         * db2/db/db_rec.c: Likewise.
3351         * db2/db/db_ret.c: Likewise.
3352         * db2/db/db_thread.c: Likewise.
3353         * db2/db/db_auto.c: Likewise.
3354         * db2/db185/db185.c: Likewise.
3355         * db2/db185/db185_int.h: Likewise.
3356         * db2/dbm/dbm.c: Likewise.
3357         * db2/hash/hash.c: Likewise.
3358         * db2/hash/hash.src: Likewise.
3359         * db2/hash/hash_page.c: Likewise.
3360         * db2/hash/hash_conv.c: Likewise.
3361         * db2/hash/hash_debug.c: Likewise.
3362         * db2/hash/hash_stat.c: Likewise.
3363         * db2/hash/hash_rec.c: Likewise.
3364         * db2/hash/hash_dup.c: Likewise.
3365         * db2/hash/hash_func.c: Likewise.
3366         * db2/hash/hash_auto.c: Likewise.
3367         * db2/include/mp.h: Likewise.
3368         * db2/include/btree.h: Likewise.
3369         * db2/include/db.h.src: Likewise.
3370         * db2/include/db_int.h.src: Likewise.
3371         * db2/include/db_shash.h: Likewise.
3372         * db2/include/db_swap.h: Likewise.
3373         * db2/include/db_185.h.src: Likewise.
3374         * db2/include/txn.h: Likewise.
3375         * db2/include/db_am.h: Likewise.
3376         * db2/include/shqueue.h: Likewise.
3377         * db2/include/hash.h: Likewise.
3378         * db2/include/db_dispatch.h: Likewise.
3379         * db2/include/lock.h: Likewise.
3380         * db2/include/db_page.h: Likewise.
3381         * db2/include/log.h: Likewise.
3382         * db2/include/db_auto.h: Likewise.
3383         * db2/include/btree_auto.h: Likewise.
3384         * db2/include/hash_auto.h: Likewise.
3385         * db2/include/log_auto.h: Likewise.
3386         * db2/include/txn_auto.h: Likewise.
3387         * db2/include/db_ext.h: Likewise.
3388         * db2/include/btree_ext.h: Likewise.
3389         * db2/include/clib_ext.h: Likewise.
3390         * db2/include/common_ext.h: Likewise.
3391         * db2/include/hash_ext.h: Likewise.
3392         * db2/include/lock_ext.h: Likewise.
3393         * db2/include/log_ext.h: Likewise.
3394         * db2/include/mp_ext.h: Likewise.
3395         * db2/include/mutex_ext.h: Likewise.
3396         * db2/include/os_ext.h: Likewise.
3397         * db2/include/txn_ext.h: Likewise.
3398         * db2/include/cxx_int.h: Likewise.
3399         * db2/include/db_cxx.h: Likewise.
3400         * db2/include/queue.h: Likewise.
3401         * db2/lock/lock.c: Likewise.
3402         * db2/lock/lock_conflict.c: Likewise.
3403         * db2/lock/lock_util.c: Likewise.
3404         * db2/lock/lock_deadlock.c: Likewise.
3405         * db2/log/log.c: Likewise.
3406         * db2/log/log_get.c: Likewise.
3407         * db2/log/log.src: Likewise.
3408         * db2/log/log_compare.c: Likewise.
3409         * db2/log/log_put.c: Likewise.
3410         * db2/log/log_rec.c: Likewise.
3411         * db2/log/log_archive.c: Likewise.
3412         * db2/log/log_register.c: Likewise.
3413         * db2/log/log_auto.c: Likewise.
3414         * db2/log/log_findckp.c: Likewise.
3415         * db2/mp/mp_bh.c: Likewise.
3416         * db2/mp/mp_fget.c: Likewise.
3417         * db2/mp/mp_fopen.c: Likewise.
3418         * db2/mp/mp_fput.c: Likewise.
3419         * db2/mp/mp_fset.c: Likewise.
3420         * db2/mp/mp_open.c: Likewise.
3421         * db2/mp/mp_region.c: Likewise.
3422         * db2/mp/mp_pr.c: Likewise.
3423         * db2/mp/mp_sync.c: Likewise.
3424         * db2/mutex/68020.gcc: Likewise.
3425         * db2/mutex/mutex.c: Likewise.
3426         * db2/mutex/README: Likewise.
3427         * db2/mutex/x86.gcc: Likewise.
3428         * db2/mutex/sparc.gcc: Likewise.
3429         * db2/mutex/uts4.cc.s: Likewise.
3430         * db2/mutex/alpha.dec: Likewise.
3431         * db2/mutex/alpha.gcc: Likewise.
3432         * db2/mutex/parisc.gcc: Likewise.
3433         * db2/mutex/parisc.hp: Likewise.
3434         * db2/os/db_os_abs.c: Likewise.
3435         * db2/os/db_os_dir.c: Likewise.
3436         * db2/os/db_os_fid.c: Likewise.
3437         * db2/os/db_os_lseek.c: Likewise.
3438         * db2/os/db_os_mmap.c: Likewise.
3439         * db2/os/db_os_open.c: Likewise.
3440         * db2/os/db_os_rw.c: Likewise.
3441         * db2/os/db_os_sleep.c: Likewise.
3442         * db2/os/db_os_stat.c: Likewise.
3443         * db2/os/db_os_unlink.c: Likewise.
3444         * db2/txn/txn.c: Likewise.
3445         * db2/txn/txn.src: Likewise.
3446         * db2/txn/txn_rec.c: Likewise.
3447         * db2/txn/txn_auto.c: Likewise.
3448         * db2/clib/getlong.c: Likewise.
3449         * db2/progs/db_archive/db_archive.c: Likewise.
3450         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3451         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3452         * db2/progs/db_dump/db_dump.c: Likewise.
3453         * db2/progs/db_dump185/db_dump185.c: Likewise.
3454         * db2/progs/db_load/db_load.c: Likewise.
3455         * db2/progs/db_printlog/db_printlog.c: Likewise.
3456         * db2/progs/db_recover/db_recover.c: Likewise.
3457         * db2/progs/db_stat/db_stat.c: Likewise.
3459         * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
3461         * po/de.po, po/sv.po: Update from 2.0.5 translations.
3463         * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
3465         * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
3466         as const.
3467         * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
3468         * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
3469         * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
3471 1997-08-27 18:47  Ulrich Drepper  <drepper@cygnus.com>
3473         * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
3474         Reported by Benjamin Kosnik <bkoz@cygnus.com>.
3476 1997-08-27 02:27  Roland McGrath  <roland@baalperazim.frob.com>
3478         * abi-tags: New file.
3479         * csu/Makefile (distribute): Remove abi-tag.h.
3480         ($(objpfx)abi-tag.h): New target.
3481         * Makefile (distribute): Add abi-tags.
3482         * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
3483         * sysdeps/mach/hurd/abi-tag.h: File removed.
3484         * sysdeps/stub/abi-tag.h: File removed.
3486 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3488         * sysdeps/unix/make-syscalls.sh: Change output so that it
3489         generates compilation rules only for the currently selected object
3490         suffixes.
3492 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3494         * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
3495         section to avoid confusing the compiler.
3496         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3497         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3498         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3499         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
3500         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3502         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
3503         relocation instead of a constant to avoid text relocation.
3504         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
3505         (RTLD_START): Declare global labels as functions and add size
3506         directive.
3508 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
3510         * sysdeps/i386/bits/select.h: Correct assembler versions to work even
3511         for descriptors >= 32.
3513         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
3514         is used __alloca is not defined to __builtin_alloca and so might
3515         not be available.
3516         Reported by Uwe Ohse <uwe@ohse.de>.
3518         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
3519         way if gcc is not used and so dev_t is an array.
3520         Reported by Uwe Ohse <uwe@ohse.de>.
3522 1997-08-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3524         * manual/libc.texinfo: Reorder chapters to match logical order.
3526 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
3528         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
3529         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
3530         with g++ internal symbols.
3531         Patch by Sudish Joseph <sj@eng.mindspring.net>.
3533 1997-08-24  Miles Bader  <miles@gnu.ai.mit.edu>
3535         * string/argz.h: Add missing __END_DECLS.
3537 1997-08-24 12:24  Ulrich Drepper  <drepper@cygnus.com>
3539         * configure.in (INSTALL): Quote `$'.
3541         * libc.map: Add __xpg_basename.
3543         * csu/Makefile (initfini.s): Disable optimization.
3545         * elf/dl-deps.c: Implement handling of DT_FILTER.
3547         * elf/dl-load.c (_dl_init_paths): Add error check.
3549         * intl/finddomain.c (_nl_find_domain): Correct comment.
3550         * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
3552         * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
3553         Change extern inline functions to work correctly in C++.
3555         * locale/iso-4217.def: Update for more recent ISO 4217 version.
3557         * locale/loadlocale.c (_nl_load_locale): Add cast.
3559         * manual/message.texi: Finish gettext section.
3561         * posix/getopt_init.c: Don't use relative #include path.
3562         (__getopt_clean_environment): Change function to take pointer to
3563         environment as argument.  Optimize generation of test string a bit.
3564         * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
3565         with additional argument.
3567         * poisx/glob.c: Add prototype for next_brace_sub.
3569         * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
3570         vector.
3572         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
3573         to not generate relocation entry.  Suggested by Richard Henderson.
3574         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
3575         (elf_machine_runtime_setup): Add .aligns.
3577         * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
3579         * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
3580         1997-08-14 03:14.  gcc 2.7.2* is really broken in some aspects.
3582         * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
3583         * sysdeps/standalone/i960/i960ca.h: Likewise.
3585 1997-08-22 19:04  Richard Henderson  <rth@cygnus.com>
3587         * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
3588         undocumented test addition in _dl_map_object.
3590         Support ET_EXEC versions of ld.so, for debugging at least:
3592         * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
3593         called despite the DT_SONAME != NULL test, segfaulting.  Simplify
3594         the code here as well.
3595         * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
3596         (_dl_setup_hash): Likewise for hash tables.
3597         * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
3598         * elf/rtld.c (_dl_start): Likewise for rpath.
3599         (_dl_rtld_libname2): New variable.
3600         (dl_main): Use it to add an soname for ourselves when we don't have
3601         one of our own.  Base it on the target's .interp.
3602         (dl_main): Again, skip printing of objects that don't have strtabs.
3604         Sparc 32 merge:
3606         * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
3607         (fixup): Simplify code.  Use ELF_FIXUP_RETURN_VALUE.
3608         (profile_fixup): Likewise, though this still needs fixing for
3609         Sparc32 and PPC.
3610         * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
3611         to ELF_FIXUP_RETURN_VALUE.
3613         * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
3614         Fix up _dl_start_user to handle _dl_skip_args properly.
3615         Use _dl_hwcap to determine if "flush" is available/needed.
3617         * sysdeps/sparc/configure.in: Remove.  It doesn't actually do
3618         anything anymore, and what it did do is done somewhere else.
3619         * sysdeps/sparc/configure: Likewise.
3621         * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
3623         * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
3625         * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
3626         in divrem expansions.
3628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
3629         definitions for assembly syntax differences.
3631         * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
3632         "system".  Use %g2,%g3 instead.  Use new local label macro.
3633         * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
3634         and LOC for proper assembly headers/footers.
3635         * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
3636         * sysdeps/sparc/sparc32/alloca.S: Likewise.
3637         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3638         * sysdeps/sparc/sparc32/lshift.S: Likewise.
3639         * sysdeps/sparc/sparc32/mul_1.S: Likewise.
3640         * sysdeps/sparc/sparc32/rshift.S: Likewise.
3641         * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
3642         * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
3643         * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
3644         * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
3645         * sysdeps/sparc/sparc32/sub_n.S: Likewise.
3646         * sysdeps/sparc/sparc32/submul_1.S: Likewise.
3647         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
3648         * sysdeps/sparc/sparc32/umul.S: Likewise.
3649         * sysdeps/sparc/sparc32/divrem.m4: Likewise.
3650         * sysdeps/sparc/sparc32/rem.S: Regenerate.
3651         * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
3652         * sysdeps/sparc/sparc32/udiv.S: Regenerate.
3653         * sysdeps/sparc/sparc32/urem.S: Regenerate.
3655         * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
3656         * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
3657         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
3658         * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
3659         * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
3660         * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
3662         * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
3663         * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
3664         * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
3666         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
3667         Clean up PIC code.
3669         * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
3670         from the sparc64 version.
3671         * sysdeps/sparc/sparc32/elf/start.c: Removed.
3673         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
3674         assembly based on the sparc64 version.
3676         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh.  Use proper syntax
3677         for manipulating %fsr.
3678         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
3679         be the default.
3681         * elf/elf.h (HWCAP_SPARC_*): New definitions.
3682         * elf/rtld.c (_dl_hwcap): New variable.
3683         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
3685         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
3686         Attempt to get hold of the page size based on what we might have
3687         been told at startup time in _dl_pagesize.  This will be obsolete
3688         when I finish the kernel hooks for a proper sysconf(), stay tuned.
3690         Sparc 64 merge:
3692         * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
3693         Figure out the right thing to return based on the .plt format.
3695         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
3697         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
3698         Should have been 64-bits wide.
3700         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
3701         optimize for branch delay slot usage.
3703 1997-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3705         * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
3706         change.
3708 1997-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3710         * math/libm-test.c (identities): Change epsilon.
3712         * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
3713         fabsf, fabsl, __fabsl.
3715 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
3717         * catgets/catgets.c (catclose): Use __munmap instead of munmap.
3718         * catgets/gencat.c (read_input_file): Fix typo.
3720         * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
3722         * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
3723         executed (e.g., when it is a static binary).
3725         * intl/bindtextdomain.c: Use strdup in glibc.  Correct comment.
3726         * intl/dcgettext.c: Likewise.
3727         * intl/dgettext.c: Likewise.
3728         * intl/explodename.c: Likewise.
3729         * intl/finddomain.c: Likewise.
3730         * intl/gettext.c: Likewise.
3731         * intl/gettext.h: Likewise.
3732         * intl/hash-string.h: Likewise.
3733         * intl/l10nflist.c: Likewise.
3734         * intl/libintl.h: Likewise.
3735         * intl/loadinfo.h: Likewise.
3736         * intl/loadmsgcat.c: Likewise.
3737         * intl/localealias.c: Likewise.
3738         * intl/textdomain.c: Likewise.
3740         Unify libio sources with code in libg++.
3741         * libio/fcloseall.c: Update and reformat copyright.  Protect use
3742         of weak_alias.  Use _IO_* thread macros instead of __libc_*.
3743         * libio/feof.c: Likewise.
3744         * libio/feof_u.c: Likewise.
3745         * libio/ferror.c: Likewise.
3746         * libio/ferror_u.c: Likewise.
3747         * libio/fgetc.c: Likewise.
3748         * libio/filedoalloc.c: Likewise.
3749         * libio/fileno.c: Likewise.
3750         * libio/fileops.c: Likewise.
3751         * libio/fputc.c: Likewise.
3752         * libio/fputc_u.c: Likewise.
3753         * libio/freopen.c: Likewise.
3754         * libio/fseek.c: Likewise.
3755         * libio/genops.c: Likewise.
3756         * libio/getc.c: Likewise.
3757         * libio/getc_u.c: Likewise.
3758         * libio/getchar.c: Likewise.
3759         * libio/getchar_u.c: Likewise.
3760         * libio/iofclose.c: Likewise.
3761         * libio/iofdopen.c: Likewise.
3762         * libio/iofflush.c: Likewise.
3763         * libio/iofflush_u.c: Likewise.
3764         * libio/iofgetpos.c: Likewise.
3765         * libio/iofgets.c: Likewise.
3766         * libio/iofopen.c: Likewise.
3767         * libio/iofopncook.c: Likewise.
3768         * libio/iofprintf.c: Likewise.
3769         * libio/iofputs.c: Likewise.
3770         * libio/iofread.c: Likewise.
3771         * libio/iofsetpos.c: Likewise.
3772         * libio/ioftell.c: Likewise.
3773         * libio/iofwrite.c: Likewise.
3774         * libio/iogetdelim.c: Likewise.
3775         * libio/iogetline.c: Likewise.
3776         * libio/iogets.c: Likewise.
3777         * libio/iopadn.c: Likewise.
3778         * libio/iopopen.c: Likewise.
3779         * libio/ioputs.c: Likewise.
3780         * libio/ioseekoff.c: Likewise.
3781         * libio/ioseekpos.c: Likewise.
3782         * libio/iosetbuffer.c: Likewise.
3783         * libio/iosetvbuf.c: Likewise.
3784         * libio/iosprintf.c: Likewise.
3785         * libio/ioungetc.c: Likewise.
3786         * libio/iovdprintf.c: Likewise.
3787         * libio/iovsprintf.c: Likewise.
3788         * libio/iovsscanf.c: Likewise.
3789         * libio/libio.h: Likewise.
3790         * libio/libioP.h: Likewise.
3791         * libio/obprintf.c: Likewise.
3792         * libio/pclose.c: Likewise.
3793         * libio/peekc.c: Likewise.
3794         * libio/putc.c: Likewise.
3795         * libio/putchar.c: Likewise.
3796         * libio/rewind.c: Likewise.
3797         * libio/setbuf.c: Likewise.
3798         * libio/setlinebuf.c: Likewise.
3799         * libio/stdfiles.c: Likewise.
3800         * libio/stdio.c: Likewise.
3801         * libio/strfile.h: Likewise.
3802         * libio/strops.c: Likewise.
3803         * libio/vasprintf.c: Likewise.
3804         * libio/vscanf.c: Likewise.
3805         * libio/vsnprintf.c: Likewise.
3807         * manual/libc.texinfo: Add menu entries for chapter on message
3808         translation.
3809         * manual/locale.texi: Correct next entry in @node for new chapter.
3810         * manual/search.texi: Likewise for previous link.
3811         * manual/message.texi: New file.
3812         * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
3813         setenv, unsetenv, and clearenv.
3814         * manual/string.texi: Fix typos.  Patch by Jim Meyering.
3816         * math/Makefile (test-longdouble-yes): Enable.  We want long double
3817         tests now.
3819         Crusade against strcat.
3820         * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
3821         * stdlib/canonicalize.c: Likewise.
3823         * posix/glob.h: Define __const if necessary.  Use __const in all
3824         prototypes.
3826         * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
3827         GNU packages.
3829         * posix/wordexp.c: Completely reworked buffer handling for much
3830         better performance.  Patch by Tim Waugh.
3832         * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
3833         it must be socklen_t.
3835         * sysdeps/libm-i387/e_remainder.S: Pretty print.
3836         * sysdeps/libm-i387/e_remainderf.S: Likewise.
3837         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
3838         * sysdeps/libm-i387/s_cexp.S: Little optimization.
3839         * sysdeps/libm-i387/s_cexpl.S: Likewise.
3840         * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
3842 1997-08-18 15:21  Ulrich Drepper  <drepper@cygnus.com>
3844         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
3845         in cleanup code.
3847 1997-08-17  Paul Eggert  <eggert@twinsun.com>
3849         * tzset.c (__tzset_internal): Fix memory leak when the user
3850         specifies a TZ value that uses a default rule file.
3851         Do not assume US DST rules when the user specifies
3852         that there is no DST.
3854 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
3856         * inet/getnameinfo.c: Tidy up.
3857         * sysdeps/posix/getaddrinfo.c: Likewise.
3859         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
3860         using stub code.
3861         (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
3862         (if_nameindex): Use alloca() rather than malloc(); use
3863         SIOCGIFCOUNT ioctl if the kernel supports it.
3865 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3867         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
3868         they operate on internal kernel structures and have no place in a
3869         user header.
3871 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3873         * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
3874         (build-shlib): Filter them out of $^.
3876 1997-08-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3878         * elf/dl-error.c (_dl_signal_error): Fix error message.
3880 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
3882         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
3883         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
3885 1997-08-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3887         * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
3888         to avoid conflict with PO files.
3889         * Makerules: Likewise.
3890         * Rules: Likewise.
3891         * elf/Makefile: Likewise.
3892         * extra-lib.mk: Likewise.
3893         * gmon/Makefile: Likewise.
3894         * nis/Makefile: Likewise.
3895         * nss/Makefile: Likewise.
3896         * resolv/Makefile: Likewise.
3897         * rpm/Makefile: Likewise.
3898         * sunrpc/Makefile: Likewise.
3899         * sysdeps/sparc/elf/Makefile: Likewise.
3900         * sysdeps/sparc64/elf/Makefile: Likewise.
3901         * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
3902         (ASFLAGS-.os): Renamed from as-FLAGS.os.
3904 1997-08-14 03:14  Ulrich Drepper  <drepper@cygnus.com>
3906         * elf/dl-minimal.c: Don't use relative #include paths.
3907         (malloc): Don't try to initialize _dl_pagesize, it already is.
3908         (__sigjmp_save, longjmp): Reformat.
3910         * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
3911         show content of auxiliary array.
3912         (_dl_sysdep_start): Remember start of auxiliary vector.
3913         * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
3914         * elf/link.h: Add prototype for _dl_show_auxv.
3915         * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
3916         is present.
3918         * libio/iofdopen.c: Better prepare for use in libstdc++.
3919         * libio/iofflush.c: Likewise.
3920         * libio/iofgetpos.c: Likewise.
3921         * libio/iofgets.c: Likewise.
3922         * libio/iofopen.c: Likewise.
3923         * libio/iofputs.c: Likewise.
3924         * libio/iofread.c: Likewise.
3925         * libio/iofsetpos.c: Likewise.
3926         * libio/ioftell.c: Likewise.
3927         * libio/iofwrite.c: Likewise.
3928         * libio/iogetdelim.c: Likewise.
3929         * libio/iogets.c: Likewise.
3930         * libio/iopopen.c: Likewise.
3931         * libio/ioputs.c: Likewise.
3932         * libio/iosetbuffer.c: Likewise.
3933         * libio/iosetvbuf.c: Likewise.
3934         * libio/ioungetc.c: Likewise.
3935         * libio/iovsprintf.c: Likewise.
3936         * libio/iovsscanf.c: Likewise.
3938         * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
3939         place.
3941         * manual/math.texi: Add comment to sincos decsription to say it's a
3942         GNU extension.
3943         Fix description of random function.
3945         * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
3946         * posix/glob.c: Likewise.  Handle stupid system headers on SunOS.
3947         Add casts for all __alloca calls.
3948         * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
3949         Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
3950         Patches by Paul D. Smith <psmith@BayNetworks.COM>.
3952         * stdio-common/_itoa.c: Don't use relateive #include paths.
3954         * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
3955         gcc 2.7.
3956         (atan): Loading 1.0 from memory does not pay off.
3957         (asinh): Fix typo.
3959 1997-08-13 09:44  Philip Blundell  <Philip.Blundell@pobox.com>
3961         * sysdeps/stub/accept.c: Use socklen_t where necessary.
3962         * sysdeps/stub/bind.c: Likewise.
3963         * sysdeps/stub/connect.c: Likewise.
3964         * sysdeps/stub/getsockname.c: Likewise.
3965         * sysdeps/stub/getsockopt.c: Likewise.
3966         * sysdeps/stub/recvfrom.c: Likewise.
3967         * sysdeps/stub/sendto.c: Likewise.
3968         * sysdeps/stub/setsockopt.c: Likewise.
3970 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3972         * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
3973         types.
3975 1997-08-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3977         * math/libm-test.c (cbrt_test): Add epsilon for long double to
3978         `cbrt (-0.001)'.
3980 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3982         * sysdeps/stub/bits/string.h: Fix comment.
3984 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3986         * elf/Makefile (routines): Remove dl-version.
3987         (dl-routines): Add it here instead.  This removes dead code from
3988         libc.so.
3990 1997-08-12 17:17  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3992         * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
3993         macros to encapsulate pthread_atfork's functionality.
3994         * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
3995         functions, registered via thread_atfork in the initialization
3996         routine or via thread_atfork_static in global scope.  This
3997         ensures a consistent state of all locks across fork().
3999 1997-08-11 23:00:32 1997  Mark Kettenis  <kettenis@phys.uva.nl>
4001         * login/programs/xtmp.c (compare_entry):
4002         Partially undo patch made by Klaus Espenlaub.  There
4003         was no xtmp/utmp typo.  Added comment to cclarify this.
4004         * login/programs/xtmp.h: Likewise.
4006         * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
4007         Patch by Paul D. Smith <psmith@BayNetworks.COM>.
4009 1997-08-12 13:51  Ulrich Drepper  <drepper@cygnus.com>
4011         * login/getutid.c: Rename to __getutid and make getutid and getutxid
4012         weak aliases.
4013         Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
4015 1997-08-11 23:55  Ulrich Drepper  <drepper@cygnus.com>
4017         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
4018         Add bits/mman.h.
4020 1997-08-11 08:51:21 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
4022         * stdlib/fmtmsg.c (fmtmsg): Add static to
4023         __libc_once_define macro.
4025         * libc.map (__progname_full, __progname): Added.
4027 1997-08-04 08:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
4029         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
4030         if SIOGIFINDEX is not defined.
4031         (if_indextoname): Initialize "result" to NULL.
4032         (if_nametoindex, if_nameindex): Fix ENOSYS setting.
4034 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
4036         Sparc ISO C 9x exception handling:
4037         * sysdeps/sparc/fpu/bits/mathdef.h: New file.
4038         * sysdeps/sparc/fpu/fclrexcpt.c: New file.
4039         * sysdeps/sparc/fpu/fegetenv.c: New file.
4040         * sysdeps/sparc/fpu/fegetround.c: New file.
4041         * sysdeps/sparc/fpu/feholdexcpt.c: New file.
4042         * sysdeps/sparc/fpu/fesetenv.c: New file.
4043         * sysdeps/sparc/fpu/fesetround.c: New file.
4044         * sysdeps/sparc/fpu/feupdateenv.c: New file.
4045         * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
4046         * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
4047         * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
4048         * sysdeps/sparc/fpu/ftestexcept.c: New file.
4049         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
4050         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
4052 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
4054         Sparc64 merge:
4055         * configure.in: Change up subdirectories, rename sparc8->sparcv8.
4057         * csu/Makefile: Nuke need-nopic-initfini bits.  The problem was
4058         that sparc64 ld did not recognize pic relocs at all.
4060         * elf/dl-deps.c: Include <string.h>.
4061         * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
4062         directly instead of the DT names to get them from.
4063         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
4064         from ELF_DYNAMIC_DO_REL{,A}.  Define a second version that accounts
4065         for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
4066         the case on the Sparc.
4068         * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
4069         Elf32_Ver* bits.  The linker does not even know to differentiate
4070         between the word sizes.  Someone should examine this and figure
4071         out what the proper sizes of things should be for 64-bit hosts
4072         before the sparc64 libraries are distributed.
4074         * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
4075         on the same machine.
4077         Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
4078         rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
4079         sysdeps/sparc/sparc64.  Same for sysdeps/unix/sysv/linux/sparc.
4081         * sysdeps/sparc/Implies: Do ieee754 here.
4082         * sysdeps/sparc/configure.in: Move from sparc32/.
4083         * sysdeps/sparc/sparc32/Implies: Do wordsize here.
4084         * sysdeps/sparc/sparc64/Implies: Likewise.
4086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
4087         Use uninitialized .got to find load address instead of AT_BASE, as
4088         the later does not exist when running ld.so directly.
4090         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
4091         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
4093         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
4095         * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
4096         and s_signbitl for stdio.
4097         * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
4098         nopic_initfini.
4100         * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
4101         * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
4102         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
4103         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
4104         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
4105         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
4106         and setjmp entry points.
4108         * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
4110         * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
4111         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
4113         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
4114         Fix sa_flags size for sparc64; add sa_restorer for kernel.
4116         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
4117         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4118         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
4119         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4121         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
4123 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
4125         * login/login.c (login): Check for correct return value of
4126         utmpname.
4128 1997-08-11 16:49  Ulrich Drepper  <drepper@cygnus.com>
4130         * time/tzset.c (__tzset_internal): Correctly handle TZ strings
4131         following incorrect old POSIX specs.
4132         Patch by Paul Eggert <eggert@twinsun.com>.
4134         * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
4135         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
4136         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
4137         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
4138         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4139         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4140         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
4141         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
4142         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
4144 1997-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4146         * manual/math.texi: Define the macros @mul and @infinity and use
4147         them to format the multiplication and infinity signs.
4148         (FP Comparison Functions): Use @code, not @math, for C code
4149         examples.
4151 1997-08-10 18:48  Ulrich Drepper  <drepper@cygnus.com>
4153         * Makeconfig: Define build-programs to no if not set and $(config-os)
4154         is none.
4155         * Makerules (+depfiles): Don't add $(others) if not build-programs.
4156         * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
4157         and $(install-sbin) if not build-programs.
4158         * Makefile (subdirs): Remove login.
4159         * sysdeps/mach/hurd/Subdirs: Add login.
4160         * sysdeps/unix/Subdirs: Add login.
4162         * sysdeps/generic/sys/mman.h: Test feature macros before defining
4163         non-POSIX things.  Add MAP_FAILED.
4164         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
4165         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
4166         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
4167         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
4168         * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
4169         but bits/mman.h.  Test feature macros before definitions non-POSIX
4170         functions.
4171         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
4172         * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
4173         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
4174         * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
4175         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
4176         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
4177         * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
4178         * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
4179         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
4180         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
4181         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4182         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
4183         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
4184         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.  Likewise.
4186         * catgets/open_catalog.c (__open_catalog): Compare result of mmap
4187         with MAP_FAILED and not -1.
4188         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4189         * elf/dl-minimal.c (malloc): Likewise.
4190         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
4191         * locale/loadlocale.c (_nl_load_locale): Likewise.
4192         * locale/programs/localedef.c: Likewise.
4193         * malloc/malloc.c (mmap_chunk): Likewise.
4194         (new_heap): Likewise.
4195         * string/stratcliff.c: Likewise.
4196         * string/tester.c: Add tests for stpcpy.
4198         * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
4200         * gmon/sys/gmon.h: Add prototype for write_profiling.
4202         * elf/dl-profile.c: Add descriptions and implement reading of
4203         existing data in profiling file.
4204         * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
4205         lib profiling data.
4207         * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
4208         parameter for class.
4210         * inet/inet_ntoa.c: Make once control variable static.
4211         Correctly handle case where key cannot be retrieved.
4212         * inet/Makefile (tests): Add tst-ntoa.
4213         * inet/tst-ntoa.c: New file.
4215         * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
4216         ctime_r.
4217         Mention that tzname values must not be changed.
4219         * manual/users.texi: Document UTMP/WTMP handling functions.
4220         Mainly written by Mark Kettenis.
4222         * math/libm-test.c (cbrt_test): Add test for number with aboslute
4223         value < 1.0.
4225         * nss/nss_files/files-XXX.c (internal_setent): If opening of file
4226         failed with EGAIN return NSS_STATUS_TRYAGAIN.
4227         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4229         * sysdeps/generic/bits/utmp.h: Pretty print.
4231         * sysdeps/i386/i586/strcpy.S: New file.  Much faster implementation.
4232         * sysdeps/i386/i586/stpcpy.S: New file.
4233         * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
4234         these are less efficient than i486/i386 versions.
4236         * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
4237         version from libm-ieee754 be compiled since the later is not needed.
4238         * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
4239         * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
4240         * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
4241         * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
4242         * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
4243         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
4244         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
4245         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
4246         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
4247         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
4248         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
4250         * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
4251         * sysdeps/libm-i387/s_cbrtf.S: Likewise.
4252         * sysdeps/libm-i387/s_cbrtl.S: Likewise.
4254         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
4255         little bug.
4257         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
4258         msg_iovlen of type int.
4260         * time/tzfile.c: Change return type of __tzstring to char *.
4261         * time/tzset.c: Likewise.  Change definition of __tzstring.
4263         * time/tzset.c: Interpret no DST information in user provided time
4264         zone specification as it is meant: no DST.
4265         Patch by Paul Eggert <eggert@twinsun.com>.
4267 1997-07-20 03:01  Geoff Keating  <geoffk@ozemail.com.au>
4269         * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
4270         (_dl_map_object_from_fd): Use add_name_to_object.
4271         (_dl_map_object): If an object's SONAME is used to resolve a
4272         dependency, add it to the list of the object's names.
4274         * inet/getnameinfo.c: Make `domain' non-const.
4276         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
4278         * math/test-fenv.c (feenv_nomask_test): Don't execute if
4279         FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
4280         sets errno to ENOSYS.
4282         * sysdeps/powerpc/dl-machine.h: Print proper error message on
4283         unknown reloc type (rather than using assert).
4285         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
4286         * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
4288 1997-07-16 12:47  Geoff Keating  <geoffk@ozemail.com.au>
4290         * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
4291         (feclearexcept): New optimising macro.
4292         (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
4293         (FE_ENABLED_ENV): Add.
4294         (FE_NONIEEE_ENV): Add.
4295         * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
4296         __fe_nonieee_env; delete __fe_nomask_env.
4297         * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
4298         gets implemented in the kernel).
4300         * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
4301         FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
4302         * sysdeps/powerpc/fsetexcptflag.c: Likewise.
4304         * io/ftw.c: Don't compare holes in structures.
4305         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
4306         macros to `int', because otherwise it might be `long long' which
4307         the calling code is probably not expecting.
4309         * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
4310         document the existence of some more.
4312         * sysdeps/powerpc/s_llrint.c: New file.
4313         * sysdeps/powerpc/s_lrint.c: New file.
4314         * sysdeps/powerpc/s_llround.c: New file.
4315         * sysdeps/powerpc/s_lround.c: New file.
4317         * sysdeps/powerpc/s_sqrt.c: New file.
4318         * sysdeps/powerpc/s_sqrtf.c: New file.
4319         * sysdeps/powerpc/w_sqrt.s: New empty file.
4320         * sysdeps/powerpc/w_sqrtf.s: New empty file.
4321         * sysdeps/powerpc/t_sqrt.c: New file.
4322         * sysdeps/powerpc/test-arithf.c: New file.
4323         * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
4324         routines.  Add test-arithf to test programs.
4326         * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
4328         * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
4329         and possibly faster (or possibly slower, depending on input).
4331 1997-06-08 22:55  Geoff Keating  <geoffk@ozemail.com.au>
4333         * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
4334         macros.
4335         * sysdeps/powerpc/s_rint.c: New file.
4337 1997-05-22 08:47  Geoff Keating  <geoffk@ozemail.com.au>
4339         * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
4340         * sysdeps/powerpc/Dist: Add quad_float.h.
4341         * sysdeps/powerpc/q_dtoq.c: New file.
4342         * sysdeps/powerpc/q_itoq.c: New file.
4343         * sysdeps/powerpc/q_lltoq.c: New file.
4344         * sysdeps/powerpc/q_neg.c: New file.
4345         * sysdeps/powerpc/q_qtoi.c: New file.
4346         * sysdeps/powerpc/q_qtoll.c: New file.
4347         * sysdeps/powerpc/q_qtos.c: New file.
4348         * sysdeps/powerpc/q_qtou.c: New file.
4349         * sysdeps/powerpc/q_qtoull.c: New file.
4350         * sysdeps/powerpc/q_stoq.c: New file.
4351         * sysdeps/powerpc/q_ulltoq.c: New file.
4352         * sysdeps/powerpc/q_utoq.c: New file.
4353         * sysdeps/powerpc/quad_float.h: New file.
4354         * sysdeps/powerpc/test-arith.c: New file.
4356         * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
4357         * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
4358         require a stack frame.
4359         * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
4361 1997-05-18 05:55  Geoff Keating  <geoffk@ozemail.com.au>
4363         * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
4364         fesetenv_register): Add 'volatile'.
4365         (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
4366         constants to use with them.
4367         * sysdeps/powerpc/s_copysign.S: New file.
4368         * sysdeps/powerpc/s_copysignf.s: New file.
4369         * sysdeps/powerpc/s_fabs.S: New file.
4370         * sysdeps/powerpc/s_fabsf.s: New file.
4371         * sysdeps/powerpc/s_isnan.c: New file.
4372         * sysdeps/powerpc/s_isnanf.s: New file.
4373         * sysdeps/powerpc/s_rintf.c: New file.
4375         * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
4376         bit in the FPSCR, not the enable bit.
4377         * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
4378         * sysdeps/powerpc/fclrexcpt.c: Correct.
4379         * sysdeps/powerpc/fsetexcptflag.c: Correct.
4380         * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
4381         * sysdeps/powerpc/fgetexcptflg.c: Simplify.
4383         * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
4385         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
4386         explaining some reentrancy issues with lazy PLT entries.
4388 1997-08-09 13:04  Mark Kettenis  <kettenis@phys.uva.nl>
4390         * login/logout.c (logout): utmpname returns -1 on error.
4392         * login/libutil.map: Remove updwtmp.
4394         * login/getutline.c: Rename getutline to __getutline and make
4395         getutline a weak alias.  Make getutxline a weak alias for
4396         __getutline.
4397         * login/getutid.c: Rename getutid to __getutid and make getutid a
4398         weak alias.  Make getutxid a weak alias for __getutid.
4399         * libc.map: Add getutxid, getutxline.
4401         * login/utmpname.c (__utmpname): Reset backend right after backend
4402         endutent call.
4403         * login/utmp_file.c: Reordered functions.  Remove unecessary
4404         header files.
4405         (getutent_r_file, pututline_file): Do not call setutent_file.  At this
4406         point the file is guaranteed to be open (assert!).
4407         (getutid_r_file, getutline_r_file): Remove check for validity of file
4408         descriptor.  At this point the file is guaranteed to be open.
4409         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
4410         updwtmp_file): Do not wait when unlocking file.
4411         * login/utmp_daemon.c: General cleanup and a bit of reordering.
4412         (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
4413         At this point the socket is guaranteed to be open (assert!).
4414         (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
4415         valid.  At this point the socket is guaranteed to be open (assert!).
4416         * login/getutline_r.c: Remove unnecessary header files.
4417         (__getutline_r): Do not call backend setutent.
4418         * login/getutid_r.c: Remove unnecessary header files.
4419         (__getutid_r): Do not call backend setutent.
4420         * login/getutent_r.c: Remove unneccesary header files.
4421         (__libc_utmp_unknown_functions): Added getutid_r_unknown,
4422         getutline_r_unknown.
4423         (setutent_unknown): Only set file backend if setutent for the file
4424         backend was successful.
4425         (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
4426         of __setutent.  Report failure if no backend was selected.
4427         (getutid_r_unknown): New function.
4428         (getutline_r_unknown): New function.
4429         (__endutent): Reset backend.  This makes sure all backends are checked
4430         on the next setutent call.
4432 1997-08-08 20:20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4434         * nis_cache.c: Replace dummy functions.
4436         * libc.map: Add xdr_sizeof symbol.
4438         * sunrpc/Makefile: Add xdr_sizeof to routines.
4439         * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
4440         * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
4442 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4444         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
4446 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4448         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
4449         right place.
4451 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4453         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
4454         PC's in long long to avoid overflow.
4456 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4458         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
4459         New macros.
4461 1997-08-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4463         * nis/Makefile (headers): Remove bits/nislib.h.
4465 1997-08-06 14:54  Ulrich Drepper  <drepper@cygnus.com>
4467         * sysdeps/mach/hurd/Subdirs: Add login.
4469 1997-08-06 14:23  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
4471         * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
4472         the preferred block size.
4474         * login/programs/database.c (store_state_entry): Don't compile if
4475         there is no ut_type field.
4476         (store_state_entry, store_process_entry): Use the ut_tv field
4477         for timestamps if supported.
4479         * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
4481         * login/programs/xtmp.c: Fix numerous xtmp/utmp typos.  Use the ut_tv
4482         field for timestamps if supported.
4484         * login/programs/xtmp.h: Fix xtmp/utmp typo.
4486         * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
4488         * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
4489         * sysdeps/stub/send.c (send): Likewise.
4490         * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
4491         * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
4492         * sysdeps/stub/init-first.c: Add definition of __libc_pid.
4494 1997-08-05 13:28  Philip Blundell  <pb@spring.nexus.co.uk>
4496         * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
4497         tidy up formatting.
4499         * Makefile (subdirs): Remove `login'.
4500         * sysdeps/unix/Subdirs: New file; build `login' subdirectory
4501         for Unix systems.
4503 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4505         * sysdeps/generic/bits/utmpx.h: New file.
4507         * sysdeps/mach/hurd/Dist: Add some files.
4508         * sysdeps/mips/Dist: Likewise.
4509         * sysdeps/mips/mips64/Dist: Likewise.
4510         * sysdeps/sparc/Dist: Likewise.
4511         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4512         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
4513         * sysdeps/mips/mipsel/Dist: New file.
4514         * sysdeps/sparc64/elf/Dist: New file.
4515         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
4517 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4519         * libc.map: Add missing symbols.
4521 1997-08-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4523         * manual/socket.texi: Correct typos.
4525         * manual/math.texi: Correct typos.
4527         * manual/time.texi (Formatting Date and Time): Likewise.
4529 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4531         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
4532         (_mcleanup): Use write_gmon.
4533         (write_profiling): This function can be safely called at any time
4534         to write a current histogram without interfering with ongoing
4535         profiling.
4537         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
4539 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4541         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
4542         not be vm_deallocated; it's a stack buffer.
4543         (profil_vm_deallocate): Delete prototype.
4544         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
4545         inclusion.
4546         * sysdeps/mach/hurd/Makefile
4547         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
4548         this rule.
4550         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
4551         from profile_waiter.
4552         (profile_waiter): Use fetch_samples.
4553         (profil): When turning off profiling, fetch the last bunch of
4554         samples before disabling PC sampling.
4555         (fetch_samples): Add prototype.
4557 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4559         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
4560         source included by profil.c instead of trying to use
4561         before-compile grot.
4563 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4565         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
4566         after releasing lock.  Use special RPC stubs and avoid assert,
4567         thus making this function entirely independent of the threadvar
4568         mechanism and of cthreads.
4569         (lock): Convert to be a spin lock instead of a mutex, so that the
4570         waiter thread need not use cthreads.  Use a fork prepare hook
4571         instead of _hurd_fork_locks to make sure we are clean before
4572         forking.
4573         (fork_profil_child): Renamed from fork_profil.
4574         (profil_reply_port): New variable.
4575         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
4576         stubs made by special hacks.
4577         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
4578         source files that profil.c needs if we are in the gmon directory.
4580         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
4581         cthreads bug that hasn't existed for two years.
4583 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
4585         * locale/programs/localedef.c (main): Set bit in avail for those
4586         categories which are successfully read.
4587         * locale/programs/locfile.c (check_all_categories): Don't check
4588         categories if they are not available.
4589         (write_all_categories): Don't write categories if they are not
4590         available.
4592         * login/setutent_r.c (setutent_unknown): Change return type to
4593         int and return result of called function.
4595         * manual/arith.texi: Mark floating-point test macro from ISO C 9X
4596         as macros (not functions).
4597         * manual/libc.texinfo (UPDATED): Update.
4598         * manual/math.texi: Document exceptions, functions to handle
4599         exceptions, mathematical constants, FP comparison functions
4600         and several new functions from ISO C 9X.
4601         Change parameter of drand48, lrand48, and mrand48 to void (not
4602         empty).
4603         * manual/pattern.texi: Remove paragraph which explained that wordexp
4604         is executed by running a shell.
4605         * manual/time.texi: Explain difficulties with strftime if the
4606         functions returns 0 and no error occurred.
4608         * math/math.h: Correct comment for some M_* constants.
4609         (isgreater, isgreaterequal, isless, islessequal, islessgreater,
4610         inunordered): Rewrite to make sure the arguments are evaluated
4611         exactly once.
4613         * nis/rpcsvc/nis.x: Undo last change.
4614         * nis/rpcsvc/nis.h: Likewise.
4615         * nis/rpcsvc/nislib.h: File moved back to here.
4617         * posix/sys/types.h: Don't define socklen_t.  Pretty print.
4618         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
4619         getsockopt, setsockopt, accept): Change size argument to type
4620         socklen_t.
4621         Pretty print.
4622         * manual/socket.texi: Describe socklen_t and change prototypes of
4623         socket functions to use socklen_t.
4624         * sysdeps/generic/bits/socket.h: Define socklen_t.
4625         (struct msghdr): Correct types to use socklen_t.
4626         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4627         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4629         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
4630         1.0 < x < 8.0.
4631         * stdio-common/tfformat.c: Add new tests for above bug.
4633         * stdlib/strtod.c: Fix typo.
4635         * string/Makefile (headers): Add bits/string.h.
4636         (CFLAGS-*): Add -D__NO_STRING_INLINES.
4637         * string/string.h: Include <bits/string.h> if optimizing and
4638         __NO_STRING_INLINES is not defined.
4639         * sysdeps/stub/bits/string.h: New file.
4641         * sysdeps/powerpc/bits/fenv.h: Fix typos.
4643         * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
4644         if SIOGIFINDEX is not defined.
4646         * sysdeps/wordsize-32/inttypes.h: Pretty print.
4647         * sysdeps/wordsize-64/inttypes.h: Pretty print.
4649         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
4651         * wcsmbs/Makefile (tests): Add tst-wcstof.
4652         * wcsmbs/tst-wcstof.c: New file.
4654 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4656         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
4657         loop, to avoid dragging stdio into the dynamic linker.
4659 1997-08-02 19:44  H.J. Lu  <hjl@gnu.ai.mit.edu>
4661         * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
4662         u_int32_t.
4664 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4666         * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
4667         __getpwuid_r.
4668         Include <stdio.h> to get prototypes of *printf.
4669         (exec_comm): Remove unneeded variable *sh.
4671         * libc.map: Add wordexp, wordfree.
4673         * posix/Makefile (routines): Add wordexp.
4675 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4677         * posix/wordexp.c: Correct typo in comment.
4678         (wordexp): Likewise.
4680         * manual/errno.texi (Error Codes): Fix typo.
4682 1997-08-03 15:28  Ulrich Drepper  <drepper@cygnus.com>
4684         * csu/initfini.c (SECTION): Don't put quotes around section name
4685         since this is not understood by all assemblers.
4686         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4688 1997-08-02 21:27  Ulrich Drepper  <drepper@cygnus.com>
4690         * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
4691         * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
4692         * sysdeps/generic/netinet/inbits.h: Move to...
4693         * sysdeps/generic/bits/in.h: ... here.
4694         * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
4695         * sysdeps/unix/sysv/linux/bits/in.h: ... here.
4697         * nis/Makefile (headers): Add bits/nislib.h.
4698         * nis/rpcsvc/nislib.h: Moved to ....
4699         * nis/bits/nislib.h: ... here.
4701         * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
4702         * nis/nss_compat/compat-pwd.c: Likewise.
4703         * nis/nss_compat/compat-spwd.c: Likewise.
4704         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4705         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4706         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4707         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4708         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4709         * nis/nss_nisplus/nisplus-ntework.c: Likewise.
4710         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4711         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4712         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4713         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4714         * nis/nss_nisplus/nisplus-service.c: Likewise.
4715         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4717         * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
4718         * nis/rpcsvc/nis.h: Likewise.
4720         * inet/getnameinfo.c (nrl_domainname): Change return type to const
4721         char *.
4722         (getnameinfo): Change type of local variable c to const char *.
4724         * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
4725         * stdlib/fmtmsg.c: Likewise.
4727         * intl/bindtextdom.c: Update from latest gettext.
4728         * intl/dcgettext.c: Likewise.
4729         * intl/finddomain.c: Likewise.
4730         * intl/l10nflist.c: Likewise.
4731         * intl/localealias.c: Likewise.
4732         * intl/textdomain.c: Likewise.
4734         * login/getutid_r.c: Remove parameter to setutent call.
4735         * login/getutline_r.c: Likewise.
4737         * posix/wordexp.c: Complete rewrite.  Not fully implemented yet,
4738         though.  Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
4740         * stdio-common/printf_fp.c: Remove relative include paths.
4741         * stdio-common/printf_fphex.c: Likewise.
4743         * sysdeps/generic/crypt.h: Cleanup.  Don't define non standard
4744         elements unless __USE_GNU.
4746         * sysdeps/generic/vlimit.c: Pretty print.
4747         * sysdeps/generic/vtimes.c: Likewise.
4749         * sysdeps/i386/elf/bsd-_setjmp.S: New file.  Empty dummy file.
4750         * sysdeps/i386/elf/bsd-setjmp.S: New file.  Empty dummy file.
4751         * sysdeps/i386/elf/setjmp.S: New file.  Define __setjmp and also
4752         weak definitions of setjmp and _setjmp.
4754         * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
4756         * sysdeps/stub/if_index.h: Set errno in all functions and add
4757         stub warnings.
4759         * sysdeps/stub/libc-lock.h: Add __libc_once.
4761 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
4763         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
4764         case since the __syscall_ptrace call already did this.
4765         Reported by Philip Gladstone <philip@talon.raptor.com>.
4767 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4769         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
4770         <gnu/types.h> to <sys/types.h>.
4772 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
4774         * csu/defs.awk: Fix regexp for end and align.
4775         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4777         * locale/programs/locale.c (print_escaped): New function.
4778         (show_info): Use print_escaped if strings can control unprintable
4779         characters.
4780         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
4782 1997-08-01 18:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4784         * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
4785         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4787 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4789         * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
4790         instead of fprintf.
4792 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4794         * manual/socket.texi (Host Address Functions): Fix arguments of
4795         @deftypefun.
4797 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4799         * elf/dl-runtime.c: Avoid warning about profile_fixup being
4800         unused.
4802         * sysdeps/m68k/dl-machine.h: Add support for shared library
4803         profiling.
4805 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4807         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
4808         dependencies.
4810 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4812         * Make-dist (subdirs): Distribute both aout and elf.
4814 1997-07-31 23:04  Mark Kettenis  <kettenis@phys.uva.nl>
4816         * login/utmp-private.h: Remove reset argument from backend
4817         setutent.
4818         * login/getutent_r.c (__setutent): Allways call the setutent
4819         function in the daemon backend.
4820         (setutent_unknown): Function removed.
4821         (getutent_unknown, pututline_unknown): Call __setutent instead of
4822         setutent_unknown.
4823         * login/utmp_file.c (setutent_file): Removed reset argument.  All
4824         callers changed.
4825         * login/utmp_daemon.c (setutent_daemon): Removed reset
4826         argument.  All callers changed.  Try to open connection even if a
4827         previous connection failed, but first check if the sockets exist
4828         in the filesystem.
4830         * login/utmp_daemon.c (pututline_daemon): Try to open connection
4831         before reporting failure.
4833         * login/programs/database.c (open_database): Create compatibility
4834         file if it does not already exist.  Supply mode argument in open
4835         calls to guarantee that created files have the proper protection.
4837         * login/programs/utmpd.c (main): Remove files created by a
4838         previous `bind' before creating sockets.
4839         Suggested by a sun <asum@zoology.washington.edu>.
4841 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4843         * math/libm-test.c: Remove unneeded function check_int_exec.
4845         * BUGS: Correct typos.
4847         * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
4849 1997-07-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4851         * manual/socket.texi (Host Address Functions): Reformat inet_ntop
4852         entry to confirm with expected behaviour of some scripts.
4854         * libc.map: Add functions/variables in global namespace,
4855         remove wildcards.
4857 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4859         * resolv/libresolv.map: Add variables and routines used by named,
4860         nslookup and other bind utils.
4861         * libc.map: Likewise.
4863 1997-07-31 00:35  Philip Blundell  <Philip.Blundell@pobox.com>
4865         * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
4866         filesystem.
4867         * inet/test_ifindex.c: New file.
4868         * inet/Makefile (tests): Add test_ifindex.
4870 1997-08-01 04:25  Ulrich Drepper  <drepper@cygnus.com>
4872         * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
4873         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
4875         * manual/errno.texi: Fix typo.
4876         Reported by Erik Talvola <etalvo@sapient.com>.
4878 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
4880         * csu/gmon-start.c (__gmon_start__): Call __monstartup not
4881         monstartup.
4882         * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
4883         to __monstartup.
4884         * gmon/sys/gmon.h: Fix prototypes.
4885         * gmon/sys/gmon_out.h: Pretty print.
4887         * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
4888         * gmon/gmon.c (__monstartup): Likewise.
4889         (write_hist): Remove dependency on 32 bit int.
4890         (_mcleanup): Don't call perror, use fprintf.
4892         * elf/dl-load.c: Fix handling of current directory in search path.
4894         * elf/Makefile (dl-routines): Add dl-profile.
4895         * elf/dl-profile.c: New file.
4896         * elf/dl-runtime.c (fixup): Add new parameter with address to store
4897         relocation result in to elf_machine_relplt.
4898         (profile_fixup): New function.
4899         * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
4900         to store relocation result in to elf_machine_relplt.
4901         * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
4902         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
4903         call elf_machine_runtime_setup with extra argument.
4904         * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
4905         ELF_DYNAMIC_RELOCATE.
4906         * elf/link.h: Add prototypes for new functions and variables.
4907         * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
4908         variables and call _dl_start_profile if necessary.
4909         * include/sys/gmon_out.h: New file.
4910         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
4911         new parameter to enable profiling.
4912         (elf_machine_rela): Add new parameter to specify place to store
4913         result in.
4914         * sysdeps/m68k/dl-machine.h: Likewise.
4915         * sysdeps/mips/dl-machine.h: Likewise.
4916         * sysdeps/mips/mips64/dl-machine.h: Likewise.
4917         * sysdeps/powerpc/dl-machine.h: Likewise.
4918         * sysdeps/sparc/dl-machine.h: Likewise.
4919         * sysdeps/sparc64/dl-machine.h: Likewise.
4920         * sysdeps/i386/dl-machine.h: Likewise.
4921         (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
4922         we do profiling.
4923         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
4925         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
4926         for stream on input file.
4927         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
4928         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
4929         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
4930         * nss/nss_db/db-alias.c (internal_setent): Likewise.
4931         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
4932         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
4933         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4934         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
4936         * string/string.h: Pretty print.
4938         * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
4939         Add float and long double versions.
4941 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4943         * elf/rtld.c (print_unresolved): Replace empty object name by main
4944         program name.
4946 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4948         * sysdeps/generic/htons.c (htons): Renamed from __htons.
4950 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4952         * sysdeps/m68k/bits/byteswap.h: New file.
4954 1997-07-27 23:50  Philip Blundell  <Philip.Blundell@pobox.com>
4956         * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
4957         advanced API.
4958         * inet/netinet/in.h: Likewise.
4959         * inet/netinet/ip6.h: Likewise.
4960         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4961         * posix/sys/types.h: Add socklen_t.
4963         * manual/socket.texi: Document some more IPv6 things.
4964         * manual/libc.texinfo: Likewise.
4966 1997-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4968         * libc.map: Define missing symbol.
4970 1997-07-27 14:31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4972         * nis/Makefile: Add nis_findserv.
4973         * nis/lckcache.c: Fix typo.
4974         * nis/nis_call.c: Fix problems with multihomed servers.
4975         * nis/nis_findserv.c: New file.
4976         * nis/nis_intern.h: Add more prototypes.
4977         * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
4978         is unreachable.
4979         * nis/nis_table.c (nis_list): Likewise.
4980         * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
4981         in error case.
4982         * nis/nis_util.c (__nis_finddirectory): Give the right error code
4983         back.
4984         * nis/ypclnt.c: Make sure, that all sockets are closed.
4986 1997-07-26 04:14  Ulrich Drepper  <drepper@cygnus.com>
4988         * elf/Makefile (distribute): Add genrtldtbl.awk.
4989         (before-compile): Add rtldtbl.h.
4990         (GAWK): New variable.
4991         (generated): Add trusted-dirs.h and rtldtbl.h.
4992         ($(objpfx)rtldtbl.h): New rule.  File is needed by dl-load.c.
4993         * elf/dl-load.c: Rewrite.  Now use cache and look for shared
4994         objects in machine dependent directories.
4995         * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
4996         * elf/dl-support.c: Rename function to non_dynamic_init and add
4997         initialization for _dl_platform, _dl_platformlen, _dl_pagesize
4998         and call to initializer for search path.
4999         * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
5000         * elf/genrtldtbl.awk: New file.
5001         * elf/link.h: Add type definitions and declarations for search
5002         path cache.
5003         * elf/rtld.c: Add definitions of variables used for search path cache.
5004         * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
5005         _dl_platform.  Initialize _dl_pagesize early and use this value.
5006         * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
5007         * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
5008         * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
5009         of calling getpagesize.
5011         * elf/dl-error.c (_dl_signal_error): Make message nicer.
5013         * nss/libnss_files.map: Fix typo.
5014         Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
5016         * sysdeps/generic/strsep.c: Optimize case where separator set contains
5017         only one character.
5019         * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
5020         == +-Inf.
5021         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
5022         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
5024 1997-07-25 09:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
5026         * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
5027         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
5028         * sysdeps/unix/mips/sysdep.S: Likewise.
5029         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5031         * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
5032         * sysdeps/mips/bsd-setjmp.S: Likewise.
5034         * sysdeps/mips/dl-machine.h: Remove extra stuff.
5035         * sysdeps/mips/mips64/dl-machine.h: Likewise.
5037 1997-07-25 18:55  Philip Blundell  <Philip.Blundell@pobox.com>
5039         * sysdeps/standalone/arm/sysdep.c: New file.
5041 1997-07-25 13:25  Philip Blundell  <Philip.Blundell@pobox.com>
5043         * aout/Makefile: New file.
5044         * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
5046         * sysdeps/generic/machine-gmon.h: Add warning about limitations of
5047         __builtin_return_address().
5048         * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
5049         above problem.
5051 1997-07-25 16:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
5053         * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
5055 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5057         * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
5058         tests.
5060 1997-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5062         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
5063         not shadow the variable in the outer scope.
5065 1997-07-24 03:14  Ulrich Drepper  <drepper@cygnus.com>
5067         * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
5069         * inet/Makefile (tests): Add htontest.
5070         * inet/htontest.c: New file.
5072         * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
5073         when they are no noops.
5074         * sysdeps/alpha/htonl.S: Don't define __ protected names.
5075         * sysdeps/alpha/htons.S: Likewise.
5076         * sysdeps/generic/htonl.c: Likewise.
5077         * sysdeps/generic/htons.c: Likewise.
5078         * sysdeps/i386/htonl.S: Likewise.
5079         * sysdeps/i386/htons.S: Likewise.
5080         * sysdeps/i386/i486/htonl.S: Likewise.
5081         * sysdeps/vax/htonl.s: Likewise.
5082         * sysdeps/vax/htons.s: Likewise.
5084         * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
5085         * string/byteswap.h: New file.
5086         * sysdeps/generic/bits/byteswap.h: New file.
5087         * sysdeps/i386/bits/byteswap.h: New file.
5088         * sysdeps/generic/bits/htontoh.h: Removed.
5089         * sysdeps/i386/bits/htontoh.h: Removed.
5091         * misc/search.h: General cleanup.  Don't define reentrant hsearch
5092         functions uless __USE_GNU.
5094         * nss/nsswitch.c: Pretty print.
5096         * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
5097         warning.
5099         * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
5100         been fixed meanwhile.
5101         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5103 1997-07-24 00:53  Philip Blundell  <Philip.Blundell@pobox.com>
5105         * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
5106         exists for this port.
5108 1997-07-24 00:12  Philip Blundell  <Philip.Blundell@pobox.com>
5110         * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
5112 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5114         * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
5115         to format a proper minus sign.
5117 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5119         * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
5120         specially, the standard doesn't require it.
5122         * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
5123         if non-zero then don't test inexact flag.  Callers changed.
5124         (set_single_exc): Ignore inexact flag if underflow or overflow
5125         exception is raised.
5127 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
5129         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
5130         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
5131         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
5132         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
5134 1997-07-16 10:09  Fila Kolodny  <fila@ibi.com>
5136         * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
5137         and 1035 state that a fully qualified domain name cannot exceed 255
5138         octets in length.
5139         * resolv/nss_dns/dns-host.c: Likewise.
5141 1997-07-22 09:54  H.J. Lu   <hjl@gnu.ai.mit.edu>
5143         * inet/netinet/in.h (htons): Fix typos.
5145         * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
5147 1997-07-22 11:47  Ulrich Drepper  <drepper@cygnus.com>
5149         * nss/nsswitch.c (nss_lookup_function): Include function.def, not
5150         functions.def.
5151         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
5153 1997-07-22 01:35  Ulrich Drepper  <drepper@cygnus.com>
5155         * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
5156         that optimizing is also selected for dependency generation.
5158         * configure.in: Add machine description for TI c[34]x.
5160         * inet/Makefile (routines): Remove ntohl and ntohs.
5161         * inet/netinet/in.h: Use optimized version of hton? and ntoh?
5162         for little endian machines.
5163         * sysdeps/alpha/ntohl.s: Removed.
5164         * sysdeps/alpha/ntohs.s: Removed.
5165         * sysdeps/generic/ntohl.c: Removed.
5166         * sysdeps/generic/ntohs.c: Removed.
5167         * sysdeps/generic/htonl.c: Add aliases for ntohl.
5168         * sysdeps/vax/htonl.s: Likewise.
5169         * sysdeps/generic/htons.c: Add aliases for ntohs.
5170         * sysdeps/vax/htons.s: Likewise.
5171         * sysdeps/vax/ntohl.s: Removed.
5172         * sysdeps/vax/ntohs.s: Removed.
5173         * sysdeps/generic/bits/htontoh.h: New file.
5174         * sysdeps/i386/htonl.S: New file.
5175         * sysdeps/i386/htons.S: New file.
5176         * sysdeps/i386/i486/htonl.S: New file.
5178         * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
5179         macros.
5181         * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
5182         * sysdeps/mips/mips64/dl-machine.h: New file.
5184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
5185         syscall-list.h.
5187 1997-07-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5189         * libc.map: Add missing symbol _obstack.
5191 1997-07-14 08:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
5193         * sysdeps/mips/rtld-parms: New.
5195         * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
5196         * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
5198         * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
5199         * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
5201         * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
5203 1997-07-17 08:39  H.J. Lu  <hjl@gnu.ai.mit.edu>
5205         * sysdeps/mips/dl-machine.h: Remove extra stuff.
5207 1997-07-06 07:18  Geoff Keating  <geoffk@ozemail.com.au>
5208         * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
5210         * stdlib/grouping.h: Suppress gcc warning about testing
5211         unsigned char for less-than-zero.
5212         * stdio-common/printf_fp.c: Likewise.
5213         * stdio-common/vfprintf.c: Likewise.
5215         * sysdeps/powerpc/add_n.s: New file.
5216         * sysdeps/powerpc/sub_n.s: New file.
5217         * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
5218         * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
5219         * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
5220         * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
5221         * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
5223         * math/libm-test.c (cos_test, sin_test, sincos_test): Use
5224         precomputed pi/6 rather than having gcc calculate it, otherwise
5225         tests give inaccurate result due to inaccurate input.
5226         * math/libm.map: Add __fe_*_env constants to list of exported
5227         symbols.
5229         * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
5230         * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
5231         * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
5232         round-to-nearest value.
5234         * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
5235         * sysdeps/libm-ieee754/e_log10.c: Likewise.
5236         * sysdeps/libm-ieee754/e_log10f.c: Likewise.
5237         * sysdeps/libm-ieee754/e_logf.c: Likewise.
5238         * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
5239         * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
5240         * sysdeps/libm-ieee754/s_log2.c: Likewise.
5241         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
5243 1997-07-15 21:54  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5245         * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
5246         and memory leaks.
5247         * nis/nss_compat/compat-pwd.c: Likewise.
5248         * nis/nss_compat/compat-spwd.c: Likewise.
5249         * nis/nss_nis/nis-alias.c: Likewise.
5250         * nis/nss_nis/nis-ethers.c: Likewise.
5251         * nis/nss_nis/nis-grp.c: Likewise.
5252         * nis/nss_nis/nis-hosts.c: Likewise.
5253         * nis/nss_nis/nis-network.c: Likewise.
5254         * nis/nss_nis/nis-proto.c: Likewise.
5255         * nis/nss_nis/nis-pwd.c: Likewise.
5256         * nis/nss_nis/nis-rpc.c: Likewise.
5257         * nis/nss_nis/nis-service.c: Likewise.
5258         * nis/nss_nis/nis-spwd.c: Likewise.
5259         * nis/nss_nisplus-alias.c: Likewise.
5260         * nis/nss_nisplus-ethers.c: Likewise.
5261         * nis/nss_nisplus-grp.c: Likewise.
5262         * nis/nss_nisplus-hosts.c: Likewise.
5263         * nis/nss_nisplus-netgrp.c: Likewise.
5264         * nis/nss_nisplus-network.c: Likewise.
5265         * nis/nss_nisplus-proto.c: Likewise.
5266         * nis/nss_nisplus-pwd.c: Likewise.
5267         * nis/nss_nisplus-rpc.c: Likewise.
5268         * nis/nss_nisplus-service.c: Likewise.
5269         * nis/nss_nisplus-spwd.c: Likewise.
5271         * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
5273 1997-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5275         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
5276         name in warning message.
5277         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
5278         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
5279         * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5281         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
5282         first.
5284 1997-07-20 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5286         * libc.map: Add _null_auth and _seterr_reply.
5288         * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
5290 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
5292         * time/africa: Update from tzdata1997g.
5293         * time/asia: Likewise.
5294         * time/australasia: Likewise.
5295         * time/europe: Likewise.
5296         * time/iso3166.tab: Likewise.
5297         * time/zone.tab: Likewise.
5298         * time/private.h: Update from tzcode1997f.
5299         * time/scheck.c: Likewise.
5301         * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
5303         * math/math.h: Correct comments.  Include <bits/mathinline.h>
5304         always when optimizing.
5306 1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>
5308         * time/getdate.c (__getdate_r):
5309         Report failure if string was not completely parsed.
5310         (getdate): Set getdate_err on failure.
5312 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5314         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
5315         Synchronize with malloc/obstack.c.
5317 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
5319         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
5320         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
5321         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
5323 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
5325         * manual/Makefile (INSTALL_INFO): Introduce variable to override
5326         path to install-info for systems like Debian that have an
5327         install-info with a different command line interface from the
5328         canonical GNU texinfo version.
5330 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5332         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
5333         * posix/unistd.h: Likewise.
5334         * sysdeps/stub/ttyname_r.c: Likewise.
5336 1997-07-14 23:37  Ulrich Drepper  <drepper@cygnus.com>
5338         * inet/getnameinfo.c: Pretty print.
5339         Correctly enlarge buffers.
5341         * login/programs/utmpd.c: Use _() instead of gettext().
5343         * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
5344         * nis/nss_nisplus/nisplus-network.c: Likewise.
5345         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5346         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5347         * nis/nss_nisplus/nisplus-service.c: Likewise.
5349         * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
5350         __OPTIMIZE__.
5351         * sysdeps/powerpc/bits/mathinline.h: Likewise.
5352         * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
5353         function always.
5354         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5355         * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
5356         it should look like in real files.
5358         * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
5359         prevent prototype trouble, use simple loop.
5360         * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
5362         * sysdeps/mips/mips64/Implies: Imply ieee754.
5364         * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
5365         installed.
5366         * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
5368 1997-07-14 00:25  Ulrich Drepper  <drepper@cygnus.com>
5370         * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
5371         * sysdeps/standalone/bits/stdio_lim.h: Removed.
5372         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5374 1997-06-22  Paul Eggert  <eggert@twinsun.com>
5376         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
5378         * time/tzfile.c (__tzstring): New decl.
5379         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
5380         (__tzfile_default): First two args are now const char *.
5382         * time/tzset.c (__tzstring): New function.
5383         (tz_rule): Name is now const char *.
5384         (struct tzstring_head): New type.
5385         (tzstring_list, tzstring_last_buffer_size): New static vars.
5386         (__tzset_internal): Time zone names are now permanent, not temporary.
5388 1997-07-13 01:18  Ulrich Drepper  <drepper@cygnus.com>
5390         * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
5392         * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
5393         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5394         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5395         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5397         * time/Makefile (routines): Add getdate.
5398         * time/time.h: Add prototype for getdate and getdate_r.
5399         * time/getdate.c: New file.
5400         Provided by Mark Kettenis <kettenis@phys.uva.nl>.
5402 1997-06-30 14:49  H.J. Lu  <hjl@gnu.ai.mit.edu>
5404         From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
5405         Sat Jun 21 18:11:21 1997:
5407         * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
5408         (swapoff): New.
5410         * elf/Makefile: Add linker script support.
5411         (headers): Add bits/dlfcn.h.
5413         * elf/dl-load.c (MAP_BASE_ADDR): New.
5415         * elf/dlfcn.h: Include <bits/dlfcn.h>.
5417         * elf/elf.h: Add MIPS support.
5419         * sysdeps/generic/Dist: Add entry.h.
5420         * sysdeps/generic/entry.h: New, define the entry symbol.
5422         * elf/rtld.c (_start): Include <entry.h>.  Change to ENTRY_POINT.
5423         * sysdeps/generic/dl-sysdep.c (_start): Likewise.
5424         * mips/elf/start.S (_start): Likewise.
5426         * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
5427         * sysdeps/mips/bsd-setjmp.S: Likewise.
5428         * sysdeps/mips/setjmp.S: Likewise.
5429         * mips/elf/start.S: Likewise.
5430         * sysdeps/unix/mips/brk.S: Likewise.
5431         * sysdeps/unix/mips/sysdep.S: Likewise.
5432         * sysdeps/unix/mips/sysdep.h: Likewise.
5433         * sysdeps/unix/mips/wait.S: Likewise.
5435         * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
5436         * sysdeps/mips/fpu_control.h: Likewise.
5438         * sysdeps/generic/bits/dlfcn.h: New file.
5440         * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
5441         * sysdeps/mips/rtld-parms: Likewise.
5442         * sysdeps/mips/bits/dlfcn.h: Likewise.
5443         * sysdeps/mips/mips64/rtld-parms: Likewise.
5444         * sysdeps/mips/mipsel/rtld-parms: Likewise.
5445         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
5446         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5447         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5448         * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
5449         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
5450         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
5451         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
5452         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
5453         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
5454         * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
5455         * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
5456         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
5457         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5458         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5459         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5460         * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
5461         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
5462         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5463         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
5464         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
5465         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5466         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
5467         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
5468         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5469         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5470         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
5471         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
5472         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
5473         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
5474         * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
5475         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
5476         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
5477         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5478         * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
5479         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
5480         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
5482 1997-04-09 19:05  H.J. Lu (hjl@gnu.ai.mit.edu)
5484         * isomac.c (xstrndup): New, use it instead of strndup ().
5486 1997-07-02 08:55  H.J. Lu  <hjl@gnu.ai.mit.edu>
5488         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
5489         the program name for different sizes.
5491 1997-07-10 15:47  Fila Kolodny  <fila@ibi.com>
5493         * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
5494         Add include of rpcsvc/nis.h.
5495         * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
5496         * sysdeps/posix/getaddrinfo.c: Likewise.
5497         Change size of variable buffer to be big enough to hold an IPv6
5498         address in printable format.
5500 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
5502         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
5503         and && in tests to allow use in C++ code which overloads these
5504         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
5506         * configure.in: Move mips64* recognition before mips*.
5507         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5509 1997-07-03 20:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5511         * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
5512         automatic variables in dependency lists.
5513         (build-shlib): Always filter out the version script file.
5514         * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
5516 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
5518         * login/login.c (tty_name): Test return value of ttyname_r for !=
5519         0, not < 0.
5520         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
5521         0, not >= 0.
5522         * sysdeps/unix/getlogin.c (getlogin): Test return value of
5523         ttyname_r for != 0.
5524         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5526 1997-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5528         * login/utmp_file.c (getutline_r_file): Fix type: compare with
5529         *result.
5531 1997-07-11 00:21  Mark Kettenis  <kettenis@phys.uva.nl>
5533         * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
5535 1997-07-09 19:21  Mark Kettenis  <kettenis@phys.uva.nl>
5537         * login/programs/utmpd.c, login/programs/database.c,
5538         login/programs/request.c: Prepare messages for
5539         internationalization.
5541         * login/programs/utmpd.c:
5542         (main): Change handling of errors in opening the database.
5543         * login/programs/database.c:
5544         (open_database, synchronize_database, initialize_database):
5545         Properly handle errors.
5546         (get_mtime): Use fstat instead of stat.  All callers changed.
5548         * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
5549         * login/getutent.c: Rename getutent to __getutent and make
5550         getutent a weak alias.
5551         Make getutxent a weak alias for __getutent.
5552         * login/utmpx.h: New file.
5553         * sysdeps/gnu/bits/utmp.h: Cleanup.  Added comments.
5554         * sysdeps/gnu/bits/utmpx.h: New file.
5556 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
5558         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
5559         one.
5561         * signal/sigandset.c: Include stddef.h to get NULL defined.
5562         * signal/sigisempty.c: Likewise.
5563         * signal/sigorset.c: Likewise.
5564         * sysdeps/stub/if_index.h: Likewise.
5565         * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
5566         * wcsmbs/wcstof_l.c: Likewise.
5567         * wcsmbs/wcstol_l.c: Likewise.
5568         * wcsmbs/wcstold_l.c: Likewise.
5569         * wcsmbs/wcstoll_l.c: Likewise.
5570         * wcsmbs/wcstoul_l.c: Likewise.
5571         * wcsmbs/wcstoull_l.c: Likewise.
5572         Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
5574         * stdio-common/snprintf.c: Use ISO C function definition form.
5576         * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
5577         __libc_setspecific as empty macros since they are used as
5578         function with return value.
5579         Reported by Andreas Jaeger.
5581         * stdio-common/strops.c: Partialy undo last change.  Will need
5582         more investigation.
5584 1997-07-10  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
5586         * sysdeps/mach/hurd/select.c (__select): Need bit count for
5587         MACH_MSG_TYPE_INTEGER_T.
5589 1997-07-08 10:12  Fila Kolodny  <fila@ibi.com>
5591         * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
5592         * sysdeps/mvs/Implies: Likewise.
5594 1997-07-09 23:06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5596         * nis/Makefile: Add new source files.
5598         * nis/nis_intern.h: Add new internal functions.
5599         * nis/rpcsvc/nislib.h: Likewise.
5601         * nis/lckcache.c: New.
5602         * nis/nis_cache.c: New, dummy functions in the moment.
5603         * nis/nis_util.c: New.
5604         * nis/nisplus-parser.h: New.
5605         * nis/nss_nisplus/nisplus-parser.c: New.
5606         * nis/rpcsvc/nis_cache.h: New.
5607         * nis/rpcsvc/nis_cache.x: New.
5609         * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
5610         * nis/nss_compat/compat-pwd.c: Likewise.
5611         * nis/nss_compat/compat-spwd.c: Likewise.
5612         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5613         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5614         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5615         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5616         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
5617         * nis/nss_nisplus/nisplus-network.c: Likewise.
5618         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5619         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5620         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5621         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5622         * nis/nss_nisplus/nisplus-service.c: Likewise.
5623         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5625         * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
5627         * nis/nis_intern.c: Removed.
5629         * nis/nis_call.c: Complete rewrite.
5630         * nis/nis_lookup.c: Likewise.
5631         * nis/nis_table.c: Likewise.
5633         * nis/libnsl.map: Add missing symbols.
5635         * nis/nis_print.c: Fix nis_print_link.
5636         * nis/nis_subr.c: Fix nis_getnames.
5638 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
5640         * posix/execvp.c (execvp): Handle ESTALE.
5642 1997-07-10 13:54  Ulrich Drepper  <drepper@cygnus.com>
5644         * posix/regex.c: Make CHAR_SET_SIZE definition always available,
5645         even if SYNTAX_TABLE is defined.
5646         Patch by Akim Demaille <demaille@inf.enst.fr>.
5648 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
5650         * libio/fileops.c (_IO_file_underflow): Adjust pointers
5651         before calling _IO_SYSREAD ().
5653 1997-07-07 22:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5655         * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
5656         (sysdep.h does the same job).
5657         * sysdeps/sparc/alloca.S: Likewise.
5658         * sysdeps/sparc/dotmul.S: Likewise.
5659         * sysdeps/sparc/udiv_qrnnd.S: Likewise.
5661         * sysdeps/sparc/rem.S: Regenerated.
5662         * sysdeps/sparc/sdiv.S: Regenerated.
5663         * sysdeps/sparc/udiv.S: Regenerated.
5664         * sysdeps/sparc/urem.S: Regenerated.
5666         * sysdeps/sparc/DEFS.h: Removed.
5667         * sysdeps/sparc/elf/DEFS.h: Removed.
5668         * sysdeps/sparc/Dist: Don't distribute DEFS.h.
5670         * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
5671         directive #ifdef HAVE_ELF.  Minor format changes.
5673         * sysdeps/alpha/DEFS.h: Removed.
5674         * sysdeps/alpha/Dist: Don't distribute DEFS.h.
5676 1997-07-07 19:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
5678         * math/test-fenv.c (feenv_nomask_test): Move
5679         fesetenv (FE_NOMASK_ENV) after fork () to work with
5680         SMP.
5682         * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
5684 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5686         * libc.map: Add _IO_peekc_locked.
5688 1997-07-07 15:45  Fila Kolodny  <fila@ibi.com>
5690         * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
5692 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5694         * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
5695         right position.
5696         * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
5698 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
5700         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
5701         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
5703 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
5705         * io/lockf.c (lockf): Clear fl before using.
5706         Patch by sr@adb.fr.
5708         * libio/strops.c: Correctly handle _IO_write_end.
5710         * nss/libnss_files.map: Add __nss_netgroup_parseline.
5711         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
5712         panic if setnetgrent wasn't called before, return error.
5713         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
5715         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
5716         if locally defined.
5717         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
5718         if locally defined.
5719         Define tm_diff function as ftime_tm_diff if locally defined.
5720         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
5722 1997-07-06 23:36  Ulrich Drepper  <drepper@cygnus.com>
5724         * isomac.c (get_null_defines): Put NULL at end of list.
5726         * hurd/Makefile: Remove special handling of sunrpc code.
5727         * sysdeps/mach/hurd/Makefile: Likewise.
5728         Compile CThreads code.
5729         * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
5730         * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
5731         functions.
5732         * sysdeps/stub/bits/libc-lock.h: Likewise.
5733         * sysdeps/mach/hurd/net/ethernet.h: New file.
5734         * sysdeps/mach/hurd/net/if.h: New file.
5735         * sysdeps/mach/hurd/net/if_arp.h: New file.
5736         * sysdeps/mach/hurd/net/if_ether.h: New file.
5737         * sysdeps/mach/hurd/net/if_ppp.h: New file.
5738         * sysdeps/mach/hurd/net/route.h: New file.
5739         Patches by  Fila Kolodny <fila@ibi.com>.
5741         * math/fenv-test.c: Add more tests.
5742         Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5744         * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
5745         INTFAST_MAX, and UINTFAST_MAX.
5746         * sysdeps/wordsize-64/inttypes.h: Likewise.
5747         Correct intmax_t definition.
5749 1997-07-04 15:33  H.J. Lu  <hjl@gnu.ai.mit.edu>
5751         * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
5753 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
5755         * libc.map: Add missing symbol.
5757 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
5759         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
5760         in cc1.  Cpp in gcc doesn't do it.
5762 1997-07-01 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5764         * libio/libioP.h: Remove second definition of _IO_file_attach.
5766         * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
5768         * sysdeps/sparc64/elf/start.S (_start): Update and reformat
5769         copyright.
5770         * manual/summary.awk: Likewise.
5771         * misc/bits/stab.def: Likewise.
5772         * posix/glob/Makefile.ami: Likewise.
5773         * posix/glob/Makefile.in: Likewise.
5774         * posix/glob/SMakefile: Likewise.
5775         * sysdeps/gnu/errlist.awk: Likewise.
5776         * sysdeps/mach/hurd/errnos.awk: Likewise.
5777         * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
5778         * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
5779         * sysdeps/unix/snarf-ioctls: Likewise.
5780         * sysdeps/vax/setjmp.c: Likewise.
5782 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
5784         * login/login.c (tty_name): Use newly allocated buffer.
5785         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
5787         * time/asctime.c: Never translate week and month name according
5788         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
5790 1997-07-03 22:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5792         * locale/setlocale.c (setname): Do nothing when reusing the same
5793         name.
5795 1997-07-03 20:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5797         * libc.map: Add global variables of malloc.
5799 1997-07-03 13:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5801         * elf/dl-version.c (find_needed): Look for needed objects also in
5802         the dependency list of the current object.  Added new parameter to
5803         find its link map, caller changed.
5805 1997-07-03 12:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5807         * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
5808         FE_UNDERFLOW cases.
5810 1997-07-01 13:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5812         * elf/link.h: Remove final comma from enumerator list, forbidden
5813         by ISO C.  Use __inline instead of inline.
5815 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
5817         * hurd/hurdsig.c: Include <hurd/id.h>.
5818         (reauth_proc): Call proc_setowner appropriately too.
5820 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
5822         * libc.map: Add missing symbol.
5824 1997-06-30 12:12  Fila Kolodny  <fila@ibi.com>
5826         * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
5827         * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
5828         declaration of addr.
5830 1997-06-29 17:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5832         * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
5833         it work in TeX.
5835 1997-06-27 21:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5837         * Makeconfig (+includes): Add include directory to include path.
5838         * configure.in (sysnames): Don't add it here.
5839         * Makefile (subdir-dirs): Define and add it to vpath for headers.
5840         * Make-dist (all-headers): Look in include directory for
5841         indirection headers.  Filter out header names pointing outside the
5842         source directory.
5844         * Makefile (distribute): Remove ansidecl.h, add libc.map.
5845         * Make-dist (+tsrcs): Add version scripts for extra libraries.
5846         * Makerules (distinfo-vars): Add %-map for extra libraries.
5848         * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
5849         to kernel_termios.h.
5850         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
5851         termbits.h and sys/kernel_termios.h.
5852         * sysdeps/mips/mips64/Dist: New file.
5853         * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
5855 1997-06-29 23:03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5857         * math/test-fenv.c (feenv_nomask_test): New test for non masked
5858         exceptions.
5859         (feenv_mask_test): New test for masked exceptions
5860         (feenv_tests): New function calls feenv_nomask_test and
5861         feenv_mask_test.
5862         (main): Call new tests.
5863         (initial_tests): New test for initilisation.
5865 1997-06-29 23:43  Ulrich Drepper  <drepper@cygnus.com>
5867         * config.make.in: Define need-nopic-initfini.
5868         * configure.in: Write out nopic_initfini.
5869         * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
5870         is defined.
5872         * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
5874         * sysdeps/sparc/rem.S: Get trap definition properly.
5875         * sysdeps/sparc/sdiv.S: Likewise.
5876         * sysdeps/sparc/udiv.S: Likewise.
5877         * sysdeps/sparc/urem.S: Likewise.
5878         * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
5879         * sysdeps/sparc/sys/trap.h: New file.
5880         * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
5882 1997-06-25 10:26  Thorsten Kukuk  <kukuk@uni-paderborn.de>
5884         * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
5886 1997-06-29 10:34  Fila Kolodny  <fila@ibi.com>
5888         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
5889         to MACH_MSG_TYPE_INTEGER_T.
5891 1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>
5893         Initial sparc64-linux support:
5894         * configure.in: Recognize sparc64 as being different from sparc.
5895         * io/ftwtest-sh: Only invoke ld.so if it exists.
5896         * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
5897         static tests to link.  Honour $(omit-long-double-fcts) == yes.
5898         * math/libm-test.c (test_single_exception): The argument to
5899         fetestexcept is `int' not `fexcept_t'.
5900         * shlib-versions: Recognize sparc64.
5901         * signal/signal.h: Add typedef for stack_t.
5903         * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
5904         Attempt to fix up most of this by cleaning up assumptions below,
5905         but give up and change the defaults.
5907         * setjmp/longjmp.c: Moved to ...
5908         * sysdeps/generic/longjmp.c: ... here.
5909         * setjmp/sigjmp.c: Moved to ...
5910         * sysdeps/generic/sigjmp.c: ... here.
5912         * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
5913         Ought to fix up gas to catch these silly things properly.
5914         * sysdeps/sparc/bsd-setjmp.S: Likewise.
5916         * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
5917         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
5918         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
5919         the unused fields.
5921         * sysdeps/sparc/sparc64/add_n.s: Moved to ...
5922         * sysdeps/sparc64/add_n.S: ... here.  Fix up %g4 and stack usage.
5923         * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
5924         * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
5925         * sysdeps/sparc/sparc64/lshift.s: Likewise.
5926         * sysdeps/sparc/sparc64/mul_1.s: Likewise.
5927         * sysdeps/sparc/sparc64/rshift.s: Likewise.
5928         * sysdeps/sparc/sparc64/sub_n.s: Likewise.
5929         * sysdeps/sparc/sparc64/submul_1.s: Likewise.
5931         * sysdeps/sparc64/Implies: New file.
5932         * sysdeps/sparc64/Makefile: Likewise.
5933         * sysdeps/sparc64/bits/endian.h: Likewise.
5934         * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
5935         * sysdeps/sparc64/bsd-setjmp.S: Likewise.
5936         * sysdeps/sparc64/dl-machine.h: Likewise.
5937         * sysdeps/sparc64/elf/Makefile: Likewise.
5938         * sysdeps/sparc64/elf/crtbegin.S: Likewise.
5939         * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
5940         * sysdeps/sparc64/elf/crtend.S: Likewise.
5941         * sysdeps/sparc64/elf/crtendS.S: Likewise.
5942         * sysdeps/sparc64/elf/start.S: Likewise.
5943         * sysdeps/sparc64/fpu_control.h: Likewise.
5944         * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
5945         * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
5946         * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
5947         * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
5948         * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
5949         * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
5950         * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
5951         * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
5952         * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
5953         * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
5954         * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
5955         * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
5956         * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
5957         * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
5958         * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
5959         * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
5960         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
5961         * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
5962         * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
5963         * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
5965 1997-06-28 16:28  H.J. Lu  <hjl@gnu.ai.mit.edu>
5967         * configure.in: Add -nostartfiles -nostdlib when check for
5968         --version-script.
5970 1997-06-28 12:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
5972         * sysdeps/powerpc/bits/endian.h: New file.
5974 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
5976         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
5977         setresgid.
5979 1997-06-27 20:09  Ulrich Drepper  <drepper@cygnus.com>
5981         * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
5982         Reported by a sun <asun@zoology.washington.edu>.
5984         * libc.map: Add _rpc_dtablesize.  Reported by Thorsten Kukuk.
5986         * db/makedb.c: Exit with error if number of option is incorrect.
5988         * math/Makefile (tests): Add test-fenv.
5989         * math/test-fenv.c: New file.  Test for exception handling functions.
5990         Written mainly by Andreas Jaeger.
5992         * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
5994         * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
5995         compatibility version to 0.  Reported by Roland McGrath.
5997 1997-06-27 18:49  Philip Blundell  <Philip.Blundell@pobox.com>
5999         * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
6000         * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
6001         * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
6003 1997-06-27 10:44  Fila Kolodny  <fila@ibi.com>
6005         * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
6007 1997-06-27 00:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6009         * elf/dl-open.c (_dl_open): Check versions of all newly loaded
6010         objects, including dependencies.
6012         * elf/dl-runtime.c (fixup): Always use version information if
6013         available.
6015 1997-06-26 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6017         * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
6019 1997-06-26 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6021         * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
6022         int, not pointer to fail_stack_elt_t.
6023         (PUSH_FAILURE_POINT): Fix all formats in debugging messages.  Fix
6024         type of this_reg.
6025         (POP_FAILURE_POINT): Likewise.  Fix type of failure_id.
6026         (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
6028 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
6030         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
6031         Reported by a sun.
6033 1997-06-26 21:50  Ulrich Drepper  <drepper@cygnus.com>
6035         * math/math.h: Move definition of macros for unordered comparison
6036         after inclusion of <bits/mathinline.h>.
6037         * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
6038         unordered comparison before definition.
6039         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6041         * Makerules: Move definition of load-map-file before use.
6042         (lib%.so): Depend on load-map-file, not lib%-map.
6044         * manual/lgpl.texinfo: Update copyright.
6046 1997-06-24 09:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6048         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
6049         * sysdeps/m68k/fpu/s_ilogb.c: Define it here.  Handle zero, NaN
6050         and infinity specially.
6051         * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
6052         Adapted.
6054         * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
6056 1997-06-26 17:06  Ulrich Drepper  <drepper@cygnus.com>
6058         * configure.in: Don't use .long in tests since some strange
6059         platforms without binutils don't know this.
6060         Redirect output of test commands correctly.
6061         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
6063         * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
6064         Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
6066 1997-06-26 09:02  Fila Kolodny  <fila@ibi.com>
6068         * sysdeps/mach/hurd/abi-tag.h: New file.
6070         * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
6071         * sysdeps/stub/bits/libc-lock.h: Likewise.
6073         * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
6074         Add variable addr containing the desired part of the union.
6075         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
6076         * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
6077         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
6078         * sysdeps/mach/hurd/connect.c (__connect): Likewise.
6079         * sysdeps/mach/hurd/bind.c (bind): Likewise.
6081         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
6082         to sizeof(MACH_MSG_TYPE_INTEGER_T).
6084         * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
6086         * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
6088         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
6089         paramater list since it is used.
6091         * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
6093         * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
6094         ss to argss.
6096 1997-06-24 14:02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6098         * Rules: Update copyright.
6099         * mach/Machrules: Likewise.
6101 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
6103         * configure.in: Fix accidently removed AC_OUTPUT line.
6104         Reported by Andreas Jaeger.
6106         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
6107         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
6109         * sysdeps/generic/getdomain.c: Include handling for stub case.
6110         This eliminated the only case of a function in generic and stub.
6111         * sysdeps/stub/getdomain.c: Removed.
6112         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6114 1997-06-23 22:20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6116         * sysdeps/alpha/_mcount.S: Update and reformat copyright,
6117         remove trailing white spaces and send through unexpand.
6118         * sysdeps/alpha/bb_init_func.S: Likewise.
6119         * sysdeps/alpha/bzero.S: Likewise.
6120         * sysdeps/alpha/ffs.S: Likewise.
6121         * sysdeps/alpha/memset.S: Likewise.
6122         * sysdeps/alpha/s_fabs.S: Likewise.
6123         * sysdeps/alpha/strcmp.S: Likewise.
6124         * sysdeps/alpha/strlen.S: Likewise.
6125         * sysdeps/alpha/strncmp.S: Likewise.
6126         * sysdeps/alpha/strncpy.S: Likewise.
6127         * sysdeps/alpha/strrchr.S: Likewise.
6128         * sysdeps/alpha/stxcpy.S: Likewise.
6129         * sysdeps/alpha/stxncpy.S: Likewise.
6130         * sysdeps/alpha/elf/start.S: Likewise.
6131         * sysdeps/i386/strchr.S: Likewise.
6132         * sysdeps/m68k/bsd-_setjmp.S: Likewise.
6133         * sysdeps/m68k/bsd-setjmp.S: Likewise.
6134         * sysdeps/m68k/elf/start.S: Likewise.
6135         * sysdeps/mach/alpha/syscall.S: Likewise.
6136         * sysdeps/mach/i386/syscall.S: Likewise.
6137         * sysdeps/mips/elf/start.S: Likewise.
6138         * sysdeps/sparc/alloca.S: Likewise.
6139         * sysdeps/standalone/i386/start.S: Likewise.
6140         * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
6141         * sysdeps/standalone/i960/start.S: Likewise.
6142         * sysdeps/standalone/m68k/m68020/start.S: Likewise.
6143         * sysdeps/unix/_exit.S: Likewise.
6144         * sysdeps/unix/fork.S: Likewise.
6145         * sysdeps/unix/getegid.S: Likewise.
6146         * sysdeps/unix/geteuid.S: Likewise.
6147         * sysdeps/unix/getppid.S: Likewise.
6148         * sysdeps/unix/syscall.S: Likewise.
6149         * sysdeps/unix/arm/brk.S: Likewise.
6150         * sysdeps/unix/arm/fork.S: Likewise.
6151         * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
6152         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
6153         * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
6154         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6155         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6156         * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
6157         * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
6158         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
6159         * sysdeps/unix/bsd/m68k/wait.S: Likewise.
6160         * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
6161         * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
6162         * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
6163         * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
6164         * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
6165         * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
6166         * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
6167         * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
6168         * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
6169         * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
6170         * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
6171         * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
6172         * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
6173         * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
6174         * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
6175         * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
6176         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
6177         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
6178         * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
6179         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
6180         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
6181         * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
6182         * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
6183         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
6184         * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
6185         * sysdeps/unix/bsd/vax/brk.S: Likewise.
6186         * sysdeps/unix/bsd/vax/pipe.S: Likewise.
6187         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
6188         * sysdeps/unix/bsd/vax/vfork.S: Likewise.
6189         * sysdeps/unix/bsd/vax/wait.S: Likewise.
6190         * sysdeps/unix/bsd/vax/wait3.S: Likewise.
6191         * sysdeps/unix/i386/brk.S: Likewise.
6192         * sysdeps/unix/i386/fork.S: Likewise.
6193         * sysdeps/unix/i386/pipe.S: Likewise.
6194         * sysdeps/unix/i386/sigreturn.S: Likewise.
6195         * sysdeps/unix/i386/syscall.S: Likewise.
6196         * sysdeps/unix/i386/vfork.S: Likewise.
6197         * sysdeps/unix/i386/wait.S: Likewise.
6198         * sysdeps/unix/mips/brk.S: Likewise.
6199         * sysdeps/unix/mips/fork.S: Likewise.
6200         * sysdeps/unix/mips/pipe.S: Likewise.
6201         * sysdeps/unix/mips/sigreturn.S: Likewise.
6202         * sysdeps/unix/mips/sysdep.S: Likewise.
6203         * sysdeps/unix/mips/wait.S: Likewise.
6204         * sysdeps/unix/sparc/brk.S: Likewise.
6205         * sysdeps/unix/sparc/fork.S: Likewise.
6206         * sysdeps/unix/sparc/pipe.S: Likewise.
6207         * sysdeps/unix/sparc/sysdep.S: Likewise.
6208         * sysdeps/unix/sparc/vfork.S: Likewise.
6209         * sysdeps/unix/sysv/i386/signal.S: Likewise.
6210         * sysdeps/unix/sysv/i386/time.S: Likewise.
6211         * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
6212         * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
6213         * sysdeps/unix/sysv/irix4/uname.S: Likewise.
6214         * sysdeps/unix/sysv/irix4/wait.S: Likewise.
6215         * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
6216         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6217         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6218         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
6219         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6220         * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
6221         * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
6222         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
6223         * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
6224         * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
6225         * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
6226         * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
6227         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
6228         * sysdeps/vax/bsd-_setjmp.S: Likewise.
6229         * sysdeps/vax/bsd-setjmp.S: Likewise.
6231 1997-06-26 02:06  Ulrich Drepper  <drepper@cygnus.com>
6233         * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
6234         public.
6236         * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
6237         dependency, not $(libc-map).
6239         * sysdeps/posix/mk-stdiolim.c: Pretty print.
6241 1997-06-25 15:54  Fila Kolodny  <fila@ibi.com>
6243         * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
6244         include of bits/types.h.
6246         * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
6247         conditionalize this on whether we are cross-compiling.
6249 1997-06-21 15:47  H.J. Lu  <hjl@gnu.ai.mit.edu>
6251         * elf/dl-lookup.c (do_lookup): Use default definition
6252         for a default versioned symbol.
6254         * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
6256         * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
6258         * elf/link.h (r_found_version): Add the hidden field.
6260         * math/test-matherr.c: New file.
6262         * math/Makefile (tests): Add test-matherr.
6263         (libm-support): Put back s_matherr.
6264         (static-only-routines, aux): Remove s_matherr.
6266 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
6268         * string/Makefile (headers): Change bytesex.h to bits/endian.h.
6269         * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
6270         bits/endian.h.
6272         * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
6273         function will not fail because of exceptions.
6275         * math/math.h: Add warning about use of M_* constants.
6276         Pretty print.
6278 1997-06-23 11:36  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6280         * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
6281         copyright, remove trailing white spaces and send through unexpand.
6282         * inet/netinet/icmp6.h: Likewise.
6283         * inet/netinet/in.h: Likewise.
6284         * inet/netinet/ip6.h: Likewise.
6285         * locale/programs/xmalloc.c: Likewise.
6286         * locale/programs/xstrdup.c: Likewise.
6287         * sysdeps/generic/make_siglist.c: Likewise.
6288         * sysdeps/generic/morecore.c: Likewise.
6289         * sysdeps/generic/sbrk.c: Likewise.
6290         * sysdeps/generic/signame.c: Likewise.
6291         * sysdeps/generic/signame.h: Likewise.
6292         * sysdeps/generic/netinet/inbits.h: Likewise.
6293         * sysdeps/posix/getpagesize.c: Likewise.
6294         * sysdeps/unix/errnos-tmpl.c: Likewise.
6295         * sysdeps/unix/getpagesize.c: Likewise.
6296         * sysdeps/unix/make_errlist.c: Likewise.
6297         * sysdeps/unix/mkfifo.c: Likewise.
6298         * sysdeps/unix/nlist.c: Likewise.
6299         * sysdeps/unix/start.c: Likewise.
6300         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
6302         * munch-tmpl.c: Update and reformat copyright, remove trailing
6303         white spaces and send through unexpand.
6304         * libio/clearerr_u.c: Likewise.
6305         * libio/memstream.c: Likewise.
6306         * libio/putc_u.c: Likewise.
6307         * libio/putchar_u.c: Likewise.
6308         * stdio-common/scanf.c: Likewise.
6309         * stdlib/longlong.h: Likewise.
6310         * sysdeps/alpha/__longjmp.c: Likewise.
6311         * sysdeps/alpha/divrem.h: Likewise.
6312         * sysdeps/alpha/machine-gmon.h: Likewise.
6313         * sysdeps/alpha/setjmp_aux.c: Likewise.
6314         * sysdeps/alpha/bits/setjmp.h: Likewise.
6315         * sysdeps/arm/fpu_control.h: Likewise.
6316         * sysdeps/generic/_strerror.c: Likewise.
6317         * sysdeps/generic/det_endian.c: Likewise.
6318         * sysdeps/generic/fdatasync.c: Likewise.
6319         * sysdeps/generic/fpu_control.c: Likewise.
6320         * sysdeps/generic/ftime.c: Likewise.
6321         * sysdeps/generic/getdomain.c: Likewise.
6322         * sysdeps/generic/group_member.c: Likewise.
6323         * sysdeps/generic/ldiv.c: Likewise.
6324         * sysdeps/generic/lldiv.c: Likewise.
6325         * sysdeps/generic/lxstat.c: Likewise.
6326         * sysdeps/generic/memcmp.c: Likewise.
6327         * sysdeps/generic/memmem.c: Likewise.
6328         * sysdeps/generic/mig-reply.c: Likewise.
6329         * sysdeps/generic/pagecopy.h: Likewise.
6330         * sysdeps/generic/profil-counter.h: Likewise.
6331         * sysdeps/generic/pselect.c: Likewise.
6332         * sysdeps/generic/setfpucw.c: Likewise.
6333         * sysdeps/generic/stpcpy.c: Likewise.
6334         * sysdeps/generic/uname.c: Likewise.
6335         * sysdeps/generic/varargs.h: Likewise.
6336         * sysdeps/generic/vlimit.c: Likewise.
6337         * sysdeps/generic/bits/sigaction.h: Likewise.
6338         * sysdeps/generic/bits/ustat.h: Likewise.
6339         * sysdeps/generic/netinet/if_ether.h: Likewise.
6340         * sysdeps/generic/sys/swap.h: Likewise.
6341         * sysdeps/generic/sys/sysinfo.h: Likewise.
6342         * sysdeps/i386/init-first.c: Likewise.
6343         * sysdeps/i386/ldbl2mpn.c: Likewise.
6344         * sysdeps/i386/memcopy.h: Likewise.
6345         * sysdeps/i386/i586/memcopy.h: Likewise.
6346         * sysdeps/i860/memcopy.h: Likewise.
6347         * sysdeps/m68k/__longjmp.c: Likewise.
6348         * sysdeps/m68k/fpu_control.h: Likewise.
6349         * sysdeps/m68k/memcopy.h: Likewise.
6350         * sysdeps/m68k/s_isinfl.c: Likewise.
6351         * sysdeps/m68k/s_isnanl.c: Likewise.
6352         * sysdeps/m68k/setjmp.c: Likewise.
6353         * sysdeps/mach/_strerror.c: Likewise.
6354         * sysdeps/mach/getsysstats.c: Likewise.
6355         * sysdeps/mach/mprotect.c: Likewise.
6356         * sysdeps/mach/munmap.c: Likewise.
6357         * sysdeps/mach/pagecopy.h: Likewise.
6358         * sysdeps/mach/start.c: Likewise.
6359         * sysdeps/mach/sysdep.h: Likewise.
6360         * sysdeps/mach/alpha/machine-lock.h: Likewise.
6361         * sysdeps/mach/alpha/machine-sp.h: Likewise.
6362         * sysdeps/mach/alpha/sysdep.h: Likewise.
6363         * sysdeps/mach/alpha/thread_state.h: Likewise.
6364         * sysdeps/mach/hppa/machine-lock.h: Likewise.
6365         * sysdeps/mach/hurd/access.c: Likewise.
6366         * sysdeps/mach/hurd/closedir.c: Likewise.
6367         * sysdeps/mach/hurd/dirstream.h: Likewise.
6368         * sysdeps/mach/hurd/dl-cache.c: Likewise.
6369         * sysdeps/mach/hurd/euidaccess.c: Likewise.
6370         * sysdeps/mach/hurd/fdatasync.c: Likewise.
6371         * sysdeps/mach/hurd/fexecve.c: Likewise.
6372         * sysdeps/mach/hurd/fork.c: Likewise.
6373         * sysdeps/mach/hurd/fpathconf.c: Likewise.
6374         * sysdeps/mach/hurd/fstatfs.c: Likewise.
6375         * sysdeps/mach/hurd/fxstat.c: Likewise.
6376         * sysdeps/mach/hurd/getcwd.c: Likewise.
6377         * sysdeps/mach/hurd/getpriority.c: Likewise.
6378         * sysdeps/mach/hurd/getrlimit.c: Likewise.
6379         * sysdeps/mach/hurd/getsid.c: Likewise.
6380         * sysdeps/mach/hurd/group_member.c: Likewise.
6381         * sysdeps/mach/hurd/kill.c: Likewise.
6382         * sysdeps/mach/hurd/lchown.c: Likewise.
6383         * sysdeps/mach/hurd/lxstat.c: Likewise.
6384         * sysdeps/mach/hurd/mig-reply.c: Likewise.
6385         * sysdeps/mach/hurd/mmap.c: Likewise.
6386         * sysdeps/mach/hurd/opendir.c: Likewise.
6387         * sysdeps/mach/hurd/pathconf.c: Likewise.
6388         * sysdeps/mach/hurd/profil.c: Likewise.
6389         * sysdeps/mach/hurd/ptrace.c: Likewise.
6390         * sysdeps/mach/hurd/readdir.c: Likewise.
6391         * sysdeps/mach/hurd/readdir_r.c: Likewise.
6392         * sysdeps/mach/hurd/send.c: Likewise.
6393         * sysdeps/mach/hurd/sendto.c: Likewise.
6394         * sysdeps/mach/hurd/setpriority.c: Likewise.
6395         * sysdeps/mach/hurd/statfs.c: Likewise.
6396         * sysdeps/mach/hurd/ttyname.c: Likewise.
6397         * sysdeps/mach/hurd/uname.c: Likewise.
6398         * sysdeps/mach/hurd/xstat.c: Likewise.
6399         * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
6400         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
6401         * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
6402         * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
6403         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
6404         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
6405         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
6406         * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
6407         * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
6408         * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
6409         * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
6410         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
6411         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
6412         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
6413         * sysdeps/mach/hurd/sys/param.h: Likewise.
6414         * sysdeps/mach/i386/machine-lock.h: Likewise.
6415         * sysdeps/mach/i386/machine-sp.h: Likewise.
6416         * sysdeps/mach/i386/sysdep.h: Likewise.
6417         * sysdeps/mach/i386/thread_state.h: Likewise.
6418         * sysdeps/posix/dup2.c: Likewise.
6419         * sysdeps/posix/flock.c: Likewise.
6420         * sysdeps/posix/getdtsz.c: Likewise.
6421         * sysdeps/posix/gettimeofday.c: Likewise.
6422         * sysdeps/posix/isatty.c: Likewise.
6423         * sysdeps/posix/killpg.c: Likewise.
6424         * sysdeps/posix/mk-stdiolim.c: Likewise.
6425         * sysdeps/posix/profil.c: Likewise.
6426         * sysdeps/posix/remove.c: Likewise.
6427         * sysdeps/posix/rename.c: Likewise.
6428         * sysdeps/posix/sigsuspend.c: Likewise.
6429         * sysdeps/posix/tempname.c: Likewise.
6430         * sysdeps/posix/truncate.c: Likewise.
6431         * sysdeps/posix/utimes.c: Likewise.
6432         * sysdeps/posix/wait.c: Likewise.
6433         * sysdeps/posix/wait3.c: Likewise.
6434         * sysdeps/rs6000/memcopy.h: Likewise.
6435         * sysdeps/sparc/memcopy.h: Likewise.
6436         * sysdeps/standalone/close.c: Likewise.
6437         * sysdeps/standalone/dirstream.h: Likewise.
6438         * sysdeps/standalone/filedesc.h: Likewise.
6439         * sysdeps/standalone/open.c: Likewise.
6440         * sysdeps/standalone/read.c: Likewise.
6441         * sysdeps/standalone/standalone.h: Likewise.
6442         * sysdeps/standalone/write.c: Likewise.
6443         * sysdeps/standalone/bits/stdio_lim.h: Likewise.
6444         * sysdeps/standalone/i386/i386.h: Likewise.
6445         * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
6446         * sysdeps/stub/__longjmp.c: Likewise.
6447         * sysdeps/stub/accept.c: Likewise.
6448         * sysdeps/stub/access.c: Likewise.
6449         * sysdeps/stub/acct.c: Likewise.
6450         * sysdeps/stub/adjtime.c: Likewise.
6451         * sysdeps/stub/alarm.c: Likewise.
6452         * sysdeps/stub/bind.c: Likewise.
6453         * sysdeps/stub/brk.c: Likewise.
6454         * sysdeps/stub/bsd-_setjmp.c: Likewise.
6455         * sysdeps/stub/bsd-setjmp.c: Likewise.
6456         * sysdeps/stub/chdir.c: Likewise.
6457         * sysdeps/stub/chflags.c: Likewise.
6458         * sysdeps/stub/chmod.c: Likewise.
6459         * sysdeps/stub/chown.c: Likewise.
6460         * sysdeps/stub/chroot.c: Likewise.
6461         * sysdeps/stub/clock.c: Likewise.
6462         * sysdeps/stub/close.c: Likewise.
6463         * sysdeps/stub/closedir.c: Likewise.
6464         * sysdeps/stub/connect.c: Likewise.
6465         * sysdeps/stub/ctermid.c: Likewise.
6466         * sysdeps/stub/cuserid.c: Likewise.
6467         * sysdeps/stub/dbl2mpn.c: Likewise.
6468         * sysdeps/stub/dirstream.h: Likewise.
6469         * sysdeps/stub/dup.c: Likewise.
6470         * sysdeps/stub/dup2.c: Likewise.
6471         * sysdeps/stub/exc2signal.c: Likewise.
6472         * sysdeps/stub/execve.c: Likewise.
6473         * sysdeps/stub/fchflags.c: Likewise.
6474         * sysdeps/stub/fchown.c: Likewise.
6475         * sysdeps/stub/fcntl.c: Likewise.
6476         * sysdeps/stub/fdopen.c: Likewise.
6477         * sysdeps/stub/fexecve.c: Likewise.
6478         * sysdeps/stub/flock.c: Likewise.
6479         * sysdeps/stub/fork.c: Likewise.
6480         * sysdeps/stub/fpathconf.c: Likewise.
6481         * sysdeps/stub/fpu_control.h: Likewise.
6482         * sysdeps/stub/fstatfs.c: Likewise.
6483         * sysdeps/stub/fsync.c: Likewise.
6484         * sysdeps/stub/ftruncate.c: Likewise.
6485         * sysdeps/stub/fxstat.c: Likewise.
6486         * sysdeps/stub/getcwd.c: Likewise.
6487         * sysdeps/stub/getdomain.c: Likewise.
6488         * sysdeps/stub/getdtsz.c: Likewise.
6489         * sysdeps/stub/getegid.c: Likewise.
6490         * sysdeps/stub/geteuid.c: Likewise.
6491         * sysdeps/stub/getgid.c: Likewise.
6492         * sysdeps/stub/getgroups.c: Likewise.
6493         * sysdeps/stub/gethostid.c: Likewise.
6494         * sysdeps/stub/gethostname.c: Likewise.
6495         * sysdeps/stub/getitimer.c: Likewise.
6496         * sysdeps/stub/getpeername.c: Likewise.
6497         * sysdeps/stub/getpgid.c: Likewise.
6498         * sysdeps/stub/getpid.c: Likewise.
6499         * sysdeps/stub/getppid.c: Likewise.
6500         * sysdeps/stub/getpriority.c: Likewise.
6501         * sysdeps/stub/getrlimit.c: Likewise.
6502         * sysdeps/stub/getrusage.c: Likewise.
6503         * sysdeps/stub/getsid.c: Likewise.
6504         * sysdeps/stub/getsockname.c: Likewise.
6505         * sysdeps/stub/getsockopt.c: Likewise.
6506         * sysdeps/stub/getsysstats.c: Likewise.
6507         * sysdeps/stub/gettimeofday.c: Likewise.
6508         * sysdeps/stub/getuid.c: Likewise.
6509         * sysdeps/stub/gtty.c: Likewise.
6510         * sysdeps/stub/if_index.c: Likewise.
6511         * sysdeps/stub/init-posix.c: Likewise.
6512         * sysdeps/stub/ioctl.c: Likewise.
6513         * sysdeps/stub/isatty.c: Likewise.
6514         * sysdeps/stub/isfdtype.c: Likewise.
6515         * sysdeps/stub/jmp-unwind.c: Likewise.
6516         * sysdeps/stub/kill.c: Likewise.
6517         * sysdeps/stub/killpg.c: Likewise.
6518         * sysdeps/stub/ldbl2mpn.c: Likewise.
6519         * sysdeps/stub/link.c: Likewise.
6520         * sysdeps/stub/listen.c: Likewise.
6521         * sysdeps/stub/lockfile.c: Likewise.
6522         * sysdeps/stub/longjmp-ts.c: Likewise.
6523         * sysdeps/stub/lseek.c: Likewise.
6524         * sysdeps/stub/lxstat.c: Likewise.
6525         * sysdeps/stub/machine-lock.h: Likewise.
6526         * sysdeps/stub/machine-sp.h: Likewise.
6527         * sysdeps/stub/madvise.c: Likewise.
6528         * sysdeps/stub/mkdir.c: Likewise.
6529         * sysdeps/stub/mkfifo.c: Likewise.
6530         * sysdeps/stub/mmap.c: Likewise.
6531         * sysdeps/stub/morecore.c: Likewise.
6532         * sysdeps/stub/mpn2dbl.c: Likewise.
6533         * sysdeps/stub/mpn2flt.c: Likewise.
6534         * sysdeps/stub/mpn2ldbl.c: Likewise.
6535         * sysdeps/stub/mprotect.c: Likewise.
6536         * sysdeps/stub/msgctl.c: Likewise.
6537         * sysdeps/stub/msgget.c: Likewise.
6538         * sysdeps/stub/msgrcv.c: Likewise.
6539         * sysdeps/stub/msgsnd.c: Likewise.
6540         * sysdeps/stub/munmap.c: Likewise.
6541         * sysdeps/stub/nanosleep.c: Likewise.
6542         * sysdeps/stub/nice.c: Likewise.
6543         * sysdeps/stub/nlist.c: Likewise.
6544         * sysdeps/stub/open.c: Likewise.
6545         * sysdeps/stub/opendir.c: Likewise.
6546         * sysdeps/stub/pathconf.c: Likewise.
6547         * sysdeps/stub/pause.c: Likewise.
6548         * sysdeps/stub/pipestream.c: Likewise.
6549         * sysdeps/stub/poll.c: Likewise.
6550         * sysdeps/stub/profil.c: Likewise.
6551         * sysdeps/stub/ptrace.c: Likewise.
6552         * sysdeps/stub/putenv.c: Likewise.
6553         * sysdeps/stub/read.c: Likewise.
6554         * sysdeps/stub/readdir.c: Likewise.
6555         * sysdeps/stub/readdir_r.c: Likewise.
6556         * sysdeps/stub/readlink.c: Likewise.
6557         * sysdeps/stub/reboot.c: Likewise.
6558         * sysdeps/stub/recv.c: Likewise.
6559         * sysdeps/stub/recvfrom.c: Likewise.
6560         * sysdeps/stub/recvmsg.c: Likewise.
6561         * sysdeps/stub/remove.c: Likewise.
6562         * sysdeps/stub/rename.c: Likewise.
6563         * sysdeps/stub/revoke.c: Likewise.
6564         * sysdeps/stub/rewinddir.c: Likewise.
6565         * sysdeps/stub/rmdir.c: Likewise.
6566         * sysdeps/stub/sbrk.c: Likewise.
6567         * sysdeps/stub/sched_getp.c: Likewise.
6568         * sysdeps/stub/sched_gets.c: Likewise.
6569         * sysdeps/stub/sched_primax.c: Likewise.
6570         * sysdeps/stub/sched_primin.c: Likewise.
6571         * sysdeps/stub/sched_rr_gi.c: Likewise.
6572         * sysdeps/stub/sched_setp.c: Likewise.
6573         * sysdeps/stub/sched_sets.c: Likewise.
6574         * sysdeps/stub/sched_yield.c: Likewise.
6575         * sysdeps/stub/seekdir.c: Likewise.
6576         * sysdeps/stub/select.c: Likewise.
6577         * sysdeps/stub/semctl.c: Likewise.
6578         * sysdeps/stub/semget.c: Likewise.
6579         * sysdeps/stub/semop.c: Likewise.
6580         * sysdeps/stub/send.c: Likewise.
6581         * sysdeps/stub/sendmsg.c: Likewise.
6582         * sysdeps/stub/sendto.c: Likewise.
6583         * sysdeps/stub/setdomain.c: Likewise.
6584         * sysdeps/stub/setegid.c: Likewise.
6585         * sysdeps/stub/setenv.c: Likewise.
6586         * sysdeps/stub/seteuid.c: Likewise.
6587         * sysdeps/stub/setgid.c: Likewise.
6588         * sysdeps/stub/setgroups.c: Likewise.
6589         * sysdeps/stub/sethostid.c: Likewise.
6590         * sysdeps/stub/sethostname.c: Likewise.
6591         * sysdeps/stub/setjmp.c: Likewise.
6592         * sysdeps/stub/setlogin.c: Likewise.
6593         * sysdeps/stub/setpgid.c: Likewise.
6594         * sysdeps/stub/setpriority.c: Likewise.
6595         * sysdeps/stub/setregid.c: Likewise.
6596         * sysdeps/stub/setreuid.c: Likewise.
6597         * sysdeps/stub/setrlimit.c: Likewise.
6598         * sysdeps/stub/setsid.c: Likewise.
6599         * sysdeps/stub/setsockopt.c: Likewise.
6600         * sysdeps/stub/settimeofday.c: Likewise.
6601         * sysdeps/stub/setuid.c: Likewise.
6602         * sysdeps/stub/shmctl.c: Likewise.
6603         * sysdeps/stub/shmget.c: Likewise.
6604         * sysdeps/stub/shutdown.c: Likewise.
6605         * sysdeps/stub/sigaction.c: Likewise.
6606         * sysdeps/stub/sigaltstack.c: Likewise.
6607         * sysdeps/stub/sigblock.c: Likewise.
6608         * sysdeps/stub/sigintr.c: Likewise.
6609         * sysdeps/stub/sigpending.c: Likewise.
6610         * sysdeps/stub/sigprocmask.c: Likewise.
6611         * sysdeps/stub/sigreturn.c: Likewise.
6612         * sysdeps/stub/sigsetmask.c: Likewise.
6613         * sysdeps/stub/sigstack.c: Likewise.
6614         * sysdeps/stub/sigsuspend.c: Likewise.
6615         * sysdeps/stub/sigvec.c: Likewise.
6616         * sysdeps/stub/socket.c: Likewise.
6617         * sysdeps/stub/socketpair.c: Likewise.
6618         * sysdeps/stub/sstk.c: Likewise.
6619         * sysdeps/stub/statfs.c: Likewise.
6620         * sysdeps/stub/stdio_init.c: Likewise.
6621         * sysdeps/stub/stime.c: Likewise.
6622         * sysdeps/stub/stty.c: Likewise.
6623         * sysdeps/stub/swapoff.c: Likewise.
6624         * sysdeps/stub/swapon.c: Likewise.
6625         * sysdeps/stub/symlink.c: Likewise.
6626         * sysdeps/stub/sync.c: Likewise.
6627         * sysdeps/stub/syscall.c: Likewise.
6628         * sysdeps/stub/sysd-stdio.c: Likewise.
6629         * sysdeps/stub/system.c: Likewise.
6630         * sysdeps/stub/tcdrain.c: Likewise.
6631         * sysdeps/stub/tcflow.c: Likewise.
6632         * sysdeps/stub/tcflush.c: Likewise.
6633         * sysdeps/stub/tcgetattr.c: Likewise.
6634         * sysdeps/stub/tcgetpgrp.c: Likewise.
6635         * sysdeps/stub/tcsendbrk.c: Likewise.
6636         * sysdeps/stub/tcsetpgrp.c: Likewise.
6637         * sysdeps/stub/telldir.c: Likewise.
6638         * sysdeps/stub/thread_state.h: Likewise.
6639         * sysdeps/stub/time.c: Likewise.
6640         * sysdeps/stub/times.c: Likewise.
6641         * sysdeps/stub/trampoline.c: Likewise.
6642         * sysdeps/stub/truncate.c: Likewise.
6643         * sysdeps/stub/ttyname.c: Likewise.
6644         * sysdeps/stub/ttyname_r.c: Likewise.
6645         * sysdeps/stub/ualarm.c: Likewise.
6646         * sysdeps/stub/ulimit.c: Likewise.
6647         * sysdeps/stub/umask.c: Likewise.
6648         * sysdeps/stub/unlink.c: Likewise.
6649         * sysdeps/stub/usleep.c: Likewise.
6650         * sysdeps/stub/ustat.c: Likewise.
6651         * sysdeps/stub/utime.c: Likewise.
6652         * sysdeps/stub/utimes.c: Likewise.
6653         * sysdeps/stub/vdprintf.c: Likewise.
6654         * sysdeps/stub/vhangup.c: Likewise.
6655         * sysdeps/stub/wait.c: Likewise.
6656         * sysdeps/stub/wait3.c: Likewise.
6657         * sysdeps/stub/wait4.c: Likewise.
6658         * sysdeps/stub/waitpid.c: Likewise.
6659         * sysdeps/stub/write.c: Likewise.
6660         * sysdeps/stub/xmknod.c: Likewise.
6661         * sysdeps/stub/xstat.c: Likewise.
6662         * sysdeps/stub/bits/errno.h: Likewise.
6663         * sysdeps/stub/bits/sigcontext.h: Likewise.
6664         * sysdeps/unix/fxstat.c: Likewise.
6665         * sysdeps/unix/mk-local_lim.c: Likewise.
6666         * sysdeps/unix/mkdir.c: Likewise.
6667         * sysdeps/unix/nice.c: Likewise.
6668         * sysdeps/unix/rmdir.c: Likewise.
6669         * sysdeps/unix/stime.c: Likewise.
6670         * sysdeps/unix/telldir.c: Likewise.
6671         * sysdeps/unix/xstat.c: Likewise.
6672         * sysdeps/unix/arm/sysdep.h: Likewise.
6673         * sysdeps/unix/bsd/ftime.c: Likewise.
6674         * sysdeps/unix/bsd/isatty.c: Likewise.
6675         * sysdeps/unix/bsd/setegid.c: Likewise.
6676         * sysdeps/unix/bsd/seteuid.c: Likewise.
6677         * sysdeps/unix/bsd/setsid.c: Likewise.
6678         * sysdeps/unix/bsd/sigaction.c: Likewise.
6679         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6680         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6681         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6682         * sysdeps/unix/bsd/times.c: Likewise.
6683         * sysdeps/unix/bsd/ulimit.c: Likewise.
6684         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
6685         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
6686         * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
6687         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
6688         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
6689         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
6690         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
6691         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
6692         * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
6693         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
6694         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
6695         * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
6696         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
6697         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
6698         * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
6699         * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
6700         * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
6701         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
6702         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
6703         * sysdeps/unix/common/lxstat.c: Likewise.
6704         * sysdeps/unix/common/tcsendbrk.c: Likewise.
6705         * sysdeps/unix/common/bits/dirent.h: Likewise.
6706         * sysdeps/unix/i386/sysdep.h: Likewise.
6707         * sysdeps/unix/mips/sysdep.h: Likewise.
6708         * sysdeps/unix/sysv/setrlimit.c: Likewise.
6709         * sysdeps/unix/sysv/settimeofday.c: Likewise.
6710         * sysdeps/unix/sysv/sigaction.c: Likewise.
6711         * sysdeps/unix/sysv/sysv_termio.h: Likewise.
6712         * sysdeps/unix/sysv/tcdrain.c: Likewise.
6713         * sysdeps/unix/sysv/tcflow.c: Likewise.
6714         * sysdeps/unix/sysv/tcflush.c: Likewise.
6715         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6716         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6717         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6718         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
6719         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
6720         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
6721         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
6722         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6723         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6724         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
6725         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6726         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6727         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
6728         * sysdeps/unix/sysv/linux/speed.c: Likewise.
6729         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6730         * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
6731         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6732         * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
6733         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
6734         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
6735         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
6736         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
6737         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6738         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
6739         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
6740         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
6741         * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
6742         * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
6743         * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
6744         * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
6745         * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
6746         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
6747         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
6748         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
6749         * sysdeps/vax/fl.h: Likewise.
6750         * sysdeps/vax/setjmp.c: Likewise.
6752 1997-06-21 16:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6754         * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
6755         and NaN strings.
6757 1997-06-20 21:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6759         * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
6760         argument.
6761         (__ilogb): Remove special case for zero, add stupid special case
6762         for NaN.
6763         (__ieee754_scalb): Remove definition.
6764         * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
6765         * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
6767         * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
6768         * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
6769         * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
6771         * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
6772         returning NaN.  Handle zero specially.
6773         * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
6774         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
6776         * math/libm-test.c (ilogb_test): Don't require exceptions for zero
6777         and NaN.
6778         (gamma_test): Use different argument when checking whether
6779         function is implemented.
6780         (scalb_test): Remove duplicate tests.
6782 1997-06-03 15:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6784         * Makerules (+depfiles): Add dependencies for $(test-srcs).
6785         (distinfo-vars): Add test-srcs.
6787 1997-06-21 17:35  Ulrich Drepper  <drepper@cygnus.com>
6789         * argp/argp.h: Remove extra #endif.  Pretty print.
6790         * md5-crypt/md5.h: Likewise.
6792         * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
6793         * wctype/wctype.h: Likewise.
6795         * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
6796         directory.
6798         * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
6799         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
6800         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
6801         * sysdeps/libm-i387/s_lrint.S: Likewise.
6802         * sysdeps/libm-i387/s_llrint.S: Likewise.
6804 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
6806         * config.h.in: Add DO_STATIC_NSS.
6807         * config.make.in: Add build-static-nss.
6809         * elf/eval.c: Use __getdelim instead of __getline.
6811         * locale/programs/locale.c: Correct comment.
6813         * manual/libc.texinfo: Update copyright and date.
6814         Remove A4 option.
6816         * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
6817         for gamma overflow.
6818         * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
6819         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6820         * sysdeps/libm-ieee754/w_gammalp.c: Likewise.
6822         * po/ko.po: Update.
6824 1997-06-13 10:06  Richard Henderson  <rth@tamu.edu>
6826         The Great Bit File Move:
6827         * configure.in (AC_INIT): Look in include/ for features.h.
6828         (sysnames): Add include as the final search directory.
6829         (AC_OUTPUT): Create a bits directory in the build directory.
6830         * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
6831         * Makefile: Make sure the target directory exists when installing
6832         <gnu/stubs.h> and <gnu/lib-names.h>.
6833         * csu/Makefile: Use $(compile.S) and $(compile.c) instead of
6834         invoking $(CC) directly, as the former have the full include path.
6836         * ansidecl.h: Removed.
6838         * aliases.h: Moved to include/.
6839         * alloca.h: Likewise.
6840         * argp.h: Likewise.
6841         * argz.h: Likewise.
6842         * arpa/ftp.h: Likewise.
6843         * arpa/inet.h: Likewise.
6844         * arpa/nameser.h: Likewise.
6845         * arpa/telnet.h: Likewise.
6846         * arpa/tftp.h: Likewise.
6847         * assert.h: Likewise.
6848         * ctype.h: Likewise.
6849         * db.h: Likewise.
6850         * dirent.h: Likewise.
6851         * dlfcn.h: Likewise.
6852         * elf.h: Likewise.
6853         * endian.h: Likewise.
6854         * envz.h: Likewise.
6855         * err.h: Likewise.
6856         * errno.h: Likewise.
6857         * error.h: Likewise.
6858         * fcntl.h: Likewise.
6859         * features.h: Likewise.
6860         * fnmatch.h: Likewise.
6861         * ftw.h: Likewise.
6862         * getopt.h: Likewise.
6863         * glob.h: Likewise.
6864         * gnu-versions.h: Likewise.
6865         * grp.h: Likewise.
6866         * langinfo.h: Likewise.
6867         * libc-symbols.h: Likewise.
6868         * libgen.h: Likewise.
6869         * libintl.h: Likewise.
6870         * limits.h: Likewise.
6871         * linewrap.h: Likewise.
6872         * link.h: Likewise.
6873         * locale.h: Likewise.
6874         * malloc.h: Likewise.
6875         * math.h: Likewise.
6876         * mathcalls.h: Likewise.
6877         * mcheck.h: Likewise.
6878         * memory.h: Likewise.
6879         * netdb.h: Likewise.
6880         * netgroup.h: Likewise.
6881         * netinet/ether.h: Likewise.
6882         * netinet/in.h: Likewise.
6883         * nlist.h: Likewise.
6884         * nss.h: Likewise.
6885         * nsswitch.h: Likewise.
6886         * obstack.h: Likewise.
6887         * poll.h: Likewise.
6888         * posix1_lim.h: Likewise.
6889         * posix2_lim.h: Likewise.
6890         * printf.h: Likewise.
6891         * protocols/routed.h: Likewise.
6892         * protocols/rwhod.h: Likewise.
6893         * protocols/talkd.h: Likewise.
6894         * protocols/timed.h: Likewise.
6895         * pwd.h: Likewise.
6896         * regex.h: Likewise.
6897         * resolv.h: Likewise.
6898         * rpc/auth_unix.h: Likewise.
6899         * rpc/clnt.h: Likewise.
6900         * rpc/netdb.h: Likewise.
6901         * rpc/pmap_clnt.h: Likewise.
6902         * rpc/pmap_prot.h: Likewise.
6903         * rpc/pmap_rmt.h: Likewise.
6904         * rpc/rpc.h: Likewise.
6905         * rpc/rpc_msg.h: Likewise.
6906         * rpc/svc.h: Likewise.
6907         * rpc/svc_auth.h: Likewise.
6908         * rpc/types.h: Likewise.
6909         * rpc/xdr.h: Likewise.
6910         * sched.h: Likewise.
6911         * search.h: Likewise.
6912         * set-hooks.h: Likewise.
6913         * setjmp.h: Likewise.
6914         * sgtty.h: Likewise.
6915         * shadow.h: Likewise.
6916         * signal.h: Likewise.
6917         * stab.def: Likewise.
6918         * stab.h: Likewise.
6919         * stdio.h: Likewise.
6920         * stdlib.h: Likewise.
6921         * string.h: Likewise.
6922         * strings.h: Likewise.
6923         * sys/bitypes.h: Likewise.
6924         * sys/cdefs.h: Likewise.
6925         * sys/dir.h: Likewise.
6926         * sys/errno.h: Likewise.
6927         * sys/fcntl.h: Likewise.
6928         * sys/file.h: Likewise.
6929         * sys/gmon.h: Likewise.
6930         * sys/ioctl.h: Likewise.
6931         * sys/ipc.h: Likewise.
6932         * sys/msg.h: Likewise.
6933         * sys/poll.h: Likewise.
6934         * sys/queue.h: Likewise.
6935         * sys/resource.h: Likewise.
6936         * sys/select.h: Likewise.
6937         * sys/sem.h: Likewise.
6938         * sys/shm.h: Likewise.
6939         * sys/signal.h: Likewise.
6940         * sys/socket.h: Likewise.
6941         * sys/stat.h: Likewise.
6942         * sys/statfs.h: Likewise.
6943         * sys/syslog.h: Likewise.
6944         * sys/termios.h: Likewise.
6945         * sys/time.h: Likewise.
6946         * sys/timeb.h: Likewise.
6947         * sys/times.h: Likewise.
6948         * sys/types.h: Likewise.
6949         * sys/uio.h: Likewise.
6950         * sys/un.h: Likewise.
6951         * sys/unistd.h: Likewise.
6952         * sys/utsname.h: Likewise.
6953         * sys/vlimit.h: Likewise.
6954         * sys/vtimes.h: Likewise.
6955         * sys/wait.h: Likewise.
6956         * syscall.h: Likewise.
6957         * syslog.h: Likewise.
6958         * tar.h: Likewise.
6959         * termios.h: Likewise.
6960         * time.h: Likewise.
6961         * ttyent.h: Likewise.
6962         * unistd.h: Likewise.
6963         * utime.h: Likewise.
6964         * utmp.h: Likewise.
6965         * values.h: Likewise.
6966         * wchar.h: Likewise.
6967         * wctype.h: Likewise.
6968         * wordexp.h: Likewise.
6969         * xlocale.h: Likewise.
6970         * xopen_lim.h: Likewise.
6972         * sysdeps/mach/libc-lock.h: Likewise.
6973         * sysdeps/stub/libc-lock.h: Likewise.
6974         * sysdeps/mach/hurd/local_lim.h: Likewise.
6975         * sysdeps/stub/local_lim.h: Likewise.
6976         * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
6977         * sysdeps/unix/sysv/local_lim.h: Likewise.
6978         * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
6979         * sysdeps/mach/hurd/posix_opt.h: Likewise.
6980         * sysdeps/stub/posix_opt.h: Likewise.
6981         * sysdeps/unix/bsd/posix_opt.h: Likewise.
6982         * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
6983         * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
6984         * math/cmathcalls.h: -> bits/
6985         * math/mathcalls.h: Likewise.
6986         * misc/stab.def: -> bits/
6987         * posix/posix1_lim.h: -> bits/
6988         * posix/posix2_lim.h: Likewise.
6989         * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
6990         * sysdeps/i386/fpu/__math.h: Likewise.
6991         * sysdeps/m68k/fpu/__math.h: Likewise.
6992         * sysdeps/m68k/fpu/switch/__math.h: Likewise.
6993         * sysdeps/powerpc/__math.h: Likewise.
6994         * sysdeps/stub/__math.h: Likewise.
6995         * sysdeps/alpha/bytesex.h: -> .../bits/endian.h
6996         * sysdeps/arm/bytesex.h: Likewise.
6997         * sysdeps/i386/bytesex.h: Likewise.
6998         * sysdeps/m68k/bytesex.h: Likewise.
6999         * sysdeps/mips/bytesex.h: Likewise.
7000         * sysdeps/mips/dec/bytesex.h: Likewise.
7001         * sysdeps/mips/mipsel/bytesex.h: Likewise.
7002         * sysdeps/mips/p40/bytesex.h: Likewise.
7003         * sysdeps/sparc/bytesex.h: Likewise.
7004         * sysdeps/stub/bytesex.h: Likewise.
7005         * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
7006         * sysdeps/i386/fpu/fenvbits.h: Likewise.
7007         * sysdeps/m68k/fpu/fenvbits.h: Likewise.
7008         * sysdeps/powerpc/fenvbits.h: Likewise.
7009         * sysdeps/stub/fenvbits.h: Likewise.
7010         * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
7011         * sysdeps/arm/jmp_buf.h: Likewise.
7012         * sysdeps/i386/jmp_buf.h: Likewise.
7013         * sysdeps/m68k/jmp_buf.h: Likewise.
7014         * sysdeps/mips/jmp_buf.h: Likewise.
7015         * sysdeps/sparc/jmp_buf.h: Likewise.
7016         * sysdeps/powerpc/jmp_buf.h: Likewise.
7017         * sysdeps/stub/jmp_buf.h: Likewise.
7018         * sysdeps/vax/jmp_buf.h: Likewise.
7019         * sysdeps/generic/confname.h: -> bits/
7020         * sysdeps/unix/sysv/irix4/confname.h: Likewise.
7021         * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
7022         * sysdeps/generic/gnu/types.h: -> ../bits/types.h
7023         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
7024         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
7025         * sysdeps/generic/ioctl-types.h: -> bits/
7026         * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
7027         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
7028         * sysdeps/generic/iovec.h: -> .../bits/uio.h
7029         * sysdeps/unix/sysv/linux/iovec.h: Likewise.
7030         * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
7031         * sysdeps/i386/fpu/mathbits.h: Likewise.
7032         * sysdeps/m68k/fpu/mathbits.h: Likewise.
7033         * sysdeps/powerpc/mathbits.h: Likewise.
7034         * sysdeps/generic/resourcebits.h: -> .../bits/resource.h
7035         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
7036         * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
7037         * sysdeps/generic/schedbits.h: -> .../bits/sched.h
7038         * sysdeps/unix/sysv/linux/schedbits.h: Likewise.
7039         * sysdeps/generic/selectbits.h: -> .../bits/select.h
7040         * sysdeps/i386/selectbits.h: Likewise.
7041         * sysdeps/generic/sigaction.h: -> bits/
7042         * sysdeps/unix/bsd/osf/sigaction.h: Likewise.
7043         * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
7044         * sysdeps/unix/sysv/linux/sigaction.h: Likewise.
7045         * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
7046         * sysdeps/unix/sysv/minix/sigaction.h: Likewise.
7047         * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
7048         * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
7049         * sysdeps/generic/sigset.h: -> bits/
7050         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
7051         * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
7052         * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
7053         * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
7054         * sysdeps/generic/socketbits.h: -> .../bits/socket.h
7055         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
7056         * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
7057         * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
7058         * sysdeps/generic/termbits.h: -> .../bits/termios.h
7059         * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
7060         * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
7061         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
7062         * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
7063         * sysdeps/unix/sysv/linux/termbits.h: Likewise.
7064         * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
7065         * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
7066         * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
7067         * sysdeps/gnu/utmpbits.h: Likewise.
7068         * sysdeps/unix/sysv/utmpbits.h: Likewise.
7069         * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
7070         * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
7071         * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
7072         * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
7073         * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
7074         * sysdeps/unix/sysv/utsnamelen.h: Likewise.
7075         * sysdeps/generic/waitstatus.h: -> bits/
7076         * sysdeps/i386/huge_val.h: -> bits/
7077         * sysdeps/ieee754/huge_val.h: Likewise.
7078         * sysdeps/m68k/huge_val.h: Likewise.
7079         * sysdeps/stub/huge_val.h: Likewise.
7080         * sysdeps/vax/huge_val.h: Likewise.
7081         * sysdeps/ieee754/nan.h: Likewise.
7082         * sysdeps/stub/nan.h: Likewise.
7083         * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
7084         * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
7085         * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
7086         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
7087         * sysdeps/stub/sigcontext.h: Likewise.
7088         * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
7089         * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
7090         * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
7091         * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
7092         * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
7093         * sysdeps/standalone/arm/errnos.h: Likewise.
7094         * sysdeps/stub/errnos.h: Likewise.
7095         * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
7096         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
7097         * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
7098         * sysdeps/stub/fcntlbits.h: Likewise.
7099         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
7100         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
7101         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
7102         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
7103         * sysdeps/unix/common/fcntlbits.h: Likewise.
7104         * sysdeps/unix/sysv/fcntlbits.h: Likewise.
7105         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
7106         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
7107         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
7108         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
7109         * sysdeps/mach/hurd/ioctls.h: -> bits/
7110         * sysdeps/stub/ioctls.h: Likewise.
7111         * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
7112         * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
7113         * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
7114         * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
7115         * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
7116         * sysdeps/stub/statbuf.h: Likewise.
7117         * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
7118         * sysdeps/unix/bsd/statbuf.h: Likewise.
7119         * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
7120         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
7121         * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
7122         * sysdeps/unix/sysv/statbuf.h: Likewise.
7123         * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
7124         * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
7125         * sysdeps/standalone/stdio_lim.h: -> bits/
7126         * sysdeps/stub/stdio_lim.h: Likewise.
7127         * sysdeps/stub/direntry.h: -> ../bits/dirent.h
7128         * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
7129         * sysdeps/unix/bsd/direntry.h: Likewise.
7130         * sysdeps/unix/common/direntry.h: Likewise.
7131         * sysdeps/unix/sysv/direntry.h: Likewise.
7132         * sysdeps/unix/sysv/linux/direntry.h: Likewise.
7133         * sysdeps/stub/elfclass.h: -> bits/
7134         * sysdeps/wordsize-32/elfclass.h: Likewise.
7135         * sysdeps/wordsize-64/elfclass.h: Likewise.
7136         * sysdeps/stub/signum.h: -> bits/
7137         * sysdeps/unix/bsd/signum.h: Likewise.
7138         * sysdeps/unix/bsd/sun/signum.h: Likewise.
7139         * sysdeps/unix/sysv/irix4/signum.h: Likewise.
7140         * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
7141         * sysdeps/unix/sysv/linux/signum.h: Likewise.
7142         * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
7143         * sysdeps/unix/sysv/signum.h: Likewise.
7144         * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
7145         * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
7146         * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
7147         * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
7148         * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
7149         * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
7150         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
7151         * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
7152         * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
7153         * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
7154         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
7155         * sysdeps/stub/timebits.h: -> .../bits/time.h
7156         * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
7157         * sysdeps/unix/sysv/linux/timebits.h: Likewise.
7158         * sysdeps/stub/waitflags.h: -> bits/
7159         * sysdeps/unix/bsd/waitflags.h: Likewise.
7160         * sysdeps/unix/sysv/linux/waitflags.h: Likewise.
7161         * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
7162         * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
7163         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
7164         * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
7165         * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
7167         * argp/argp-fmtstream.h: Standardize the multiple-include protect.
7168         * argp/argp.h: Likewise.
7169         * catgets/nl_types.h: Likewise.
7170         * crypt/sysdeps/unix/crypt.h: Likewise.
7171         * ctype/ctype.h: Likewise.
7172         * db/db.h: Likewise.
7173         * db/mpool.h: Likewise.
7174         * db/ndbm.h: Likewise.
7175         * dirent/dirent.h: Likewise.
7176         * elf/dlfcn.h: Likewise.
7177         * elf/elf.h: Likewise.
7178         * elf/link.h: Likewise.
7179         * gmon/sys/gmon.h: Likewise.
7180         * gmon/sys/gmon_out.h: Likewise.
7181         * grp/grp.h: Likewise.
7182         * inet/aliases.h: Likewise.
7183         * inet/arpa/ftp.h: Likewise.
7184         * inet/arpa/inet.h: Likewise.
7185         * inet/arpa/telnet.h: Likewise.
7186         * inet/arpa/tftp.h: Likewise.
7187         * inet/netinet/ether.h: Likewise.
7188         * inet/netinet/icmp6.h: Likewise.
7189         * inet/netinet/in.h: Likewise.
7190         * inet/netinet/ip6.h: Likewise.
7191         * inet/protocols/routed.h: Likewise.
7192         * inet/protocols/rwhod.h: Likewise.
7193         * inet/protocols/talkd.h: Likewise.
7194         * inet/protocols/timed.h: Likewise.
7195         * intl/libintl.h: Likewise.
7196         * io/fcntl.h: Likewise.
7197         * io/fts.h: Likewise.
7198         * io/ftw.h: Likewise.
7199         * io/sys/poll.h: Likewise.
7200         * io/sys/stat.h: Likewise.
7201         * io/sys/statfs.h: Likewise.
7202         * io/utime.h: Likewise.
7203         * locale/locale.h: Likewise.
7204         * login/pty.h: Likewise.
7205         * login/utmp.h: Likewise.
7206         * malloc/malloc.h: Likewise.
7207         * malloc/obstack.h: Likewise.
7208         * math/complex.h: Likewise.
7209         * math/fenv.h: Likewise.
7210         * math/math.h: Likewise.
7211         * md5-crypt/md5.h: Likewise.
7212         * misc/ar.h: Likewise.
7213         * misc/err.h: Likewise.
7214         * misc/error.h: Likewise.
7215         * misc/fstab.h: Likewise.
7216         * misc/libgen.h: Likewise.
7217         * misc/nlist.h: Likewise.
7218         * misc/sys/cdefs.h: Likewise.
7219         * misc/sys/file.h: Likewise.
7220         * misc/sys/ioctl.h: Likewise.
7221         * misc/sys/queue.h: Likewise.
7222         * misc/sys/select.h: Likewise.
7223         * misc/sys/syslog.h: Likewise.
7224         * misc/sys/uio.h: Likewise.
7225         * misc/sysexits.h: Likewise.
7226         * misc/ttyent.h: Likewise.
7227         * nss/nss.h: Likewise.
7228         * posix/fnmatch.h: Likewise.
7229         * posix/getopt.h: Likewise.
7230         * posix/glob.h: Likewise.
7231         * posix/regex.h: Likewise.
7232         * posix/sys/times.h: Likewise.
7233         * posix/sys/types.h: Likewise.
7234         * posix/sys/utsname.h: Likewise.
7235         * posix/sys/wait.h: Likewise.
7236         * posix/tar.h: Likewise.
7237         * posix/unistd.h: Likewise.
7238         * posix/wordexp.h: Likewise.
7239         * pwd/pwd.h: Likewise.
7240         * resolv/arpa/nameser.h: Likewise.
7241         * resolv/netdb.h: Likewise.
7242         * resolv/resolv.h: Likewise.
7243         * resource/sys/resource.h: Likewise.
7244         * resource/sys/vlimit.h: Likewise.
7245         * resource/sys/vtimes.h: Likewise.
7246         * setjmp/setjmp.h: Likewise.
7247         * shadow/shadow.h: Likewise.
7248         * socket/sys/socket.h: Likewise.
7249         * socket/sys/un.h: Likewise.
7250         * stdlib/exit.h: Likewise.
7251         * stdlib/fmtmsg.h: Likewise.
7252         * stdlib/monetary.h: Likewise.
7253         * stdlib/stdlib.h: Likewise.
7254         * string/argz.h: Likewise.
7255         * string/envz.h: Likewise.
7256         * string/memory.h: Likewise.
7257         * string/string.h: Likewise.
7258         * string/strings.h: Likewise.
7259         * sunrpc/rpc/rpc.h: Likewise.
7260         * sunrpc/rpc/svc.h: Likewise.
7261         * sunrpc/rpc/types.h: Likewise.
7262         * sunrpc/rpc/xdr.h: Likewise.
7263         * termios/sys/ttychars.h: Likewise.
7264         * termios/termios.h: Likewise.
7266         * argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
7267         * crypt/sysdeps/unix/crypt_util.c: Likewise.
7268         * dirent/dirent.h: Likewise.
7269         * elf/link.h: Likewise.
7270         * grp/fgetgrent.c: Likewise.
7271         * grp/grp.h: Likewise.
7272         * hurd/hurd/ioctl.h: Likewise.
7273         * inet/getnameinfo.c: Likewise.
7274         * inet/getnetgrent_r.c: Likewise.
7275         * inet/inet_ntoa.c: Likewise.
7276         * inet/netinet/in.h: Likewise.
7277         * io/fcntl.h: Likewise.
7278         * io/ftw.h: Likewise.
7279         * io/sys/stat.h: Likewise.
7280         * io/sys/statfs.h: Likewise.
7281         * io/utime.h: Likewise.
7282         * libio/_G_config.h: Likewise.
7283         * libio/libio.h: Likewise.
7284         * libio/libioP.h: Likewise.
7285         * libio/stdio.h: Likewise.
7286         * locale/duplocale.c: Likewise.
7287         * locale/freelocale.c: Likewise.
7288         * locale/lc-time.c: Likewise.
7289         * locale/setlocale.c: Likewise.
7290         * login/getutent_r.c: Likewise.
7291         * login/getutid_r.c: Likewise.
7292         * login/getutline_r.c: Likewise.
7293         * login/lastlog.h: Likewise.
7294         * login/pty.h: Likewise.
7295         * login/utmp.h: Likewise.
7296         * login/utmpname.c: Likewise.
7297         * malloc/mtrace.c: Likewise.
7298         * malloc/thread-m.h: Likewise.
7299         * math/complex.h: Likewise.
7300         * math/fenv.h: Likewise.
7301         * math/libm-test.c: Likewise.
7302         * math/math.h: Likewise.
7303         * misc/sgtty.h: Likewise.
7304         * misc/stab.h: Likewise.
7305         * misc/sys/ioctl.h: Likewise.
7306         * misc/sys/select.h: Likewise.
7307         * misc/sys/uio.h: Likewise.
7308         * misc/sys/ustat.h: Likewise.
7309         * misc/syslog.c: Likewise.
7310         * nis/nss_compat/compat-grp.c: Likewise.
7311         * nis/nss_compat/compat-pwd.c: Likewise.
7312         * nis/nss_compat/compat-spwd.c: Likewise.
7313         * nis/nss_nis/nis-alias.c: Likewise.
7314         * nis/nss_nis/nis-ethers.c: Likewise.
7315         * nis/nss_nis/nis-grp.c: Likewise.
7316         * nis/nss_nis/nis-hosts.c: Likewise.
7317         * nis/nss_nis/nis-netgrp.c: Likewise.
7318         * nis/nss_nis/nis-network.c: Likewise.
7319         * nis/nss_nis/nis-proto.c: Likewise.
7320         * nis/nss_nis/nis-publickey.c: Likewise.
7321         * nis/nss_nis/nis-pwd.c: Likewise.
7322         * nis/nss_nis/nis-rpc.c: Likewise.
7323         * nis/nss_nis/nis-service.c: Likewise.
7324         * nis/nss_nis/nis-spwd.c: Likewise.
7325         * nss_nisplus/nisplus-alias.c: Likewise.
7326         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7327         * nis/nss_nisplus/nisplus-grp.c: Likewise.
7328         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7329         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
7330         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
7331         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7332         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7333         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7334         * nis/nss_nisplus/nisplus-service.c: Likewise.
7335         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7336         * nis/ypclnt.c: Likewise.
7337         * nss/getXXbyYY.c: Likewise.
7338         * nss/getXXent.c: Likewise.
7339         * nss/getXXent_r.c: Likewise.
7340         * nss/nss_db/db-XXX.c: Likewise.
7341         * nss/nss_db/db-alias.c: Likewise.
7342         * nss/nss_db/db-netgrp.c: Likewise.
7343         * nss/nss_files/files-XXX.c: Likewise.
7344         * nss/nss_files/files-alias.c: Likewise.
7345         * nss/nsswitch.c: Likewise.
7346         * posix/sched.h: Likewise.
7347         * posix/sys/types.h: Likewise.
7348         * posix/sys/utsname.h: Likewise.
7349         * posix/sys/wait.h: Likewise.
7350         * posix/unistd.h: Likewise.
7351         * pwd/fgetpwent.c: Likewise.
7352         * pwd/pwd.h: Likewise.
7353         * resource/sys/resource.h: Likewise.
7354         * setjmp/setjmp.h: Likewise.
7355         * shadow/fgetspent.c: Likewise.
7356         * shadow/lckpwdf.c: Likewise.
7357         * shadow/sgetspent.c: Likewise.
7358         * signal/signal.h: Likewise.
7359         * signal/sigsetops.c: Likewise.
7360         * socket/sys/socket.h: Likewise.
7361         * socket/sys/un.h: Likewise.
7362         * stdio/stdio.h: Likewise.
7363         * stdio-common/vfprintf.c: Likewise.
7364         * stdio-common/vfscanf.c: Likewise.
7365         * stdlib/atexit.c: Likewise.
7366         * stdlib/fmtmsg.c: Likewise.
7367         * stdlib/random.c: Likewise.
7368         * string/endian.h: Likewise.
7369         * sysdeps/alpha/w_sqrt.S: Likewise.
7370         * sysdeps/arm/__longjmp.S: Likewise.
7371         * sysdeps/arm/setjmp.S: Likewise.
7372         * sysdeps/generic/abort.c: Likewise.
7373         * sysdeps/generic/netinet/ip.h: Likewise.
7374         * sysdeps/generic/setenv.c: Likewise.
7375         * generic/sys/mman.h: Likewise.
7376         * sysdeps/i386/__longjmp.S: Likewise.
7377         * sysdeps/i386/setjmp.S: Likewise.
7378         * sysdeps/mach/hurd/dirstream.h: Likewise.
7379         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
7380         * sysdeps/posix/mk-stdiolim.c: Likewise.
7381         * sysdeps/powerpc/__longjmp.S: Likewise.
7382         * sysdeps/powerpc/setjmp.S: Likewise.
7383         * sysdeps/sparc/__longjmp.S: Likewise.
7384         * sysdeps/sparc/setjmp.S: Likewise.
7385         * sysdeps/standalone/close.c: Likewise.
7386         * sysdeps/standalone/filedesc.h: Likewise.
7387         * sysdeps/standalone/open.c: Likewise.
7388         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
7389         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
7390         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
7391         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
7392         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
7393         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
7394         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
7395         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
7396         * sysdeps/unix/dirstream.h: Likewise.
7397         * sysdeps/unix/i386/sysdep.S: Likewise.
7398         * sysdeps/unix/mips/sysdep.S: Likewise.
7399         * sysdeps/unix/mk-local_lim.c: Likewise.
7400         * sysdeps/unix/sparc/sysdep.S: Likewise.
7401         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
7402         * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
7403         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7404         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7405         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7406         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7407         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
7408         * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
7409         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
7410         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
7411         * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
7412         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
7413         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
7414         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
7415         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
7416         * sysvipc/sys/ipc.h: Likewise.
7417         * sysvipc/sys/msg.h: Likewise.
7418         * sysvipc/sys/sem.h: Likewise.
7419         * sysvipc/sys/shm.h: Likewise.
7420         * termios/termios.h: Likewise.
7421         * time/localtime.c: Likewise.
7422         * time/sys/time.h: Likewise.
7423         * time/time.h: Likewise.
7424         * time/tzset.c: Likewise.
7426         * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
7427         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7428         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7429         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
7430         * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
7432         * Makefile (headers): foo.h -> bits/foo.h.
7433         * dirent/Makefile: Likewise.
7434         * elf/Makefile: Likewise.
7435         * io/Makefile: Likewise.
7436         * login/Makefile: Likewise.
7437         * math/Makefile: Likewise.
7438         * misc/Makefile: Likewise.
7439         * posix/Makefile: Likewise.
7440         * resource/Makefile: Likewise.
7441         * setjmp/Makefile: Likewise.
7442         * signal/Makefile: Likewise.
7443         * socket/Makefile: Likewise.
7444         * stdio-common/Makefile: Likewise.
7445         * sysdeps/unix/sysv/linux/Makefile: Likewise.
7446         * sysvipc/Makefile: Likewise.
7447         * termios/Makefile: Likewise.
7448         * time/Makefile: Likewise.
7449         * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
7450         * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
7451         * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
7452         ioctls.h, termbits.h.
7454         * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
7455         -> kernel_termios.h, sys/socketcall.h -> socketcall.h
7457         * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
7458         for getting the proper length on the ELF types to be friendly to
7459         non-gcc compilers.
7460         * posix/sys/types.h: Notice when int8_t and friends are defined
7461         and don't redefine them.
7462         * sysdeps/wordsize-32/inttypes.h: Likewise.
7463         * sysdeps/wordsize-64/inttypes.h: Likewise.
7465         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
7466         via <signal.h> instead.
7467         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
7468         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
7470 1997-06-20 17:59  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
7472         * hurd/intr-msg.c: More 64bit changes.
7473         * mach/msg-destroy.c: Likewise.
7474         * sysdeps/mach/hurd/ioctl.c: Likewise.
7475         * sysdeps/mach/hurd/ioctls.h: Likewise.
7476         * sysdeps/mach/hurd/select.c: Likewise.
7477         * sysdeps/mach/hurd/statbuf.h: Likewise.
7479         * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
7480         * sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
7481         * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
7482         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
7483         * sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
7484         * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
7485         * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
7486         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
7487         * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
7488         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
7489         * sysdeps/mach/mips/cacheflush.c: Likewise.
7490         * sysdeps/mach/mips/machine-lock.h: Likewise.
7491         * sysdeps/mach/mips/machine-sp.h: Likewise.
7492         * sysdeps/mach/mips/syscall.S: Likewise.
7493         * sysdeps/mach/mips/sysdep.h: Likewise.
7494         * sysdeps/mach/mips/thread_state.h: Likewise.
7495         * sysdeps/mach/start.c: Likewise.
7497         * sysdeps/mips/dl-machine.h: MIPS changes.
7498         * sysdeps/mips/elf/start.S: Likewise.
7499         * sysdeps/mips/init-first.c: Likewise.
7500         * sysdeps/mips/fpu_control.h: Likewise.
7501         * sysdeps/mips/machine-gmon.h: Likewise.
7502         * sysdeps/mips/jmp_buf.h: Likewise.
7503         * sysdeps/mips/__longjmp.c: Likewise.
7504         * sysdeps/mips/bsd-_setjmp.S: Likewise.
7505         * sysdeps/mips/bsd-setjmp.S: Likewise.
7506         * sysdeps/mips/setjmp.S: Likewise.
7507         * sysdeps/mips/setjmp_aux.c: Likewise.
7508         * sysdeps/mips/mips64/gmp-mparam.h: Likewise.
7509         * sysdeps/mips/add_n.S: New file.
7510         * sysdeps/mips/addmul_1.S: Likewise.
7511         * sysdeps/mips/lshift.S: Likewise.
7512         * sysdeps/mips/mul_1.S: Likewise.
7513         * sysdeps/mips/rshift.S: Likewise.
7514         * sysdeps/mips/sub_n.S: Likewise.
7515         * sysdeps/mips/submul_1.S: Likewise.
7516         * sysdeps/mips/mips64/Implies: Likewise.
7517         * sysdeps/mips/mips64/add_n.S: Likewise.
7518         * sysdeps/mips/mips64/addmul_1.S: Likewise.
7519         * sysdeps/mips/mips64/lshift.S: Likewise.
7520         * sysdeps/mips/mips64/mul_1.S: Likewise.
7521         * sysdeps/mips/mips64/rshift.S: Likewise.
7522         * sysdeps/mips/mips64/sub_n.S: Likewise.
7523         * sysdeps/mips/mips64/submul_1.S: Likewise.
7524         * sysdeps/mips/add_n.S: Removed.
7525         * sysdeps/mips/addmul_1.S: Likewise.
7526         * sysdeps/mips/lshift.S: Likewise.
7527         * sysdeps/mips/mul_1.S: Likewise.
7528         * sysdeps/mips/rshift.S: Likewise.
7529         * sysdeps/mips/sub_n.S: Likewise.
7530         * sysdeps/mips/submul_1.S: Likewise.
7532         * nss/Makefile: Prepare for static NSS.
7533         * resolv/Makefile: Likewise.
7534         * nss/nsswitch.c: Add code for static NSS.
7535         * nss/function.def: Define functions for static NSS.
7537 1997-06-19 11:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7539         * libc.map: Add yet more symbols.
7541 1997-06-19 20:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7543         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
7544         as object name to _dl_signal_error.
7545         (do_lookup): Skip objects that could not be opened.
7547         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
7548         symbol was found.
7549         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7550         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
7552 1997-06-20 03:13  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
7554         * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
7555         assumed.
7556         * ctype/ctype.h: Likewise.
7557         * math/math_private.h: Likewise.
7558         * inet/netinet/in.h: Likewise.
7559         * wctype/wctype.h: Likewise.
7561         * nss/Makefile: Only inhibit nss_files and nss_db modules if static
7562         NSS modules are not enabled.
7563         * resolv/Makefile: Likewise for nss_dns.
7564         * nss/function.def: New file.  List all available lookup functions
7565         for static NSS.
7566         * nss/nsswitch.c: Add code for static NSS.
7568 1997-06-15 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7570         * math/libm-test.c (gamma_test): Test for _SVID_ and for normal
7571         behaviour.
7573 1997-06-15 20:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7575         * math/libm.map: Add all necessary functions, correct existing entries.
7577 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
7579         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
7581 1997-06-19 18:43  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7583         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
7584         Compare pointer with NULL.
7586         * login/logout.c (logout): Compare pututline result with NULL.
7588 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
7590         * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__.
7592         * elf/dl-minimal.c (__dcgettext): Remove assertion.
7594         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
7596         * manual/Makefile (distribute): Add dir.
7597         * manual/dir: New file.
7599         * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll,
7600         s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround,
7601         and s_llround respectively.
7602         (libm-calls): Add e_gamma_r.
7603         * math/libm-test.c (check_int_exc): New function.
7604         (signbit_test): Remove test for sign of NaN.
7605         (gamma_test): Clear exception after test of existence.
7606         Correct tests and and epsilons.
7607         (lgamma_test): Likewise.
7608         (ilogb_test): Correct all tests.
7609         (scalb_test): Rewrite.
7610         (rinttol_test): Rename to lrint_test and correct tests.
7611         (rinttoll_test): Likewise.
7612         (roundtol_test): Likewise.
7613         (roundtoll_test): Likewise.
7614         (main): Call lrint/lround functions instead of rinttol/roundtol.
7615         * math/math.h: Change prototypes for rinttol/roundtol.
7616         * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft.
7617         * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN.
7618         * sysdeps/i386/mathbits.h: Likewise.
7619         * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly.
7620         * sysdeps/libm-i387/e_scalbf.S: Likewise.
7621         * sysdeps/libm-i387/e_scalbl.S: Likewise.
7622         * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly.
7623         * sysdeps/libm-i387/s_asinhf.S: Likewise.
7624         * sysdeps/libm-i387/s_asinhl.S: Likewise.
7625         * sysdeps/libm-i387/s_ilogb.S: Optimize.
7626         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
7627         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
7628         * sysdeps/libm-i387/s_rinttol.S: Rename to...
7629         * sysdeps/libm-i387/s_lrint.S: ...this.
7630         * sysdeps/libm-i387/s_rinttoll.S: Rename to...
7631         * sysdeps/libm-i387/s_llrint.S: ...this.
7632         * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder.
7633         * sysdeps/libm-i387/s_remquof.S: Likewise.
7634         * sysdeps/libm-i387/s_remquol.S: Likewise.
7635         * sysdeps/libm-i387/e_gamma_r.c: New file.  Implementation of gamma
7636         function according to ISO C.
7637         * sysdeps/libm-i387/e_gammaf_r.c: New file.
7638         * sysdeps/libm-i387/e_gammal_r.c: New file.
7639         * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the
7640         generation of exceptions away.
7641         * sysdeps/libm-i387/e_lgammaf_r.c: Likewise.
7642         * sysdeps/libm-i387/k_standard.c: Correct return value for infinity
7643         points of gamma function when not SVID mode.
7644         * sysdeps/libm-i387/s_rinttoll.c: Renamed to...
7645         * sysdeps/libm-i387/s_llrint.c: ...this.
7646         * sysdeps/libm-i387/s_rinttol.c: Renamed to...
7647         * sysdeps/libm-i387/s_lrint.c: ...this.
7648         * sysdeps/libm-i387/s_roundtoll.c: Renamed to...
7649         * sysdeps/libm-i387/s_llround.c: ...this.
7650         * sysdeps/libm-i387/s_roundtol.c: Renamed to...
7651         * sysdeps/libm-i387/s_lround.c: ..this.
7652         * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to
7653         ISO C.
7654         * sysdeps/libm-i387/s_scalbnf.c: Likewise.
7655         * sysdeps/libm-i387/s_scalbnl.c: Likewise.
7656         * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library
7657         mode is not _SVID_.
7658         * sysdeps/libm-i387/w_gammaf.c: Likewise.
7659         * sysdeps/libm-i387/w_gammal.c: Likewise.
7660         * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and
7661         rinttol to lrint.
7662         * sysdeps/m68k/fpu/s_rinttol.c: Renamed to...
7663         * sysdeps/m68k/fpu/s_lrint.c: ...this.
7664         * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to...
7665         * sysdeps/m68k/fpu/s_llrint.c: ...this.
7667         * md5-crypt/Makefile: Link md5test program with md5.o.
7669         * stdio-common/temptest.c: Don't use __stdio_gen_tempname which
7670         is not exported by the libc.so.
7672         * stdio-common/vfscanf.c: Correct scanning of strings after last
7673         change.
7675         * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno.
7677 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
7679         * time/tzfile.c (__tzfile_read): Store getc () return in int.
7681 1997-06-13  Miles Bader  <miles@gnu.ai.mit.edu>
7683         * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in
7684         the no-version error text to indicate that something's fucked.
7685         [!_] (N_): New macro.
7686         (argp_default_options, argp_version_options): Wrap doc strings in N_().
7688 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
7690         * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled
7691         options here.
7692         (parser_parse_arg): Handle ARGP_KEY_ARGS here.
7693         Adjust NEXT pointer back if we fail to parse anything.
7694         (parser_parse_next): Simplify arg code.  Leave state NEXT frobbing
7695         to parser_parse_arg.
7697 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
7699         * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros.
7700         * argp/argp-parse.c (parser_finalize): Do another pass over the
7701         parsers with ARGP_KEY_FINI.
7703 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
7705         * string/Makefile (routines): Add argz-replace.
7707 1997-06-16 00:16  Miles Bader  <miles@gnu.ai.mit.edu>
7709         * manual/string.texi (Argz Functions): Document argz_replace.
7711 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
7713         * string/argz.h (__argz_replace, argz_replace): New declarations.
7714         * string/argz-replace.c: New file.
7716 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
7718         * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS.
7720 1997-06-16 23:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7722         * Makeconfig (libc-map): Remove definition.
7723         * Makerules (libc-map): Define it here, using the full name.
7724         (load-map-file): Remove case for empty $(..).
7725         ($(common-objpfx)libc.so): Revert last change.
7727 1997-06-17 22:18  Mark Kettenis  <kettenis@phys.uva.nl>
7729         * login/programs/utmpd.c (main): Improve signal handling.
7731         * login/programs/request.c (do_setutent, do_updwtmp):
7732         Allow arbitrary length filenames.
7733         * login/programs/utmpd.h (setutent_request, updwtmp_request):
7734         Get rid of fixed length file field.
7735         * login/utmp_daemon.c (do_setutent, do_updwtmp):
7736         Allow arbitrary length filenames.
7738         * login/programs/request.c (do_pututline):
7739         Don't fail if connection->position is -1 on entry.
7741 1997-06-15 16:32  Mark Kettenis  <kettenis@phys.uva.nl>
7743         * login/utmp_file.c (updwtmp_file): Use the same method for
7744         appending an entry as in pututline_file.
7746 1997-06-11 18:59  Mark Kettenis  <kettenis@phys.uva.nl>
7748         * login/utmp_file.c (getutent_r_file):
7749         Use read lock instead of write lock.
7750         (getutline_r_file, internal_getut_r): Lock utmp file.
7751         (updwtmp_file): Use fcntl to lock file instead of flock.
7753 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7755         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
7756         character read in/put back.
7757         * stdio-common/tstscanf.c: Add test case for this.
7759 1997-06-17 22:17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7761         * libc.map: Add more symbols.
7763 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
7765         * manual/Makefile (install): Make sure `dir' file exists if we use
7766         install-info.
7768 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7770         * manual/Makefile (info): Depend on dir-add.info.
7772 1997-06-17 17:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7774         * elf/ldd.bash.in: Fix spacing in message.
7776 1997-06-17 14:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7778         * elf/do-rel.h (elf_dynamic_do_rel): Always use version
7779         information if available.
7781 1997-06-17 11:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7783         * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make
7784         command non-empty to force make to recheck modification time.
7785         ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise.
7787 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7789         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
7790         * sysdeps/stub/e_acosl.c: Likewise.
7791         * sysdeps/stub/e_asinl.c: Likewise.
7792         * sysdeps/stub/e_atan2l.c: Likewise.
7793         * sysdeps/stub/e_expl.c: Likewise.
7794         * sysdeps/stub/e_fmodl.c: Likewise.
7795         * sysdeps/stub/e_j0l.c: Likewise.
7796         * sysdeps/stub/e_j1l.c: Likewise.
7797         * sysdeps/stub/e_jnl.c: Likewise.
7798         * sysdeps/stub/e_lgammal_r.c: Likewise.
7799         * sysdeps/stub/e_log10l.c: Likewise.
7800         * sysdeps/stub/e_logl.c: Likewise.
7801         * sysdeps/stub/e_powl.c: Likewise.
7802         * sysdeps/stub/e_rem_pio2l.c: Likewise.
7803         * sysdeps/stub/e_sqrtl.c: Likewise.
7804         * sysdeps/stub/k_cosl.c: Likewise.
7805         * sysdeps/stub/k_rem_pio2l.c: Likewise.
7806         * sysdeps/stub/k_sinl.c: Likewise.
7807         * sysdeps/stub/k_tanl.c: Likewise.
7808         * sysdeps/stub/s_atanl.c: Likewise.
7809         * sysdeps/stub/s_erfl.c: Likewise.
7810         * sysdeps/stub/s_exp2.c: Likewise.
7811         * sysdeps/stub/s_exp2f.c: Likewise.
7812         * sysdeps/stub/s_exp2l.c: Likewise.
7813         * sysdeps/stub/s_expm1l.c: Likewise.
7814         * sysdeps/stub/s_log1pl.c: Likewise.
7815         * sysdeps/stub/s_log2l.c: Likewise.
7817 1997-06-18 11:46  Ulrich Drepper  <drepper@cygnus.com>
7819         * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute
7820         result as before last change.
7821         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
7822         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
7824 1997-06-16 23:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7826         * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing
7827         quotient.
7828         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
7829         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
7831         * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for
7832         quotient.
7834         * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp
7835         function.  Don't use global signgam.
7836         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
7837         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
7839         * math/Makefile (libm-calls): Remove w_gamma_r.
7840         * sysdeps/libm-ieee754/w_gamma_r.c: Remove file.
7841         * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file.
7842         * sysdeps/libm-ieee754/w_gammal_r.c: Remove file.
7844         * math/libm-test.c (atanh_test): Declare x only if needed.
7845         (signbit_test): Fix typo.
7846         (gamma_test): Check whether function is implemented.  Add
7847         epsilons.
7848         (lgamma_test): Likewise.
7849         (fmod_test): Add epsilons.
7850         (exp2_test): Use right function for existence test.
7852 1997-06-07 09:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7854         * sysdeps/powerpc/Dist: Add fenv_const.c.
7855         * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h.
7856         * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and
7857         syscall.h.
7858         * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h.
7859         * string/Makefile (distribute): Add tst-svc.expect.
7860         * nis/Makefile (distribute): Add nis_intern.h and Banner.
7861         * elf/Makefile (distribute): Add dl-hash.h.
7862         * Rules (subdir_echo-distinfo): Add headers from $(distribute).
7864         * login/Makefile (others): Add utmpdump.
7865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7866         net/if_slip.h.
7868         * manual/Makefile (dir-add.texi): Also look in indirectly included
7869         files.
7871 1997-06-16 23:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7873         * sysdeps/unix/sysv/linux/configure.in: Remove commands to
7874         generate stdio_lim.h.
7875         * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove.
7876         * sysdeps/unix/sysv/linux/Makefile: Add rules to generate
7877         stdio_lim.h here.
7878         (common-generated): Add generated files.
7879         (inhibit-stdio_lim): Define.
7880         * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules
7881         to generate stdio_lim.h.
7883         * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of
7884         dependecy files if no_deps is set.
7885         ($(objpfx)syscall-%.d): Add header file as target to dependency
7886         generation.
7888 1997-06-14 19:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7890         * sysdeps/unix/sysv/linux/arm/Dist: New file.
7892 1997-06-14 17:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7894         * extra-lib.mk (others): Depend on versioned shared library, not
7895         the unversioned one.
7896         * Makerules (build-shlib): Don't make the version link here.
7897         ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc
7898         version link.
7900 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
7902         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
7903         01:13:56 1996.
7905 1997-06-16 00:54  Ulrich Drepper  <drepper@cygnus.com>
7907         * libc.map: Add more symbols.
7909         * Makerules (load-map-file): Currectly handle missing map file.
7911 1997-06-15 17:00  Philip Blundell  <Philip.Blundell@pobox.com>
7913         * configure.in: Correct detection of generic uname implementation.
7915 1997-06-15 23:19  Ulrich Drepper  <drepper@cygnus.com>
7917         * math/libm-test.c: Fix typos.  Patch by Andreas Jaeger.
7919         * libc.map: Add __nss_configure_lookup.  Reported by Thorsten Kukuk.
7921 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
7923         * Makeconfig: Define libc-map here.
7924         * Makefile: And remove definition here.
7925         * Makerules (load-map-file): Handle case where map file is in
7926         other directory.
7927         (build-shlib): Likewise.
7929         * libc.map: Add more symbols.
7930         * resolv/libresolv.map: Likewise.
7932         * db/libdb.map: Add __dbopen.  Patch by HJ Lu.
7934         * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf.
7936         * locale/programs/localedef.c: Add normalize_codeset function.  We
7937         don't want to use the _nl_normalize_codeset functions from libc.
7939         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
7940         * sysdeps/libm-i387/s_asinhf.S: Likewise.
7941         * sysdeps/libm-i387/s_asinhl.S: Likewise.
7942         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
7943         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
7944         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
7946 1997-06-14 12:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7948         * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent.
7950         * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent.
7952         * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix
7953         _nss_nisplus_gethostbyaddr_r interface.
7955         * nis/libnsl.map: Add all GLOBAL functions.
7957 1997-06-13 18:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7959         * libm-test.c   (main): Call new tests, reorder tests.
7960         (fmod_test): Test function fmod.
7961         (nearbyint_test): Test function nearbyint.
7962         (acos_test): Add more test cases.
7963         (signbit_test): Test macro signbit.
7964         (output_result_bool): Output result if test fails.
7965         (asin_test): Add another test case.
7966         (atan2_test): Add more tests.
7967         (asinh_test): Add more tests.
7968         (atanh_test): Add more tests.
7969         (hypot_test): Add more tests.
7970         (isfinite_test): Test macro isfinite.
7971         (isnormal_test): Test macro isnormal.
7972         (sincos_test): Tests for sincos.
7973         (main): Enable remquo_test since the tests are
7974         correct (according to ANSI/IEEE 754-1985).
7975         (remquo_test): Corrected tests cases and added more tests.
7976         (remainder_test): Tests for remainder.
7977         (check_int): New Function to compare int values.
7978         (check_isnan_exc_ext): New function.
7979         (sqrt_test): Add some extra tests for sqrt.
7980         (erf_test): Tests for erf.
7981         (erfc_test): Tests for erfc.
7982         (gamma_test): Tests for gamma.
7983         (lgamma_test): Tests for lgamma.
7985 1997-06-08 10:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
7987         * sysdeps/unix/sysv/linux/configure.in: Try to generate
7988         stdio_lim.h using the target C preprocessor and mk-stdiolim.c.
7989         * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for
7990         stdio_lim.h.
7991         * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the
7992         target C preprocessor to extract OPEN_MAX and PATH_MAX.
7994 1997-06-14 17:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7996         * math/libm.map: Add inline functions, global variables.
7998 1997-06-14 00:39  Ulrich Drepper  <drepper@cygnus.com>
8000         * libc.map: Add more libio functions which are used in libio.h.
8002         * login/Makefile (libutil-routines): Move updwtmp to ...
8003         (routines): ...here.
8004         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
8006         * sysdeps/stub/s_erfl.c: Add stub definition of erfcl.
8007         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8009 1997-06-13 21:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8011         * nis/nis_add.c (nis_add): Create object name only if not set.
8013         * nis/nis_clone.c: Use calloc instead of malloc to prevent
8014         RPC encode errors.
8016         * nis/nis_modify.c (nis_modify): Create default object entrys if
8017         given are NULL.
8018         * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise.
8020 1997-06-13 14:17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8023         * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the
8024         define might also replace the expanded macro ASM_SIZE_DIRECTIVE.
8025         * sysdeps/i386/submul_1.S: Likewise.
8027 1997-06-13 12:19  Ulrich Drepper  <drepper@cygnus.com>
8029         * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT
8030         and LD_VERBOSE are given.
8032         * elf/ldd.sh.in: Add -v|--verbose option.  Add author information
8033         as per Coding Standard.
8034         * elf/ldd.bash.in: Likewise.
8036 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
8038         * Makefile (libc-map): Define before including Makerules.
8039         * Makerules (lib%.so): Depend on $(lib%-map).
8040         (build-shlib): Adapt rule for above change.
8041         (libc.so): Depend on $(libc-map).
8042         * db/Makefile (libcdb-map): New definition.
8043         * elf/Makefile (libdl-map): New definition.
8044         * elf/dl-lookup.c: Don't use relative include path.
8045         (undefined_msg): New variable.  Use single string in all functions.
8046         (do_lookup): Correctly recognize default version.
8047         Return -2 if no version information is available.
8048         Stop processing hash entries when string was found.
8049         Don't bark about missing versioned symbol in file with original
8050         reference if it is a weak symbol.
8051         (_dl_lookup_symbol): Use undefined_msg.
8052         (_dl_lookup_versioned_symbol): Likewise.
8053         Give extra information if no verdef info is available.
8054         * elf/dl-version.c (file_needed): Remove first argument.  We must
8055         seek in the whole search list.
8056         (match_symbol): Correct check for available verdef info.
8057         (_dl_check_map_versions): Correct call of find_needed.
8058         * locale/Makefile (libBrokenLocale-map): New definition.
8059         * login/Makefile (libutil-map): New definition.
8060         * math/Makefile (libm-map): New definition.
8061         * md5-crypt/Makefile (libcrypt-map): New definition.
8062         * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map,
8063         libnss_nisplus-map): New definition.
8064         * nss/Makefile (libnss_files-map, libnss_db-map): New definitions.
8065         * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions.
8066         * libc.map: New file.
8067         * db/libdb.map: New file.
8068         * elf/libdl.map: New file.
8069         * locale/libBrokenLocale.map: New file.
8070         * login/libutil.map: New file.
8071         * math/libm.map: New file.
8072         * md5-crypt/libcrypt.map: New file.
8073         * nis/libnss_compat.map: New file.
8074         * nis/libnsl.map: New file.
8075         * nis/libnss_nis.map: New file.
8076         * nis/libnss_nisplus.map: New file.
8077         * nss/libnss_files.map: New file.
8078         * nss/libnss_db.map: New file.
8079         * resolv/libnss_dns.map: New file.
8080         * resolv/libresolv.map: New file.
8082         * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything
8083         for R_386_NONE entries.
8085         * Makefile (manual/dir-add.info): New rule.
8087         * Makerules: Add vpath definition for .x files.
8089         * Makerules (distinfo): Make sure target directory exists.
8091         * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value
8092         since it is used to distinguish filtered strings from unmodifed
8093         strings.
8095         * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition.
8096         * elf/dl-reloc.c: Fix typo.
8098         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
8099         `unsigned short'.
8101         * manual/Makefile (dir-add.texi): Also emit wrapper text for
8102         info/install-info.
8103         (distribute): Add dir-add.texi and dir-add.info.
8104         (mostlyclean): Add dir-add.info.
8105         (realclean): Add dir-add.texi.
8106         (install): Add entries in `dir' file using install-info.
8108         * manual/libc.texinfo: Add @dircategory and @direntry text.
8109         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
8111         * manual/pattern.texi: Correct description of GLOB_MAGCHAR and
8112         GLOB_NOMAGIC.  Changes by Roland McGrath <roland@gnu.ai.mit.edu>.
8114         * nis/nis_addmember.c: Little optimizations.
8115         * nis/nis_call.c: Likewise.
8116         * nis/nis_creategroup.c: Likewise.
8117         * nis/nis_defaults.c: Likewise.
8118         * nis/nis_destroygroup.c: Likewise.
8119         * nis/nis_ismember.c: Likewise.
8120         * nis/nis_local_names.c: Likewise.
8121         * nis/nis_print_group_entry.c: Likewise.
8122         * nis/nis_verifygroup.c: Likewise.
8124         * posix/unistd.h: Fix comment for getcwd.
8126         * stdlib/Makefile (headers): Remove inttypes.h.  It's a system
8127         dependent header.
8128         * sysdeps/wordsize-32/Dist: New file.
8129         * sysdeps/wordsize-32/Makefile: New file.
8130         * sysdeps/wordsize-64/Dist: New file.
8131         * sysdeps/wordsize-64/Makefile: New file.
8133         * sunrpc/Makefile: Adopt comment for real situation.
8135         * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE.
8136         * sysdeps/i386/addmul_1.s: Likewise.
8137         * sysdeps/i386/lshist.s: Likewise.
8138         * sysdeps/i386/rshift.s: Likewise.
8139         * sysdeps/i386/sub_n.s: Likewise.
8140         * sysdeps/i386/submul_1.s: Likewise.
8142         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8143         Add .type and .size.
8145 1997-06-12 13:32  Philip Blundell  <Philip.Blundell@pobox.com>
8147         * libc/sysdeps/unix/arm/brk.S: New file.
8148         * libc/sysdeps/unix/arm/sysdep.S: Likewise.
8149         * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
8151 1997-06-11 11:51  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8153         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
8154         Check if we have shadow information.
8156 1997-06-08 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8158         * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of
8159         malloc, alloc memory for nis_server struct.
8160         * nis/nis_getservlist.c (nis_freeservlist): Give the memory for
8161         the nis_server struct free, too.
8163         * nis/nis_removemember (nis_removemember): Fix for loop.
8165 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
8167         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
8168         cannot rely on M_SQRT2 being defined.
8169         (log1p): Use __M_SQRT2 not M_SQRT2.
8170         * math/math.h (_Mldbl): Define even if M_* constants are not
8171         defined.
8172         Reported by corsepiu@faw.uni-ulm.de.
8174 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
8176         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
8178 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
8180         * misc/regexp.h (compile): Allow use of macro INIT for variable
8181         declaration.  Add documentation for INIT.
8182         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
8184 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
8186         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
8188 1997-06-10 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
8190         * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff
8191         for a signed 16-bit value.
8193 1997-06-07 07:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
8195         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8196         (_dl_sysdep_read_whole_file): Deleted.
8198         * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed
8199         to FE_ALL_INVALID.
8201         * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE):
8202         Changed to FE_INVALID_SOFTWARE.
8203         (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS.
8205         * sysdeps/libm-ieee754/s_fmin.c: Fix a typo.
8207 1997-06-07 18:48  H.J. Lu  <hjl@gnu.ai.mit.edu>
8209         * shlib-versions (.*-.*-linux.*): Set libc to 6.
8211 1997-06-08 15:35  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8213         * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r.
8215         * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors.
8216         * nis/nis_clone.c: Likewise.
8217         * nis/nis_removemember.c (nis_removemember): Likewise.
8218         * nis/nis_table.c: Likewise.
8220         * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call.
8221         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8223         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for
8224         group == NULL.
8226 1997-06-08 21:21  Mark Kettenis  <kettenis@phys.uva.nl>
8228         * login/login.c, login/utmp_daemon.c, login/utmp_file.c,
8229         login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and
8230         `#ifndef _LIBC' fragments.
8232         * login/programs/utmpd.c: Define DEFAULT_USER.
8233         (drop_priviliges): Use it.
8234         (main): Set locale and text domain.
8236         * login/programs/utmpd-private.h: Declare proc_utmp_eq.
8237         * login/programs/database.c (proc_utmp_eq): Removed.
8238         * login/programs/request.c (proc_utmp_eq): Made global.  Only use
8239         ut_id field if valid.
8241         * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles
8242         Bader that was lost when adding the daemon backend; Only use ut_id
8243         field if valid.
8245 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8247         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
8248         netinet/icmp.h, add netatalk/at.h.
8249         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
8250         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
8252 1997-06-04 19:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8254         * stdlib/testsort.c (compare): Fix parameter types.
8256 1997-06-04 19:05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8258         * md5-crypt/Makefile (distribute): Fix name of file.
8260 1997-06-04 19:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8262         * login/Makefile (utmpd-routines): Remove utmpd again, which is
8263         already added implicitly through $(others).
8265 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
8267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
8269 1997-06-05 13:25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8271         * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt.
8273 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
8275         * string/argz-addsep.c: Correct weak alias.
8276         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
8278         * locale/setlocale.c (setlocale): Free variable with locale path
8279         before returning.
8280         (setname): Don't test for _nl_current[category] being NULL before
8281         freeing.
8282         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
8284 1997-06-04 12:41  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8286         * manual/intro.texi (XPG): Correct some typos.
8288 1997-06-04 05:09  Miles Bader  <miles@gnu.ai.mit.edu>
8290         * argp/argp-help.c (_help): Use uparams.usage_indent instead of
8291         the USAGE_INDENT macro.
8293         * manual/summary.awk: Strip trailing commas from node-names.
8295         * manual/.cvsignore: Ignore chapters-incl[12] rather than
8296         chapters-incl.
8298         * manual/Makefile (%.c.texi): Deal with multiple @-commands on a
8299         single line.
8301         * manual/string.texi (Argz Functions, Envz Functions): Add magic
8302         comments for generating summary.texi.
8304 1997-06-02 22:18  Miles Bader  <miles@gnu.ai.mit.edu>
8306         * manual/argp.texi: New file.
8307         * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c,
8308         manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files.
8309         * manual/Makefile [chapters] (chapters-incl1): New rule & include.
8310         [chapters-incl1] (chapters-incl2): New rule & include.
8311         (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2).
8312         * manual/maint.texi (Contributors): Give myself credit.
8314 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
8316         * manual/getopt.texi: New file.
8317         * manual/startup.texi: Mention argp_parse in places that
8318         previously mentioned only getopt.
8319         Include getopt.texi (now containing all the getopt nodes that used
8320         to be here) and argp.texi.
8321         (Program Arguments): Move parsing bits into the new Parsing
8322         Program Arguments node.
8323         (Parsing Program Arguments): New node.
8324         (Parsing Options, Example of Getopt, Long Options, Long Option
8325         Example): Nodes removed.
8326         * manual/libc.texinfo (Program Arguments): Menu updated.
8327         (Parsing Program Arguments): New menu.
8329 1997-06-04 20:57  Ulrich Drepper  <drepper@cygnus.com>
8331         * manual/string.texi: Add comments to discourage use of index and
8332         rindex.
8333         (strtok, strsep): Apply function on copy of the strings in example.
8334         (l64a): Add example.
8336         * posix/unistd.h: Correct value for _POSIX_VERSION.
8338         * sunrpc/Makefile (defines): Remove definition.
8340         * sysdeps/ieee754/nan.h: Correct typo.
8342 1997-06-04 10:50  Fila Kolodny  <fila@ibi.com>
8344         * posix/unistd.h: Add definition of __fchdir corresponding to fchdir.
8346         * login/utmp_daemon.c: Correct location of utmpd.h.
8348 1997-06-03 19:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8350         * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to
8351         $(objpfx)distinfo.
8352         * rpm/Makefile (distinfo): Adapted.
8354 1997-06-03 18:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8356         * rpm/Makefile (install-slib): Collect shared libraries here
8357         instead of in install-lib, including libc.
8358         (instvars): Add slib.
8360 1997-06-03 18:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8362         * login/Makefile (libutil-routines): Add updwtmp.
8364 1997-06-03 16:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8366         * monetary.h: New file, needed for localedata/tst-fmon.c.
8368 1997-06-02 20:31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8370         * math/libm-test.c (cpow_test): Add epsilon for long double in
8371         test for 2^10.
8372         (identities): Add epsilon for float in second identity test.
8374         * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use
8375         DI and SI mode integers instead of bytes.  Fix value of HUGE_VALL.
8377         * sysdeps/m68k/nan.h: New file.
8379         * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless,
8380         islessequal, islessgreater, isunordered): Fix assembler syntax.
8382         * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't
8383         optimize out the operations.
8385         * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static
8386         constant.
8387         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
8388         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
8390         * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double
8391         function.
8392         * sysdeps/libm-ieee754/s_erf.c: Likewise.
8393         * sysdeps/libm-ieee754/s_fdim.c: Likewise.
8394         * sysdeps/libm-ieee754/s_fmax.c: Likewise.
8395         * sysdeps/libm-ieee754/s_fmin.c: Likewise.
8396         * sysdeps/libm-ieee754/s_log2.c: Likewise.
8397         * sysdeps/libm-ieee754/s_nan.c: Likewise.
8398         * sysdeps/libm-ieee754/s_remquo.c: Likewise.
8400 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
8402         * elf/dl-support.c: Define and initialize _dl_verbose used in
8403         dl-machine.h.
8405         * io/ftw.c: Expand stat/lstat calls.
8407         * manual/intro.texi: Also refer to ISO 9945.
8408         Update info about SVID.
8409         Add description for XPG.
8411         * md5-crypt/md5-crypt.c: Namespace cleanups.
8412         * md5-crypt/md5.c: Likewise.
8413         * md5-crypt/md5.h: Likewise.
8414         * sysdeps/generic/crypt-entry.c: Likewise.
8416         * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L.
8418         * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is
8419         defined.
8421         * sunrpc/rpc_scan.c (findkind): Declare `token' as const.
8422         * sunrpc/rpc_util.c (toktostr): Declare `token' as const.
8424         * time/Makefile: Make tzselect depend on config.make.
8426 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
8428         * manual/string.texi (String and Array Utilities): Add `Argz and
8429         Envz Vectors' to the menu.
8430         (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes.
8432 1997-05-31 20:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8434         * login/Makefile (utmpd-routines): Add utmpd.
8435         (extra-objs): Add utmpd objects to get dependencies.
8436         (distribute): Add sources for utmpd.
8437         (subdir-dirs): Define.
8439 1997-06-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
8441         * sysdeps/wordsize-32/inttypes.h: Include features.h and use
8442         __CONCAT instead of defined __CONCAT__ ourself.
8443         * sysdeps/wordsize-64/inttypes.h: Likewise.
8445 1997-06-01 19:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8447         * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'.
8448         (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST,
8449         SCNoFAST, SCNxFAST): Correct format specifiers.
8451 1997-06-02 04:23  Ulrich Drepper  <drepper@cygnus.com>
8453         * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir.
8455 1997-06-01 19:17  Ulrich Drepper  <drepper@cygnus.com>
8457         * md5-crypt/Makefile: Correct libmd5crypt file to really generate
8458         DES free libcrypt.
8459         * md5-crypt/onlymd5-entry.c: New file.  Wrapper around
8460         sysdeps/generic/crypt-entry.c.
8462 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
8464         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
8465         type to `unsigned long int'.
8466         Patch by Richard Henderson <richard@twiddle.rth.home>.
8468 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8470         * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C
8471         declaration style.
8473         * nss/nss_files/files-hosts.c: Delete inclusion of
8474         "../resolv/mapv4v6hostent.h".
8476 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
8478         * io/ftwtest-sh: More tests.
8480         * misc/tsearch.c: Rewrite tdestroy_recursive.
8482         * libio/libio.h: Define bits for libg++-2.8.
8484 1997-05-30 22:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8486         * nis/nss_nis/nis-hosts.c: Same changes as in
8487         nss/nss_files/files-hosts.c (Always use inet_pton).
8488         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8490 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
8492         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
8493         plan on doing so ever again.  Don't say alpha-linuxecoff is known
8494         to work.
8496         * elf/dl-lookup.c: Include <alloca.h>.
8497         * misc/tsearch.c: Include <string.h>.
8498         * posix/execle.c: Include <alloca.h>.
8499         * posix/execlp.c: Likewise.
8500         * stdio-common/printf_fphex.c: Include <string.h>.
8501         * sunrpc/xdr.c: Include <string.h>.
8502         * sysdeps/generic/memccpy.c: Include only <string.h>.
8504         * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix
8505         parameters to network functions.
8506         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8507         * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'.
8508         (rendezvous_request): Likewise.
8509         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8510         (svcudp_recv): Similar, but go through a local variable.  The old code
8511         used &xprt->xp_addrlen.  Someone should determine if the type of the
8512         structure member should be changed instead.
8513         * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning
8514         and transform a nonsense for-loop to a closed form calculation.
8515         (fill_input_buf): Another ptr->int warning.
8517         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
8518         will last until I figure out how to build a parallel libm_ieee.
8520         * sysdeps/alpha/fpu/fclrexcpt.c,
8521         * sysdeps/alpha/fpu/fegetenv.c,
8522         * sysdeps/alpha/fpu/fegetround.c,
8523         * sysdeps/alpha/fpu/feholdexcpt.c,
8524         * sysdeps/alpha/fpu/fenvbits.h,
8525         * sysdeps/alpha/fpu/fesetenv.c,
8526         * sysdeps/alpha/fpu/fesetround.c,
8527         * sysdeps/alpha/fpu/feupdateenv.c,
8528         * sysdeps/alpha/fpu/fgetexcptflg.c,
8529         * sysdeps/alpha/fpu/fraiseexcpt.c,
8530         * sysdeps/alpha/fpu/fsetexcptflg.c,
8531         * sysdeps/alpha/fpu/ftestexcept.c: New files.  There is, btw, a small
8532         kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for
8533         this to work properly.
8535         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
8536         FP mode to round to nearest, no exceptions as for Intel.
8537         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
8538         (rdfpcr): Use excb rather than trapb.  Be more efficient about
8539         getting at the fpcr.
8540         (wrfpcr): Likewise.
8541         (__setfpucw): Reformat.
8543         * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use
8544         a single DI-mode integer instead of bytes.  This produces better code
8545         on Alpha.  Similar for HUGE_VALF.
8546         * sysdeps/ieee754/nan.h: Similar for NAN.  Add NANF and NANL.
8548         * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias.
8550         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
8551         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
8552         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
8553         sure the stack frame is released the very instruction before the
8554         real jump out.
8555         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
8556         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
8558         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
8559         have gotten from <linux/posix_types.h>.
8561         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
8563 1997-05-30 13:05  Ulrich Drepper  <drepper@cygnus.com>
8565         * misc/tst-tsearch.c (mangle_tree): Update casts to prevent
8566         warnings.
8568 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8570         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
8571         correct value for _POSIX_VDISABLE.
8573 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8575         * Makefile (manual/dir-add.texi): Force execution.
8577 1997-05-29 13:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8579         * sysexits.h: New file.
8581 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8583         * stdlib/strfmon.c: Don't run past EOS after `='.
8585 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
8587         * io/ftw.c: Complete rewrite.  Add implementation of `nftw'.
8588         * io/ftw.h: Update for new implementation and XPG4.2.
8589         * io/Makefile (test-srcs): Add ftwtest.
8590         (distribute): Add ftwtest-sh.
8591         (tests): Call ftwtest-sh for this goal.
8592         * io/ftwtest-sh: New file.  Sets up test environment, calls test
8593         program and compares the result.
8594         * io/ftwtest.c: Test program for ftw.
8596         * misc/search.h: Add comments.  Declare tdestroy.
8597         * misc/tsearch.c (tdestroy): New function.
8599         * login/Makefile: Update for UTMP daemon implementation.
8601         Update resolver code to bind-4.9.6-T1A.
8602         * resolv/Banner: Update.
8603         * nss/digits_dots.c: Adapt text address matching to T1A.
8604         * nss/nss_files/files-hosts.c: Always use inet_pton.
8605         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
8606         it would lead to warnings.
8607         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
8608         at several places.
8609         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
8610         * resolv/res_comp.c (dn_expand): Check for overflow.
8611         (dn_comp): Likewise.
8612         * resolv/res_debug.c (precsize_aton): Better implementation.
8613         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
8614         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
8615         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
8616         length at several places.
8618 1997-05-29 12:51  Mark Kettenis  <kettenis@phys.uva.nl>
8620         * login/utmp-private.h (struct utfuncs): Add one more parameter
8621         to updwtmp function.
8622         Declare all three function jump tables.
8623         * login/utmp.h: Declare __utmpname.
8624         * login/getutent_r.c: Remove db backend and provide support for
8625         utmpd backend.
8626         * login/login.c: Use `updwtmp' function insteead of writing the
8627         record ourself.
8628         * login/logwtmp.c: Move `updwtmp' function to...
8629         * login/updwtmp.c: ...here.  New file.
8630         * login/utmp_db.h: Removed.
8631         * login/utmp_file.c: Add updwtmp function to write to file.
8632         * login/utmp_daemon.c: New file.  Daemon backend.
8633         * login/utmpname.c: New file.  Implementation of utmpname function.
8634         * login/utmpdump.c: New file.  Tool to dump utmp-like files.
8635         * login/utmpd/connection.c: New file.
8636         * login/utmpd/database.c: New file.
8637         * login/utmpd/error.c: New file.
8638         * login/utmpd/request.c: New file.
8639         * login/utmpd/utmpd-private.h: New file.
8640         * login/utmpd/utmpd.c: New file.
8641         * login/utmpd/utmpd.h: New file.
8642         * login/utmpd/xtmp.c: New file.
8643         * login/utmpd/xtmp.h: New file.
8645 1997-05-29 12:28  Jim Meyering  <meyering@eng.ascend.com>
8647         * time/strftime.c: Correct/normalize indentation in cpp directives.
8649 1997-05-28 20:43  Philip Blundell  <pjb27@cam.ac.uk>
8651         * nis/nis_error.c: Include <string.h> to fix warning.
8652         * nis/nis_print.c: Likewise.
8653         * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
8654         is int* not size_t*.
8656 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8658         * math/cmathcalls.h: Correct typo in comment.
8660         * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
8662         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
8663         IFNAMSIZ.
8665         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
8666         time_t.
8668         * login/pty.h: Include <ioctl-types.h> for definition of struct
8669         winsize.
8671         * misc/regexp.h (compile): Correct typo.
8673         * argp/argp.h: Put extern before __const in defintion of
8674         argp_program_bug_address.
8676 1997-05-29 00:20  Ulrich Drepper  <drepper@cygnus.com>
8678         * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
8679         and least types.  Correct names of ?INT_FAST*_{MIN,MAX} macros.
8680         * sysdeps/wordsize-64/inttypes.h: Likewise.
8681         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8683 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
8685         * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
8686         ttydefaults.h file instead of non-existing version in termios/sys.
8687         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8689         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
8690         number to four digits and to representable range for 4 byte time_t
8691         values.
8692         Patch by H.J. Lu <hjl@lucon.org>.
8694 1997-05-28 18:19  Philip Blundell  <pjb27@cam.ac.uk>
8696         * posix/execl.c: Include <alloca.h> to avoid warning.
8698 1997-05-27 18:19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8700         * math/libm-test.c: Implement testing of inlined functions, make
8701         output nicer, update comments.
8703         * math/test-idouble.c: New file.  Frontend for double tests of
8704         inlined functions.
8705         * math/test-ildoubl.c: New file.  Frontend for long double tests of
8706         inlined functions.
8707         * math/test-ifloat.c: New file.  Frontend for float tests of
8708         inlined functions.
8710         * math/test-longdouble.c: Rename to...
8711         * math/test-ldouble.c: ...this.
8713         * math/Makefile: Add rules for new test programs, change rules for
8714         renaming of longdouble test.
8716 1997-05-20 15:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
8718         * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
8719         (svc_register): Use __dispatch_fn_t in prototype.
8721 1997-05-28 17:02  Ulrich Drepper  <drepper@cygnus.com>
8723         * sysdeps/generic/bzero.c (bzero): Fix typo.
8724         Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
8726 1997-05-27 12:00  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8728         * sysdeps/generic/vtimes.c: Use ISO C declaration style.
8730         * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
8732         * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
8734         * signal/tst-signal.c (handler): Correct function declaration to
8735         avoid warning.
8736         * stdlib/testsort.c (compare): Likewise.
8737         * string/tester.c: Likewise.
8739 1997-05-27 14:16  Miles Bader  <miles@gnu.ai.mit.edu>
8741         * argp/argp-help.c (argp_args_usage): Supply correct argp to
8742         filter_doc.
8744 1997-05-27 17:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8746         * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
8747         db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
8748         with libm.
8750 1997-05-27 14:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8752         * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate.  Use __m81_test
8753         instead of explicit comparisons.
8755 1997-05-26 18:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8757         * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
8758         place in a generic header and is no user include file.
8760 1997-05-27 02:20  Ulrich Drepper  <drepper@cygnus.com>
8762         * stdio/obstream.c (obstack_printf): Fix bug in
8763         de-ansidecl-fication.
8764         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8766 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
8768         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
8769         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
8770         environments in which linking is not possible at configure time
8771         (since te libc is just build).
8772         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8774         * time/scheck.c (scheck): Make 2nd parameter const.
8775         * time/private.h: Likewise.
8777 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
8779         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
8780         state array only at right place.
8781         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
8783         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
8784         [0.5,1.0) but really in [0.0, 1.0).
8785         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
8787 1997-05-22 12:50  Eric Delaunay  <delaunay@lix.polytechnique.fr>
8789         * shlib-versions: Provide Linux/SPARC defaults.
8791 1997-05-26 15:00  Matthias Urlichs  <urlichs@noris.de>
8793         * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
8794         * stdlib/strtof_l.c: Likewise.
8795         * stdlib/strtol_l.c: Likewise.
8796         * stdlib/strtold_l.c: Likewise.
8797         * stdlib/strtoll_l.c: Likewise.
8798         * stdlib/strtoul_l.c: Likewise.
8799         * stdlib/strtoull_l.c: Likewise.
8801 1997-05-26 02:42  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8803         * hurd/dtable.c: De-ansidecl-fy.
8804         * math/test-math.c: Likewise.
8805         * signal/tst-signal.c: Likewise.
8806         * stdio/getc.c: Likewise.
8807         * stdio/obstream.c: Likewise.
8808         * stdio/putc.c: Likewise.
8809         * stdio-common/bug1.c: Likewise.
8810         * stdio-common/bug2.c: Likewise.
8811         * stdio-common/bug6.c: Likewise.
8812         * stdio-common/fscanf.c: Likewise.
8813         * stdlib/testsort.c: Likewise.
8814         * string/tester.c: Likewise.
8815         * sysdeps/am29k/ffs.c: Likewise.
8816         * sysdeps/generic/bb_init_func.c: Likewise.
8817         * sysdeps/generic/bcopy.c: Likewise.
8818         * sysdeps/generic/bzero.c: Likewise.
8819         * sysdeps/generic/div.c: Likewise.
8820         * sysdeps/generic/ffs.c: Likewise.
8821         * sysdeps/generic/memccpy.c: Likewise.
8822         * sysdeps/generic/memcpy.c: Likewise.
8823         * sysdeps/generic/memmove.c: Likewise.
8824         * sysdeps/generic/memset.c: Likewise.
8825         * sysdeps/generic/vfork.c: Likewise.
8826         * sysdeps/generic/vtimes.c: Likewise.
8827         * sysdeps/i386/bzero.c: Likewise.
8828         * sysdeps/i386/ffs.c: Likewise.
8829         * sysdeps/i960/ffs.c: Likewise.
8830         * sysdeps/m68k/ffs.c: Likewise.
8831         * sysdeps/m88k/ffs.c: Likewise.
8832         * sysdeps/mach/hurd/_exit.c: Likewise.
8833         * sysdeps/mach/hurd/accept.c: Likewise.
8834         * sysdeps/mach/hurd/access.c: Likewise.
8835         * sysdeps/mach/hurd/adjtime.c: Likewise.
8836         * sysdeps/mach/hurd/bind.c: Likewise.
8837         * sysdeps/mach/hurd/brk.c: Likewise.
8838         * sysdeps/mach/hurd/chdir.c: Likewise.
8839         * sysdeps/mach/hurd/chflags.c: Likewise.
8840         * sysdeps/mach/hurd/chmod.c: Likewise.
8841         * sysdeps/mach/hurd/chown.c: Likewise.
8842         * sysdeps/mach/hurd/chroot.c: Likewise.
8843         * sysdeps/mach/hurd/close.c: Likewise.
8844         * sysdeps/mach/hurd/connect.c: Likewise.
8845         * sysdeps/mach/hurd/defs.c: Likewise.
8846         * sysdeps/mach/hurd/dup2.c: Likewise.
8847         * sysdeps/mach/hurd/execve.c: Likewise.
8848         * sysdeps/mach/hurd/fchdir.c: Likewise.
8849         * sysdeps/mach/hurd/fchflags.c: Likewise.
8850         * sysdeps/mach/hurd/fchmod.c: Likewise.
8851         * sysdeps/mach/hurd/fchown.c: Likewise.
8852         * sysdeps/mach/hurd/fcntl.c: Likewise.
8853         * sysdeps/mach/hurd/fdopen.c: Likewise.
8854         * sysdeps/mach/hurd/flock.c: Likewise.
8855         * sysdeps/mach/hurd/fsync.c: Likewise.
8856         * sysdeps/mach/hurd/ftruncate.c: Likewise.
8857         * sysdeps/mach/hurd/getdtsz.c: Likewise.
8858         * sysdeps/mach/hurd/getegid.c: Likewise.
8859         * sysdeps/mach/hurd/geteuid.c: Likewise.
8860         * sysdeps/mach/hurd/getgid.c: Likewise.
8861         * sysdeps/mach/hurd/getgroups.c: Likewise.
8862         * sysdeps/mach/hurd/gethostid.c: Likewise.
8863         * sysdeps/mach/hurd/gethostname.c: Likewise.
8864         * sysdeps/mach/hurd/getitimer.c: Likewise.
8865         * sysdeps/mach/hurd/getlogin.c: Likewise.
8866         * sysdeps/mach/hurd/getpeername.c: Likewise.
8867         * sysdeps/mach/hurd/getpgid.c: Likewise.
8868         * sysdeps/mach/hurd/getpid.c: Likewise.
8869         * sysdeps/mach/hurd/getppid.c: Likewise.
8870         * sysdeps/mach/hurd/getsockname.c: Likewise.
8871         * sysdeps/mach/hurd/getsockopt.c: Likewise.
8872         * sysdeps/mach/hurd/getuid.c: Likewise.
8873         * sysdeps/mach/hurd/ioctl.c: Likewise.
8874         * sysdeps/mach/hurd/isatty.c: Likewise.
8875         * sysdeps/mach/hurd/link.c: Likewise.
8876         * sysdeps/mach/hurd/listen.c: Likewise.
8877         * sysdeps/mach/hurd/lseek.c: Likewise.
8878         * sysdeps/mach/hurd/mkdir.c: Likewise.
8879         * sysdeps/mach/hurd/open.c: Likewise.
8880         * sysdeps/mach/hurd/pipe.c: Likewise.
8881         * sysdeps/mach/hurd/read.c: Likewise.
8882         * sysdeps/mach/hurd/readlink.c: Likewise.
8883         * sysdeps/mach/hurd/reboot.c: Likewise.
8884         * sysdeps/mach/hurd/recv.c: Likewise.
8885         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8886         * sysdeps/mach/hurd/rename.c: Likewise.
8887         * sysdeps/mach/hurd/rewinddir.c: Likewise.
8888         * sysdeps/mach/hurd/rmdir.c: Likewise.
8889         * sysdeps/mach/hurd/sbrk.c: Likewise.
8890         * sysdeps/mach/hurd/seekdir.c: Likewise.
8891         * sysdeps/mach/hurd/select.c: Likewise.
8892         * sysdeps/mach/hurd/setegid.c: Likewise.
8893         * sysdeps/mach/hurd/seteuid.c: Likewise.
8894         * sysdeps/mach/hurd/setgid.c: Likewise.
8895         * sysdeps/mach/hurd/setgroups.c: Likewise.
8896         * sysdeps/mach/hurd/sethostid.c: Likewise.
8897         * sysdeps/mach/hurd/sethostname.c: Likewise.
8898         * sysdeps/mach/hurd/setlogin.c: Likewise.
8899         * sysdeps/mach/hurd/setpgid.c: Likewise.
8900         * sysdeps/mach/hurd/setregid.c: Likewise.
8901         * sysdeps/mach/hurd/setreuid.c: Likewise.
8902         * sysdeps/mach/hurd/setrlimit.c: Likewise.
8903         * sysdeps/mach/hurd/setsid.c: Likewise.
8904         * sysdeps/mach/hurd/setsockopt.c: Likewise.
8905         * sysdeps/mach/hurd/settimeofday.c: Likewise.
8906         * sysdeps/mach/hurd/setuid.c: Likewise.
8907         * sysdeps/mach/hurd/shutdown.c: Likewise.
8908         * sysdeps/mach/hurd/sigaction.c: Likewise.
8909         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
8910         * sysdeps/mach/hurd/sigpending.c: Likewise.
8911         * sysdeps/mach/hurd/sigprocmask.c: Likewise.
8912         * sysdeps/mach/hurd/sigstack.c: Likewise.
8913         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
8914         * sysdeps/mach/hurd/socket.c: Likewise.
8915         * sysdeps/mach/hurd/socketpair.c: Likewise.
8916         * sysdeps/mach/hurd/stdio_init.c: Likewise.
8917         * sysdeps/mach/hurd/symlink.c: Likewise.
8918         * sysdeps/mach/hurd/sync.c: Likewise.
8919         * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
8920         * sysdeps/mach/hurd/telldir.c: Likewise.
8921         * sysdeps/mach/hurd/truncate.c: Likewise.
8922         * sysdeps/mach/hurd/umask.c: Likewise.
8923         * sysdeps/mach/hurd/unlink.c: Likewise.
8924         * sysdeps/mach/hurd/wait4.c: Likewise.
8925         * sysdeps/mach/hurd/utimes.c: Likewise.
8926         * sysdeps/mach/hurd/write.c: Likewise.
8927         * sysdeps/mach/adjtime.c: Likewise.
8928         * sysdeps/mach/gettimeofday.c: Likewise.
8929         * sysdeps/mach/usleep.c: Likewise.
8930         * sysdeps/mips/__longjmp.c: Likewise.
8931         * sysdeps/posix/clock.c: Likewise.
8932         * sysdeps/posix/ctermid.c: Likewise.
8933         * sysdeps/posix/defs.c: Likewise.
8934         * sysdeps/posix/dup.c: Likewise.
8935         * sysdeps/posix/libc_fatal.c: Likewise.
8936         * sysdeps/posix/stdio_init.c: Likewise.
8937         * sysdeps/rs6000/ffs.c: Likewise.
8938         * sysdeps/sparc/e_sqrt.c: Likewise.
8939         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
8940         * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
8941         * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
8942         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
8943         * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
8944         * sysdeps/standalone/i960/nindy960/console.c: Likewise.
8945         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
8946         * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
8947         * sysdeps/standalone/brk.c: Likewise.
8948         * sysdeps/stub/_exit.c: Likewise.
8949         * sysdeps/stub/brdinit.c: Likewise.
8950         * sysdeps/stub/console.c: Likewise.
8951         * sysdeps/stub/defs.c: Likewise.
8952         * sysdeps/stub/errlist.c: Likewise.
8953         * sysdeps/stub/libc_fatal.c: Likewise.
8954         * sysdeps/stub/siglist.c: Likewise.
8955         * sysdeps/stub/stdio_init.c: Likewise.
8956         * sysdeps/stub/strtsupp.c: Likewise.
8957         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
8958         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
8959         * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
8960         * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
8961         * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
8962         * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
8963         * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
8964         * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
8965         * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
8966         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8967         * sysdeps/unix/bsd/clock.c: Likewise.
8968         * sysdeps/unix/bsd/gtty.c: Likewise.
8969         * sysdeps/unix/bsd/init-posix.c: Likewise.
8970         * sysdeps/unix/bsd/setgid.c: Likewise.
8971         * sysdeps/unix/bsd/setrgid.c: Likewise.
8972         * sysdeps/unix/bsd/setruid.c: Likewise.
8973         * sysdeps/unix/bsd/setuid.c: Likewise.
8974         * sysdeps/unix/bsd/stty.c: Likewise.
8975         * sysdeps/unix/bsd/telldir.c: Likewise.
8976         * sysdeps/unix/bsd/ualarm.c: Likewise.
8977         * sysdeps/unix/common/glue-ctype.c: Likewise.
8978         * sysdeps/unix/sparc/start.c: Likewise.
8979         * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
8980         * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
8981         * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
8982         * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
8983         * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
8984         * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
8985         * sysdeps/unix/sysv/irix4/start.c: Likewise.
8986         * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
8987         * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
8988         * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
8989         * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
8990         * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
8991         * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
8992         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
8993         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
8994         * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
8995         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
8996         * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
8997         * sysdeps/unix/sysv/gethostname.c: Likewise.
8998         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8999         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9000         * sysdeps/unix/alarm.c: Likewise.
9001         * sysdeps/unix/make_errlist.c: Likewise.
9002         * sysdeps/unix/rewinddir.c: Likewise.
9003         * sysdeps/unix/seekdir.c: Likewise.
9004         * sysdeps/unix/time.c: Likewise.
9005         * sysdeps/unix/utime.c: Likewise.
9006         * sysdeps/vax/__longjmp.c: Likewise.
9007         * sysdeps/vax/memccpy.c: Likewise.
9008         * time/strftime.c: Likewise.
9010 1997-05-25 21:57  Miles Bader  <miles@gnu.ai.mit.edu>
9012         * argp/argp-parse.c (parser_init): For the special case where no
9013         parsing function is supplied for an argp, propagate its input to
9014         its first child, if any.
9016         * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
9017         * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
9018         Replace references to STATE->argp with STATE->root_argp.
9019         * argp/argp-parse.c (parser_init): Likewise.
9021 1997-05-26 14:17  Ulrich Drepper  <drepper@cygnus.com>
9023         * manual/main.texi: Clarify situation for other not supported ports.
9024         Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9025         We recommend binutils 2.8.
9027 1997-05-26 12:17  Ulrich Drepper  <drepper@cygnus.com>
9029         * netinet/in.h: New file.  Wrapper around inet/netinet/in.h.
9031 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
9033         * sysdeps/i386/elf/start.S: Change local label "nofini"
9034         to ".Lnofini".
9036         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
9038 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
9040         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
9042 1997-05-25 03:00  Ulrich Drepper  <drepper@cygnus.com>
9044         * elf/dynamic-link.h (_dl_verbose): New variable, declare.
9045         * elf/rtld.c (_dl_verbose): New variable, define.
9046         (dl_main): Define _dl_verbose based on DL_WARN environment variable.
9047         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
9048         changed size in copy relocation only if symbol in shared object
9049         is larger or _dl_verbose is nonzero.
9050         * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
9051         * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
9052         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
9054         * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
9055         <...>.
9056         * nis/nss_nis/nis-grp.c: Likewise.
9057         * nis/nss_nis/nis-hosts.c: Likewise.
9058         * nis/nss_nis/nis-network.c: Likewise.
9059         * nis/nss_nis/nis-proto.c: Likewise.
9060         * nis/nss_nis/nis-pwd.c: Likewise.
9061         * nis/nss_nis/nis-rpc.c: Likewise.
9062         * nis/nss_nis/nis-spwd.c: Likewise.
9063         * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
9064         * wcsmbs/wcscoll.c: Likewise.
9065         * wcsmbs/wcstod.c: Likewise.
9066         * wcsmbs/wcstof.c: Likewise.
9067         * wcsmbs/wcstol.c: Likewise.
9068         * wcsmbs/wcstold.c: Likewise.
9069         * wcsmbs/wcsxfrm.c: Likewise.
9070         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9072         * time/strftime.c: Implement # flag which changes case of output for
9073         %a, %b, %B, %p, and %Z format.
9074         When printing numbers, the given field width is always respected.
9075         This means that padding happens only up to the given width.
9076         Proposed by Stephen Gildea <gildea@intouchsys.com>.
9078 1997-05-25 00:44  Ulrich Drepper  <drepper@cygnus.com>
9080         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
9081         values.
9082         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
9084 1997-05-24 21:03  Philip Blundell  <pjb27@cam.ac.uk>
9086         * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
9087         struct stat) if it exists for this port.
9089 1997-05-24 20:34  Philip Blundell  <pjb27@cam.ac.uk>
9091         * sysdeps/standalone/arm/errnos.h: Add EPERM.
9093 1997-05-23 16:28  Philip Blundell  <phil@kings-cross.london.uk.eu.org>
9095         * linewrap.h: New file, needed to compile argp without libio.
9097 1997-05-24 11:59  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9099         * manual/stdio.texi (Formatted Messages): Corrected some typos.
9101 1997-05-24 11:58  Philip Blundell  <pjb27@cam.ac.uk>
9103         * sysdeps/stub/start.c: Fix typo.
9105 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
9107         * argp/argp-help.c (hol_add_cluster): Initialize CL->depth.
9109 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
9111         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
9112         strtoull_l, strtof_l, strtod_l, and strtold_l.
9113         * stdlib/stdlib.h: Add prototypes for new functions.
9114         * stdlib/strtod.c: Change for compiling as strtoX_l.
9115         * stdlib/strtol.c: Likewise.
9116         * stdlib/strtof.c: Likewise.
9117         * stdlib/strtold.c: Likewise.
9118         * stdlib/strtod_l.c: New file.
9119         * stdlib/strtof_l.c: New file.
9120         * stdlib/strtold_l.c: New file.
9121         * stdlib/strtol_l.c: New file.
9122         * stdlib/strtoul_l.c: New file.
9123         * stdlib/strtoll_l.c: New file.
9124         * stdlib/strtoull_l.c: New file.
9125         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
9126         * string/string.h: Add prototypes for new functions.
9127         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
9128         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
9129         * sysdeps/generic/strcasecmp_l.c: New file.
9130         * sysdeps/generic/strncase_l.c: New file.
9131         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
9132         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
9133         wcsncase_l.
9134         * wcsmbs/wchar.h: Add prototypes for new functions.
9135         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
9136         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
9137         * wcsmbs/wcscasecmp_l.c: New file.
9138         * wcsmbs/wcsncase_l.c: New file.
9139         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
9140         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
9141         * wcsmcs/wcstod_l.c: New file.
9142         * wcsmcs/wcstof_l.c: New file.
9143         * wcsmcs/wcstold_l.c: New file.
9144         * wcsmcs/wcstol_l.c: New file.
9145         * wcsmcs/wcstoul_l.c: New file.
9146         * wcsmcs/wcstoll_l.c: New file.
9147         * wcsmcs/wcstoull_l.c: New file.
9149         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
9150         $(elf) is defined.  More to come later when other binary formats
9151         are supported.
9152         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
9153         Suggested by Philip Blundell.
9155         * stdlib/Makefile (headers): Add fmtmsg.h.
9156         (routines): Add fmtmsg.
9157         * stdlib/fmtmsg.c: New file.
9158         * stdlib/fmtmsg.h: New file.
9159         * manual/stdio.texi: Add description of fmtmsg and addseverity.
9160         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
9161         documentation.
9163 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
9165         * resolv/res_query.c (res_querydomain): Avoid potential buffer
9166         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
9168 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
9170         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
9171         _dl_sysdep_read_whole_file): Moved functions to ...
9172         * elf/dl-misc.c: This new file.
9173         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
9174         * elf/dl-misc.c: ... here.
9175         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
9176         _dl_sysdep_read_whole_file): Delete functions; they now come from
9177         elf/dl-misc.c (dl-support.c had contained identical versions).
9178         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
9179         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
9180         that the regular ones in dl-misc work once we've initialized.
9181         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
9183 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
9185         * inet/Makefile (headers): Add netinet/inbits.h.
9186         * inet/netinet/in.h: New file.
9187         * sysdeps/generic/netinet/inbits.h: Likewise.
9188         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
9189         * sysdeps/generic/netinet/ip6.h: Move to...
9190         * inet/netinet/ip6.h: ... here.
9191         * sysdeps/generic/netinet/icmp6.h: Move to...
9192         * inet/netinet/icmp6.h: ... here.
9193         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
9194         * sysdeps/generic/netinet/in.h: Remove.
9196 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
9198         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
9199         not looking at the new thread-safe .plt, don't be lazy about relocs.
9200         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
9201         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
9202         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
9203         elf_machine_runtime_setup() decide if we can actually be lazy.
9204         * elf/rtld.c (_dl_start): So don't call it.
9205         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9206         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
9207         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9208         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
9209         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
9210         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
9211         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
9212         skeleton definition.
9214 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
9216         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
9217         stack by fxtract.
9219 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9221         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
9222         add cast to (xdrproc_t) where necessary to prevent warnings.
9224 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
9226         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
9228 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
9230         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
9231         to size_t to prevent warning.
9232         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
9233         instead of numeric values.
9234         Various cleanups.
9235         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
9236         for xdrmem_putbytes.
9237         * sunrpc/xdr_rec.c: Likewise.
9238         * sunrpc/xdr_stdio.c: Likewise.
9239         * sunrpc/rpc/xdr.h: Likewise.
9241         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
9242         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9243         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9245 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
9247         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
9248         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
9249         * sysdeps/generic/netinet/icmp6.h: Likewise.
9250         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
9251         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
9252         glob.c).
9253         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
9254         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
9255         * sysdeps/stub/accept.c (accept): Make args match prototype.
9256         * sysdeps/stub/bind.c (bind): Likewise.
9257         * sysdeps/stub/connect.c (connect): Likewise.
9258         * sysdeps/stub/getpeername.c (getpeername): Likewise.
9259         * sysdeps/stub/getsockname.c (getsockname): Likewise.
9260         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
9261         * sysdeps/stub/send.c (send): Likewise.
9262         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
9263         * sysdeps/stub/readv.c (readv): Likewise.
9264         * sysdeps/stub/writev.c (writev): Likewise.
9265         * sysdeps/stub/sendto.c (sendto): Likewise.
9266         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
9268 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
9270         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
9271         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
9273 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9275         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
9277         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
9278         functions, include <rpc/xdr.h>.
9280         * string/strverscmp.c: Correct typos in comment.
9282         * sunrpc/rpc/xdr.h: Add more `const'.
9283         * sunrpc/xdr_stdio.c: Likewise.
9284         * sunrpc/xdr_rec.c: Likewise.
9286 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
9288         * elf/Makefile (dl-routines): Add dl-sysdepio.
9289         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
9290         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
9291         _dl_sysdep_error and _dl_sysdep_warning to ...
9292         * sysdeps/generic/dl-sysdepio.c: ...here.
9293         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
9294         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
9295         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
9296         of functions.
9297         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9299         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
9300         and for Linux ld.so.
9301         * login/Makefile (libutil.so): Likewise.
9302         * math/Makefile (libm.so): Likewise.
9303         * md5-crypt/Makefile (libcrypt.so): Likewise.
9304         * nis/Makefile (libnss_%.so): Likewise.
9305         * resolv/Makefile (libnss_dns.so): Likewise.
9307 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
9309         * argp/argp-help.c (_help): Supply STATE to argp_args_usage.
9310         (argp_args_usage): Add filtering of the args doc string.
9311         (comma): Print cluster headers for the first entry too.
9312         * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
9314 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
9316         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
9317         interface was changed with addition of _obstack_memory_used.
9318         Suggested by Ian Taylor <ian@cygnus.com>.
9320         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
9321         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
9322         Reported by Ian Taylor <ian@cygnus.com>.
9324         * dirent/Makefile (routines): Add versionsort.
9325         * dirent/dirent.h: Add prototype for versionsort.
9326         * dirent/versionsort.c: New file.
9327         * manual/filesys.texi: Add documentation for versionsort.
9328         * manual/string.texi: Add documentation for strverscmp.
9329         * string/Makefile (routines): Add strverscmp.
9330         (tests): Add tst-svc.
9331         * string/string.h: Add prototype for strverscmp.
9332         * string/strverscmp.c: New file.
9333         * string/tst-svc.c: New file.  Test for strverscmp.
9334         * string/tst-svc.input: New file.  Input data for tst-svc.
9335         * string/tst-svc.expect: New file.  Expected out from tst-svc.
9336         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
9338         * math/Makefile (calls): Add s_signbit.
9340         * po/sv.po: Update.
9342         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
9343         * sunrpc/pmap_rmt.c: Likewise.
9345         * string/basename.c: Don't use ISO C definition style.
9346         Include <config.h> if HAVE_CONFIG_H is defined.
9348         * sunrpc/proto.h: Add `const' wherever possible.
9349         * sunrpc/rpc_cout.c: Likewise.
9350         * sunrpc/rpc_svcout.c: Likewise.
9351         * sunrpc/xdr_mem.c: Likewise.
9352         * sunrpc/xdr_rec.c: Likewise.
9353         * sunrpc/xdr_stdio.c: Likewise.
9354         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
9355         * sunrpc/xdr.c: Little code cleanups.
9356         * sunrpc/xdr_float.c: Likewise.
9357         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
9359         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
9361         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
9363         * time/europe: Update from tzdata1997f.
9364         * time/zic.c: Update from tzcode1997e.
9366 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
9368         * sysdeps/sparc/setjmp.S: Flush windows.
9369         Bug found by Richard Henderson.
9371 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9373         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
9375 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
9377         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
9378         atol instead of atoi.
9380 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
9382         * inet/Makefile (routines): Add if_index.
9383         * sysdeps/unix/sysv/linux/if_index.c: New file.
9384         * sysdeps/stub/if_index.c: New file.
9385         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
9386         if_index.c (required by IPv6 basic API).
9387         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
9389 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
9391         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
9392         for new advanced API draft.
9394 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9396         * stdio-common/printf_fp.c: Only use the field width for deciding
9397         on padding when printing special values.
9398         * stdio-common/printf_fphex.c: Likewise.
9400 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
9402         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
9403         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
9405 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
9407         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
9408         msg_add_auth was overflowing it.
9410 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
9412         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
9413         when we can't find the symbol.
9415 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
9417         * posix/regex.c: Fix handling of 32-bit Windog environments.
9418         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
9420 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9422         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
9424 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9426         * elf/ldd.bash.in: Remove spurious quote character from version
9427         message.
9429 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9431         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
9432         loop if the file ends in a long line without newline.
9433         * locale/programs/charmap.c (charmap_read): Likewise.
9435 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
9437         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
9438         * sunrpc/rpc/svc_auth.h: Likewise.
9439         * sunrpc/rpc/svc.h: Likewise.
9440         * sunrpc/rpc/rpc_msg.h: Likewise.
9441         * sunrpc/rpc/pmap_rmt.h: Likewise.
9442         * sunrpc/rpc/pmap_clnt.h: Likewise.
9443         * sunrpc/rpc/clnt.h: Likewise.
9444         * sunrpc/rpc/auth_unix.h: Likewise.
9445         * sysdeps/generic/rpc/auth.h: Likewise.
9446         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
9448 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
9450         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
9451         * sysdeps/standalone/arm/errnos.h: New file.
9452         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
9453         * sysdeps/unix/arm/fork.S: New file.
9454         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
9455         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
9456         `streamptr' argument.
9457         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
9458         <stdarg.h> to get va_list defined, return 0 not NULL.
9459         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
9460         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
9461         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
9462         * sysdeps/stub/seekdir.c (seekdir): Likewise.
9463         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
9464         * sysdeps/standalone/dirstream.h: Define struct __dirstream
9465         not DIR; <dirent.h> provides typedef.
9466         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
9467         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
9468         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
9470 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
9472         * sysdeps/powerpc/Dist: New file.
9473         * sysdeps/powerpc/Makefile: New file.
9474         * sysdeps/powerpc/fclrexcpt.c: New file.
9475         * sysdeps/powerpc/fegetenv.c: New file.
9476         * sysdeps/powerpc/fegetround.c: New file.
9477         * sysdeps/powerpc/feholdexcpt.c: New file.
9478         * sysdeps/powerpc/fenvbits.h: New file.
9479         * sysdeps/powerpc/fenv_const.c: New file.
9480         * sysdeps/powerpc/fenv_libc.h: New file.
9481         * sysdeps/powerpc/fesetenv.c: New file.
9482         * sysdeps/powerpc/fesetround.c: New file.
9483         * sysdeps/powerpc/feupdateenv.c: New file.
9484         * sysdeps/powerpc/fgetexcptflg.c: New file.
9485         * sysdeps/powerpc/fraiseexcpt.c: New file.
9486         * sysdeps/powerpc/fsetexcptflg.c: New file.
9487         * sysdeps/powerpc/ftestexcept.c: New file.
9488         * sysdeps/powerpc/mathbits.h: New file.
9490         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
9491         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
9492         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
9494         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
9496         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
9498         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
9499         instead .section ".text".
9501 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
9503         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
9504         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
9505         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
9506         * sysdeps/powerpc/setjmp.S: Likewise.
9508         * sysdeps/unix/sysv/linux/clone.S: Likewise.
9509         * sysdeps/unix/sysv/linux/socket.S: Likewise.
9510         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
9512 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
9514         * sysdeps/powerpc/strchr.s: New file.
9515         * sysdeps/powerpc/strcmp.s: New (ugly) file.
9516         * sysdeps/powerpc/memset.s: New file.
9517         * string/tester.c: Include prototype and _GNU_SOURCE to make
9518         standalone compilation possible. Give strcmp a better
9519         test. Give memset a better test.
9521 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
9523         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
9524         tests before?). Changed to symbolic register numbering as an
9525         experiment.
9526         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
9527         exist.
9528         * sysdeps/rs6000/ffs.c: Likewise.
9530 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
9532         * time/sys/time.h: Make second argument of setitimer const.
9533         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
9534         * sysdeps/stub/setitimer.c: Likewise.
9535         * sysdeps/mach/hurd/setitimer.c: Likewise.
9537 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9539         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
9541         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
9542         namespace hierachy.
9543         * nis/nis_intern.h: Add new __nis_docall function prototypes.
9544         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
9545         rewritten functions.
9546         * nis/nis_checkpoint.c: Likewise.
9547         * nis/nis_lookup.c: Likewise.
9548         * nis/nis_mkdir.c: Likewise.
9549         * nis/nis_modify.c: Likewise.
9550         * nis/nis_ping.c: Likewise.
9551         * nis/nis_remove.c: Likewise.
9552         * nis/nis_rmdir.c: Likewise.
9553         * nis/nis_server.c: Likewise.
9554         * nis/nis_table.c: Likewise.
9556 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
9558         * argp/argp-eexst.c: Include <sysexits.h>.
9559         (argp_err_exit_status): Initialize to EX_USAGE.
9560         * argp/argp.h, argp/argp-help.c: Doc fixes.
9562 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
9564         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
9565         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
9567 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
9569         * sysdeps/unix/sysv/linux/poll.c: Save errno.
9571 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
9573         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
9575 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
9577         * sys/ttydefaults.h: Removed.
9579 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
9581         * termios/sys/ttydefaults.h: Delete file.
9582         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
9583         TTYDEF_OFLAG.
9584         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
9585         XTABS in TTYDEF_OFLAG.
9586         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
9587         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
9589 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
9591         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
9592         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
9594 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
9596         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
9597         _NL_CTYPE_MAP_NAMES field to stringlist.
9598         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
9599         * locale/localeinfo.h (enum value_type): Add stringlist.
9600         * locale/programs/locale.c (show_info): Handle stringlist.
9602         * locale/programs/charmap.c (charmap_read): If charmap file is not
9603         using the given name try to find it by looking through all available
9604         charmap files and compare the code set name.
9605         * locale/programs/locale.c (write_charmaps): Also print names of
9606         charset in <code_set_name> fields in the files.
9608         * elf/ldd.bash.in: Correct translatable strings.
9610         * posix/TESTS: Add some more tests for character class matching.
9611         * posix/regex.c: Merge with GNU awk version.
9612         (regex_compile): Use ISO C/amend 1 functions for character class
9613         handling.
9614         * posix/regex.h: Merge with GNU awk version.
9616         * posix/getopt.c: Declare as master copies.
9617         * posix/getopt1.c: Likewise.
9618         * posix/getopt.h: Likewise.
9620         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
9621         value to mount functions.
9622         Patch by a sun <asun@zoology.washington.edu>.
9624         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
9625         in size for copy relocation.
9626         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
9627         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
9628         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
9629         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
9631 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
9633         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
9634         with other tests.
9635         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
9636         with other tests.
9638         * sunrpc/svc_run.c (svc_exit): New, defined.
9639         (svc_run): Test for svc_stop variable.
9640         * sunrpc/rpc/svc.h (svc_exit): New, declared.
9642 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9644         * math/libm-test.c (test_not_exception): Don't mix the internal
9645         exception flags with the host defined FE_* values.  All (indirect)
9646         callers of this and test_exceptions changed to pass the internal
9647         flag values.
9648         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
9649         in test names.
9650         (csinh_test): Allow invalid exception for NaN +- i Inf.
9652 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9654         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
9655         exception on infinite value.
9656         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
9657         __M81_COND_ZERO): New definitions.
9659         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
9660         Use __m81_test.
9662         * sysdeps/m68k/s_ccosh.c: Rewritten.
9663         * sysdeps/m68k/s_csinh.c: Rewritten.
9664         * sysdeps/m68k/s_cexp.c: Rewritten.
9665         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
9666         * sysdeps/m68k/s_ccoshl.c: Likewise.
9667         * sysdeps/m68k/s_csinhf.c: Likewise.
9668         * sysdeps/m68k/s_csinhl.c: Likewise.
9669         * sysdeps/m68k/s_cexpf.c: Likewise.
9670         * sysdeps/m68k/s_cexpl.c: Likewise.
9672         * sysdeps/m68k/s_ccos.c: New file.
9673         * sysdeps/m68k/s_ccosf.c: New file.
9674         * sysdeps/m68k/s_ccosl.c: New file.
9675         * sysdeps/m68k/s_csin.c: New file.
9676         * sysdeps/m68k/s_csinf.c: New file.
9677         * sysdeps/m68k/s_csinl.c: New file.
9679 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9681         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
9682         stamp files to avoid problems with long file names.
9684 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9686         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
9688         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
9689         NaN.  Fix test for sign of infinite y.
9691         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
9693         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
9695 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9697         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
9698         dependencies.
9700         * csu/abi-note.S: Replace undefined macro ALIGNARG.
9701         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
9702         character.
9704 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9706         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
9707         for local label.
9709 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9711         * nis/Makefile (libnsl-routines): Add a lot of new file names.
9713         * nis/nis_names.c (nis_add): Moved from here ...
9714         * nis/nis_add.c: ... to here and fix parameter flags.
9715         * nis/nis_names.c (nis_lookup): Moved from here ...
9716         * nis/nis_lookup.c: ... to here.
9717         * nis/nis_names.c (nis_modify): Moved from here ...
9718         * nis/nis_modify.c: ... to here and fix parameter flags.
9719         * nis/nis_names.c (nis_remove): Moved from here ...
9720         * nis/nis_remove.c: ... to here and fix parameter flags.
9721         * nis/nis_names.c: Removed.
9723         * nis/nis_subr.c (nis_domain_of): Moved from here ...
9724         * nis/nis_domain_of.c: .. to here.
9725         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
9726         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
9728         * nis/nis_addmember.c: New.
9729         * nis/nis_checkpoint.c: New.
9730         * nis/nis_creategroup.c: New.
9731         * nis/nis_defaults.c: New.
9732         * nis/nis_destroygroup.c: New.
9733         * nis/nis_getservlist.c: New.
9734         * nis/nis_ismember.c: New.
9735         * nis/nis_ping.c: New.
9736         * nis/nis_print_group_entry.c: New.
9737         * nis/nis_removemember.c: New.
9738         * nis/nis_mkdir.c: New.
9739         * nis/nis_rmdir.c: New.
9740         * nis/nis_verifygroup.c: New.
9742         * nis/rpcsvc/nislib.h: Fix internal function declarations.
9744         * nis/nis_server (nis_servstate): New.
9745         * nis/nis_server (nis_stats): New.
9747         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
9749         * nis/nis_call.c: Remove debug output.
9751         * nis/nis_intern.c (__nis_finddirectory): Remove.
9753 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
9755         * posix/TESTS2C.sed: Recognize only digits in first field.  This
9756         enables us to use colons in the pattern.
9758 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
9760         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
9761         will preserve non-call-saved registers; save and restore a0 across
9762         the system call.
9763         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
9764         data onto the new thread's stack.
9766 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
9768         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
9769         kernel can return negative values.  Only fail when return value is
9770         in range in range which is never returned as valid address.
9771         Patch by Bruno Haible <haible@ilog.fr>.
9773 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
9775         * math/libm-test.c: Implement test for exceptions.
9776         Partly due to Andreas Jaeger.
9777         (csin_test): New function.
9778         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
9779         * sysdeps/libm-i387/s_cexpf.S: Likewise.
9780         * sysdeps/libm-i387/s_cexpl.S: Likewise.
9781         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
9782         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
9783         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
9784         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
9785         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9786         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9787         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9788         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9789         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9790         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9791         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9792         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9793         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
9794         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
9795         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
9797         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
9798         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9799         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9800         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9801         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9802         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9804         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
9805         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
9806         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
9808         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
9809         case.
9811         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
9812         for local label.
9814         * time/strftime.c (add): Respect `0' padding flag.
9815         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
9817 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
9819         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
9820         Use in +link macro.
9821         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
9822         (start-installed-name): Don't define here.
9823         When ELF generate file named by start-installed-name from start.o
9824         and abi-note.o.
9825         * csu/abi-note.S: New file.
9826         * sysdeps/stub/abi-tag.h: New file.
9827         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
9828         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
9830 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
9832         * manual/stdio.texi: Use @vtable where possible.
9833         Add TeX version of @multitable since texi2dvi cannot handle them
9834         correct in the moment.
9836         * po/de.po: Update.
9838 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
9840         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
9841         * config.make.in: Set cross-compiling from configure result.
9842         * configure.in: Emit definition of `cross_compiling'.
9843         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9845 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
9847         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
9848         correct `int' sizes for struct members.
9850 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
9852         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
9853         * sysdeps/libm-i387/e_pow.S: Likewise.
9854         * sysdeps/libm-i387/e_powl.S: Likewise.
9856 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9858         * math/fenv.h: Correct typos.
9860 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
9862         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
9863         in t0 rather than a4 to avoid it being clobbered.
9865 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9867         * manual/summary.awk: Recognize @defmumblex.
9869         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
9870         second description header.
9872 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9874         * manual/arith.texi (Floating-Point Classes): Don't indent text,
9875         makeinfo doesn't like that.
9877 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9879         * malloc/obstack.h (obstack_specify_allocation_with_arg,
9880         obstack_chunkfun, obstack_freefun): Fix casts.
9882 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9884         * manual/xtract-typefun.awk: Allow names with only one character.
9886 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
9888         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
9889         not <netinet/icmp.h>.
9890         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
9892 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
9894         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
9895         to command line of compiler.
9896         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
9898         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
9899         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
9901         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
9902         in declaration.
9903         Patch by Michael Widenius <monty@tcx.se>.
9905         * time/strptime.c (strptime_internal): Fix %I format specifier
9906         being off by one.
9907         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
9909 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9911         * stdlib/lcong48_r.c: Include <limits.h>.
9912         * stdlib/seed48_r.c: Likewise.
9914         * stdio-common/printf_size.c (printf_size): Correct type of
9915         `units' and make robust against future changes.
9917 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9919         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
9920         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
9921         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
9923 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9925         * manual/arith.texi, manual/math.texi: Use @defmumblex for
9926         additional description headers.
9927         * manual/xtract-typefun.awk: Recognize them.
9929 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9931         * stdio-common/printf_size.c (printf_size): Correct size of array
9932         units.
9934 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
9936         * libgen.h: New file.
9938 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
9940         * stdlib/drand48.c: Cleanup namespace.
9941         * stdlib/drand48_r.c: Cleanup namespace.
9942         * stdlib/erand48.c: Cleanup namespace.
9943         * stdlib/erand48_r.c: Cleanup namespace.
9944         * stdlib/jrand48.c: Cleanup namespace.
9945         * stdlib/jrand48_r.c: Cleanup namespace.
9946         * stdlib/lrand48.c: Cleanup namespace.
9947         * stdlib/lrand48_r.c: Cleanup namespace.
9948         * stdlib/mrand48.c: Cleanup namespace.
9949         * stdlib/mrand48_r.c: Cleanup namespace.
9950         * stdlib/nrand48.c: Cleanup namespace.
9951         * stdlib/nrand48_r.c: Cleanup namespace.
9952         * stdlib/lcong48.c: Cleanup namespace.
9953         * stdlib/lcong48_r.c: Cleanup namespace.
9954         * stdlib/srand48.c: Cleanup namespace.
9955         * stdlib/srand48_r.c: Cleanup namespace.
9956         * stdlib/seed48.c: Cleanup namespace.
9957         * stdlib/seed48_r.c: Cleanup namespace.
9959         * stdlib/stdlib.h: Provide new prototypes.
9961 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
9963         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
9964         fpclassify & friends, and complex number operations.
9965         Update various other math functions for ISO C 9X.
9966         * manual/math.texi: Update various entries for ISO C 9X.
9967         Add description for complex number functions.
9968         Add description of rand48 function family.
9969         * manual/string.h: Add description of a64l and l64a.
9971         * math/cmathcalls.h: Fix typo.
9973         * stdlib/a64l.c: Pretty printing.
9975         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
9976         * stdlib/srand48_r.c: Likewise.
9977         * stdlib/stdlib.h: Pretty printing.
9979         * sysdeps/i386/fpu/__math.h: Fix typo.
9981         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
9982         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
9984 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9986         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
9988 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9990         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
9991         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
9992         isunordered.
9994 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
9996         * rellns-sh: Handle files in the same directory correctly.
9998 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
10000         * csu/initfini.c: Place ALIGN instruction at correct positions.
10001         Patch by Richard Henderson <richard@twiddle.rth.home>.
10003 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
10005         * Make-dist: Don't automatically ignore .c files if the .S or .s file
10006         is ignored.
10008         * csu/Makefile (distribute): Add defs.awk.
10010 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
10012         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
10013         * sysdeps/stub/shmdt.c: Likewise.
10014         Reported by Thomas Bushnell, n/BSG.
10016 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
10018         * manual/stdio.texi: Add description of printf_size and
10019         printf_size_info.  Partly based on the documentation by Larry McVoy.
10021 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
10023         * stdio-common/printf_size.c (printf_size): Correct values for
10024         `units'.
10025         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
10026         * stdio-common/tst-printfsz.c: New file.
10027         * stdio-common/Makefile (tests): Add tst-printfsz.c.
10028         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
10029         strings.
10031 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
10033         * login/utmp.h: Add prototype for updwtmp.
10034         * login/logwtmp.c: Add new function updwtmp which allows to write
10035         a complete record to the wtmp file.
10036         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
10038 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10040         * math/Makefile (headers): Add mathbits.h.
10042 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10044         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
10045         * sysdeps/m68k/fpu/s_sincos.c: New file.
10046         * sysdeps/m68k/fpu/s_sincosf.c: New file.
10047         * sysdeps/m68k/fpu/s_sincosl.c: New file.
10049         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
10050         functions.
10051         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
10053         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
10054         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
10055         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
10056         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
10057         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
10058         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
10060 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
10062         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
10063         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
10065 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
10067         * csu/initfini.c: Rewrite by Zack Weinberg
10068         <zack@rabi.phys.columbia.edu>.
10069         * csu/Makefile: Add rules for rewrite.
10070         * csu/defs.awk: Helper script to generate derived header.
10072 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
10074         * misc/libgen.h: Change prototype for of basename to XPG variant.
10075         * stdlib/Makefile (routines): Add xpg_basename.
10076         * stdlib/basename.c: New file.
10077         * string/string.h: Don't declare basename function if basename
10078         macro is available.
10080 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
10082         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
10084 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10086         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
10087         * sysdeps/m68k/fpu/fenvbits.h: New file.
10088         * sysdeps/m68k/fpu/fegetenv.c: New file.
10089         * sysdeps/m68k/fpu/fegetround.c: New file.
10090         * sysdeps/m68k/fpu/fesetenv.c: New file.
10091         * sysdeps/m68k/fpu/fesetround.c: New file.
10092         * sysdeps/m68k/fpu/feupdateenv.c: New file.
10093         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
10094         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
10095         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
10096         * sysdeps/m68k/fpu/ftestexcept.c: New file.
10097         * sysdeps/m68k/fpu/mathbits.h: New file.
10099         * sysdeps/m68k/fpu/s_remquo.c: New file.
10100         * sysdeps/m68k/fpu/s_remquol.c: New file.
10101         * sysdeps/m68k/fpu/s_remquof.c: New file.
10103         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
10104         mantissa overflows into exponent.  Fix priority of >> vs +.
10106         * math/libm-test.c (basic_tests): Use the appropriate isnan and
10107         isinf function to test the value of the nan function.
10109 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
10111         * sysdeps/libm-i387/s_finite.S: Fix typo.
10113         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
10114         isgreaterequal, isless, islessequal, islessgreater, and
10115         isunordered.
10117 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
10119         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
10121         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
10122         * math/mathcalls.h: Add prototype for sincos.
10123         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
10124         inlined sin and cos function.
10125         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
10126         Add optimized version of finite.
10127         Rewrite sincos function to handle too large arguments.
10128         * sysdeps/libm-i387/s_cos.S: Better code alignment.
10129         * sysdeps/libm-i387/s_cosl.S: Likewise.
10130         * sysdeps/libm-i387/s_sin.S: Likewise.
10131         * sysdeps/libm-i387/s_sinl.S: Likewise.
10132         * sysdeps/libm-i387/s_finite.S: Yet better code.
10133         * sysdeps/libm-i387/s_finitef.S: Likewise.
10134         * sysdeps/libm-i387/s_sincos.S: New file.
10135         * sysdeps/libm-i387/s_sincosf.S: New file.
10136         * sysdeps/libm-i387/s_sincosl.S: New file.
10137         * sysdeps/libm-ieee754/s_sincos.c: New file.
10138         * sysdeps/libm-ieee754/s_sincosf.c: New file.
10139         * sysdeps/libm-ieee754/s_sincosl.c: New file.
10141         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
10142         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
10143         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
10144         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
10145         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
10146         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
10147         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
10148         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
10149         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
10150         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
10151         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
10152         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
10153         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
10154         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
10155         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
10157         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
10158         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
10160         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
10161         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
10163         * nis/Makefile (services): Mention nisplus before compat.
10164         * nis/nis_call.c (__do_niscall): Change type of variable server_len
10165         to prevent warning.
10166         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
10167         cast to prevent warning.
10168         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
10169         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
10170         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
10171         type of variable `i' to prevent warning.
10172         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
10173         Likewise.
10174         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
10175         Likewise.
10176         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
10177         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
10178         Likewise.
10180         * sysdeps/generic/Dist: Remove old math implementation files.
10181         * sysdeps/generic/mathimpl.h: Removed.
10182         * sysdeps/generic/trig.h: Removed.
10183         * sysdeps/generic/sincos.c: Removed.
10184         * sysdeps/generic/asincos.c: Removed.
10185         * sysdeps/generic/exp__E.c: Removed.
10186         * sysdeps/generic/log__L.c: Removed.
10188 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10190         * malloc/malloc.c (fREe): Small optimization.  Before returning,
10191         add fast check whether the heap containing top can go away.
10193 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
10195         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
10196         failing to allocate a new chunk, also try the main_arena.  It may
10197         be that we are only running out of mmapped regions, and other
10198         arenas cannot be enlarged sufficiently.
10199         (new_heap, malloc_extend_top): Handle top_pad more consistently,
10200         i.e. only in new_heap().
10202 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
10204         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
10205         if cross-compiling.
10207         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
10209         * configure.in: Add ARM support.
10210         * sysdeps/arm/Implies: New file.
10211         * sysdeps/arm/__longjmp.S: New file.
10212         * sysdeps/arm/bsd-_setjmp: New file.
10213         * sysdeps/arm/bsd-setjmp: New file.
10214         * sysdeps/arm/bytesex.h: New file.
10215         * sysdeps/arm/fpu_control.h: New file.
10216         * sysdeps/arm/jmp_buf.h: New file.
10217         * sysdeps/arm/setjmp.h: New file.
10218         * sysdeps/arm/sysdep.h: New file.
10219         * sysdeps/unix/arm/config.h: New file.
10221 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
10223         * sysdeps/libm-ieee754/s_cproj.c: New file.
10224         * sysdeps/libm-ieee754/s_cprojf.c: New file.
10225         * sysdeps/libm-ieee754/s_cprojl.c: New file.
10227 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
10229         * isomac.c: Improve messages.
10231         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
10232         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
10233         s_catanh, s_csqrt, and s_cpow.
10234         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
10235         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
10236         csqrt_test, cpow_test, rint_test.
10237         * math/math.h: Include new header mathbits.h which defines some
10238         more (system dependent) types and some macros.
10239         (isfinite): Use __finite instead of fpclassify.
10240         * sysdeps/generic/mathbits.h: New file.
10241         * sysdeps/i386/fpu/mathbits.h: New file.
10242         * sysdeps/i386/huge_val.h: Don't define INFINITY.
10243         * sysdeps/ieee754/huge_val.h: Likewise.
10244         * sysdeps/m68k/huge_val.h: Likewise.
10246         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
10247         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
10249         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
10250         standard first.
10252         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
10253         * sysdeps/libm-i387/s_finitef.S: Likewise.
10254         * sysdeps/libm-i387/s_finitel.S: Likewise.
10255         Provided by Joe Keane <jgk@jgk.org>.
10257         * sysdeps/libm-i387/s_nearbyint.S: New file.
10258         * sysdeps/libm-i387/s_nearbyintf.S: New file.
10259         * sysdeps/libm-i387/s_nearbyintl.S: New file.
10260         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
10261         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
10262         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
10264         * sysdeps/libm-ieee754/s_cacos.c: New file.
10265         * sysdeps/libm-ieee754/s_cacosf.c: New file.
10266         * sysdeps/libm-ieee754/s_cacosl.c: New file.
10267         * sysdeps/libm-ieee754/s_cacosh.c: New file.
10268         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
10269         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
10270         * sysdeps/libm-ieee754/s_casin.c: New file.
10271         * sysdeps/libm-ieee754/s_casinf.c: New file.
10272         * sysdeps/libm-ieee754/s_casinl.c: New file.
10273         * sysdeps/libm-ieee754/s_casinh.c: New file.
10274         * sysdeps/libm-ieee754/s_casinhf.c: New file.
10275         * sysdeps/libm-ieee754/s_casinhl.c: New file.
10276         * sysdeps/libm-ieee754/s_catan.c: New file.
10277         * sysdeps/libm-ieee754/s_catanf.c: New file.
10278         * sysdeps/libm-ieee754/s_catanl.c: New file.
10279         * sysdeps/libm-ieee754/s_catanh.c: New file.
10280         * sysdeps/libm-ieee754/s_catanhf.c: New file.
10281         * sysdeps/libm-ieee754/s_catanhl.c: New file.
10282         * sysdeps/libm-ieee754/s_ccos.c: New file.
10283         * sysdeps/libm-ieee754/s_ccosf.c: New file.
10284         * sysdeps/libm-ieee754/s_ccosl.c: New file.
10285         * sysdeps/libm-ieee754/s_cpow.c: New file.
10286         * sysdeps/libm-ieee754/s_cpowf.c: New file.
10287         * sysdeps/libm-ieee754/s_cpowl.c: New file.
10288         * sysdeps/libm-ieee754/s_csin.c: New file.
10289         * sysdeps/libm-ieee754/s_csinf.c: New file.
10290         * sysdeps/libm-ieee754/s_csinl.c: New file.
10291         * sysdeps/libm-ieee754/s_csqrt.c: New file.
10292         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
10293         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
10294         * sysdeps/libm-ieee754/s_ctan.c: New file.
10295         * sysdeps/libm-ieee754/s_ctanf.c: New file.
10296         * sysdeps/libm-ieee754/s_ctanl.c: New file.
10297         * sysdeps/libm-ieee754/s_ctanh.c: New file.
10298         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
10299         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
10301         * time/strftime.c (memset_space): Increment pointer.
10302         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
10303         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
10305 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
10307         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
10308         pipe, syscall.
10310 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10312         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
10313         probably still wrong.
10314         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
10315         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
10317         * math/libm-test.c (remquo_test): Corrected.
10319 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10321         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
10322         * sysdeps/m68k/fpu/s_rinttol.c: New file.
10323         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
10325         * math/libm-test.c (remquo_test): Use check_long to test the
10326         quotient.
10327         (cbrt_test): Add epsilons for long double.
10329 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10331         * locale/localeinfo.h: Update declaration of _nl_current.
10333 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
10335         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
10337         * math/Makefile (headers): Add fenv.h and fenvbits.h.
10338         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
10339         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
10340         fegetenv, feholdexcpt, fesetenv, feupdateenv.
10341         (libm-calls): Add s_round.
10342         * math/fenv.h: New file.
10343         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
10344         Add roundtol_check and roundtoll_check.
10345         * math/math.h: Pretty printing.
10346         * sysdeps/i386/fpu/fclrexcpt.c: New file.
10347         * sysdeps/i386/fpu/fegetenv.c: New file.
10348         * sysdeps/i386/fpu/fegetround.c: New file.
10349         * sysdeps/i386/fpu/feholdexcpt.c: New file.
10350         * sysdeps/i386/fpu/fenvbits.h: New file.
10351         * sysdeps/i386/fpu/fesetenv.c: New file.
10352         * sysdeps/i386/fpu/fesetround.c: New file.
10353         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
10354         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
10355         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
10356         * sysdeps/i386/fpu/ftestexcept.c: New file.
10357         * sysdeps/stub/fclrexcpt.c: New file.
10358         * sysdeps/stub/fegetenv.c: New file.
10359         * sysdeps/stub/fegetround.c: New file.
10360         * sysdeps/stub/feholdexcpt.c: New file.
10361         * sysdeps/stub/fenvbits.h: New file.
10362         * sysdeps/stub/fesetenv.c: New file.
10363         * sysdeps/stub/fesetround.c: New file.
10364         * sysdeps/stub/fgetexcptflg.c: New file.
10365         * sysdeps/stub/fraiseexcpt.c: New file.
10366         * sysdeps/stub/fsetexcptflg.c: New file.
10367         * sysdeps/stub/ftestexcept.c: New file.
10369         * sysdeps/libm-i387/s_trunc.S: New file.
10370         * sysdeps/libm-i387/s_truncf.S: New file.
10371         * sysdeps/libm-i387/s_truncl.S: New file.
10373         * sysdeps/libm-ieee754/s_round.c: New file.
10374         * sysdeps/libm-ieee754/s_roundf.c: New file.
10375         * sysdeps/libm-ieee754/s_roundl.c: New file.
10377         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
10378         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
10379         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
10380         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
10381         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
10382         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
10383         * sysdeps/libm-ieee754/s_clog.c: Likewise.
10384         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
10385         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
10386         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
10387         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
10388         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
10390         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
10391         63 bits.
10392         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
10394         * po/pl.po: Updated.
10396         * string/swab.c: Correctly handle array of odd length.
10398         * sysdeps/generic/memmem.c: Update copyright.
10399         * manual/string.texi: Correct prototype in memmem documentation.
10401 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
10403         * hurd/Makefile (sunrpc-headers): Add clnt.h.
10404         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
10406 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10408         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
10409         the proper value from the GOT.  Pass argument block to
10410         init function.
10412         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
10413         _init ().
10415         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
10416         wrong the first time.
10418         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
10419         register.
10421         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
10423         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
10424         SYSDEP_CALL_INIT.
10426         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
10427         NSIG and duplicated SIGIOT.
10429 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10431         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
10432         probably still wrong.
10433         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
10434         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
10436         * math/libm-test.c (remquo_test): Corrected.
10438 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10440         * Makefile (parent-tests): New target to run the tests to that
10441         they are executed even if some subdir tests have failed.
10442         (tests): Depend on parent-tests instead of running the tests
10443         directly.
10445 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10447         Clean up name space pollution in libnss_*.so:
10448         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
10449         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
10450         memcpy and bcmp by memcmp to clean up namespace.
10451         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
10452         dbopen.
10453         * nss/nss_db/db-alias.c (internal_setent): Likewise.
10454         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
10455         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
10456         the latter a weak alias.
10457         * db/db.h: Declare __dbopen.
10458         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
10459         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
10460         prefix and make the old names weak aliases.
10461         * db/mpool.h: Declare the new internal names.
10463 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10465         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
10466         * stdio-common/tstscanf.c: Add test case for this.
10468 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10470         * math/libm-test.c: Fix more typos.
10472 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10474         * math/libm-test.c (csinh_test): Fix test names.
10475         (ccosh_test): Likewise.
10477         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
10478         computing it directly.
10479         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
10480         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
10482         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
10483         computing it directly.
10484         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
10485         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
10487         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
10488         of wrapper.
10489         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
10490         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
10491         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
10492         special values.  Avoid use of fsincos if all that is needed is the
10493         quadrant.
10495         * sysdeps/m68k/fpu/s_ccosh.c: New file.
10496         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
10497         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
10498         * sysdeps/m68k/fpu/s_csinh.c: New file.
10499         * sysdeps/m68k/fpu/s_csinhl.c: New file.
10500         * sysdeps/m68k/fpu/s_csinhf.c: New file.
10502 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10504         * manual/Makefile (dir-add.texi): Simplify.
10506 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
10508         * rellns-sh: Rewrite to work also in presence of symlinks.
10510         * argp/argp-fmtstream.c: Add casts to prevent warnings.
10511         * argp/argp-fmtstream.h: Likewise.
10512         * argp/argp-help.c: Likewise.
10514         * elf/dl-minimal.c: Add definition of calloc.
10515         * elf/version.c: Add casts to prevent warnings.
10516         (_dl_check_map_versions): Use calloc instead of malloc+memset.
10518         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
10519         Reported by Greg McGary <gkm@eng.ascend.com>.
10521         * manual/libc.texinfo: Update malloc documentation for new malloc.
10522         * manual/memory.texi: Likewise.
10523         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
10525         * math/libm-test.c (check_long): New function.
10526         (check_longlong): New function.
10527         (rinttol_test): New function.
10528         (rinttoll_test): New function.
10530         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
10531         * nis/nss_compat/compat-pwd.c: Likewise.
10532         * nis/nss_compat/compat-spwd.c: Likewise.
10534         * stdlib/erand48_r.c (erand48_r): Build double value using
10535         ieee754_double union and use random bits in different order to
10536         increase effect of seed.
10537         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
10539         * sunrpc/svc_auth.c: Moved to ...
10540         * sysdeps/generic/svc_auth.c: ...here.
10542         * time/time.h: Pretty print.
10544 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
10546         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
10547         a read-only stream.
10549 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
10551         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
10552         in correct place.
10553         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
10555 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
10557         * stdio-common/Makefile (tests): Add tst-ferror.
10558         * stdio-common/tst-ferror.c: New file.  Some tests for error
10559         indicator of streams.
10560         * stdio-common/tst-ferror.input: New file.
10562         * isomac.c: Let tests not fail because the compiler defines itself
10563         symbols which violate the name space rules.  gcc defines symbols
10564         for the architecture which are not protected by an underscore
10565         character.
10567         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
10568         (libm-calls): Add s_clog.
10569         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
10570         logarithm of complex value.
10571         * sysdeps/libm-ieee754/s_clogf.c: New file.
10572         * sysdeps/libm-ieee754/s_clogl.c: New file.
10573         * math/libm-test.c (clog_test): Compile this function.  Fix a few
10574         typos.
10575         (main): Call clog_test.
10577         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
10578         value to long int.
10579         * sysdeps/libm-i387/s_rinttol.S: New file.
10580         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
10581         value to long long int.
10582         * sysdeps/libm-i387/s_rinttoll.S: New file.
10584         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
10585         version was full of errors.
10587         * math/math.h (rinttol): Argument is of type `long double' not
10588         `double'.
10589         (rinttoll): Likewise.
10590         (roundtol): Likewise.
10591         (roundtoll): Likewise.
10593 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
10595         * posix/getopt.c (_getopt_initialize): Preserve optind.
10596         (_getopt_internal): Set optind to 1 if optind == 0 before
10597         calling _getopt_initialize ().
10599 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10601         * nis/rpcsvc/nislib.h: Change const nis_name to new type
10602         const_nis_name.
10603         * nis/nis_intern.c: Likewise.
10604         * nis/nis_intern.h: Likewise.
10605         * nis/nis_server.c: Likewise.
10606         * nis/nis_subr.c: Likewise.
10607         * nis/nis_table.c: Likewise.
10608         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
10609         nis_add().
10611         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
10612         * nis/nss_compat/compat-spwd.c: Likewise.
10614 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
10616         * libio/fileops.c (_IO_file_overflow): Set error when try to write
10617         on a read-only stream.
10619         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
10620         (ut_time): Define it only if _NO_UT_TIME is not defined.
10622 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
10624         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
10625         if not already defined.
10627 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
10629         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
10630         get definition of sa_family_t for <linux/atalk.h>.
10631         Reported by a sun <asun@zoology.washington.edu>.
10633         * malloc/malloc.c (cALLOc): Little optimization.
10635 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
10637         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
10638         headers but instead add comments and parameter names.
10639         Don't use BSD specific types in prototypes.
10641         * manual/nss.texi: Correct a few typos and errors.
10643         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
10644         algorithm.
10645         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
10646         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
10648         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
10649         with new algorithm.
10650         * sysdeps/libm-i387/s_cbrtf.S: New file.
10651         * sysdeps/libm-i387/s_cbrtl.S: New file.
10653         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
10654         * sysdeps/libm-i387/s_frexpf.S: Likewise.
10655         * sysdeps/libm-i387/s_frexpl.S: Likewise.
10657 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10659         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
10661         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
10662         DES part only with secure RPC add-on.
10664         * nis/nis_names.c (nis_modify): Fix rpc function number.
10666         * nis/nis_server.c: Fix typos.
10668         * nis/nss_compat/compat-grp.c: Add NIS+ support.
10669         * nis/nss_compat/compat-pwd.c: Likewise.
10670         * nis/nss_compat/compat-spwd.c: Likewise.
10672         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
10673         signals success.
10675         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
10676         secure RPC.
10677         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10678         * nis/ypclnt.c: Likewise.
10679         * nis/nis_intern.h: Likewise.
10681         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
10682         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10683         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10684         * nis/nss_nisplus/nisplus-network.c: Likewise.
10685         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10686         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10687         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10688         * nis/nss_nisplus/nisplus-service.c: Likewise.
10689         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10691         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
10692         and speedup.
10693         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10695 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
10697         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
10698         arguments.
10700 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
10702         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
10703         typo.
10705 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
10707         * sysdeps/libm-ieee754/s_nanf.c:
10708         * sysdeps/libm-ieee754/s_nan.c:
10709         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
10710         declaration of sprintf.
10712 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
10714         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
10715         strong_alias.
10716         Reported by sun <asun@zoology.washington.edu>.
10718         * rpc/auth.h: Removed.
10719         * rpc/auth_des.h: Removed.
10720         * sunrpc/rpc/auth.h: Moved to ...
10721         * sysdeps/generic/rpc/auth.h: ...here.
10722         * sunrpc/rpc/auth_des.h: Moved to ...
10723         * sysdeps/generic/rpc/auth_des.h: ...here.
10725 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
10727         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
10728         * sysdeps/libm-i387/s_frexpf.S: New file.
10729         * sysdeps/libm-i387/s_frexpl.S: New file.
10731 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
10733         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
10734         (sysdep_headers): Remove netinet/icmp.h.
10736 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
10738         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
10739         threaded programs.
10740         * manual/stdio.texi: Change wording for snprintf description a bit.
10741         Correct typo in example.
10742         * manual/lang.texi: Add documentation of __va_copy.
10744         * Makefile: Add rule to easily generate dir-add.texi file.
10745         * manual/Makefile: Likewise.
10747         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
10748         Change description of strtoll and strtoull to make clear these
10749         are the preferred names.
10750         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
10751         and friends.
10752         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
10753         HUGE_VALL.
10755 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
10757         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
10758         adjustment if the underlying function say it is too small.
10759         * pwd/fgetpwent.c: Likewise.
10760         * shadow/fgetspent.c: Likewise.
10761         * shadow/sgetspent.c: Likewise.
10763         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
10764         this means there was not enough room for the gr_mem array.
10766         * nss/nss_files/files-XXX.c: Leave loop and return error if
10767         `parse_result' returns -1.
10769         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
10770         of trailing list fails because of low memory.
10771         (parse_list): Rewrite.  The logic was completly incorrect since
10772         the checks for overflowing the array were not executed when
10773         needed.
10775         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
10776         signals success.
10778         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
10779         * nss/getXXent.c: Likewise.
10781         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
10782         is set in mantissa.
10783         * stdlib/strtof.c: Likewise.
10784         * stdlib/strtold.c: Likewise.
10785         * wcsmbs/wcstof.c: Likewise.
10786         * wcsmbs/wcstold.c: Likewise.
10788         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
10789         string.
10790         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
10791         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
10793 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
10795         * manual/errno.texi: Add description of strerror_r.
10797 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
10799         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
10801 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
10803         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
10805 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10807         * sysdeps/m68k/fpu/s_cexp.c: New file.
10808         * sysdeps/m68k/fpu/s_cexpf.c: New file.
10809         * sysdeps/m68k/fpu/s_cexpl.c: New file.
10810         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
10811         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
10812         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
10813         * sysdeps/m68k/fpu/s_trunc.c: New file.
10814         * sysdeps/m68k/fpu/s_truncf.c: New file.
10815         * sysdeps/m68k/fpu/s_truncl.c: New file.
10817         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
10818         * sysdeps/m68k/fpu/s_modff.c: Adapted.
10819         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
10821         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
10822         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
10823         typo in test for `y = 0.5'.
10825         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
10826         __nearbyint.  Remove __modf.
10828         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
10829         Define for gcc bug workaround.
10831         * math/libm-test.c (log2_test): Add epsilon for long double to
10832         "log2 (e)" and "log2 (16)".
10833         (modf_test): Fix test name.
10834         (sqrt_test): Add missing FUNC.
10836 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10838         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
10840 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10842         * stdlib/stdlib.h: Declare __clearenv.
10844 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10846         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
10847         the last change.
10849 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10851         * configure.in: Call AC_CANONICAL_BUILD before referencing
10852         $build.  Fix test for BUILD_CC.
10854 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
10856         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
10858 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
10860         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
10862 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
10864         * sysdeps/i386/memset.c: Fix typo.
10865         * sysdeps/stub/fchmod.c: Fix typo.
10866         * sysdeps/stub/fchdir.c: Fix typo.
10867         Reported by Fila Kolodny <fila@ibi.com>.
10869 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
10871         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
10872         * math/libm-test.c (initialize): Make strings unique and force
10873         values to memory.
10875         * posix/regex.c: Debug debugging code.
10877         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
10878         syntax for local label.
10879         * sysdeps/i386/add_n.S: Use correct local label syntax for the
10880         binary format.
10881         * sysdeps/i386/addmul_1.S: Likewise.
10882         * sysdeps/i386/lshift.S: Likewise.
10883         * sysdeps/i386/memchr.S: Likewise.
10884         * sysdeps/i386/memcmp.S: Likewise.
10885         * sysdeps/i386/mul_1.S: Likewise.
10886         * sysdeps/i386/rshift.S: Likewise.
10887         * sysdeps/i386/stpcpy.S: Likewise.
10888         * sysdeps/i386/stpncpy.S: Likewise.
10889         * sysdeps/i386/strchr.S: Likewise.
10890         * sysdeps/i386/strcspn.S: Likewise.
10891         * sysdeps/i386/strlen.S: Likewise.
10892         * sysdeps/i386/strpbrk.S: Likewise.
10893         * sysdeps/i386/strrchr.S: Likewise.
10894         * sysdeps/i386/strspn.S: Likewise.
10895         * sysdeps/i386/strtok.S: Likewise.
10896         * sysdeps/i386/sub_n.S: Likewise.
10897         * sysdeps/i386/submul_1.S: Likewise.
10898         * sysdeps/i386/i486/strcat.S: Likewise.
10899         * sysdeps/i386/i486/strlen.S: Likewise.
10900         * sysdeps/i386/i586/add_n.S: Likewise.
10901         * sysdeps/i386/i586/addmul_1.S: Likewise.
10902         * sysdeps/i386/i586/lshift.S: Likewise.
10903         * sysdeps/i386/i586/memset.S: Likewise.
10904         * sysdeps/i386/i586/mul_1.S: Likewise.
10905         * sysdeps/i386/i586/rshift.S: Likewise.
10906         * sysdeps/i386/i586/strchr.S: Likewise.
10907         * sysdeps/i386/i586/strlen.S: Likewise.
10908         * sysdeps/i386/i586/sub_n.S: Likewise.
10909         * sysdeps/i386/i586/submul_1.S: Likewise.
10911         * sysdeps/stub/s_log2l.c: Correct function name.
10913         * time/africa: Updated from ADO tzdata1997e.
10914         * time/antarctica: Likewise.
10915         * time/asia: Likewise.
10916         * time/australasia: Likewise.
10917         * time/europe: Likewise.
10918         * time/northamerica: Likewise.
10919         * time/southamerica: Likewise.
10920         * time/private.h: Updated from ADO tzcode1997d.
10921         * time/scheck.c: Likewise.
10923 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
10925         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
10927 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
10929         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
10930         * string/tst-strlen.c: Also test various string alignments.
10932 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
10934         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
10935         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
10937         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
10938         program base address is 0x01800000 if we can't otherwise tell what
10939         it is.
10940         (elf_machine_rela): Replace `assertion failed' with real error
10941         messages.
10943         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
10944         Put in extra parentheses to make explicit the relative precedence
10945         of + and >>.
10947         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
10948         pass.
10949         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
10951         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
10952         instead of .text.
10954 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
10956         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
10957         instead.
10959         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
10960         thread-specific memory in multi-threaded programs.
10962         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
10963         * sysdeps/stub/s_exp2f.c: New file.
10964         * sysdeps/stub/s_exp2l.c: New file.
10965         Reported by a sun <asun@zoology.washington.edu>.
10967         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
10968         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
10969         Suggested by a sun <asun@zoology.washington.edu>.
10971 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
10973         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
10974         of <netinet/icmp.h>.
10975         Patch by a sun <asun@zoology.washington.edu>.
10977 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
10979         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
10980         csqrt_test.
10982 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
10984         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
10986         * math/complex.h: Add C++ protection.
10988         * math/libm-test.c (cexp_test): Correct a few bugs.
10989         (csinh_test): New function.
10990         (ccosh_test): New function.
10991         (cacos_test): New function.
10992         (cacosh_test): New function.
10993         (casinh_test): New function.
10994         (catanh_test): New function.
10995         (main): Add calls to csinh_test and ccosh_test.
10997         * misc/Makefile (tests): Add tst-tsearch.
10998         Add rule to link tst-tsearch against libm.
10999         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
11000         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
11001         * misc/tst-tsearch.c: New file.
11003         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
11004         before using system.
11005         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
11006         before using popen.
11008         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
11009         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
11010         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
11012         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
11013         of complex exponential function.
11014         * sysdeps/libm-i387/s_cexpf.S: New file.
11015         * sysdeps/libm-i387/s_cexpl.S: New file.
11017         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
11018         complex cosh function.
11019         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
11020         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
11021         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
11022         complex sinh function.
11023         * sysdeps/libm-ieee754/s_csinhf.c: New file.
11024         * sysdeps/libm-ieee754/s_csinhl.c: New file.
11026         * math/carg.c: New file.  Generic implementatio of carg function.
11027         * math/cargf.c: New file.
11028         * math/cargl.c: New file.
11030 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
11032         * sysdeps/posix/system.c: Update copyright.
11034 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
11036         * elf/dl-error.c (_dl_catch_error): Add another argument which is
11037         passed to OPERATE.
11038         (_dl_receive_error): Likewise.
11039         * elf/link.h: Change prototypes for _dl_catch_error and
11040         _dl_receive_error to reflect above change.
11041         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
11042         with additional argument with pointer to data.
11043         * elf/dlclose.c: Likewise.
11044         * elf/dlerror.c: Likewise.
11045         * elf/dlopen.c: Likewise.
11046         * elf/dlsym.c: Likewise.
11047         * elf/dlvsym.c: Likewise.
11048         * elf/rtld.c: Likewise.
11049         * nss/nsswitch.c: Likewise.
11050         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
11052 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11054         * elf/dl-error.c: Manually set up the values of "c", this avoids a
11055         call to memcpy and a zero 152 bytes structure.
11057         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
11058         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
11059         pass.
11061         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
11063         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
11064         kernel_sigaction.h
11066         Add Linux/SPARC specific definitions.
11067         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
11068         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
11069         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
11070         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
11071         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
11072         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
11073         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
11075 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
11077         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
11078         __getservbyname_r() not getservbyname().
11079         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
11081 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
11083         * gmon/gmon.c (monstartup): Mark all messages.
11084         (write_call_graph): Rewrite to use larger I/O vector for writev
11085         call to reduce syscall overhead.
11086         (write_bb_counts): Simplify writev handling.
11088         * inet/rexec.c: Make string parameters `const'.
11089         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
11090         rresvport.
11092         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
11093         in libm-test.
11094         * math/libm-test.c (this_does_nothing): Remove functions.  It's
11095         notuseful on any platform but ix86.
11096         (inverse_func_pair_test): Don't use this_does_nothing.  Use
11097         memory reference.
11098         (identities1_test): Likewise.
11099         (identities2_test): Likewise.
11100         (identities3_test): Likewise.
11101         (basic_test): Likewise.
11102         Patch by Andreas Schwab.
11103         (BUILD_COMPLEX): New macro.  Create complex number from real and
11104         imaginary parts.  This works around bugs/inefficiencies in current
11105         gcc.
11106         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
11108         * nss/nsswitch.c: Fix typo.
11110         * posix/glob.h: Add declaration for glob_pattern_p.
11111         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
11112         make glob_pattern_p a weak alias.  This function is used in other
11113         packages (e.g. bash).
11115         * signal/Makefile (routines): Add sigisempty, sigandset, and
11116         sigorset.
11117         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
11118         sigorset.
11119         * signal/sigisempty.c: New file.
11120         * signal/sigandset.c: New file.
11121         * signal/sigorset.c: New file.
11122         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
11123         and __sigorset.
11124         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
11126         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
11127         determines the bits in the mantissa part of the NaN.
11128         * stdlib/strtof.c: Define SET_MANTISSA for float type.
11129         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
11130         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
11131         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
11133         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
11134         complex number components.  Some more corrects for special cases.
11135         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
11136         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
11138         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
11140         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
11141         ip_icmp.h.  Reported by HJ Lu.
11143 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11145         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
11147         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
11148         i386.
11149         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
11150         ELF_MACHINE_RELOC_NOPLT): Define.
11152 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11154         * grp/grp.h: Include <stddef.h> only once.
11156 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11158         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
11159         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
11161         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
11162         TAB3, if one of them is defined.
11164 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
11166         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
11167         is found.
11168         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
11170 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11172         * sunrpc/Makefile: Comment gccwarn out.
11173         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
11174         with enabled warnings.
11175         * sunrpc/auth_unix.c: Likewise.
11176         * sunrpc/authuxprot.c: Likewise.
11177         * sunrpc/bindrsvprt.c: Likewise.
11178         * sunrpc/clnt_gen.c: Likewise.
11179         * sunrpc/clnt_perr.c: Likewise.
11180         * sunrpc/clnt_raw.c: Likewise.
11181         * sunrpc/clnt_simp.c: Likewise.
11182         * sunrpc/clnt_tcp.c: Likewise.
11183         * sunrpc/clnt_udp.c: Likewise.
11184         * sunrpc/get_myaddr.c: Likewise.
11185         * sunrpc/getrpcport.c: Likewise.
11186         * sunrpc/pm_getmaps.c: Likewise.
11187         * sunrpc/pm_getport.c: Likewise.
11188         * sunrpc/pmap_clnt.c: Likewise.
11189         * sunrpc/pmap_prot.c: Likewise.
11190         * sunrpc/pmap_prot2.c: Likewise.
11191         * sunrpc/pmap_rmt.c: Likewise.
11192         * sunrpc/rpc/auth.h: Likewise.
11193         * sunrpc/rpc/clnt.h: Likewise.
11194         * sunrpc/rpc/pmap_clnt.h: Likewise.
11195         * sunrpc/rpc/svc.h: Likewise.
11196         * sunrpc/rpc/svc_auth.h: Likewise.
11197         * sunrpc/rpc/types.h: Likewise.
11198         * sunrpc/rpc/xdr.h: Likewise.
11199         * sunrpc/rpc_clntout.c: Likewise.
11200         * sunrpc/rpc_cmsg.c: Likewise.
11201         * sunrpc/rpc_dtable.c: Likewise.
11202         * sunrpc/rpc_prot.c: Likewise.
11203         * sunrpc/svc.c: Likewise.
11204         * sunrpc/svc_auth.c: Likewise.
11205         * sunrpc/svc_authux.c: Likewise.
11206         * sunrpc/svc_raw.c: Likewise.
11207         * sunrpc/svc_run.c: Likewise.
11208         * sunrpc/svc_simple.c: Likewise.
11209         * sunrpc/svc_tcp.c: Likewise.
11210         * sunrpc/svc_udp.c: Likewise.
11211         * sunrpc/xdr.c: Likewise.
11212         * sunrpc/xdr_array.c: Likewise.
11213         * sunrpc/xdr_mem.c: Likewise.
11214         * sunrpc/xdr_rec.c: Likewise.
11215         * sunrpc/xdr_ref.c: Likewise.
11216         * sunrpc/xdr_stdio.c: Likewise.
11218 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
11220         * math/libm-test.c (log2_test): Compile this function and call it.
11221         (exp2_test): Likewise, but check whether function really exists
11222         before testing.
11224         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
11226 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
11228         Implement exp2 function.
11229         * sysdeps/libm-i387/s_exp2.S: New file.
11230         * sysdeps/libm-i387/s_exp2f.S: New file.
11231         * sysdeps/libm-i387/s_exp2l.S: New file.
11233         Implement log2 function.
11234         * sysdeps/libm-i387/s_log2.S: New file.
11235         * sysdeps/libm-i387/s_log2f.S: New file.
11236         * sysdeps/libm-i387/s_log2l.S: New file.
11237         * sysdeps/libm-ieee754/s_log2.c: New file.
11238         * sysdeps/libm-ieee754/s_log2f.c: New file.
11239         * sysdeps/stub/s_log2.c: New file.  Stub version.
11241 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
11243         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
11245         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
11246         change to tst-setjmp.c.
11248         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
11249         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
11250         * sysdeps/sparc/dl-machine.h: Likewise.
11252         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
11253         Add missing qs variable.
11254         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
11256 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
11258         * gmon/gmon.c: Optimize a bit by using more sets of records to
11259         write in a single writev call.
11261         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
11262         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
11263         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
11264         `const'.
11265         Use __MATHDECLX for isinf and finite.
11267         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
11268         clearenv a weak alias.
11270         Implement complex exponential function.
11271         * sysdeps/libm-ieee754/s_cexp.c: New file.
11272         * sysdeps/libm-ieee754/s_cexpf.c: New file.
11273         * sysdeps/libm-ieee754/s_cexpl.c: New file.
11275         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
11276         nan a weak alias.
11277         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
11278         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
11280         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
11281         of type clashes.  Add all definitions here.
11283         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
11284         to XPG4.2.
11285         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
11286         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11288         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
11290         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
11291         use of kernel types.
11293 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
11295         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
11296         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
11298 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11300         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
11302 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11304         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
11306 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11308         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
11309         * sysdeps/m68k/fpu/s_logb.c: Removed.
11310         * sysdeps/m68k/fpu/s_logbf.c: Removed.
11311         * sysdeps/m68k/fpu/s_logbl.c: Removed.
11313         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
11314         Don't define here.
11315         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
11316         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11317         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
11318         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
11319         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
11320         * sysdeps/m68k/fpu/e_powl.c: Likewise.
11322         * sysdeps/m68k/fpu/s_log2.c: New file.
11323         * sysdeps/m68k/fpu/s_log2f.c: New file.
11324         * sysdeps/m68k/fpu/s_log2l.c: New file.
11325         * sysdeps/m68k/fpu/s_exp2.c: New file.
11326         * sysdeps/m68k/fpu/s_exp2f.c: New file.
11327         * sysdeps/m68k/fpu/s_exp2l.c: New file.
11329 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11331         * Makeconfig (all): Make sure this is always the default goal.
11333 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11335         * math/libm-test.c: Increase epsilon in many places.  Fix many
11336         typos.  Allow optinal argument also for short option.
11338 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11340         * math/Makefile ($(objpfx)$(tests)): Link against libm.
11342 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
11344         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
11345         denormalized numbers.
11347         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
11348         Don't include <endian.h>.
11350 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11351         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
11352         Don't include <endian.h>.
11354 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
11356         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
11358 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11360         * math/cmathcalls.h: Remove whitespace before function name in use
11361         of __MATHDECL macro, to make it compilable with a traditional
11362         preprocessor.
11364 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
11366         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
11367         compiler.
11369 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
11371         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
11372         by 31 positions to get 0/1 result.
11373         Patch by Joe Keane <jgk@jgk.org>.
11375 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
11377         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
11378         to prevent from ld linking in getopt.o even if there is another
11379         incompatible one.
11381         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
11383 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11385         * nis/nis_call.c (__do_niscall): Print message if cold start file
11386         does not exist.
11387         * nis/nis_file.c: Don't print error messages.
11388         * nis/nis_local_names.c (nis_local_host): Fix pointer errors.
11389         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
11390         * nis/rpcsvc/nis.h: Likewise.
11391         * nis/ypclnt.c: Fix prototypes.
11393 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
11395         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
11396         returning.
11397         * sysdeps/libm-i387/e_scalbf.S: Likewise.
11398         * sysdeps/libm-i387/e_scalbl.S: Likewise.
11399         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
11401         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
11402         dynamic linker was called implicitly by the kernel.
11403         Reported by Eric Youngdale <eric@andante.jic.com>.
11405         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
11406         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
11407         prevent clever optimizations which corrupt the tests.
11409 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
11411         * math/libm-test.c (scalb_test): New function.
11412         (sqrt_test): New function.
11413         (scalbn_test): New function.
11414         (ilogb_test): New function.
11415         (main): Added calls for new test functions.
11416         (ldexp_test): Add another test for ldexp(x,0).
11418 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
11420         * math/libm-test.c (remquo_test): Correct messages so that they
11421         match the tests.
11422         (copysign_test): Likewise.
11424 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
11426         * stdio-common/Makefile (routines): Add printf_size.
11428         * stdio-common/printf.h: Add declarations for printf_size and
11429         printf_size_info.
11431         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
11432         declaration.
11433         (parse_one_spec): Test whether __printf_function_table is not NULL
11434         before using registered handlers and don't test
11435         __printf_arginfo_table.  Update nargs also when handler is
11436         registered.
11438         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
11439         processed in fast loop.
11441         * stdio-common/printf_size: New file.
11443 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
11445         * time/sys/time.h: Make values ITIMER_* also available as macros.
11447         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
11448         __fstat but instead __fxstat directly to avoid dependency on
11449         libc.a when inline failed.
11450         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
11452         * math/Makefile (libm-routines): Add s_remquo.
11453         * sysdeps/libm-i387/s_remquo.S: New file.
11454         * sysdeps/libm-i387/s_remquof.S: New file.
11455         * sysdeps/libm-i387/s_remquol.S: New file.
11456         * sysdeps/libm-ieee754/s_remquo.c: New file.
11457         * sysdeps/libm-ieee754/s_remquof.c: New file.
11458         * sysdeps/libm-ieee754/s_remquol.c: New file.
11460         * math/libm-test.c (remquo_test): New function.
11462         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
11463         correctly.
11465 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
11467         * math/Makefile (libm-calls): Add s_nan.
11468         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
11469         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
11470         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
11472         * math/libm-test.c (basic_tests): Add tests for `nan' function.
11474         * math/libm-test.c (copysign_test): New function.
11475         (main): Call copysign_test.
11477 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
11479         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
11480         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
11481         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
11482         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
11484         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
11485         New functions.  Test these functions.
11486         (main): Call above new functions.
11488 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
11490         * Net release 2.0.2.
11492 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
11494         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
11495         XTABS.
11496         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
11497         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
11498         of Sun Dec 15 16:33:44 1996.
11499         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
11501 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
11503         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
11504         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
11505         consult their values.
11506         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
11507         ELF_MACHINE_RELOC_NOPLT): New macros.
11509         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
11510         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
11511         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
11513         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
11514         symbol lookup before checking reloc type except for R_386_RELATIVE.
11515         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
11517         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
11518         per-machine since it supposedly can't happen on i386.
11520         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
11521         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
11522         indirection from REF arg; change callers.
11523         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
11524         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
11525         FLAGS arg altogether.
11526         * elf/dlsym.c: Remove argument of FLAGS parameter.
11527         * elf/dlvsym.c: Likewise.
11528         * elf/link.h: Update decls.
11530 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
11532         * Makefile (distribute): Add BUGS.
11534         * sysdeps/generic/machine-gmon.h: Update copyright.
11536         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
11537         i386-mcount.
11538         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
11539         use regparam mechanism for call of `fixup' call.
11540         * sysdeps/i386/Dist: New file.
11541         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
11542         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
11543         of gmon definitions.
11545 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
11547         * stdlib/tst-strtol.c (main): Save the value of errno since printf
11548         may modify it, use the saved errno everywhere.
11549         * stdlib/tst-strtod.c (main): Likewise.
11551 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
11553         * posix/glob.c (glob): Fix completely broken handling of
11554         GLOB_BRACE and partly broken handling of GLOB_TILDE.
11555         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
11557 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
11559         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
11560         UIO_FASTIOV value by multiple readv calls since we need atomicity.
11561         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11562         Reported by Matthis Urlichs.
11564 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
11566         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
11567         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
11568         which clobbers %eax.
11570         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
11571         crtbegin.o/crtend.o, using gcc to find them.
11572         (+link): Use them.
11574 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
11576         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
11577         affect the alignment, and therefore the end padding of the structs.
11578         Reported by David Mosberger <davidm@azstarnet.com>.
11579         * gmon.c: Declare the variables with aligned tags to compensate.
11580         Use __writev instead of write for the I/O.
11582         * misc/sys/uio.h: Declare __writev and __readv.
11583         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
11584         * sysdeps/posix/writev.c: Likewise for writev.
11585         * sysdeps/stub/readv.c: Likewise.
11586         * sysdeps/stub/writev.c: Likewise.
11587         * sysdeps/unix/syscalls.list: Likewise.
11588         * sysdeps/unix/sysv/linux/readv.c: Likewise.
11589         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11591         * stdlib/testdiv.c: Exit with error status when we have an error.
11592         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
11593         * sysdeps/alpha/ldiv.S: Likewise.
11595         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
11597 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
11599         * nis/nis_file.c: Unify error handling.
11601 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11603         * nis/nis_file.c (writeColdStartFile): Fix typo.
11604         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
11605         * nis/nis_free.c (nis_free_servers): Likewise.
11606         * nis/rpcsvc/nislib.h: Likewise.
11608         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
11610 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
11612         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
11614         * sysdeps/unix/sparc/sysdep.h: Update copyright.
11616 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11618         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
11619         it.
11621         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
11622         macro on ELF systems.
11624         * sysdeps/sparc/configure.in: Fix.
11626         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
11628         * sysdeps/sparc/setjmp.S: Fix my bugs.
11630         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
11631         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
11632         as-FLAGS-.so.
11633         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
11634         syscall.
11635         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
11636         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
11637         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
11638         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
11640         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
11641         symbol.
11642         (_dl_lookup_symbol): Test against the symbol being global not
11643         against the symbol being not weak (fixes important problem with
11644         the SPARC linker)
11646         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
11648         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
11649         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
11651 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
11653         * Makeconfig: (rpath-link): Add math/ directory.
11654         (math-objdir): New variable.
11655         (link-extra-lib): Define to special version when
11656         $(common-objpfx)!=$(objpfx) to allow libraries outside
11657         $(common-objpfx) be linked to the application.
11659         * math/Makefile: Add rules to build and run test programs.
11660         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
11661         (check_equal): Correct check for error.
11662         (ceil_test): Fix typo.
11663         (log_test): Fix typo.
11664         (floor_test): Fix typo.
11665         (pow_test): Fix typos.
11666         (log10_test): Allow slight incorrectness for `log10(e)'.
11667         (modf_test): New functions to test `modf' et.al.
11668         (hypot_test): Rewrite test completely.
11669         Patch partly by Andreas Jaeger.
11670         * math/test-double.h (__NO_MATH_INLINES): Define only if not
11671         already defined.
11672         * math/test-float.h: Likewise.
11673         * math/test-logdouble.h: Likewise.
11675         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
11676         * setjmp/tst-setjmp.c: Correct and extend test suite.
11677         * sysdeps/i386/__longjmp.S: Update copyright.
11678         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
11679         `__sigsetjmp' in PIC code.
11680         * sysdeps/i386/bsd-setjmp.S: Likewise.
11682         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
11683         overflow.
11684         * sysdeps/libm-i387/e_powf.S: Likewise.
11685         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
11686         case since expm1(-0) == -0.
11687         * sysdeps/libm-i387/s_expm1f.S: Likewise.
11688         * sysdeps/libm-i387/s_expm1l.S: Likewise.
11689         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
11690         access to FP number.
11691         * sysdeps/libm-ieee754/s_modff.c: Likewise.
11692         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
11693         code.  It never worked correctly.
11694         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
11695         case since tanh(-0) == -0.
11696         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
11697         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
11699 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
11701         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
11702         `thousands' to support systems with sizeof(wchar_t) !=
11703         sizeof(wint_t).  Blargh.
11705         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
11706         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
11707         appropriate headers.
11709         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
11710         UIO_FASTIOV and set to 8 if not available.
11711         * sysdeps/unix/sysv/linux/readv.c: Likewise.
11712         Patch by HJ Lu.
11714         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
11715         "kernel_stat.h".
11716         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11717         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
11718         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
11720 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
11722         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
11724         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
11726         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
11728         * sysdeps/unix/sysv/Dist: Add direct.h.
11730         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
11732         * Make-dist ($(tardir).tar): Prefer writing temporary file to
11733         $TMPDIR is available.  The default is /tmp.
11735         * sysdeps/generic/ip.h: Move to...
11736         * sysdeps/generic/netinet/ip.h: ...here.
11738         * Makefile (tests): Quote $(CC) argument to isomac program.
11739         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
11741         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
11742         is placed in wrong place on the stack.
11743         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
11744         * sysdeps/tst-setjmp.c: Add new test for above problem.
11746         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
11747         * sysdeps/libm-i387/e_powf.S: Likewise.
11748         * sysdeps/libm-i387/e_powl.S: Likewise.
11750 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
11752         * time/offtime.c (__offtime): Change type of `yg' to long int.
11753         Reported by a sun <asun@zoology.washington.edu>.
11755 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
11757         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
11758         2.2.0 to prevent version mismatch.
11760 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
11762         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
11763         already defined.
11765 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
11767         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
11768         in ioctls.h.
11770         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
11771         loader first relocates itself.
11772         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
11773         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
11774         jump slot relocation. Prefer relative branches (some PowerPC chips
11775         don't predict absolute branches).
11776         (elf_machine_runtime_setup): Simplify and correct expressions.
11777         (RTLD_START): Fix bug changing _dl_starting_up.
11778         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
11779         strange Linux/PPC padding of initial stack.
11781 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
11783         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
11784         for future expansion.
11785         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
11786         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
11787         can't have a switch statement.
11788         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
11789         static.
11791         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
11792         confusing gcc's idea of the current section.
11793         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
11794         RTLD_START): Likewise.
11796 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
11798         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
11799         elf_machine_runtime_setup): Flush data & instruction caches when
11800         necessary, for 603/604 support. Add better support for large PLTs.
11801         (elf_machine_rela): Remove relocations that wouldn't work if
11802         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
11803         Never target branch relocations at a PLT entry.
11805         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
11806         generating PIC.
11807         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
11808         * sysdeps/powerpc/setjmp.S: Likewise.
11809         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
11810         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
11811         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
11812         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
11814         * sysdeps/powerpc/elf/start.c: Clean up.
11816         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
11817         setjmp call.
11819         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
11821 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
11823         * Make-dist (srcs): Add $(test-srcs).
11824         * MakeTAGS (all-sources): Likewise.
11825         * Makerules (depfiles, common-mostlyclean): Likewise.
11826         * Rules (tests): Likewise.
11828 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
11830         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
11832 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
11834         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
11835         protocol=NULL to match any protocol rather than returning an
11836         error.
11838 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
11840         * nss/nss_files/files-service.c (servbyname): Match any protocol
11841         if proto==NULL.
11843 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
11845         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
11846         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
11847         Proposed by Thomas Bushnell, n/BSG.
11849 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
11851         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
11852         the buffer for replacement.
11854 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
11856         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
11857         sys_lstat and sys_stat.
11859 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11861         Add NIS+ functions
11862         * shlib-versions: Add libnss_nisplus.
11863         * nis/Makefile: Add NIS+ source files.
11864         * nis/nis_call.c: New file.
11865         * nis/nis_clone.c: New file.
11866         * nis/nis_error.c: New file.
11867         * nis/nis_file.c: New file.
11868         * nis/nis_free.c: New file.
11869         * nis/nis_intern.c: New file.
11870         * nis/nis_intern.h: New file.
11871         * nis/nis_local_names.c: New file.
11872         * nis/nis_names.c: New file.
11873         * nis/nis_print.c: New file.
11874         * nis/nis_server.c: New file.
11875         * nis/nis_subr.c: New file.
11876         * nis/nis_table.c: New file.
11877         * nis/nis_xdr.c: New file.
11878         * nis/nss-nisplus.h: New file.
11879         * nis/nss_nisplus/nisplus-alias.c: New file.
11880         * nis/nss_nisplus/nisplus-ethers.c: New file.
11881         * nis/nss_nisplus/nisplus-grp.c: New file.
11882         * nis/nss_nisplus/nisplus-hosts.c: New file.
11883         * nis/nss_nisplus/nisplus-netgrp.c: New file.
11884         * nis/nss_nisplus/nisplus-network.c: New file.
11885         * nis/nss_nisplus/nisplus-proto.c: New file.
11886         * nis/nss_nisplus/nisplus-publickey.c: New file.
11887         * nis/nss_nisplus/nisplus-pwd.c: New file.
11888         * nis/nss_nisplus/nisplus-rpc.c: New file.
11889         * nis/nss_nisplus/nisplus-service.c: New file.
11890         * nis/nss_nisplus/nisplus-spwd.c: New file.
11891         * nis/rpcsvc/nis.h: New file.
11892         * nis/rpcsvc/nis.x: New file.
11893         * nis/rpcsvc/nis_object.x: New file.
11894         * nis/rpcsvc/nis_tags.h: New file.
11895         * nis/rpcsvc/nislib.h: New file.
11897 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
11899         * mach/devstream.c (output/write_some): Don't try and write more
11900         than IO_INBAND_MAX in a single call to device_write_inband.
11902 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
11904         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
11905         type is SVID.
11906         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
11907         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
11909         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
11910         FLAGS parameter.
11912 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
11914         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
11915         Change msg_iovlen and msg_controllen (in struct msghdr) to
11916         `size_t' to keep in step with kernel.
11918 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
11920         * manual/filesys.texi: Add documentation for scandir and alphasort.
11921         * manual/examples/dir2.c: New example for scandir.
11923         * math/math.c (fpclassify): Correct stupid typos.
11925         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
11926         * math/test/float.c: New file.  Frontend for float tests.
11927         * math/test/double.c: New file.  Frontend for double tests.
11928         * math/test/longdouble.c: New file.  Frontend for long double  tests.
11930         * posix/Makefile (routines): Add bsd-getpgrp.
11931         * posix/bsd-getpgrp.c: New file.
11932         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
11933         calls to __bsd_getpgrp.
11935         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
11937         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
11938         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
11939         * sysdeps/ieee754/huge_val.h: Remove definition of long double
11940         definition.  Make it the same as the double definition.
11942         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
11943         * sysdeps/libm-i387/e_acosf.S: Likewise.
11944         * sysdeps/libm-i387/e_acosl.S: Likewise.
11945         * sysdeps/libm-i387/e_asin.S: Likewise.
11946         * sysdeps/libm-i387/e_asinf.S: Likewise.
11947         * sysdeps/libm-i387/e_asinl.S: Likewise.
11948         * sysdeps/libm-i387/e_exp.S: Likewise.
11949         * sysdeps/libm-i387/e_expf.S: Likewise.
11950         * sysdeps/libm-i387/e_expl.S: Likewise.
11951         * sysdeps/libm-i387/s_scalbn.S: Likewise.
11952         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
11953         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
11955         * sysdeps/libm-i387/e_log.S: Optimize branch code.
11956         * sysdeps/libm-i387/e_logf.S: Likewise.
11957         * sysdeps/libm-i387/e_logl.S: Likewise.
11958         * sysdeps/libm-i387/e_log10.S: Likewise.
11959         * sysdeps/libm-i387/e_log10f.S: Likewise.
11960         * sysdeps/libm-i387/e_log10l.S: Likewise.
11962         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
11963         * sysdeps/libm-i387/e_powf.S: Likewise.
11964         * sysdeps/libm-i387/e_powl.S: Likewise.
11966         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
11967         argument to -1.0.
11968         * sysdeps/libm-i387/s_expm1f.S: Likewise.
11969         * sysdeps/libm-i387/s_expm1l.S: Likewise.
11971         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
11973         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
11974         stack element after fxtract.
11976         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
11977         implementation for atan2 function.
11979         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
11980         _SVID_ mode when acos, asin, atan2, log, log10 is called with
11981         argument out of range.
11982         Add new error case for pow(+0,neg).
11984         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
11985         NaN and +-inf.
11986         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
11987         digit in stupid 80 bit formats.
11989         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
11990         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
11991         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
11993         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
11994         long double type.
11996         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
11997         in SVID mode.
11998         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
11999         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
12001         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
12002         or -0.
12003         * sysdeps/libm-ieee754/w_powf.c: Likewise.
12004         * sysdeps/libm-ieee754/w_powl.c: Likewise.
12006         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
12008         * sysdeps/stub/fcntlbits.h: Update copyright.
12009         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
12010         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
12011         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
12012         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
12013         * sysdeps/unix/common/fcntlbits.h: Likewise.
12014         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
12015         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
12016         and FNDELAY.
12017         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
12019         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
12020         only reclen bytes.
12022         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
12023         and O_NORW.
12024         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
12026         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
12028         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
12029         struct stat to user-level form.
12030         * sysdeps/unix/sysv/linux/lxstat: New file.
12031         * sysdeps/unix/sysv/linux/xstat: New file.
12032         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
12033         kernel.
12034         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
12035         to use prescribed types for elements.
12036         (_STAT_VER): Change to value 3.
12037         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
12038         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
12039         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
12041         * time/Makefile: Correct dependencies for test-tz.
12043 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
12045         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
12046         (needed for IPv6 basic sockets API).
12048 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
12050         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
12051         kernel header.
12052         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
12054 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
12056         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
12057         without testing for last_bfp to be NULL.
12058         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
12060 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
12062         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
12064 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
12066         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
12067         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
12069 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
12071         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
12072         functions.  Compare result for correct address type.
12073         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
12074         * nss/nss_files/files-hosts.c: Likewise.
12075         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
12077 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
12079         * time/strptime.c (recursive): Return rp to caller.
12080         (strptime_internal): First check for long names, then abbreviated
12081         (month & weekday).
12083 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12085         * Makeconfig: Remove useless definitions of ASFLAGS-%.
12086         * config.make.in (ASFLAGS-.so): Remove.
12087         * configure.in: Don't substitute ASFLAGS_SO.
12088         * sysdeps/sparc/configure.in: Remove file.
12089         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
12091 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12093         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
12094         1900 from year, regardless of century.
12096 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
12098         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
12099         all numbers unsigned to make buggy gccs happy.
12100         Patch by Bryan W. Headley <bheadley@interaccess.com>.
12102         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
12103         definitions.  Patch by a sun <asun@zoology.washington.edu>.
12104         Pretty print header.
12106         * Makerules (build-shlib): Also create symlink if library is versioned.
12107         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
12108         Remove special rule to libc.so symlink.
12110 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
12112         * manual/math.texi (Domain and Range Errors): Change descriptions
12113         according to recent changes for ISO C 9X.
12115 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
12117         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
12118         return values for acos, asin, and atan2.
12119         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
12121 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
12123         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
12125 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
12127         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
12128         to pointers to directory entries so that alphasort really can be
12129         used as argument for scandir.
12131 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
12133         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
12134         instead of strcpy.
12136 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
12138         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
12139         catalogs, not only if the envvar NLSPATH is not available.
12140         Reported by Andries.Brouwer@cwi.nl.
12142 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
12144         * Makeconfig (localtime-file): Don't define using installation
12145         directory.
12146         (inst_localtime-file): New variable.
12147         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
12148         Reported by Edward Seidl <seidl@janed.com>.
12150 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
12152         * time/Makefile: Add source files to dependencies for test data.
12154 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12156         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
12157         * nis/nss_nis/nis-proto.c: Likewise.
12158         * nis/nss_nis/nis-rpc.c: Likewise.
12159         * nis/nss_nis/nis-service.c: Likewise.
12161 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12163         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
12164         versioning;  Added missing R_SPARC_WDISP30 handling.
12165         (RTLD_START): Implement it.
12167         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
12169         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
12170         Linux/SPARC.
12172 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12174         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
12175         the dynamic linker instead of having a new conditional define.
12176         Thanks to Richard Henderson for pointing this out.
12177         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
12179 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
12181         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
12182         euidaccess weak alias.
12184 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
12186         * stdio-common/printf_fphex.c (MIN): New macro.
12188         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
12190         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
12192         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
12193         API.  (See change by Philip Blundell on Feb 16, 1997.)
12195 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
12197         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
12199         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
12200         __file_name_split.
12202         * mach/mach_error.c (mach_error_string_int): Give full prototype.
12203         * mach/errstring.c (mach_error_string_int): Likewise.
12204         * mach/error_compat.c (__mach_error_map_compat): Likewise.
12205         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
12206         * stdio/vasprintf.c (vasprintf): Likewise.
12208         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
12210         * mach/spin-solid.c: Include <mach/mach_traps.h>.
12211         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
12212         swtch_pri.
12214         * mach/mach_init.c: Include <mach/mig_support.h>.
12216         * mach/mach_error.h (mach_error_string, mach_error,
12217         mach_error_type): Always provide prototypes.
12219         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
12220         appears to be entirely unused dead code.
12222 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
12224         * string/argz.h (__need_error_t): New macro, before including <errno.h>
12225         [!__const] (__const): New macro.
12226         [!__error_t_defined] (error_t): New typedef.
12228 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
12230         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
12231         -fPIC.
12232         * Makerules (compile.S): Use ASFLAGS-%.
12233         (COMPILE.S): Likewise.
12234         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
12235         * configure.in: Substitute ASFLAGS_SO.
12236         * sysdeps/sparc/configure.in: New file.
12238         * posix/unistd.h: Add prototype for __euidaccess.
12239         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
12240         euidaccess weak alias.
12241         * sysdeps/stub/euidaccess.c: Likewise.
12242         * inet/rcmd.c: Use __ protected versions of non-standard functions.
12244         * locale/setlocale.c (setlocale): Don't set usage_count to
12245         MAX_USAGE_COUNT if it already has this value.
12247         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
12248         binary locale files.  Use LOCALEDIR only.
12249         * locale/programs/locfile.c: When named file not found and not
12250         absolute use path in I18NPATH.
12252         * stdlib/Makefile (headers): Add inttypes.h.
12253         * sysdeps/wordsize-32/inttypes.h: New file.
12254         * sysdeps/wordsize-64/inttypes.h: New file.
12256         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
12257         and AF_FILE as synonym for AF_LOCAL.
12258         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
12260         * time/Makefile: Rewrite rules for test to handle parallel builds.
12262 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
12264         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
12265         robbe@orcus.priv.at.
12267 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
12269         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
12270         8-byte boundary.
12272 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
12274         * elf/link.h: Define __need_NULL to get definition.  Include
12275         <features.h>.
12276         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
12278 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
12280         Rewrite NIS code to allow empty keys.
12281         * nis/nss_nis/nis-ethers.c: Rewritten.
12282         * nis/nss_nis/nis-proto.c: Rewritten.
12283         * nis/nss_nis/nis-publickey.c: Rewritten.
12284         * nis/nss_nis/nis-rpc.c: Rewritten.
12285         * nis/nss_nis/nis-service.c: Rewritten.
12287 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
12289         * time/scheck.c (scheck): Add extra const to second argument.
12291         * time/private.h: Correct prototypes to match definition.
12293 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
12295         * sysdeps/alpha/__math.h: Remove cabs inline definition.
12296         Reported by Philip Blundell <pjb27@cam.ac.uk>.
12298 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
12300         * argp/Makefile (routines): Add argp-eexst.
12301         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
12302         * argp/argp-eexst.c: New file.  Define exit status variable.
12303         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
12304         variable instead of always exiting with value 1.
12305         * argp/argp-pv.c (argp_program_version): Make `const'.
12306         * argp/argp.h: Declare argp_err_exit_status.
12307         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
12309         * locale/programs/localedef.c: Use argp_err_exit_status to
12310         terminate with correct value.
12312         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
12313         switching of UID before opening .rhosts.
12315         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
12316         proposal.  The return value now is always the number of characters
12317         which would be written if enough space is available.
12318         * manual/stdio.texi: Update description for new behaviour.
12320         * locale/locale.h (__locale_t): Don't use __locale_t for struct
12321         name and pointer to struct since old gccs cannot keep the namespaces
12322         apart.  Rename struct to __locale_struct.
12323         * locale/duplocale.h: Likewise.
12324         * locale/newlocale.h: Likewise.
12326         * math/Makefile (headers): Add complex.h and cmathcalls.h.
12327         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
12328         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
12329         after use.
12330         (signgam): Move declaration to here from mathcalls.h.
12331         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
12332         Correct comment for fmin and fmax.
12333         Start implementing complex math function from ISO C 9X.
12334         * math/complex.h: New file.
12335         * math/cmathcalls.h: New file.
12336         * math/cabs.c: New file.
12337         * math/cabsf.c: New file.
12338         * math/cabsl.c: New file.
12339         * math/cimag.c: New file.
12340         * math/cimagf.c: New file.
12341         * math/cimagl.c: New file.
12342         * math/conj.c: New file.
12343         * math/conjf.c: New file.
12344         * math/conjl.c: New file.
12345         * math/creal.c: New file.
12346         * math/crealf.c: New file.
12347         * math/creall.c: New file.
12348         * sysdeps/libm-ieee754/w_cabs.c: Removed.
12349         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
12350         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
12352         * posix/regex.c: Merge with regex sources from Arnold Robbins'
12353         version in GNU awk.
12354         * posix/regex.h: Likewise.
12356         Add regex test suite by Tom Lord.
12357         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
12358         (tests): Add runtests.
12359         (before-compile): Add testcases.h.
12360         (testcases.h): New rule to generate header with tests.
12361         * posix/TESTS: New file.
12362         * posix/TESTS2C.sed.: New file.
12363         * posix/runtests.c: New file.
12364         * posix/testcases.h: New file.
12366         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
12367         available and use fall-back implementation if not.
12369         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
12371         * time/ialloc.c: Update from tzcode1997c.
12372         * time/private.h: Likewise.
12373         * time/scheck.c: Likewise.
12374         * time/tzselect.ksh: Likewise.
12375         * time/zdump.c: Likewise.
12376         * time/zic.c: Likewise.
12378         * time/tzfile.c: Pretty print.
12380 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
12382         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
12383         on a 601.
12385         * sysdeps/powerpc/Implies: Added.
12386         * sysdeps/powerpc/__longjmp.S: Added.
12387         * sysdeps/powerpc/__math.h: Added.
12388         * sysdeps/powerpc/bsd-_setjmp.S: Added.
12389         * sysdeps/powerpc/bsd-setjmp.S: Added.
12390         * sysdeps/powerpc/dl-machine.h: Added.
12391         * sysdeps/powerpc/ffs.c: Added.
12392         * sysdeps/powerpc/fpu_control.h: Added.
12393         * sysdeps/powerpc/jmp_buf.h: Added.
12394         * sysdeps/powerpc/setjmp.S: Added.
12395         * sysdeps/powerpc/strlen.S: Added.
12396         * sysdeps/powerpc/elf/start.c: Added.
12397         * sysdeps/powerpc/fpu_control.h: Added.
12398         * sysdeps/powerpc/jmp_buf.h: Added.
12400         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
12401         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
12402         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
12403         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
12404         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
12405         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
12406         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
12407         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
12408         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
12409         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
12410         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
12411         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
12412         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
12413         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
12415 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
12417         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
12418         because knowing the first instruction of a PowerPC PLT trampoline
12419         is not very helpful.
12421 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
12423         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
12424         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
12425         a preference as to where executables should be loaded.
12427 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
12429         * elf/elf.h: Add in all those PowerPC reloc types.
12431 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
12433         * stdio-common/vfscanf.c: Use __va_copy if available.
12435 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12437         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
12438         clean up namespace.
12440 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
12442         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
12443         non-existing GET_WORDS macro, use EXTRACT_WORDS.
12444         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
12446 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
12448         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
12449         kernel-level sigaction structure is different.  handle this
12450         correctly.
12451         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
12453 1997-03-06 05:55  David Engel  <david@sw.ods.com>
12455         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
12456         recognize cache entries with flag == 3.
12458 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
12460         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
12461         (INADDR_LOOPBACK): Likewise.
12462         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
12464         * manual/socket.texi: Correct types of INADDR_* constants from
12465         unsigned long to unsigned.
12467 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
12469         * time/antarctica: Update from tzdata1997c.
12470         * time/asia: Likewise.
12471         * time/zone.tab: Likewise.
12473 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12475         * configure.in (libc_cv_asm_symver_directive,
12476         libc_cv_ld_version_script_option): Remove unknown instruction from
12477         assembler test file.
12479 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12481         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
12482         __USE_ISOC9X.
12483         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
12484         (fabs): Remove defininition, it is a gcc builtin.
12485         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
12487 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
12489         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
12490         generating file.
12492 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
12494         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
12495         instead to avoid namespace problems.
12496         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
12498 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12500         * login/utmp_file.c: Fix previous change.  Make portable by
12501         checking the _HAVE_UT_* feature macros.
12503 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
12505         * Makerules: Add rules to handle versioning.
12506         * config.h.in (DO_VERSIONING): New macro.
12507         * config.make.in (versioning): New variable.
12508         * configure.in: Add checks for .symver directive in gas and
12509         --version-script option to ld.  Define DO_VERSIONING and
12510         versioning if appropriate.
12512         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
12513         s_fmin, and s_fdim.
12514         * math/math.h: Define ISO C 9X constants, macros and functions.
12515         * math/mathcalls.h: Likewise.
12516         * sysdeps/libm-ieee754/s_fdim.c: New file.
12517         * sysdeps/libm-ieee754/s_fdimf.c: New file.
12518         * sysdeps/libm-ieee754/s_fdiml.c: New file.
12519         * sysdeps/libm-ieee754/s_fmax.c: New file.
12520         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
12521         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
12522         * sysdeps/libm-ieee754/s_fmin.c: New file.
12523         * sysdeps/libm-ieee754/s_fminf.c: New file.
12524         * sysdeps/libm-ieee754/s_fminl.c: New file.
12525         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
12526         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
12527         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
12528         * sysdeps/libm-ieee754/s_signbit.c: New file.
12529         * sysdeps/libm-ieee754/s_signbitf.c: New file.
12530         * sysdeps/libm-ieee754/s_signbitl.c: New file.
12532         * stdio-common/printf_fphex.c: Correct printing of decimal point
12533         character.
12534         Simplify conversion of mantissa to string.
12535         * stdio-common/vfscanf.c: Handle %A format.
12536         Optimize termination of floating-point scanning.
12537         * stdio-common/tstscanf.c (main): Add new test to scanf to test
12538         scanning float values with given width.
12539         * stdlib/strtod.c: Add handling of floating-point numbers in
12540         hexadecimal notation.
12542         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
12543         functions.
12544         Pretty print #if directives.
12545         * string/string.h: Pretty print #if directives.
12547         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
12548         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
12549         * sysdeps/ieee754/mpn2dbl.c: Likewise.
12550         * sysdeps/ieee754/mpn2flt.c: Likewise.
12551         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
12553         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
12554         falling back to select-based implementation if syscall isn't
12555         available.
12556         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
12558         * time/leapseconds: Update from tzdata1997b.
12559         * time/zic.c: Update from tzcode1997b.
12561 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12563         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
12564         depedencies between installed $(tzlinks) and $(tzbases) files.
12566 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12568         * math/math.h: Make compatible with traditional preprocessor;
12569         requires carefull placement of whitespace in macro arguments.
12570         Use __CONCAT instead of ##.
12571         Declare long double functions only if __STDC__ or __GNUC__.
12572         * math/mathcall.h: Avoid whitespace before argument of macro call
12573         that is used as function name.
12575         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
12576         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
12577         of __NO_M81_MATH_INLINES.
12578         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
12579         starting with __ieee754.
12580         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
12581         functions as inlines.
12582         (__m81_defun): Put __attribute__ between return type and function
12583         name.
12584         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
12585         is defined.
12586         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
12587         instead of __NO_M81_MATH_INLINES.
12588         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
12589         * sysdeps/m68k/fpu/k_cos.c: Likewise.
12590         * sysdeps/m68k/fpu/k_sin.c: Likewise.
12591         * sysdeps/m68k/fpu/k_tan.c: Likewise.
12592         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
12593         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
12594         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
12595         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
12596         * sysdeps/m68k/fpu/s_modf.c: Likewise.
12597         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
12599 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12601         * Makefile (tests): Cope with $PATH not including the current
12602         directory.
12604 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12606         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
12607         $(common-objdir-compile).
12608         ($(common-objpfx)make-ioctls): Likewise.
12609         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
12610         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
12611         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
12612         Likewise.
12613         ($(common-objpfx)sys/syscall.h): Likewise.
12614         ($(common-objpfx)local_lim.h): Let make deal with command
12615         failure.
12616         ($(common-objpfx)param.h.dep): Use temporary file and update
12617         target atomically.
12618         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
12619         (include $(common-objpfx)param.h.dep): Ignore error.
12621         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
12622         $(common-objdir-compile).
12623         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
12624         $(shell pwd) instead of $$cwd.
12626         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
12627         $(common-objdir-compile).
12628         ($(objpfx)make_siglist): Use $(native-compile).
12629         (make_siglist-CFLAGS): New variable.
12631         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
12632         the old name for the user to pass additional flags to the host
12633         compiler.  Fix reference to config header.
12634         (native-compile, common-objdir-compile): Rewritten to make more
12635         generally usable.
12636         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
12637         instead of BUILD_CFLAGS.
12639         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
12640         defined.
12642 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12644         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
12645         New rules to generate dependencies for the RPC service objects.
12647 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12649         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
12650         supplied.
12652 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
12654         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
12655         so that clearing second word is necessary.
12657         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
12658         header since it is wrong for 64 bit systems.
12659         Patch by a sun <asun@zoology.washington.edu>.
12661 1997-02-27 10:34  Richard Henderson  <rth@tamu.edu>
12663         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
12664         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
12665         for the benefit of running foreign binaries.
12667 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
12669         * login/utmp_file.c (pututline_file): Correctly decide whether
12670         LAST_ENTRY matches DATA.
12671         Don't depend on ut_id ever being set.
12672         (proc_utmp_eq): New function.
12673         (internal_getut_r): Renamed from internal_getutid_r.
12674         Use proc_utmp_eq.
12676         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
12678 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
12680         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
12682 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
12684         * manual/Makefile: Add rules to run and distribute xtract-typefun.
12685         * manual/xtract-typefun.awk: New file.  Script to extract function,
12686         variable, macro anchor to put into the `dir' file.
12687         * manual/signal.texi: Document difference between SysV and BSD
12688         signal(3) function and add documentation for sysv_signal.
12690         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
12691         exponent before comparing.
12693 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
12695         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
12696         prototypes to use types with explicit width.  `unsigned long' is
12697         different on 64 bit systems.
12698         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
12699         * sysdeps/generic/htonl.c: Likewise.
12700         * sysdeps/generic/htons.c: Likewise.
12701         * sysdeps/generic/ntohl.c: Likewise.
12702         * sysdeps/generic/ntohs.c: Likewise.
12703         Suggested by a sun <asun@zoology.washington.edu>.
12705 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
12707         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
12708         defined and we want optimization.
12710 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12712         * misc/getpass.c: Don't disable canonical input.
12713         Reverted patch of Mon Jan  6 01:35:29 1997.
12715 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12717         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
12718         match the hidden __in_chrg parameter of the destructor.
12719         (_IO_FINISH): Pass zero for it.
12720         * libio/genops.c (_IO_default_finish): Add second parameter, which
12721         is ignored.
12722         * libio/memstream.c (_IO_mem_finish): Likewise.
12723         * libio/fileops.c (_IO_file_finish): Likewise.
12724         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
12726 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
12728         * time/Makefile: Avoid using patterns in dependencies.
12730 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12732         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
12733         SPARC will convert the call _dl_start into a call into the PLT.
12735         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
12736         of arg to make it point to the actual values.
12738         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
12739         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
12741         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
12742         them PIC aware.
12744         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
12745         Implemented.
12746         (elf_machine_rela): Make it compile; fix existing relocation
12747         types; add unhandled relocation types.
12748         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
12749         (RTLD_START): Initial implementation, not yet finished.
12751         * sysdeps/sparc/elf/start.S: Fix.
12753         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
12754         __setfpucw.
12756         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
12757         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
12758         sysdeps/sparc/urem.S : Regenerated.
12760         * sysdeps/sparc/setjmp.S: Make it PIC aware.
12762         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
12763         __ASSEMBLY__ before using kernel header.
12765         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
12766         rtld.c.
12768         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
12769         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
12770         to handle old signals.
12771         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
12772         for all Linux/SPARC kernels.
12773         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
12774         errno using __errno_location.
12775         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
12776         macros for assembler sources.
12777         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
12779 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12781         * elf/rtld.c (dl_main): Remove dead code that is never executed.
12782         Rename local variable l to main_map where it is used to point to
12783         the load_map for the executable.
12785 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12787         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
12788         could not be found.
12790 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12792         * Makerules: Generate implicit object suffix rules automagically.
12793         (o-iterator): Move before first use.
12795         * Makeconfig (all-object-suffixes): Add .bo suffix.
12797 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
12799         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
12800         word on stack for overflow.
12802 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
12804         * malloc/malloc.c (malloc_get_state): New function.
12805         Saves global malloc state to an opaque data structure which
12806         is dynamically allocated in the heap.
12807         * malloc/malloc.c (malloc_set_state): New function.
12808         Restore previously obtained state.
12809         * malloc/malloc.h: Add declaration of malloc_get_state()
12810         and malloc_set_state().
12812 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
12814         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
12815         position.
12817 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
12819         * misc/error.c: Make error and error_at_line weak aliases of
12820         __error and __error_at_line respectively.
12821         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
12823         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
12825 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12827         * elf/ldd.bash.in: Run the program directly, not as argument
12828         to the dynamic linker, if it contains an interpreter segment.
12829         * elf/ldd.sh.in: Likewise.
12831         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
12832         object contains an interpreter segment and exit with 2 if not.
12834 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12836         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
12837         and xlocale.h.  Make-dist adds them automagically.
12839 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12841         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
12842         time-era-num-entries.
12844 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12846         * rellns-sh: No need to check for existance of first parameter.
12848 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
12850         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
12851         to avoid duplicate mail.
12853 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
12855         * Makefile (distribute): Add isomac.c.
12856         (tests): Run isomac test.
12858         * features.h (__USE_ISOC9X): New macro.
12860         * catgets/catgets.c: Don't use global variable `optind'.  Instead
12861         use result computed by argp_parse.
12862         * db/makedb: Likewise.
12863         * locale/programs/locale.c: Likewise.
12864         * locale/programs/localedef.c: Likewise.
12866         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
12868         * libio/clearerr.c: Remove clearerr_locked alias.
12869         * libio/feof.c: Remove feof_locked alias.
12870         * libio/ferror.c: Remove feof_locked alias.
12871         * libio/fileno.c: Remove fileno_locked alias.
12872         * libio/fputc.c: Remove fputc_locked alias.
12873         * libio/getc.c: Remove getc_locked alias.
12874         * libio/getchar.c: Remove getchar_locked alias.
12875         * libio/iofflush.c: Remove fflush_locked alias.
12876         * libio/putc.c: Remove putc_locked alias.
12877         * libio/putc.c: Remove putchar_locked alias.
12879         * stdio-common/printf_fp.c: When number is inifinity print INF
12880         or inf depending on case of specifier.  Same for NaN where NAN
12881         or nan is printed.  Specified in ISO C 9X.
12883         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
12884         * stdio/stdio.h: Add __restrict to prototypes where necessary.
12885         * libio/stdio.h: Likewise.
12886         * stdlib/stdlib.h: Likewise.
12887         * string/string.h: Likewise.
12888         * time/time.h: Likewise.
12889         * wcsmbs/wchar.h: Likewise.
12891         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
12892         NAN(...).
12894         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
12895         of HUGE_VALf and HUGE_VALL.
12896         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
12897         instead of HUGE_VALf.
12898         * wcsmbs/wcstof.c: Likewise.
12899         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
12900         instead of HUGE_VALl.
12901         * wcsmbs/wcstold.c: Likewise.
12903         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
12904         avoid warning.
12906         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
12907         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
12908         * wcsmbs/wcscasecmp.c: New file.
12909         * wcsmbs/wcsncase.c: New file.
12911         * stdlib/strtol.c: Define wide character quad word functions as
12912         wcstoll and wcstoull and normal versions as strtoll and strtoull.
12913         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
12914         * wcsmbs/wcstoq: Renamed to wcstoll.c.
12915         * wcsmbs/wcstouq: Renamed to wcstoull.c.
12916         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
12917         alias of wcstoll.
12918         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
12919         alias of wcstoull.
12920         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
12921         wcstoll and wcstoull respectively.
12922         * stdlib/strtoq.c: Rename to strtoll.c.
12923         * stdlib/strtouq.c: Rename to strtoull.c.
12924         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
12925         alias of strtoll.
12926         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
12927         alias of strtoull.
12928         * stdlib/Makefile (routines): Replace strtoq and strtouq by
12929         strtoll and strtoull respectively.
12930         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
12931         __strtouq_internal but instead __strtoll_internal and
12932         __strtoull_internal respectively.
12933         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
12934         (strtouq): Similar with __internal_strtoull.
12935         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
12936         (wcstouq): Similar with __internal_wcstoull.
12938 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
12940         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
12941         sign in the strtouXX functions.  The results gets simply negated.
12942         * stdio-common/tstscanf.c: Add testcase for above case.
12943         * stdlib/tst-strtol.c: Correct tests.
12945         * manual/stdio-fp.c: New file.  Generate output for example program
12946         in stdio.texi.
12948         * stdio-common/Makefile (routines): Add printf_fphex.
12949         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
12950         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
12951         specifier.
12953 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
12955         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
12956         __STRICT_ANSI__.
12958         * math/math.h: Prevent definition of struct exception when using
12959         C++.  Use __exception instead.
12961 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
12963         * sysdeps/unix/syscalls.list: Dup takes only one argument.
12964         Reported by Greg McGary.
12966 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
12968         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
12969         than file_get_translator.
12971         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
12972         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
12974 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
12976         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
12977         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12979 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
12981         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
12982         but ADDR also == 0.
12984         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
12985         now instead of a weak extern, as some old programs expect it to be
12986         defined by ld.so.
12988 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
12990         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
12992         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
12993         __hurd_threadvar_stack_offset): Restore initialized versions, so
12994         startup works correctly.
12996         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
12998 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
13000         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
13001         not __mutex_try_lock.
13002         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
13003         (tsd_getspecific): Case variable to (void *) before returning.
13005         * hurd/hurdinit.c (__libc_argv): Remove extern.
13006         (__libc_argc): New variable.
13008 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
13010         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
13011         _HURD_THREADVAR_MALLOC.
13012         * malloc/thread-m.h
13013         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
13014         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
13015         __mutex_*.
13016         (mutex_t): Type removed & replaced by new macro.
13017         (tsd_key_t): Typedef to int instead of pthread_key_t.
13018         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
13019         (__pthread_initialize): New macro, work around assumption of pthreads.
13020         (tsd_keys_alloced): New static variable.
13021         <hurd/threadvar.h>: New include.
13023         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
13024         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
13025         defined before using it.
13027         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
13028         Make extern.
13029         * hurd/hurdinit.c (__libc_argv): Make extern.
13031         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
13032         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
13034         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
13035         __hurd_threadvar_stack_offset,
13036         __hurd_threadvar_stack_mask): New variables.
13037         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
13038         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
13039         New variables (moved here from hurdstartup.c).
13040         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
13041         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
13042         Variables removed (moved to hurdsig.c).
13043         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
13044         __hurd_threadvar_stack_mask): Variables removed.
13045         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
13046         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
13047         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
13048         __hurd_threadvar_stack_mask): Variables removed.
13050 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
13052         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
13053         Declare extern.
13055         * malloc/thread-m.h
13056         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
13057         (mutex_t): Type removed.
13058         (mutex_t): New macro.
13059         (mutex_trylock): New macro.
13060         (__x_mutex_lock, __x_mutex_unlock): New functions.
13061         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
13062         the cthread definitions.
13063         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
13064         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
13065         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
13066         (__pthread_initialize): New macro, work around assumption of pthreads.
13068 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
13070         * locale/weight.h (collate_rules): It's an u_int32_t array.
13071         (get_weight): Compute initial SLOT value correctly.
13073 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
13075         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
13076         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
13077         * sysdeps/unix/sysv/linux/bind.S: Likewise.
13078         * sysdeps/unix/sysv/linux/connect.S: Likewise.
13079         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
13080         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
13081         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
13082         * sysdeps/unix/sysv/linux/listen.S: Likewise.
13083         * sysdeps/unix/sysv/linux/recv.S: Likewise.
13084         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
13085         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
13086         * sysdeps/unix/sysv/linux/send.S: Likewise.
13087         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
13088         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
13089         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
13090         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
13091         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
13093 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
13095         * catgets/gencat.c: Change to use argp.
13096         * db/makedb: Likewise.
13097         * locale/programs/localedef.c: Likewise.
13099         * locale/programs/locale.c: Little adjustment for better usage of
13100         argp.
13102 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
13104         * Makeconfig: Add rules for libc with bounded pointers.
13105         * Makerules: Likewise.
13106         * config.make.in: Likewise.
13107         * configure.in: Likewise.
13109 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
13111         * argp/argp.h (OPTION_NO_USAGE): New macro.
13112         * argp/argp-help.c (usage_long_opt, usage_argful_short_opt,
13113         add_argless_short_opt): Implement OPTION_NO_USAGE.
13115 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13117         * malloc/obstack.h: Fix typo.
13119 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
13121         * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case
13122         where NEXTLINE points one past the end of the active buffer.
13124         * argp/argp-help.c <stddef.h>: New include.
13125         (__argp_failure): Only exit if STATE says it's ok.
13126         (print_header, hol_entry_help): Use UPARAMS fields rather than
13127         constants.
13128         (_help): Call fill_in_uparams if necessary.
13129         (struct hol_help_state): New type.
13130         (struct pentry_state): Add hhstate field.  Remove prev_entry &
13131         sep_groups fields.
13132         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
13133         sep_groups parameters.
13134         Suppress duplicate arguments if requested, and note the fact.
13135         (print_header, comma): Use PEST->hhstate fields.
13136         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
13137         Remove LAST_ENTRY & SEP_GROUPS variables.
13138         If any suplicate arguments were suppressed, print explanatory note.
13139         (filter_doc): Replace PEST parameter with STATE.
13140         (struct uparams): New type.
13141         (uparams): New variable.
13142         (struct uparam_name): New type.
13143         (uparam_names): New variable.
13144         (fill_in_uparams): New function.
13145         (__argp_failure, __argp_error, __argp_state_help): Make STATE
13146         parameter const.
13147         * argp/argp.h (argp_state_help, __argp_state_help, argp_usage,
13148         __argp_usage, argp_error, __argp_error, argp_failure,
13149         __argp_failure): Make STATE parameter const.
13150         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
13152         * argp/argp.h (argp_program_bug_address): Make const.
13154 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
13156         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
13158 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
13160         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
13162 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
13164         * stdio-common/test-fseek.c: Remove temporary file, add
13165         copyright.
13167 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
13169         * sysdeps/generic/netinet/in.h: Protect contents using
13170         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
13172         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
13173         * inet/Makefile (headers): Remove net/ethernet.h.
13174         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
13175         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
13177 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
13179         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
13180         searching in sorted array.
13182 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
13184         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
13185         and protect modification of global data.
13187 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
13189         * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
13190         (parser_init): Use the basename for PARSER->state.name.
13191         * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help):
13192         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
13194         * argp/argp-parse.c (parser_init): Set PARSER->state.flags.
13195         Make check whether PARSER has the prog name in argv[0] at the
13196         proper place.
13198 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
13200         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
13201         Use default value instead of printing a warning.
13203         * nss/XXX-lookup.c: Add missing explanation.
13205 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
13207         * inet/in6_addr.c: Add missing braces.
13209         * inet/getnameinfo.c: Include <arpa/inet.h>.
13211         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
13213 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
13215         * string/strxfrm.c (STRCOLL): Correct handling of `position'
13216         levels with no non-IGNOREd element and handling of NUL byte.
13217         * string/strcoll.c (STRXFRM): Likewise.
13218         * locale/weight.h: Likewise.
13220         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
13222 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
13224         * argp/argp-help.c: Add support for user provided filter of help
13225         messages.
13226         * argp/argp-parse.c: Likewise.
13227         * argp/argp.h: Likewise.
13228         * argp/argp-namefrob.h: Define __argp_input.
13230         * argp/argp-test.c: Add example for filter.
13232 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
13234         * argp.h: New file.
13235         * locale/programs/locale.c: Switch to use argp.
13237         * errno.h: Make it possible to get definition of error_t even
13238         after having errno.h already.
13240         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
13241         from dl-lookup.c.
13242         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
13244         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
13245         * elf/dl-version.c: Likewise.
13247         * elf/dl-lookup.c: Implement new versioning lookup scheme.
13248         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
13249         in l_versions member.
13251         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
13252         and _dl_lookup_versioned_symbol.
13254         * elf/link.h: Rename hash_name_pair to struct r_found_version.
13255         * sysdeps/alpha/dl-machine.h: Likewise.
13256         * sysdeps/i386/dl-machine.h: Likewise.
13257         * sysdeps/m68k/dl-machine.h: Likewise.
13258         * sysdeps/mips/dl-machine.h: Likewise.
13260         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
13261         length of abs_filename.
13263         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
13265         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
13266         in mon_grouping information.  This means no more grouping.
13267         * locale/programs/ld-numeric.c (numeric_add): Write value \377
13268         when seein value 0 in grouping information.
13269         * locale/programs/linereader.c (lr_close): Don't free fname since
13270         it might be used in error messages.
13272         * locale/programs/locale.c: Check whether output of `locale -a'
13273         really is locale directory.  Also print locale aliases.
13275         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
13276         be const.
13278 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
13280         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
13281         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
13283 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
13285         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
13287 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
13289         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
13290         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
13292         * sysdeps/stub/msync.c (msync): Add missing third parameter.
13294 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
13296         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
13297         additional argument.
13299 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
13301         * inet/net/ethernet.h: New file.
13302         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
13303         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
13304         Contributed by a sun <asun@zoology.washington.edu>.
13306         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
13307         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
13308         Reported by a sun <asun@zoology.washington.edu>.
13310 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13312         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
13313         makefiles which may change the distinfo variables.
13315 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
13318         [$(subdir)=misc]: Add sys/quota.h.
13319         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
13321 1997-02-17 13:12  aleph1@dfw.net
13323         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
13324         strncpy.
13326 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
13328         * stdio-common/bug10.c (main): Correct parameter.
13330 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
13332         * malloc/obstack.h: Add `extern "C"' protection.
13333         * posix/regex.h: Likewise.
13334         * io/ftw.h: Likewise.
13335         * misc/libgen.h: Likewise.
13336         * login/utmp.h: Likewise.
13337         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
13338         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
13339         * sunrpc/rpc/pmap_rmt.h: Likewise.
13340         * sunrpc/rpc/auth_des.h: Likewise.
13341         * elf/link.h: Likewise.
13342         Reported by HJ Lu.
13344 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
13346         Linux specific network headers.
13347         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
13348         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
13349         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
13350         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
13351         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
13352         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
13353         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
13354         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
13355         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
13356         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
13357         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
13358         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
13359         Add sys/quota.h.
13360         [$(subdir)=inet] (sysdep_headers): Add new network header.
13362         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
13364         * inet/netinet/ip.h: Move to sysdeps/generic.
13365         * inet/netinet/tcp.h: Likewise.
13366         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
13367         * sysdeps/generic/netinet/tcp.h: Likewise.
13369 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
13371         * misc/sys/syslog.h (prioritynames): Correct definition to use
13372         braces where necessary.
13373         (facilitynames): Likewise.
13374         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
13375         Comment and beautify declarations.
13377 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
13379         * inet/Makefile (routines): Add in6_addr, getnameinfo.
13380         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
13381         by Craig Metz.
13382         * inet/in6_addr.c: New file.  IPv6 addressing constants.
13383         * posix/Makefile (routines): Add gai_strerror.
13384         * resolv/netdb.h: Add more constants for IPv6 basic API.
13385         * sysdeps/posix/gai_strerror.c: New file.
13386         * sysdeps/stub/gai_strerror.c New file.
13387         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
13388         basic API.
13390         * sysdeps/posix/getaddrinfo.c: Update from latest version by
13391         Craig Metz and use reentrant getXXbyYY functions.
13393 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
13395         * argp/argp.h: Declare argp_program_version as const char.
13396         * argp/argp-test.c: Likewise
13398         * stdlib/testrand.c (main): Declare main prototype.
13399         * stdlib/testdiv.c (main): Likewise.
13400         * string/testcopy.c (main): Likewise.
13401         * string/test-ffs.c (main): Likewise.
13402         * time/test_time.c (main): Likewise.
13404         * locale/duplocale.c (__duplocale): Return result.
13406 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
13408         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
13409         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
13411         * nss/nss.h: Remove declaration of __nss_shlib_revision.
13412         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
13414 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
13416         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
13417         _nss_nis_gethostton_r.
13418         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
13420 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
13422         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
13423         trying to resolv name as numeric IPv6 address.
13424         * nss/digits_dots.c: Likewise.
13426 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
13428         * locale/setlocale.c (setlocale): Don't try to be clever about
13429         unused locales.  When the existence of the locale files isn't
13430         tested the result of setlocale might be different.
13432 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
13434         * locale/setlocale.c (setlocale): Don't increment usage_count of
13435         new locale if it already has the value MAX_USAGE_COUNT (it might
13436         be the C locale data which is read-only).
13438 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
13440         * argp/argp-help.c: Gettextize sources.
13441         * argp/argp-parse.c: Likewise.
13443 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
13445         * features.h (__GLIBC_MINOR__): Bump to 1.
13447         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
13448         * Makefile (distribute): Add xlocale.h.
13449         * locale/Makefile (routines): Add ctype_l.
13450         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
13451         Add __isblank_l, __toascii_l and __isascii_l.
13452         * ctype/ctype.h: Add definitions and declarations for *_l functions.
13453         * locale/Makefile (headers): Add xlocale.h.
13454         (routines): Add newlocale, duplocale, and freelocale.
13455         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
13456         (struct locale_data): Add new fields mmaped and usage_count.
13457         Correct various declarations.
13458         * locale/C-collate.c: Define value for new fields mmaped and
13459         usage_count.
13460         * locale/C-ctype.c: Likewise.
13461         * locale/C-messages.c: Likewise.
13462         * locale/C-monetary.c: Likewise.
13463         * locale/C-numeric.c: Likewise.
13464         * locale/C-time.c: Likewise.
13465         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
13466         usage_count fields.
13467         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
13468         Correct prototypes for __newlocale and __freelocale.
13469         Add prototype for __duplocale.
13470         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
13471         (_nl_remove_locale): New function.
13472         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
13473         * locale/setlocale.c: Likewise.
13474         * locale/weight.h: Change for use with locale objects.
13475         * locale/xlocale.h: New file.  Define __locale_t type.
13476         * locale/newlocale.c: New file.  Create new locale object.
13477         * locale/freelocale.c: New file.  Destroy locale object.
13478         * locale/duplocale.c: New file.  Create copy of locale object.
13479         * stdlib/Makefile (routines): Add strfmon_l.
13480         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
13481         * stdlib/strfmon.c: Add support for use in extended locale model.
13482         * stdlib/strfmon_l.c: New file.
13483         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
13484         * string/strcoll.c: Change for use in extended locale model.
13485         * string/strxfrm.c: Likewise.
13486         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
13487         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
13488         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
13489         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
13490         * wcsmbs/wcscoll.c: Change for use in extended locale model.
13491         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
13492         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
13493         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
13494         and towctrans_l.
13495         * wctype/cname-lookup.h: Prepare for use in extended locale model.
13496         * wctype/iswctype_l.c: New file.  Implement character classification
13497         functions for use with locale objects.
13498         * wctype/wctype.h: Declare functions for use with locale objects.
13499         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
13500         for use with locale objects.
13501         * wctype/wcfuncs_l.c: New file.  Implement wide character
13502         classification functions for use with locale objects.
13503         * wctype/wcextra.c: New file.  Implement real functions for
13504         non-standard classification functions.
13506         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
13507         parameters to ld.so.  Use environment variables.
13508         * elf/ldd.sh.in: Likewise.
13509         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
13510         options.  Instead read environment variables.
13512         * elf/link.h (receiver_fct): Add new argument to take error code.
13513         * elf/dl-error.c (_dl_signal_error): Call receiver function with
13514         another argument.
13516         * elf/dl-object.c (_dl_new_object): Create new object with list of
13517         names in l_libname member.
13518         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
13519         find to object to the list in the link_map variable.
13520         (_dl_map_object): Use _dl_does_name_match_p to compare with all
13521         available names of the object.
13522         Optimize handling of LD_LIBRARY_PATH a bit.
13523         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
13525         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
13527         * elf/Makefile (routines): Add dl-version.
13528         * elf/link.h (hash_name_pair): New type.  Group pointer to string
13529         and its hash value.
13530         (struct link_map): Change l_libname member to be a list of names,
13531         not a single pointer to a name.
13532         Add new members l_nversions and l_versions.
13533         (_dl_does_name_match_p): New function to test for all names of an
13534         object.
13535         Add prototypes for new lookup and versioning functions.
13536         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
13537         when versioned symbol is requested.
13538         (_dl_lookup_symbol): Call do_lookup with another argument.
13539         (_dl_lookup_symbol_skip): Likewise.
13540         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
13541         versioned symbol.
13542         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
13543         _dl_lookup_symbol_skip.
13544         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
13545         _dl_lookup_symbol depending on availability of version information.
13546         * elf/dl-runtime.c (RESOLVE): Likewise.
13547         (fixup): Call elf_machine_relplt with additional argument to point
13548         to versioning information if available.
13549         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
13550         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
13551         for correct versions.
13552         * elf/dl-version.c: New file.  Check library versions and extract
13553         version information for easier access.
13554         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
13555         * elf/dlvsym.c: New file.  Implementation of function similar to
13556         dlsym, but looks for versioned symbol.
13557         * elf/elf.h: Add types and macros for versioning.
13558         * elf/rtld.c (dl_main): Check availability of needed versions.
13559         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
13560         argument for version information.  Call RESOLVE with additional
13561         argument.
13562         * sysdeps/i386/dl-machine.h: Likewise.
13563         * sysdeps/m68k/dl-machine.h: Likewise.
13564         * sysdeps/mips/dl-machine.h: Likewise.
13566         * elf/dlerror.c: Change comment to align with guidelines.
13567         * elf/dlopen.c: Likewise.
13568         * elf/dlsym.c: Likewise.
13570         * locale/programs/localedef.c: Implement --quiet option.
13571         * locale/programs/charset.h: Declare be_quiet variable.
13572         * locale/programs/locfile.h: Likewise.
13573         * locale/programs/charmap.c: Don't print warnings if quiet option
13574         was given.
13575         * locale/programs/ld-collate.c: Likewise.
13576         * locale/programs/ld-ctype.c: Likewise.
13577         * locale/programs/ld-messages.c: Likewise.
13578         * locale/programs/ld-monetary.c: Likewise.
13579         * locale/programs/ld-numeric.c: Likewise.
13580         * locale/programs/ld-time.c: Likewise.
13581         * locale/programs/locfile.c: Likewise.
13583         * Makefile (subdirs): Add argp.
13585         * catgets/catgets.c (catopen): Little code improvement.
13587         * posix/execl.c: Remove restriction to 1024 arguments.
13588         * posix/execle.c: Likewise.
13589         * posix/execlp.c: Likewise.
13591         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
13592         and make regular names weak aliases.
13593         * posix/getopt1.c: Likewise.
13594         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
13595         __ protected forms.
13597         * posix/unistd.h: Add prototype for __sleep.
13598         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
13599         * sysdeps/posix/sleep.c: Likewise.
13600         * sysdeps/stub/sleep.c: Likewise.
13601         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13603         * ctype/ctype-info.c: Update copyright.
13604         * ctype/ctype.c: Likewise.
13605         * ctype/test_ctype.c: Likewise.
13606         * dirent/alphasort.c: Likewise.
13607         * dirent/list.c: Likewise.
13608         * gmon/bb_exit_func.c: Likewise.
13609         * grp/fgetgrent.c: Likewise.
13610         * grp/getgrent.c: Likewise.
13611         * grp/getgrent_r.c: Likewise.
13612         * grp/getgrgid.c: Likewise.
13613         * grp/getgrgid_r.c: Likewise.
13614         * grp/getgrnam.c: Likewise.
13615         * grp/getgrnam_r.c: Likewise.
13616         * hurd/alloc-fd.c: Likewise.
13617         * hurd/catch-exc.c: Likewise.
13618         * hurd/ctty-input.c: Likewise.
13619         * hurd/ctty-output.c: Likewise.
13620         * hurd/dtable.c: Likewise.
13621         * hurd/fchroot.c: Likewise.
13622         * hurd/fd-close.c: Likewise.
13623         * hurd/fd-read.c: Likewise.
13624         * hurd/fd-write.c: Likewise.
13625         * hurd/fopenport.c: Likewise.
13626         * hurd/get-host.c: Likewise.
13627         * hurd/getdport.c: Likewise.
13628         * hurd/getuids.c: Likewise.
13629         * hurd/getumask.c: Likewise.
13630         * hurd/hurd-raise.c: Likewise.
13631         * hurd/hurd.h: Likewise.
13632         * hurd/hurdauth.c: Likewise.
13633         * hurd/hurdexec.c: Likewise.
13634         * hurd/hurdhost.h: Likewise.
13635         * hurd/hurdid.c: Likewise.
13636         * hurd/hurdinit.c: Likewise.
13637         * hurd/hurdioctl.c: Likewise.
13638         * hurd/hurdkill.c: Likewise.
13639         * hurd/hurdlookup.c: Likewise.
13640         * hurd/hurdmsg.c: Likewise.
13641         * hurd/hurdpid.c: Likewise.
13642         * hurd/hurdports.c: Likewise.
13643         * hurd/hurdprio.c: Likewise.
13644         * hurd/hurdrlimit.c: Likewise.
13645         * hurd/hurdsock.c: Likewise.
13646         * hurd/hurdstartup.c: Likewise.
13647         * hurd/hurdstartup.h: Likewise.
13648         * hurd/intern-fd.c: Likewise.
13649         * hurd/intr-msg.c: Likewise.
13650         * hurd/intr-rpc.defs: Likewise.
13651         * hurd/intr-rpc.h: Likewise.
13652         * hurd/msgportdemux.c: Likewise.
13653         * hurd/new-fd.c: Likewise.
13654         * hurd/openport.c: Likewise.
13655         * hurd/pid2task.c: Likewise.
13656         * hurd/port-cleanup.c: Likewise.
13657         * hurd/port2fd.c: Likewise.
13658         * hurd/ports-get.c: Likewise.
13659         * hurd/ports-set.c: Likewise.
13660         * hurd/privports.c: Likewise.
13661         * hurd/report-wait.c: Likewise.
13662         * hurd/set-host.c: Likewise.
13663         * hurd/setauth.c: Likewise.
13664         * hurd/setuids.c: Likewise.
13665         * hurd/siginfo.c: Likewise.
13666         * hurd/sigunwind.c: Likewise.
13667         * hurd/task2pid.c: Likewise.
13668         * hurd/thread-cancel.c: Likewise.
13669         * hurd/thread-self.c: Likewise.
13670         * hurd/vpprintf.c: Likewise.
13671         * hurd/hurd/fd.h: Likewise.
13672         * hurd/hurd/id.h: Likewise.
13673         * hurd/hurd/ioctl.h: Likewise.
13674         * hurd/hurd/lookup.h: Likewise.
13675         * hurd/hurd/port.h: Likewise.
13676         * hurd/hurd/resource.h: Likewise.
13677         * hurd/hurd/threadvar.h: Likewise.
13678         * hurd/hurd/userlink.h: Likewise.
13679         * inet/ether_aton.c: Likewise.
13680         * inet/ether_aton_r.c: Likewise.
13681         * inet/ether_ntoa.c: Likewise.
13682         * inet/ether_ntoa_r.c: Likewise.
13683         * inet/gethstbyad.c: Likewise.
13684         * inet/gethstbyad_r.c: Likewise.
13685         * inet/gethstent.c: Likewise.
13686         * inet/getnetbyad.c: Likewise.
13687         * inet/getnetbyad_r.c: Likewise.
13688         * inet/getnetbynm.c: Likewise.
13689         * inet/getnetbynm_r.c: Likewise.
13690         * inet/getnetent.c: Likewise.
13691         * inet/getnetent_r.c: Likewise.
13692         * inet/getproto.c: Likewise.
13693         * inet/getproto_r.c: Likewise.
13694         * inet/getprtent.c: Likewise.
13695         * inet/getprtent_r.c: Likewise.
13696         * inet/getprtname.c: Likewise.
13697         * inet/getrpcbyname.c: Likewise.
13698         * inet/getrpcbyname_r.c: Likewise.
13699         * inet/getrpcbynumber.c: Likewise.
13700         * inet/getrpcbynumber_r.c: Likewise.
13701         * inet/getrpcent.c: Likewise.
13702         * inet/getrpcent_r.c: Likewise.
13703         * inet/getservent.c: Likewise.
13704         * inet/getservent_r.c: Likewise.
13705         * inet/getsrvbynm.c: Likewise.
13706         * inet/getsrvbynm_r.c: Likewise.
13707         * inet/getsrvbypt.c: Likewise.
13708         * inet/getsrvbypt_r.c: Likewise.
13709         * inet/herrno.c: Likewise.
13710         * inet/netgroup.h: Likewise.
13711         * ient/netinet/ether.h: Likewise.
13712         * intl/bindtextdom.c: Likewise.
13713         * intl/dcgettext.c: Likewise.
13714         * intl/dgettext.c: Likewise.
13715         * intl/gettext.c: Likewise.
13716         * intl/gettext.h: Likewise.
13717         * intl/gettextP.h: Likewise.
13718         * intl/hash-string.h: Likewise.
13719         * intl/loadmsgcat.c: Likewise.
13720         * intl/localealias.c: Likewise.
13721         * intl/textdomain.c: Likewise.
13722         * io/creat.c: Likewise.
13723         * io/getdirname.c: Likewise.
13724         * io/lockf.c: Likewise.
13725         * io/pwd.c: Likewise.
13726         * io/test-utime.c: Likewise.
13727         * locale/categories.def: Likewise.
13728         * locale/codeset_name.c: Likewise.
13729         * locale/lc-collate.c: Likewise.
13730         * locale/lc-ctype.c: Likewise.
13731         * locale/lc-messages.c: Likewise.
13732         * locale/lc-monetary.c: Likewise.
13733         * locale/lc-numeric.c: Likewise.
13734         * locale/lc-time.c: Likewise.
13735         * locale/loadlocale.c: Likewise.
13736         * locale/localeconv.c: Likewise.
13737         * locale/nl_langinfo.c: Likewise.
13738         * locale/setlocale.c: Likewise.
13739         * locale/strlen-hash.h: Likewise.
13740         * locale/programs/charmap-kw.gperf: Likewise.
13741         * locale/programs/charmap-kw.h: Likewise.
13742         * locale/programs/charset.c: Likewise.
13743         * locale/programs/ld-ctype.c: Likewise.
13744         * locale/programs/ld-messages.c: Likewise.
13745         * locale/programs/ld-monetary.c: Likewise.
13746         * locale/programs/linereader.h: Likewise.
13747         * locale/programs/locale-spec.c: Likewise.
13748         * locale/programs/locales.h: Likewise.
13749         * locale/programs/locfile-kw.gperf: Likewise.
13750         * locale/programs/locfile-kw.h: Likewise.
13751         * locale/programs/locfile-token.h: Likewise.
13752         * locale/programs/simple-hash.h: Likewise.
13753         * locale/programs/stringtrans.c: Likewise.
13754         * locale/programs/stringtrans.h: Likewise.
13755         * login/logout.c: Likewise.
13756         * mach/bootprivport.c: Likewise.
13757         * mach/devstream.c: Likewise.
13758         * mach/hello.c: Likewise.
13759         * mach/mach.h: Likewise.
13760         * mach/mach_init.c: Likewise.
13761         * mach/mach_init.h: Likewise.
13762         * mach/mig-alloc.c: Likewise.
13763         * mach/mig-dealloc.c: Likewise.
13764         * mach/mutex-init.c: Likewise.
13765         * mach/mutex-solid.c: Likewise.
13766         * mach/setup-thread.c: Likewise.
13767         * mach/spin-lock.h: Likewise.
13768         * mach/spin-solid.c: Likewise.
13769         * mach/mach/mig_support.h: Likewise.
13770         * md5-crypt/md5-crypt.c: Likewise.
13771         * misc/nlist.h: Likewise.
13772         * nss/nss_files/files-ether.c: Likewise.
13773         * posix/confstr.c: Likewise.
13774         * posix/execl.c: Likewise.
13775         * posix/execle.c: Likewise.
13776         * posix/execlp.c: Likewise.
13777         * posix/execv.c: Likewise.
13778         * posix/execvp.c: Likewise.
13779         * posix/fnmatch.c: Likewise.
13780         * posix/getopt.c: Likewise.
13781         * posix/getopt.h: Likewise.
13782         * posix/getopt1.c: Likewise.
13783         * posix/id.c: Likewise.
13784         * posix/regex.c: Likewise.
13785         * posix/setpgrp.c: Likewise.
13786         * posix/unistd.h: Likewise.
13787         * posix/wordexp.c: Likewise.
13788         * pwd/fgetpwent.c: Likewise.
13789         * pwd/getpwent.c: Likewise.
13790         * pwd/getpwent_r.c: Likewise.
13791         * pwd/getpwnam.c: Likewise.
13792         * pwd/getpwnam_r.c: Likewise.
13793         * pwd/getpwuid.c: Likewise.
13794         * pwd/getpwuid_r.c: Likewise.
13795         * pwd/putpwent.c: Likewise.
13796         * resolv/gethnamaddr.c: Likewise.
13797         * resolv/res_hconf.c: Likewise.
13798         * resolv/res_hconf.h: Likewise.
13799         * setjmp/longjmp.c: Likewise.
13800         * setjmp/sigjmp.c: Likewise.
13801         * setjmp/tst-setjmp.c: Likewise.
13802         * stdio/clearerr.c: Likewise.
13803         * stdio/ferror.c: Likewise.
13804         * stdio/fgetc.c: Likewise.
13805         * stdio/fgetpos.c: Likewise.
13806         * stdio/fgets.c: Likewise.
13807         * stdio/fileno.c: Likewise.
13808         * stdio/fmemopen.c: Likewise.
13809         * stdio/fopen.c: Likewise.
13810         * stdio/fopncook.c: Likewise.
13811         * stdio/fputc.c: Likewise.
13812         * stdio/fputs.c: Likewise.
13813         * stdio/fread.c: Likewise.
13814         * stdio/freopen.c: Likewise.
13815         * stdio/fseek.c: Likewise.
13816         * stdio/fsetpos.c: Likewise.
13817         * stdio/ftell.c: Likewise.
13818         * stdio/fwrite.c: Likewise.
13819         * stdio/getchar.c: Likewise.
13820         * stdio/getdelim.c: Likewise.
13821         * stdio/gets.c: Likewise.
13822         * stdio/glue.c: Likewise.
13823         * stdio/internals.c: Likewise.
13824         * stdio/linewrap.c: Likewise.
13825         * stdio/linewrap.h: Likewise.
13826         * stdio/memstream.c: Likewise.
13827         * stdio/newstream.c: Likewise.
13828         * stdio/putchar.c: Likewise.
13829         * stdio/puts.c: Likewise.
13830         * stdio/rewind.c: Likewise.
13831         * stdio/setbuf.c: Likewise.
13832         * stdio/setbuffer.c: Likewise.
13833         * stdio/setlinebuf.c: Likewise.
13834         * stdio/setvbuf.c: Likewise.
13835         * stdio/ungetc.c: Likewise.
13836         * stdio/vasprintf.c: Likewise.
13837         * stdio/vscanf.c: Likewise.
13838         * stdio/vsnprintf.c: Likewise.
13839         * stdio/vsprintf.c: Likewise.
13840         * stdio/vsscanf.c: Likewise.
13841         * stdio-common/asprintf.c: Likewise.
13842         * stdio-common/dprintf.c: Likewise.
13843         * stdio-common/errnobug.c: Likewise.
13844         * stdio-common/fprintf.c: Likewise.
13845         * stdio-common/getline.c: Likewise.
13846         * stdio-common/getw.c: Likewise.
13847         * stdio-common/perror.c: Likewise.
13848         * stdio-common/psignal.c: Likewise.
13849         * stdio-common/putw.c: Likewise.
13850         * stdio-common/reg-printf.c: Likewise.
13851         * stdio-common/scanf.c: Likewise.
13852         * stdio-common/snprintf.c: Likewise.
13853         * stdio-common/sprintf.c: Likewise.
13854         * stdio-common/tempnam.c: Likewise.
13855         * stdio-common/test_rdwr.c: Likewise.
13856         * stdio-common/tst-fileno.c: Likewise.
13857         * stdio-common/tst-printf.c: Likewise.
13858         * stdio-common/tstgetln.c: Likewise.
13859         * stdio-common/vprintf.c: Likewise.
13860         * stdlib/drand48.c: Likewise.
13861         * stdlib/drand48_r.c: Likewise.
13862         * stdlib/erand48.c: Likewise.
13863         * stdlib/erand48_r.c: Likewise.
13864         * stdlib/exit.h: Likewise.
13865         * stdlib/strtoq.c: Likewise.
13866         * stdlib/strtoul.c: Likewise.
13867         * stdlib/strtouq.c: Likewise.
13868         * stdlib/test-canon.c: Likewise.
13869         * stdlib/testdiv.c: Likewise.
13870         * stdlib/testrand.c: Likewise.
13871         * string/argz-append.c: Likewise.
13872         * string/argz-count.c: Likewise.
13873         * string/argz-create.c: Likewise.
13874         * string/argz-ctsep.c: Likewise.
13875         * string/argz-delete.c: Likewise.
13876         * string/argz-extract.c: Likewise.
13877         * string/argz-insert.c: Likewise.
13878         * string/argz-next.c: Likewise.
13879         * string/argz-stringify.c: Likewise.
13880         * string/basename.c: Likewise.
13881         * string/envz.c: Likewise.
13882         * string/memfrob.c: Likewise.
13883         * string/strcoll.c: Likewise.
13884         * string/strdup.c: Likewise.
13885         * string/string.h: Likewise.
13886         * string/strndup.c: Likewise.
13887         * string/strnlen.c: Likewise.
13888         * string/strsignal.c: Likewise.
13889         * string/strxfrm.c: Likewise.
13890         * string/test-ffs.c: Likewise.
13891         * string/testcopy.c: Likewise.
13892         * sysdeps/generic/enbl-secure.c: Likewise.
13893         * sysdeps/generic/memcopy.h: Likewise.
13894         * sysdeps/generic/stpncpy.c: Likewise.
13895         * sysdeps/generic/strcasecmp.c: Likewise.
13896         * sysdeps/generic/strcat.c: Likewise.
13897         * sysdeps/generic/strchr.c: Likewise.
13898         * sysdeps/generic/strcpy.c: Likewise.
13899         * sysdeps/generic/strcspn.c: Likewise.
13900         * sysdeps/generic/strlen.c: Likewise.
13901         * sysdeps/generic/strncase.c: Likewise.
13902         * sysdeps/generic/strncat.c: Likewise.
13903         * sysdeps/generic/strncpy.c: Likewise.
13904         * sysdeps/generic/strpbrk.c: Likewise.
13905         * sysdeps/generic/strsep.c: Likewise.
13906         * sysdeps/generic/strspn.c: Likewise.
13907         * sysdeps/generic/strstr.c: Likewise.
13908         * sysdeps/generic/strtok.c: Likewise.
13909         * sysdeps/generic/strtok_r.c: Likewise.
13910         * sysdeps/mach/sleep.c: Likewise.
13911         * sysdeps/posix/sleep.c: Likewise.
13912         * sysdeps/stub/sleep.c: Likewise.
13913         * time/date.c: Likewise.
13914         * time/test_time.c: Likewise.
13915         * wcsmbs/wmemcpy.c: Likewise.
13916         * wctye/test_wctype.c: Likewise.
13917         * wctye/towctrans.c: Likewise.
13918         * wctye/wcfuncs.c: Likewise.
13919         * wctye/wctrans.c: Likewise.
13921 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
13923         * argp/Makefile: New file.
13924         * argp/argp.h: Likewise.
13925         * argp/argp-ba.c: Likewise.
13926         * argp/argp-fmtstream.c: Likewise.
13927         * argp/argp-fmtstream.h: Likewise.
13928         * argp/argp-fs-xinl.c: Likewise.
13929         * argp/argp-help.c: Likewise.
13930         * argp/argp-namefrob.h: Likewise.
13931         * argp/argp-parse.c: Likewise.
13932         * argp/argp-pv.c: Likewise.
13933         * argp/argp-pvh.c: Likewise.
13934         * argp/argp-test.c: Likewise.
13935         * argp/argp-xinl.c: Likewise.
13937 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
13939         * stdlib/qsort.c: Add prototype for _quicksort.
13941         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
13943         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
13944         from dl-machine.h.
13946 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
13948         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
13949         Allow user to overwrite it.
13951 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
13953         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
13954         versions.  Reported by Andreas Jaeger.
13956 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
13958         * time/tzfile.c (__tzfile_read): Change comment to follow
13959         change of 1997-02-12.
13961 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
13963         * time/time.h (__nanosleep): Define only when struct timespec is
13964         also available.
13965         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
13967 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
13969         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
13970         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
13972 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
13974         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
13975         of 1997-02-09 in resolv/gethnamaddr.c.
13977 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
13979         * libio/_G_config.h (_G_wint_t): New.
13981 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
13983         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
13984         to sizeof (buf.buf) while calling res_search ().
13986 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
13988         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
13989         val to keydat, stat to status.
13991 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
13993         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
13995 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
13997         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
13998         by Keith Bostic.
14000 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
14002         * stdlib/atoll.c: Undefine atoll, not atol.
14004 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14006         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
14007         unused arguments of shell script.
14009         * Makeconfig (all-object-suffixes): New variable.
14010         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
14011         of $(object-suffixes).
14012         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
14014 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
14016         * string/argz-ctsep.c: Initialize *LEN when successful.
14018 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
14020         * stdio-common/_itoa.h: Update copyright.
14022 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
14024         * version.h (VERSION): Bump to 2.0.2.
14026         * posix/Makefile (routines): Add getopt_init.
14027         * posix/getopt.c: Don't get environment variable with nonoption
14028         flags here.  Depend on __getopt_nonoption_flags variable filled
14029         somewhere else.  This is necessary since the variable must be
14030         removed even when getopt isn't used in case exec(2) gets called.
14031         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
14032         and remove environment variable.
14033         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
14034         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14035         * sysdeps/stub/init-first.c: Likewise.
14036         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14038         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
14039         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
14041         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
14042         encryption is wanted.
14044         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
14045         * stdio/vsnprintf.c: Likewise.
14046         Reported by Philip Blundell <pjb27@cam.ac.uk>.
14048         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
14049         * stdio/vsnprintf.c: Likewise.
14050         Reported by Philip Blundell <pjb27@cam.ac.uk>.
14052 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
14054         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
14055         Change PTR to void *.
14056         * sysdeps/posix/vdprintf.c: Change PTR to void *.
14057         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
14059 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
14061         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
14063 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14065         * rellns-sh: No need to check for existance of first parameter.
14067 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14069         * rellns-sh: No need to check for existance of first parameter.
14071 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14073         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
14074         by David Holland <dholland@eecs.harvard.edu>.
14076 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14078         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
14079         select, in case it is modified by the latter.
14080         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14081         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14082         * sunrpc/svc_tcp.c (readtcp): Likewise.
14084         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
14085         array.
14087         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
14088         and gid_t.
14090         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
14091         argument.
14093 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14095         * elf/Makefile (extra-objs): Don't zap previous value.
14096         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
14097         twice.
14099 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14101         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
14102         braindamage (sigh!).
14104 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
14106         * manual/memory.texi: Correct `copystring' example for obstacks.
14108 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
14110         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
14111         GNU tr don't grok it.
14113 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14115         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
14116         Don't use GNU C extensions.
14117         (CMSG_DATA): Use portable definition.
14119 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
14121         * elf/ldd.bash.in: Add test for read permission and print appropriate
14122         message.  Change warning and error messages to print "ldd: " at start.
14123         * elf/ldd.sh.in: Likewise.
14125         * stdlib/Makefile (routines): Add atoll.
14126         * stdlib/atoll.c: New file.
14127         * stdlib/stdlib.h: Add prototype and optimization for atoll.
14129         * stdlib/a64l.c: Update copyright.
14130         * stdlib/abs.c: Likewise.
14131         * stdlib/atof.c: Likewise.
14132         * stdlib/atoi.c: Likewise.
14133         * stdlib/atol.c: Likewise.
14134         * stdlib/bsearch.c: Likewise.
14135         * stdlib/exit.c: Likewise.
14136         * stdlib/fpioconst.c: Likewise.
14137         * stdlib/fpioconst.h: Likewise.
14138         * stdlib/jrand48.c: Likewise.
14139         * stdlib/jrand48_r.c: Likewise.
14140         * stdlib/labs.c: Likewise.
14141         * stdlib/lcong48.c: Likewise.
14142         * stdlib/lcong48_r.c: Likewise.
14143         * stdlib/llabs.c: Likewise.
14144         * stdlib/lrand48.c: Likewise.
14145         * stdlib/lrand48_r.c: Likewise.
14146         * stdlib/mblen.c: Likewise.
14147         * stdlib/mbstowcs.c: Likewise.
14148         * stdlib/mbtowc.c: Likewise.
14149         * stdlib/mp_clz_tab.c: Likewise.
14150         * stdlib/mrand48.c: Likewise.
14151         * stdlib/mrand48_r.c: Likewise.
14152         * stdlib/msort.c: Likewise.
14153         * stdlib/nrand48.c: Likewise.
14154         * stdlib/nrand48_r.c: Likewise.
14155         * stdlib/qsort.c: Likewise.
14156         * stdlib/rpmatch.c: Likewise.
14157         * stdlib/seed48.c: Likewise.
14158         * stdlib/seed48_r.c: Likewise.
14159         * stdlib/srand48.c: Likewise.
14160         * stdlib/srand48_r.c: Likewise.
14161         * stdlib/strtod.c: Likewise.
14162         * stdlib/wcstombs.c: Likewise.
14163         * stdlib/wctomb.c: Likewise.
14165 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
14167         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
14168         as const.
14170 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
14172         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
14173         including <stddef.h>.
14175 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
14177         * time/Makefile (tzbases, tzlinks): New.
14178         (tzfiles): Changed to $(tzbases) $(tzlinks).
14179         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
14181 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
14183         * Makefile (install): Ignore error from ldconfig.
14185         * time/zic.c (mkdirs): Double check the error return of mkdir ().
14187 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
14189         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
14190         like PPC where va_list is no integral type.
14192 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
14194         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
14195         if nonoption_flags_len == -1.
14197 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
14199         * Version 2.0.1 net release.
14201 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
14203         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
14205 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
14207         * stdlib/getsubopt.c: Don't return `=' for suboption which has
14208         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
14210 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
14212         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
14213         values as in yp.x and yp.h.
14215 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
14217         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
14218         1997-02-03 02:17.  Sun's implementation internally corrects
14219         this bug but we don't want to hide this from the user.
14220         * nis/rpcsvc/yp.h: Likewise.
14222 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14224         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
14225         inclusion.
14227 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14229         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
14230         fixes.
14232 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14234         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
14235         (all-sources, all-headers): Use them instead of $(sources) and
14236         $(headers) when searching in sysdep directories.
14238 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14240         * Makerules (REAL_MAKE_VERSION): Use internal make function
14241         instead of shelling out.
14243 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14245         * time/Makefile (install-test-data): Remove mkdir command, zic can
14246         handle that gracefully.
14248 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14250         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
14251         somehow.
14253 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14255         * sunrpc/Makefile: Check $(cross-compiling) only after including
14256         ../Makeconfig.
14257         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
14258         being considered as a rule.
14259         (generated): Add stamp files before the inclusion of Makerules to
14260         magically mark them as not being intermediate via the `generated'
14261         target.
14263 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
14265         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
14266         entries.  This is still no complete implementation since AUXILIARY
14267         entries in other shared objects are not yet handled.
14269         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
14270         place.
14272         * po/es.po: Update.
14273         * po/fr.po: Update.
14274         * po/nl.po: Update.
14276         * time/Makefile: Better cross-compile support.  Avoid test which
14277         cannot be run.
14278         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
14279         tzfile.h file.
14280         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
14281         in SUID programs.
14282         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
14283         default values as in tzfile.c.
14285         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
14286         tags.
14287         * elf/link.h: Likewise.
14288         * elf/elf.h: Add tag definitions and data structures for versioning.
14290 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
14292         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
14293         "Sun bug".  This is the order of elements also used by 4.4BSD.
14294         * nis/rpcsvc/yp.h: Likewise.
14295         Reported by HJ Lu.
14297 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
14299         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
14300         action.
14302         * Makefile (install): Pass installation directories as arguments
14303         to ldconfig.
14305 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
14307         * malloc/malloc.c (__after_morecore_hook): New variable.
14308         (malloc_extend_top): Call __after_morecore_hook if set.
14309         (main_trim): Likewise.
14310         * malloc/malloc.h: Add declaration of __after_morecore_hook.
14311         Suggested by Marcus Daniels.
14313 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
14315         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
14316         #ifndef NO_THREADS.
14317         (mallinfo): Likewise.
14319         * malloc/malloc.c (__morecore): Make external since it is used in
14320         programs.
14322 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
14324         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
14325         unsigned.
14327 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
14329         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
14330         use t6 as a temporary; it contains bits we still need in $u_head.
14332 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
14334         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
14335         using __ prefix.  Add prototype for log1p.
14337 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
14339         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
14341 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
14343         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
14345 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
14347         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
14348         structure plus related macros.
14349         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
14350         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
14351         (sysdep_routines): Add cmsg_nxthdr.
14352         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
14353         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
14355 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
14357         * time/strftime.c: Define _strftime_copytm without protecting arguments
14358         which breaks the definition.
14360 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
14362         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
14363         definition of type for element.
14365 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
14367         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
14368         constants.
14370 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
14372         * Makefile: Pass PARALLELMFLAGS to sub-makes.
14373         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
14375 1997-01-31  Paul Eggert  <eggert@twinsun.com>
14377         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
14378         Define if _LIBC is defined.
14379         <limits.h>: Include if HAVE_LIMITS_H instead of if
14380         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
14381         <stdlib.h>: Similarly, include if STDC_HEADERS.
14382         (localtime_r): Redo #ifdef to make it clear that glibc has
14383         localtime_r now.
14385 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14387         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
14388         file to avoid unnecessary recompilation.
14390 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14392         * Makefile: Set install-others, not install_others.
14393         (before-compile): Use += to preserve previous value.
14394         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
14395         fix dependency name.
14396         ($(objpfx)lib-names.h): Remove rule.
14397         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
14398         with correct name, using an intermediate stamp file.
14399         (common-generated): Add gnu/lib-names.h.
14400         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
14402 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
14404         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
14405         to prevent warnings on 64 bit systems.
14406         Reported by Paul Wouters <paul@xtdnet.nl>.
14408         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
14409         we assume it works.
14411 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
14413         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
14414         double word boundary before pushing args for main.  This way we
14415         don't get penalties for misaligned memory accesses.  Reported by
14416         Edward Seidl <seidl@janed.com>.
14418         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
14419         Patch by HJ Lu.
14421         * misc/bsd-compat.c: Update copyright.
14422         * misc/efgcvt.c: Likewise.
14423         * misc/efgcvt_r.c: Likewise.
14424         * misc/error.c: Likewise.
14425         * misc/error.h: Likewise.
14426         * misc/fstab.c: Likewise.
14427         * misc/init-misc.c: Likewise.
14428         * misc/lsearch.c: Likewise.
14429         * misc/mntent.c: Likewise.
14430         * misc/qefgcvt.c: Likewise.
14431         * misc/qefgcvt_r.c: Likewise.
14432         * nss/databases.def: Likewise.
14433         * nss/db-Makefile: Likewise.
14434         * nss/ethers-lookup.c: Likewise.
14435         * nss/hosts-lookup.c: Likewise.
14436         * nss/netgrp-lookup.c: Likewise.
14437         * nss/nsswitch.h: Likewise.
14438         * nss/proto-lookup.c: Likewise.
14439         * nss/rpc-lookup.c: Likewise.
14440         * nss/service-lookup.c: Likewise.
14441         * nss/nss_db/db-netgrp.c: Likewise.
14442         * nss/nss_files/files-grp.c: Likewise.
14443         * nss/nss_files/files-hosts.c: Likewise.
14444         * nss/nss_files/files-network.c: Likewise.
14445         * nss/nss_files/files-proto.c: Likewise.
14446         * nss/nss_files/files-pwd.c: Likewise.
14447         * nss/nss_files/files-rpc.c: Likewise.
14448         * nss/nss_files/files-service.c: Likewise.
14449         * nss/nss_files/files-spwd.c: Likewise.
14450         * shadow/fgetspent.c: Likewise.
14451         * shadow/fgetspent_r.c: Likewise.
14452         * shadow/getspent.c: Likewise.
14453         * shadow/getspent_r.c: Likewise.
14454         * shadow/getspnam.c: Likewise.
14455         * shadow/getspnam_r.c: Likewise.
14456         * shadow/putspent.c: Likewise.
14457         * shadow/sgetspent.c: Likewise.
14458         * shadow/sgetspent_r.c: Likewise.
14459         * sysdeps/i386/init-first.c: Likewise.
14460         * sysdeps/unix/i386/sysdep.S: Likewise.
14462         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
14463         prepared to be running in a multi-threaded environment.  Change
14464         to __USE_MISC unless the function is defined in POSIX.1 (in this
14465         case also test for __USE_POSIX).
14466         * dirent/dirent.h: Likewise.
14467         * grp/grp.h: Likewise.
14468         * inet/aliases.h: Likewise.
14469         * libio/libio.h: Likewise.
14470         * libio/stdio.h: Likewise.
14471         * login/utmp.h: Likewise.
14472         * math/mathcalls.h: Likewise.
14473         * misc/mntent.h: Likewise.
14474         * pwd/pwd.h: Likewise.
14475         * resolv/netdb.h: Likewise.
14476         * stdlib/stdlib.h: Likewise.
14477         * string/string.h: Likewise.
14478         * sunrpc/rpc/netdb.h: Likewise.
14479         * sysdeps/generic/crypt.h: Likewise.
14480         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
14481         * time/time.h: Likewise.
14483 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
14485         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
14486         only if not cross compiling.
14488 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
14490         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
14491         NULL.
14492         * sysdeps/posix/sigwait.c: Likewise.
14494 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14496         * Makeconfig ($(common-objpfx)config.make): Depend on
14497         $(..)config.make.in.
14499 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
14501         * sunrpc/Makefile: Don't generate headers derived from .x files when
14502         crosscompiling.
14504 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
14506         * Makefile: Generate gnu/lib-names.h in before-compile.
14507         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
14508         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
14509         to the revision found for LIBNSS_FILES_SO.
14510         (nss_initilized): Removed.  It was tested but never set.
14511         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
14513         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
14514         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
14516         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
14518 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
14520         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
14521         override the definition.
14523 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
14525         * config.make.in (malloc): Remove.
14527 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
14529         * version.h (VERSION): Bump to 2.0.1.
14531         * posix/getopt.c: Handle another problem introduced by the
14532         nonoption_flags array.  We must be able to work with reordered
14533         argv arrays.  Reported by Andreas Schwab.
14535 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
14537         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
14538         stack.
14540 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
14542         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
14543         that it works with yp.h.
14545 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
14547         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
14548         __libc_malloc_initialized so that this variable is not shared with
14549         other users of GNU malloc.
14550         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
14552         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
14554         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
14555         variables to prevent warnings.
14556         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
14557         using attribute regparm.
14558         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
14559         is changed by the resolver code.
14561 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14563         * malloc/malloc.c (weak_variable): Define.
14564         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
14565         __memalign_hook): Make them weak definitions.
14567 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14569         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
14570         limits, correctly take structure padding into account, use correct
14571         offset when resetting the stream, change heuristic to assume an
14572         average name length of 14 characters.
14574 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
14576         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
14577         inclusion.
14580 See ChangeLog.6 for earlier changes.