Update.
[glibc.git] / ChangeLog
blob40e559d74a597544db15bc7534478d058be9f482
1 1997-10-12 05:09  Ulrich Drepper  <drepper@cygnus.com>
3         * libio/Makefile (routines): Remove iofprintf.
4         * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
5         * libio/filedoalloc.c: Use _G_stat64 instead of stat.
6         * libio/fileops.c (_IO_file_open): Change to take extra argument
7         indicating whether 32 or 64 bit mode is wanted.
8         * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
9         * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
10         * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
11         * libio/iofgetpos.c: Pretty print.
12         * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
14         * manual/conf.texi: Document all the _SC_ and _CS_ constants.
15         * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
16         and _FILE_OFFSET_BITS.
17         * manual/llio.texi: Document truncate and ftruncate.
18         * manual/stdio.texi: Document positional parameters for printf.
20         * math/Makefile (headers): Add tgmath.h.
21         (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
22         move to ...
23         (libm-calls): ... here.  Add scalbln, s_nextafterx and s_fma.
24         * math/libm-test.c (lround_test, llround_test): Test for all FP formats
25         by using FUNC().
26         * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
27         nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
28         llrintl, lroundf, lroundl, llroundf, and llroundl.
29         * math/math.h: Document new platform specific macros from mathdef.h.
30         Remove declaration of lrint, llrint, lround, and llround.
31         * math/test-double.c: Define TEST_DOUBLE.
32         * math/test-idouble.c: Likewise.
33         * math/test-float.c: Define TEST_FLOAT.
34         * math/test-ifloat.c: Likewise.
35         * math/tgmath.h: New file.
36         * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
37         lround, and llround.
38         Change second argument of scalbn to `int'.
39         * sysdeps/libm-ieee754/s_fma.S: New file.
40         * sysdeps/libm-ieee754/s_fmaf.S: New file.
41         * sysdeps/libm-ieee754/s_fmal.S: New file.
42         * sysdeps/libm-i387/s_fma.S: New file.
43         * sysdeps/libm-i387/s_fmaf.S: New file.
44         * sysdeps/libm-i387/s_fmal.S: New file.
45         * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
46         * sysdeps/libm-i387/s_lrint.S: Likewise.
47         * sysdeps/libm-i387/s_llrintf.S: New file.
48         * sysdeps/libm-i387/s_llrintl.S: New file.
49         * sysdeps/libm-i387/s_lrintf.S: New file.
50         * sysdeps/libm-i387/s_lrintl.S: New file.
51         * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
52         80bit double.
53         * sysdeps/libm-ieee754/s_lrint.c: Likewise.
54         * sysdeps/libm-ieee754/s_llrintf.S: New file.
55         * sysdeps/libm-ieee754/s_llrintl.S: New file.
56         * sysdeps/libm-ieee754/s_lrintf.S: New file.
57         * sysdeps/libm-ieee754/s_lrintl.S: New file.
58         * sysdeps/libm-i387/s_scalbln.c: New file.  Empty file.
59         * sysdeps/libm-i387/s_scalblnf.c: New file.  Empty file.
60         * sysdeps/libm-i387/s_scalblnl.c: New file.  Empty file.
61         * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
62         * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
63         * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
64         * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
65         80bit double.
66         * sysdeps/libm-ieee754/s_lround.c: Likewise.
67         * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
68         * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
69         * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
70         * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
71         * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
72         * sysdeps/libm-ieee754/s_nextafterx.c: New file.
73         * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
74         * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
75         * sysdeps/libm-ieee754/s_scalbln.c: New file.
76         * sysdeps/libm-ieee754/s_scalblnf.c: New file.
77         * sysdeps/libm-ieee754/s_scalblnl.c: New file.
78         * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
79         * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
80         * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
82         * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
83         by #ifdefs since they are duplicated in inttypes.h.
84         * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
85         strtoumax plus needed declarations.
87         * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
89 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
91         * locale/programs/locfile.c (locfile_read): Correct while loop.
93         * db2/makedb.c (main): Add missing parameter for error output.
94         (process_input): Likewise.
96         * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
98 1997-10-12 05:05  Ulrich Drepper  <drepper@cygnus.com>
100         * libc-map: Add __bzero, __mempcpy.
102 1997-10-10 18:51  David S. Miller  <davem@tanya.rutgers.edu>
104         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
105         on kernel_termios.h
107 1997-10-09  10:24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
109         Add the changes from the Solaris 2.6 header files, use the new public
110         defines/functions.
111         * nis/nis_addmember.c: Updated.
112         * nis/nis_checkpoint.c: Updated.
113         * nis/nis_creategroup.c: updated.
114         * nis/nis_destroygroup.c: Updated.
115         * nis/nis_getservlist.c: Updated.
116         * nis/nis_ismember.c: Updated.
117         * nis/nis_lookup.c: Updated.
118         * nis/nis_modify.c: Updated.
119         * nis/nis_ping.c: Updated.
120         * nis/nis_print.c: Updated.
121         * nis/nis_print_group_entry.c: Updated.
122         * nis/nis_remove.c: Updated.
123         * nis/nis_removemember.c: Updated.
124         * nis/nis_xdr.c: Updated.
125         * nis/nss_nisplus/nisplus-alias.c: Updated.
126         * nis/nss_nisplus/nisplus-ethers.c: Updated.
127         * nis/nss_nisplus/nisplus-hosts.c: Updated.
128         * nis/nss_nisplus/nisplus-network.c: Updated.
129         * nis/nss_nisplus/nisplus-parser.c: Updated.
130         * nis/nss_nisplus/nisplus-proto.c: Updated.
131         * nis/nss_nisplus/nisplus-rpc.c: Updated.
132         * nis/nss_nisplus/nisplus-service.c: Updated.
133         * nis/rpcsvc/nis.h: Updated.
134         * nis/rpcsvc/nis.x: Updated.
135         * nis/rpcsvc/nis_object.x: Updated.
136         * nis/rpcsvc/nis_tags.h: Updated.
137         * nis/rpcsvc/nislib.h: Updated.
139         * nis/lckcache.c: Removed, since Sun has dropped the directory
140         signatures.  The old cache version is now a security risk and not
141         longer supported by Sun.
142         * nis/nis_cache.c: Likewise.
143         * nis/rpcsvc/nis_cache.h: Likewise.
144         * nis/rpcsvc/nis_cache.x: Likewise.
146         * nis/nis_call.c: Remove calls to the cache functions.
148         * nis/libnsl.map: Remove cache and depending functions.
149         * nis/nis_intern.h: Likewise.
151         * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
152         * nis/nis_domain_of.c: Likewise.
153         * nis/nis_domain_of_r.c: Likewise.
154         * nis/nis_error.c: Likewise.
155         * nis/nis_file.c: Likewise.
156         * nis/nis_local_names.c: Likewise.
157         * nis/nis_mkdir.c: Likewise.
158         * nis/nis_rmdir.c: Likewise.
159         * nis/nis_subr.c: Likewise.
160         * nis/nis_verifygroup.c: Likewise.
162         * nis/nis_clone.c: Removed, replaced by ...
163         * nis/nis_clone_dir.c: New.
164         * nis/nis_clone_obj.c: New.
165         * nis/nis_clone_res.c: New.
166         * nis/nis_table.c: Fixed bugs shown through the new clone functions.
168         * nis/nis_defaults.c: Fixed a lot of race conditions.
170         * nis/nis_free.c: Rewritten.
172         * sunrpc/auth_des.c: Fix use of free'ed pointer.
174         * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
175         lckcache.  Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
177 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
179         * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
181 1997-10-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
183         * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
184         be empty.
186 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
188         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
189         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
190         struct and not a pointer.  Little optimizations.
192 1997-10-09 05:00  Ulrich Drepper  <drepper@cygnus.com>
194         * sysdeps/stub/getenv.c: Remove unused file.
195         * sysdeps/stub/lxstat.c: Likewise.
196         * sysdeps/stub/morecore.c: Likewise.
197         * sysdeps/stub/putenv.c: Likewise.
198         * sysdeps/stub/sbrk.c: Likewise.
199         * sysdeps/stub/setenv.c: Likewise.
200         * sysdeps/stub/sysd-stdio.c: Likewise.
201         * sysdeps/stub/sysdep.h: Likewise.
202         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
204 1997-10-09 04:58  Ulrich Drepper  <drepper@cygnus.com>
206         * configure.in: Add __bzero definition to DWARF2 unwind test.
207         Reported by David S. Miller <davem@caip.rutgers.edu>.
209 1997-10-07  Paul Eggert  <eggert@twinsun.com>
211         * intl/loadmsgcat.c (_nl_load_domain):
212         Fix &&/|| typo when checking file size.
213         Check for overflow when stuffing off_t into size_t.
215 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
217         * time/africa: Update from tzdata1997i.
219 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
221         * posix/globtest.sh: Add arguments for name of dynamic linker and
222         call dynamic linker to execute globtest.
224         * posix/Makefile (tests): Supply arguments to globtest.sh.
226 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
228         * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
230 1997-10-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
232         * libc.map: Add mempcpy, prctl.
234 1997-09-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
236         * sysdeps/generic/memcmp.c: Avoid warnings.
237         * sysdeps/generic/memset.c: Likewise.
238         * sysdeps/generic/strchr.c: Likewise.
239         * sysdeps/generic/strlen.c: Likewise.
241 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
243         * malloc/Makefile ($(objpfx)mtrace): Fix typo.
245 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
247         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
248         The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
249         the addend, Richard.
250         (elf_machine_fixup_plt): Don't add the addend.
251         (elf_machine_plt_value): New function.
253         * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
254         function.
255         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
256         function.
257         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
258         function.
259         * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
260         function.
261         * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
262         function.
264         * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
265         addend, instead let the machine dependent setup decide.
267 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
269         * sysdeps/m68k/m68020/bits/string.h: New file.
271 1997-10-07 04:27  Richard Henderson  <rth@cygnus.com>
273         * Makeconfig (+includes): Add -I$(objpfx).
275         * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
277         * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp.  Make
278         the former a strong symbol and the later a weak alias.
279         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
280         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
282 1997-10-06 21:01  David S. Miller  <davem@tanya.rutgers.edu>
284         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
285         64-bits.
286         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
287         member 64-bits as well, to match the kernel.
289 1997-10-06 19:35  Ulrich Drepper  <drepper@cygnus.com>
291         * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
292         Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
294 1997-10-06 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
296         * time/README: Correct list of files from tzcode package.  Add
297         contact information for tzcode/tzdata maintainers.  Correct
298         spelling of author's name.  Compact lists.
300 1997-10-06 01:48  Ulrich Drepper  <drepper@cygnus.com>
302         * malloc/malloc.h: Remove hook definition without caller argument.
303         * malloc/malloc.c: Likewise.
305         * string/tester.c: Correct strsep test.
307         * string/bits/string2.h: Define __string2_1bptr_p and use it.
308         Patch by David S. Miller <davem@tanya.rutgers.edu>.
310         * math/Makefile (routines): Add s_clog10.
311         * math/libm-test.c: Add test for clog10.
312         * math/libm.map: Add clog10{,f,l}.
313         * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
314         * sysdeps/libm-ieee754/s_clog10.c: New file.
315         * sysdeps/libm-ieee754/s_clog10f.c: New file.
316         * sysdeps/libm-ieee754/s_clog10l.c: New file.
317         * manual/math.texi: Describe clog10.
319         * config.h.in: Add USE_REGPARMS and define internal_function based on
320         this.
321         * configure.in: Define USE_REGPARMS for ix86 machines.
322         * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
323         as internal functions.
324         * inet/getnameinfo.c: Likewise for  nrl_domainname.
325         * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
326         * inet/rcmd.c: Likewise for __icheckhost.
327         * intl/dcgettext.c: Likewise for category_to_name and
328         guess_category_value.
329         * intl/localealias.c: Likewise for read_alias_file.
330         * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
331         fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
332         * libio/genops.c: Likewise for save_for_backup.
333         * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
334         main_trim, heap_trim): Likewise.
335         * malloc/mtrace.c (tr_where): Likewise.
336         * misc/fstab.c (mnt2fs): Likewise.
337         * misc/getttyent.c (skip, value): Likewise.
338         * misc/syslog.c (openlog_internal): Likewise.
339         * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
340         * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
341         nss_parse_service_list, nss_new_service): Likewise.
342         * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
343         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
344         * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
345         * resolv/res_init.c (res_setoptions): Likewise.
346         * stdio-common/printf_fp.c (group_number): Likewise.
347         * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
348         * stdlib/fmtmsg.c (internal_addseverity): Likewise.
349         * sunrpc/auth_des.c (synchronize): Likewise.
350         * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
351         * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
352         * sunrpc/key_call.c (key_call): Likewise.
353         * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
354         * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
355         * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
356         Likewise.
357         * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
358         set_input_fragment, get_input_bytes): Likewise.
359         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
360         phys_pages_info): Likewise.
361         * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
362         * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
363         * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
364         Likewise.
365         * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
366         Likewise.
367         * time/strptime.c (strptime_internal): Likewise.
368         * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
369         * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
371         * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
373         * ctype/ctype.h: Pretty print.
374         * grp/grp.h: Likewise.
375         * include/libc-symbols.h: Likewise.
376         * include/limits.h: Likewise.
377         * include/values.h: Likewise.
378         * io/fcntl.h: Likewise.
379         * io/sys/stat.h: Likewise.
380         * libio/stdio.h: Likewise.
381         * malloc/malloc.h: Likewise.
382         * misc/err.h: Likewise.
383         * misc/regexp.h: Likewise.
384         * misc/sys/cdefs.h: Likewise.
385         * misc/sys/file.h: Likewise.
386         * posix/sys/utsname.h: Likewise.
387         * posix/sys/wait.h: Likewise.
388         * pwd/pwd.h: Likewise.
389         * resolv/netdb.h: Likewise.
390         * signal/signal.h: Likewise.
391         * stdlib/stdlib.h: Likewise.
392         * string/endian.h: Likewise.
393         * string/memory.h: Likewise.
394         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
395         * sysdeps/mach/hurd/sys/param.h: Likewise.
396         * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
397         * termios/termios.h: Likewise.
398         * wcsmbs/wchar.h: Likewise.
399         * wctype/wctype.h: Likewise.
401         * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
403         Implement Large File Support API.
404         * include/features.h: Add suuport for _LARGEFILE_SOURCE,
405         _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
406         * libc.map: Add new functions for LFS.
407         * dirent/Makefile (routines): Add readdir64 and readdir64_r.
408         * dirent/dirent.h: Update readdir prototype for LFS and add new
409         prototypes for above functions.
410         * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
411         statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
412         * io/creat64.c: New file.
413         * io/fstat64.c: New file.
414         * io/lstat64.c: New file.
415         * io/stat64.c: New file.
416         * io/ftw64.c: New file.
417         * io/ftw.c: Rewrite to allow easy definition of ftw64.
418         * io/ftw.h: Add LFS interface.
419         * io/fcntl.h: Likewise.
420         * io/sys/stat.h: Likewise.
421         * io/sys/statfs.h: Likewise.
422         * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
423         freopen64, fseeko64, and ftello64.
424         * libcio/fseeko64.c: New file.
425         * libio/ftello64.c: New file.
426         * libio/iofgetpos64.c: New file.
427         * libio/iofopen64.c: New file.
428         * libio/iofsetpos64.c: New file.
429         * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
430         (_IO_file_attach): Likewise.
431         (_IO_do_write): Likewise.
432         (_IO_file_sync): Likewise.
433         (_IO_file_seek): Likewise.
434         (_IO_file_seekoff): Likewise.  Use _G_stat64.
435         (_IO_file_fopen64): New function.
436         (_IO_file_jumps): Initialize showmanyc and imbue.
437         * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
438         (_IO_default_seekoff): Likewise.
439         (_IO_default_seek): Likewise.
440         (_IO_default_showmanyc, _IO_default_imbue): New functions.
441         * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
442         * libio/iolibio.h: Add prototypes for LFS functions.
443         * libio/ioseekoff.c: Change to use _IO_fpos64_t.
444         * libio/ioseekpos.c: Likewise.
445         * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
446         (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
447         (_IO_seekoff, _IO_seekpos): Change prototype.
448         * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
449         to use _IO_off64_t.
450         Change prototypes for function from the *ops.c files.
451         * libio/stdio.h: Add LFS interface definition.
452         * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
453         * posix/Makefile (routines): Add pread64 and pwrite64.
454         * posix/confstr.c: Handle _CS_LFS* requests.
455         * posix/getconf.c: Handle LFS* requests.
456         * sysdeps/generic/confname.h: Add _CS_LFS* constants.
457         * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
458         Define off_t and off64_t appropriately.  Change prototypes of
459         LFS functions.
460         * posix/sys/types.h: Add LFS types.
461         * resources/Makefile (routines): Add getrlimit64 and setlimit64.
462         * resource/sys/resource.h: Change prototypes of LFS functions.
463         * stdio-common/Makefile (routines): Add tmpfile64.
464         * stdio-common/tmpfile64.c: New file.
465         * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
466         Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
467         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
468         * sysdeps/generic/bits/resource.h: Add LFS definitions.
469         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
470         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
471         * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
472         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
473         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
474         * sysdeps/generic/types.h: Define LFS types.
475         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
476         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
477         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
478         * sysdeps/generic/sys/mman.h: Add LFS definitions.
479         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
480         * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
481         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
482         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
483         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
484         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
485         * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
486         * sysdeps/unix/bsd/bits/stat.h: Likewise.
487         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
488         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
489         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
490         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
491         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
492         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
493         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
494         * sysdeps/posix/open64.c: New file.
495         * sysdeps/stub/fstatfs64.c: New file.
496         * sysdeps/stub/fxstat64.c: New file.
497         * sysdeps/stub/getrlimit64.c: New file.
498         * sysdeps/stub/lseek64.c: New file.
499         * sysdeps/stub/lxstat64.c: New file.
500         * sysdeps/stub/open64.c: New file.
501         * sysdeps/stub/pread64.c: New file.
502         * sysdeps/stub/pwrite64.c: New file.
503         * sysdeps/stub/readdir64.c: New file.
504         * sysdeps/stub/readdir64_r.c: New file.
505         * sysdeps/stub/setrlimit64.c: New file.
506         * sysdeps/stub/statfs64.c: New file.
507         * sysdeps/stub/xstat64.c: New file.
508         * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
509         llseek and lseek64 weak aliases.
510         * sysdeps/unix/sysv/linux/lseek64.c: New file.  Empty.
511         * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
512         * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
514         * sysdeps/posix/tempname.c: Add extra argument to trigger use of
515         open64.
516         * sysdeps/stub/tempname.c: Likewise.
517         * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
518         argument.
519         * stdio-common/tmpfile.c: Likewise.
520         * stdio-common/tmpnam.c: Likewise.
521         * stdio-common/tmpnam_r.c: Likewise.
523         * libio/libioP.h: Add definition ofr showmanyc and imbue callbacks.
524         * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
525         * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
526         * libio/iopopen.c (_IO_proc_jumps): Likewise.
527         * libio/memstream.c (_IO_mem_jumps): Likewise.
528         * libio/obprintf.c (_IO_obstack_jumps): Likewise.
529         * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
530         * libio/strops.c (_IO_str_jumps): Likewise.
532         * manual/arith.texi: Add a few words why cabs should be used.
533         * manual/llio.texi: Describe sync, fsync, fdatasync.
534         Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
535         * manual/process.texi: Tell about cleanup handlers & system,waitpid,
536         wait.
537         * manual/signal.texi: Likewise for pause.
538         * manual/terminal.texi: Likewise for tcdrain.
539         * manual/time.texi: Document nanosleep.
541         * posix/exevp.c: Don't use nested function.
543         * stdlib/ucontext.h: New file.
544         * sysdeps/i386/sys/ucontext.h: New file.  SysV/i386 API definitions.
546         * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
548         * sysdeps/i386/setjmp.h: Make `here` label local.
550         * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
552         * sysdeps/stub/fstatfs.c: Correct warning.
553         * sysdeps/stub/fxstat.c: Likewise.
554         * sysdeps/stub/lxstat.c: Likewise.
556         * sysdeps/unix/sysv/i386/i686/time.S: New file.
558 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
560         * malloc/obstack.h (obstack_empty_p): New macro.
562 1997-10-04 17:41  Philip Blundell  <Philip.Blundell@pobox.com>
564         * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
566 1997-09-30  Zack Weinberg <zack@rabi.phys.columbia.edu>
568         * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
569         Document new --with-binutils switch; delete reference to
570         --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
571         Add to description of --without-fp: a kernel FPU emulator
572         is adequate (from FAQ)
573         * INSTALL: Regenerated.
575 1997-09-30 17:29  Richard Henderson  <rth@cygnus.com>
577         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
578         _dl_hwcap declaration to ...
579         (elf_machine_fixup_plt): ... here.
581 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
583         * Makerules: Undo last change.
584         * csu/Makefile: Define before-compile at the right place.
586         * aclocal.m4: Remove a.out file created by assembler test.
588         * set-init.c: Find set-hooks.h using <...>.
590         Update to db 2.3.10.
591         * db2/Makefile: Update.
592         * db2/db.h: Likewise.
593         * db2/db_185.h: Likewise.
594         * db2/db_int.h: Likewise.
595         * db2/btree/bt_close.c: Likewise.
596         * db2/btree/bt_conv.c: Likewise.
597         * db2/btree/bt_cursor.c: Likewise.
598         * db2/btree/bt_put.c: Likewise.
599         * db2/btree/bt_rec.c: Likewise.
600         * db2/btree/bt_recno.c: Likewise.
601         * db2/btree/btree.src: Likewise.
602         * db2/btree/btree_auto.c: Likewise.
603         * db2/clib/getlong.c: Likewise.
604         * db2/db/db.c: Likewise.
605         * db2/db/db_auto.c: Likewise.
606         * db2/db/db_conv.c: Likewise.
607         * db2/db/db_pr.c: Likewise.
608         * db2/db/db_ret.c: Likewise.
609         * db2/db/db_thread.c: Likewise.
610         * db2/hash/hash.c: Likewise.
611         * db2/hash/hash_auto.c: Likewise.
612         * db2/hash/hash_conv.c: Likewise.
613         * db2/hash/hash_dup.c: Likewise.
614         * db2/hash/hash_func.c: Likewise.
615         * db2/hash/hash_page.c: Likewise.
616         * db2/hash/hash_rec.c: Likewise.
617         * db2/include/btree.h: Likewise.
618         * db2/include/btree_ext.h: Likewise.
619         * db2/include/db.h.src: Likewise.
620         * db2/include/db_185.h.src: Likewise.
621         * db2/include/db_cxx.h: Likewise.
622         * db2/include/db_ext.h: Likewise.
623         * db2/include/db_int.h.src: Likewise.
624         * db2/include/db_page.h: Likewise.
625         * db2/include/db_shash.h: Likewise.
626         * db2/include/lock.h: Likewise.
627         * db2/include/log.h: Likewise.
628         * db2/include/log_ext.h: Likewise.
629         * db2/include/mp.h: Likewise.
630         * db2/include/shqueue.h: Likewise.
631         * db2/include/txn.h: Likewise.
632         * db2/lock/lock.c: Likewise.
633         * db2/lock/lock_deadlock.c: Likewise.
634         * db2/log/log.c: Likewise.
635         * db2/log/log_archive.c: Likewise.
636         * db2/log/log_auto.c: Likewise.
637         * db2/log/log_get.c: Likewise.
638         * db2/log/log_put.c: Likewise.
639         * db2/log/log_register.c: Likewise.
640         * db2/mp/mp_bh.c: Likewise.
641         * db2/mp/mp_fget.c: Likewise.
642         * db2/mp/mp_fopen.c: Likewise.
643         * db2/mp/mp_fput.c: Likewise.
644         * db2/mp/mp_fset.c: Likewise.
645         * db2/mp/mp_open.c: Likewise.
646         * db2/mutex/mutex.c: Likewise.
647         * db2/os/db_os_dir.c: Likewise.
648         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
649         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
650         * db2/progs/db_dump185/db_dump185.c: Likewise.
651         * db2/progs/db_load/db_load.c: Likewise.
652         * db2/progs/db_recover/db_recover.c: Likewise.
653         * db2/txn/txn.c: Likewise.
654         * db2/txn/txn_auto.c: Likewise.
656         * elf/link.h: Define struct libname_list outside struct link_map
657         to not confuse C++ compilers.
659         * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
660         __USE_UNIX98.
661         * manual/creature.texi: Explain this.
663         * libc.map: Add new functions.
665         * libio/Makefile (routines): Add fseeko and ftello.
666         * libio/ftello.c: New file.
667         * libio/fseeko.c: New file.
668         * libio/stdio.h: Add prototypes for new functions.
669         * manual/stdio.texi: Document fseeko and ftello.
671         * posix/Makefile (routines): Add pread and pwrite.
672         * sysdeps/posix/pread.c: New file.
673         * sysdeps/posix/pwrite.c: New file.
674         * sysdeps/stub/pread.c: New file.
675         * sysdeps/stub/pwrite.c: New file.
676         * posix/unistd.h: Add prototypes for pread and pwrite.
677         Pretty print header.
678         Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
679         Declare ctermid and cuserid if __USE_UNIX98.
680         (swab): Change to take void * arguments.
681         * string/swab.c: Change parameter to void *.
682         * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
683         already happened.
684         * manual/llio.texi: Document pread and pwrite.
686         * string/strings.h: Don't simply include string.h.  Define BSD
687         functions according to Unix98.
688         * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
689         * sunrpc/clnt_simp.c: Likewise.
691         * malloc/Makefile (aux): Add set-freeres.
692         * malloc/mtrace.c: Define function release_libc_mem which calls the
693         __libc_subfreeres handler.
694         (mtrace): Register release_libc_mem.
695         * malloc/set-freeres.c: New file.
697         * intl/dcgettext.c: Define free_mem function and add to
698         __libc_subfreeres list.
699         * intl/finddomain.c: Likewise.
700         * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
701         and mmap_size.  Add prototype for _nl_unloaded_domain.
702         * intl/loadmsgcat.c: Define new function _nl_unload_domain.
703         (_nl_load_domain): Store informaiton about mmap use and file size.
704         * intl/localealias.c (read_alias_file): Optimize locale alias file
705         reading by avoid frequen mallocs.
706         Define free_mem function and add to __libc_subfreeres list.
708         * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
709         undeletable.
710         Add prototype for _nl_unload_locale.
711         * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
712         * locale/C-ctype: Likewise.
713         * locale/C-messages: Likewise.
714         * locale/C-monetary: Likewise.
715         * locale/C-numeric: Likewise.
716         * locale/C-time: Likewise.
717         * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
718         MAX_USAGE_COUNT and UNDELETABLE.
719         (free_mem): New function.  Add it to __libc_subfreeres list.
720         * locale/loadlocale.c: Define _nl_unload_locale function.
722         * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
724         * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
725         correctly
726         Define free_mem function and add to __libc_subfreeres list.
728         * locale/programs/localedef.c (options): short form os verbose is v.
729         Reported by Andreas Jaeger.
731         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
732         header is used in some others as well for historical reasons.
734         * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
736         * string/bits/string2.h: Add missing braces and optimize strcmp a
737         bit more.
738         * sysdeps/i386/i486/bits/string.h: Likewise.
740         * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
741         Pretty print.
743         * sysdeps/mach/hurd/cthreads.c: Add copyright text.
745         * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
747         * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
749         * time/time.h: Pretty print.
751 1997-09-29  Paul Eggert  <eggert@twinsun.com>
753         * time/strftime.c: Synchronize with GNU Emacs strftime.c.
754         (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
755         (gmtime_r, localtime_r): Undef before defining.
756         (iso_week_days): Use __inline__, not inline.
758 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
760         * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
761         __ieee754_exp2{,l,f}.
762         * sysdeps/m68k/fpu/s_exp2.c: Likewise.
763         * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
764         * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
766 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
768         * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
769         section read-only, it contains relocations.
770         * elf/sofini.c (__FRAME_END__): Likewise.
772 1997-09-29 03:08  Ulrich Drepper  <drepper@cygnus.com>
774         * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
775         __strpbrk_cg, __strstr_cg): Optimize even more.  No spill register
776         needed.  Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
778 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
780         * nis/nis_call.c (__do_niscall2): Fix return code, add missing
781           break in switch case.
783         * nis/nis_mkdir.c: Fix return codes to match Solaris version.
784         * nis/nis_rmdir.c: Likewise.
786         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
787         for C++.
789 1997-09-28 04:32  Ulrich Drepper  <drepper@cygnus.com>
791         * configure.in: Fix typo.
792         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
794 1997-09-25 20:14  Philip Blundell  <Philip.Blundell@pobox.com>
796         * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
797         * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
799 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
801         * Makeconfig (extra-objs): Depend in before-compile.
803         * configure.in: Locate Perl and substitute with complete path.
804         * config.make.in: Add PERL for substitution.
805         * elf/Makefile (routines): Add dl-addr.
806         * elf/dladdr.c: Move the real code into ...
807         * elf/dl-addr.c: New file.
808         * elf/link.h: Add prototype for _dl_addr.
810         * elf/dladdr.c (dladdr): Change address argument to be const.
811         * elf/dlfcn.h: Likewise.
813         * locale/C_name.c: Add _nl_POSIX_name.
814         * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
815         * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
816         (_nl_remove_locale): Free name of data set.
817         * locale/setlocale.c (clever_copy): Remove.
818         (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
819         (setname): Only remove old name when it is for category LC_ALL.
821         Change malloc, free, realloc, and memalign hooks for glibc to take
822         another parameter indicating the location of the caller.
823         * malloc/malloc.c: Change hook functions and variables.
824         * malloc/malloc.h: Likewise.
825         * malloc/mcheck.c: Likewise.  Make sure later hooked function also
826         get the original caller address.
827         * malloc/mtrace.c: Likewise.
828         (tr_where): If no information in _mtrace_file is given use the
829         information about the caller.
830         * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
831         Add rules to install mtrace.pl after rewriting.
832         * malloc/mtrace.pl: New file.  Based on the old AWK script but
833         with extended functionality.
834         * malloc/mtrace.awk: Removed.
836         * po/fr.po: New version.
838         * string/Makefile: Do use builtins for tester.c and inl-tester.c.
839         * string/tester.c: Rewrite.  Split in many small functions to not
840         exceed gcc's limits.
842         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
844 1997-09-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
846         * string/bits/string2.h (__stpcpy_small): Don't use casts as
847         lvalues.
849 1997-09-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
851         * manual/time.texi (Formatting Date and Time): Clarify
852         explanation of strftime flags a bit.
853         Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
855 1997-09-25 00:13  David S. Miller  <davem@tanya.rutgers.edu>
857         * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
858         Fix typo, it is FLT_MANT_DIG.
860 1997-09-24 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
862         * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
864 1997-08-27 08:10  H.J. Lu  <hjl@gnu.ai.mit.edu>
866         * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
868         * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
869         _IO_MTSAFE_IO is undefined.
871 1997-09-24 23:27  Richard Henderson  <rth@cygnus.com>
873         * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
874         lookup the value of the target symbol ourselves and call the new
875         elf_machine_fixup_plt.  This kills the ELF_FIXUP_RETURN_VALUE hack.
876         (profile_fixup): Likewise, but don't fix up the plt.
877         * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
878         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
879         (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
880         * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
881         (ELF_MACHINE_JMP_SLOT): Renamed.
882         (elf_machine_fixup_plt): New function.
883         * sysdeps/m68k/dl-machine.h: Likewise.
884         * sysdeps/powerpc/dl-machine.h: Likewise.
885         (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
886         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
887         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
888         * sysdeps/stub/dl-machine.h: Update, sorta.
890         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
891         (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
892         both normal and profile code.
893         (elf_machine_rela): Handle r_addend for .got and .plt too.
895 1997-09-25 00:23  Ulrich Drepper  <drepper@cygnus.com>
897         * elf/dl-profile.c: Correct implementation.
899         * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
901         * locale/setlocale.c: Rewrite a bit for more clarity.
903         * math/Makefile (libm-calls): Add w_exp2.
904         * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
905         * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
906         * sysdeps/libm-i387/s_exp2f.S: Likewise.
907         * sysdeps/libm-i387/s_exp2l.S: Likewise.
908         * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
910         * string/bits/string2.h (__strcpy_small): Optimize.
911         (__stpcpy_small): Likewise.
912         (strncpy): Use variable for dest argument since it's used more than
913         once.
914         (strncat): Likewise.
915         (strcmp): Add optimization for this function.
916         * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
917         (__strcpy_small): Optimize.
918         (__stpcpy_small): Likewise.
919         (__stpcpy_c): Correctly use __mempcpy_* macros.
920         (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
921         byte following last copied.
922         (strncat): Use variable for dest argument since it's used more than
923         once.
924         (strcmp): Add optimization for this function.
926         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
927         .text and .previous to select correct section.
929 1997-09-23 19:56  Philip Blundell  <Philip.Blundell@pobox.com>
931         * configure.in: Add `--disable-versioning' option to suppress the
932         use of symbol versions even if binutils claims to support it.
934 1997-09-24 20:10  Philip Blundell  <Philip.Blundell@pobox.com>
936         * csu/Makefile (before-compile): Don't try to build abi-tags.h if
937         not using ELF.
939 1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
941         * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
942         the frame unwind info section.
944         * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
945         the frame unwind info.
947         * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
949         * configure.in: Check whether gcc supports DWARF2 unwind info.
951         * libc.map: Export frame handling tables.
953 1997-09-10 06:56  Geoff Keating  <geoffk@ozemail.com.au>
955         * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
956         Use the size of the kernel's termios structure for ioctls.
958         * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
960         * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
961         of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
962         routines, because gcc has them as internals.
964         * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
965         CFLAGS-.os.
967         * sysdeps/powerpc/bzero.S: New file.
968         * sysdeps/powerpc/strcat.c: New file.
969         * sysdeps/powerpc/strcpy.S: New file.
970         * sysdeps/powerpc/stpcpy.S: New file.
972         * math/Makefile: Add atest_exp2, test-reduce.
973         * math/atest_exp2.c: New file.
974         * math/test-reduce.c: New file.
975         * sysdeps/libm-ieee754/Dist: New file.
976         * sysdeps/libm-ieee754/s_exp2.c: New file.
977         * sysdeps/libm-ieee754/s_exp2f.c: New file.
978         * sysdeps/libm-ieee754/t_exp2.h: New file.
979         * sysdeps/libm-ieee754/t_exp2f.h: New file.
980         * math/libm-test.c (exp2_test): Add some more tests.
982         * Rules: Use empty.os instead of empty.o, since it gets linked into
983         libc.so...
984         * configure.in: Add --disable-static to disable building .a files.
985         * config.make.in: Substitute the new variable.
986         * Makeconfig: Don't build .o files if not building .a files.
988         * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
989         (profile_fixup): Likewise.
991 1997-09-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
993         * posix/globtest.c (main): Change to directory passed as first
994         argument.
996         * posix/globtest.sh: Don't cd before running the program, instead
997         pass testdir as argument, so that $common_objpfx remains valid.
999 1997-09-23 18:01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1001         * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
1003         * nis/nis_findserver.c: Save latest working sockaddr_in.
1005 1997-09-17 22:07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1007         * configure.in: Automatically determine whether as and ld are the
1008         GNU versions.
1009         (options):  --with-gnu-{as,ld,binutils} replaced by
1010         single option --with-binutils=PATH specifying a -B option to gcc.
1011         * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
1012         LIBC_PROG_BINUTILS.
1014         * configure.in: Allow the user to force configuration for
1015         unsupported platforms with an undocumented option.
1017 1997-09-22 16:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1019         * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
1020         return loopback address only if there is no other interface.
1022         * nis/Makefile: Add nis_callback libnsl-routines.
1024         * nis/nis_add.c: Use new __do_niscall* interface.
1025         * nis/nis_cache.c: Likewise.
1026         * nis/nis_checkpoint.c: Likewise.
1027         * nis/nis_lookup.c: Likewise.
1028         * nis/nis_mkdir.c: Likewise.
1029         * nis/nis_modify.c: Likewise.
1030         * nis/nis_ping.c: Likewise.
1031         * nis/nis_remove.c: Likewise.
1032         * nis/nis_rmdir.c: Likewise.
1033         * nis/nis_server.c: Likewise.
1034         * nis/nis_util.c: Likewise.
1036         * nis/rpcsvc/nis.h: Make C++ safe.
1038         * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
1039         of variables.
1041         * nis/nis_findserv.c: Make thread safe.
1043         * nis/nis_call.c: Add support for callback, Fix use of variables.
1044         * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
1045         ALL_RESULTS.
1046         * nis/nis_callback.c: New, callback functions.
1047         * nis/nis_intern.h: Add callback declarations.
1049 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1051         * string/bits/string2.h: Fix logic in preprocessor directive.
1052         (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
1053         const, to save a cast and a possible warning.
1055 1997-09-22 04:12  Ulrich Drepper  <drepper@cygnus.com>
1057         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
1058         memory in xadd not %1.
1060 1997-09-21 13:56  Ulrich Drepper  <drepper@cygnus.com>
1062         * manual/maint.texi (Supported Configurations): Add SPARC64 to
1063         list of supported platforms.
1065 1997-09-21 03:19  Ulrich Drepper  <drepper@cygnus.com>
1067         * libio/libio.h: More libstdc++ cleanups.  Define _IO_USE_DTOA if
1068         _G_HAVE_PRINTF_FP is not defined.
1069         * libio/strops.c: Undo patch of 1997-07-08 02:18.  Must find a
1070         different solution for the problem.
1072         * misc/search.h [__USE_GNU]: Define comparison_fn_t.
1073         * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
1074         not defined.
1075         Fix typo.  Pretty print inline functions.
1077         * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
1078         Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1080 1997-09-20 16:45  Ulrich Drepper  <drepper@cygnus.com>
1082         * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
1083         HES_DOMAIN environment variable.
1084         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
1086         * hesiod/README.hesiod: A bit of information about Hesiod and how
1087         to use it.  Written by Mark Kettenis <kettenis@phys.uva.nl>.
1089 1997-09-20 05:15  Ulrich Drepper  <drepper@cygnus.com>
1091         * manual/maint.texi: Update requirement list.
1093         * io/ftw.h: Don't use parameter names from global namespace in
1094         prototypes.
1096         * stdlib/strtol.c: If used outside glibc handle broken systems
1097         which have character classification functions which are not 8-bit
1098         clean gracefully.  Patch by Bruno Haible <haible@ilog.fr>.
1100 1997-09-19 21:42  David S. Miller  <davem@tanya.rutgers.edu>
1102         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
1103         a long long int.
1105 1997-09-19 15:12  H.J. Lu  <hjl@gnu.ai.mit.edu>
1107         * posix/Makefile (test-srcs): New, set to globtest.
1109 1997-09-20 00:24  Ulrich Drepper  <drepper@cygnus.com>
1111         * manual/filesys.texi: Document ftw, nftw and needed data types.
1113 1997-09-19 12:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
1115         * sysdeps/i386/i486/bits/string.h: Fix typo.
1117 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1119         * io/ftwtest.c (cb): Print level.
1120         * io/ftwtest-sh: Updated for ftwtest.c change.
1122         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1123         compilers.
1124         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1126         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1127         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1129 1997-09-18 13:30  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
1131         * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
1132         additional argument.
1133         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1134         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1135         * sysdeps/stub/init-first.c: Likewise.
1137 1997-09-18 03:16  Ulrich Drepper  <drepper@cygnus.com>
1139         * manual/search.texi: Document lsearch, lfind, the hsearch and
1140         tsearch functions.
1142 1997-09-18 00:04  Ulrich Drepper  <drepper@cygnus.com>
1144         * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
1145         if the table is full and we *really* have to enter a new entry.
1147 1997-09-17 19:44  Ulrich Drepper  <drepper@cygnus.com>
1149         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
1150         of hack for handling flush opcode.
1151         Patch by Richard Henderson <rth@cygnus.com>.
1153 1997-09-16 23:48  Ulrich Drepper  <drepper@cygnus.com>
1155         * libio/fileops.c: Define __set_errno if necessary.
1156         * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
1158 1997-09-16 22:03  Ulrich Drepper  <drepper@cygnus.com>
1160         * string/Makefile (headers): Instead bits/string2.h.
1161         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1163 1997-09-16 13:31  David S. Miller  <davem@tanya.rutgers.edu>
1165         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
1167 1997-09-16 17:42  Ulrich Drepper  <drepper@cygnus.com>
1169         * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
1170         as of type __fdset *.
1171         * sysdeps/i386/bits/select.h: Likewise.
1172         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1174 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
1176         * hesiod/hesiod.c: Don't use and define cistrcmp.  We have
1177         strcasecmp.
1178         (hesiod_init): Use of HES_DOMAIN need not be protected by
1179         __secure_getenv.
1180         (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
1181         stpcpy.
1183         * string/Makefile (noinl-tester-ENV): New variable to make
1184         strerror test pass.
1185         (CFLAGS-noinl-tester): Make sure we test the correct functions.
1187         * sysdeps/stub/atomicity.h: Fix typo.
1188         Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
1190         * manual/string.texi: Document strnlen and mempcpy.
1191         Tell a bit more about the locale dependence of strcasecmp and
1192         strncasecmp.
1194         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
1195         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1196         value type to long int.
1197         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
1198         types.
1199         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
1200         Patches by David S. Miller <davem@jenolan.rutgers.edu>.
1202 1997-09-16 02:14  Ulrich Drepper  <drepper@cygnus.com>
1204         Implementation of Hesiod NSS module by Mark Kettenis.
1205         * hesiod/Makefile: New file.
1206         * hesiod/hesiod.c: New file.
1207         * hesiod/hesiod.h: New file.
1208         * hesiod/hesiod_p.h: New file.
1209         * hesiod/libnss_hesiod.map: New file.
1210         * hesiod/nss_hesiod/hesiod-grp.c: New file.
1211         * hesiod/nss_hesiod/hesiod-pwd.c: New file.
1212         * hesiod/nss_hesiod/hesiod-service.c: New file.
1213         * sysdeps/unix/inet/Subdirs: Add hesiod.
1215         * shlib-versions: Add version number for libnss_hesiod.
1217         * libio/iolibio.h: Remove definition of _IO_* macros.
1218         * libio/fileops.c: Define close, fstat, lseek, read, and write as
1219         macros to use __ protected versions.  Use those functions instead
1220         of _IO_* functions.
1221         * libio/iopopen.c: Define _IO_close to close.
1223         * manual/math.texi: Explain the use of the optimizing inline
1224         functions.
1225         Describe rand_r function and tell about SysV RNGs in introduction.
1227         * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
1228         variable.
1230         * string/Makefile (tests): Add noinl-tester.
1231         * string/noinl-tester.c: New file.
1232         * string/tester.c: Add more stpcpy tests for constant arguments for
1233         all short lengths.
1235         * string/string.h: Always declare __bzero.
1236         Describe __NO_STRING_INLINES.
1237         Always include <bits/string.h>.
1238         * string/bits/string2.h: Add warning about direct use.
1239         Change __strcpy_small and __stpcpy_small implementation to use
1240         macros and provide alternative for platforms which cannot do
1241         unaligned stores.
1242         * sysdeps/i386/bits/string.h: Don't define anything is
1243         __NO_STRING_INLINES is defined.
1244         * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
1245         __stpcpy_small implementation to use macros and provide
1246         alternative for platforms which cannot do unaligned stores.
1247         * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
1248         * sysdeps/generic/bzero.c: Likewise.
1249         * sysdeps/i386/bzero.c: Likewise.
1250         * sysdeps/i386/i586/bzero.S: Likewise.
1251         * sysdeps/vax/bzero.s: Likewise.
1253         * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
1254         * sysdeps/i386/bits/select.h: Likewise.
1256         * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
1257         constraints a bit.
1258         Don't define and test for _BITS_MATHINLINE_H.  Emit warning if used
1259         directly and not through math.h.
1261         * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
1262         to char to get better code.  Fix typo.
1263         * sysdeps/stub/atomicity.h: Fix typo.
1265 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1267         * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
1269 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1271         * string/bits/string2.h: Add prototypes to avoid warning.
1273 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1275         * string/bits/string2.h (strsep): Fix handling of empty REJECT.
1276         (__strsep_1c): Handle NULL and empty string.
1277         (__strsep_g): Likewise.
1279 1997-09-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1281         * catgets/Makefile (extra-objs): Set this instead of generated.
1283         * md5-crypt/Makefile (extra-objs): Add all object file variants of
1284         onlymd5-entry.
1286 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1288         * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
1289         change.
1291 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1293         * sysdeps/m68k/m68020/atomicity.h: New file.
1295 1997-09-15 05:11  Ulrich Drepper  <drepper@cygnus.com>
1297         * posix/Makefile (distribute): Add globtest.c and globtest.sh.
1298         Compile and run globtest if not cross-compiling.
1299         * posix/globtest.c: New file.
1300         * posix/globtest.sh: New file.
1301         * posix/glob.c: Pretty print preprocessor stuff.
1302         (glob_in_dir): If PATTERN is not really a pattern still check
1303         whether it is a real file in the current directory and return
1304         error if not.
1305         Reported by Eugene Mamchits <eugin@ips.ras.ru>.
1307         * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
1308         * libio/ioseekoff.c (_IO_seekoff): Likewise.
1309         * libio/ioseekpos.c (_IO_seekpos): Likewise.
1311 1997-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
1313         * configure.in: Prevent configuration for unsupported platforms.
1315 1997-09-13 04:07  Ulrich Drepper  <drepper@cygnus.com>
1317         * elf/rtld.c (dl_main): Make sure we always have a file argument by
1318         testing for < 2 arguments after recognizing the options.
1320 1997-09-12 11:47  Fila Kolodny  <fila@ibi.com>
1322         * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
1323         (__strsep_g): Likewise.
1325 1997-09-11 17:32  Ulrich Drepper  <drepper@cygnus.com>
1327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
1328         Patch by David S. Miller <davem@jenolan.rutgers.edu>.
1330 1997-09-11 04:36  Ulrich Drepper  <drepper@cygnus.com>
1332         * db2/db_int.h: Define __set_errno if not yet available.
1333         * db2/btree/bt_rec.c: Use __set_errno to set errno value.
1334         * db2/clib/getlong.c: Likewise.
1335         * db2/db185/db185.c: Likewise.
1336         * db2/db185/db185_int.h: Likewise.
1337         * db2/dbm/dbm.c: Likewise.
1338         * db2/lock/lock_deadlock.c: Likewise.
1339         * db2/log/log_archive.c: Likewise.
1341         * elf/dl-profile.c: Implement mcount function.
1343         * gmon/gmon.c: Use __profil not profil because of namespace pollution.
1344         * gmon/mcount.c: Remove BSD kernel code.
1345         Use compare&swap instruction if possible to change state variable.
1346         Optimize frompc folding.
1347         * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
1348         * sysdeps/i386/i486/atomicity.h: New file.
1349         * sysdeps/stub/atomicity.h: New file.
1350         * sysdeps/mach/hurd/profil.c: Define function as __profil and make
1351         profil weak alias.
1352         * sysdeps/posix/profil.c: Likewise.
1354         * string/bits/string2.h: New file.
1355         * include/bits/string2.h: New file.
1356         * string/Makefile (routines): Add mempcpy.
1357         (tests): Add inl-tester.
1358         Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
1359         * sysdeps/generic/mempcpy.c: New file.
1360         * sysdeps/generic/memccpy.c: Undef function name to enable definition
1361         as macro.
1362         * sysdeps/generic/memchr.c: Likewise.
1363         * sysdeps/generic/memcmp.c: Likewise.
1364         * sysdeps/generic/memmem.c: Likewise.
1365         * sysdeps/generic/memmove.c: Likewise.
1366         * sysdeps/generic/strcat.c: Likewise.
1367         * sysdeps/generic/strchr.c: Likewise.
1368         * sysdeps/generic/strcmp.c: Likewise.
1369         * sysdeps/generic/strcpy.c: Likewise.
1370         * sysdeps/generic/strcspn.c: Likewise.
1371         * sysdeps/generic/strlen.c: Likewise.
1372         * sysdeps/generic/strncat.c: Likewise.
1373         * sysdeps/generic/strncmp.c: Likewise.
1374         * sysdeps/generic/strncpy.c: Likewise.
1375         * sysdeps/generic/strpbrk.c: Likewise.
1376         * sysdeps/generic/strrchr.c: Likewise.
1377         * sysdeps/generic/strsep.c: Likewise.
1378         * sysdeps/generic/strspn.c: Likewise.
1379         * sysdeps/generic/strstr.c: Likewise.
1380         * sysdeps/generic/strtok.c: Likewise.
1381         * sysdeps/generic/strtok_r.c: Likewise.
1382         * sysdeps/i386/memset.c: Likewise.
1383         * sysdeps/i386/bits/string.h: Correct a few types and constraints.
1384         * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
1385         * string/stratcliff.c: Undefine __USE_STRING_INLINES.
1386         * string/tst-strlen.c: Likewise.
1387         * string/string.h: Add prototype for mempcpy.  Include bits/string2.h
1388         header always if optimizing.
1389         * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
1390         yet defined.
1391         * intl/l10nflist.c: Likewise.
1393         * string/tester.c: Add copyright and make little cleanups.
1395         * inet/test_ifindex.c: Change type of ni variable to unsigned int.
1397         * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
1398         of fields map_collection_max and map_collection_act to size_t.
1400         * nss/libnss_files.map: Group entries.
1402         * posix/unistd.h: Add prototype for __setpgid and __profil.
1404         * sysdeps/generic/crypt.h: Declare __crypt_r.
1406         * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
1408         * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1409         isless, islessequal, islessgreater, isunordered): Optimize a bit.
1411         * sysdeps/stub/ftruncate.c: Include missing header for prototype.
1412         * sysdeps/stub/getdents.c: Likewise.
1413         * sysdeps/stub/reboot.c: Likewise.
1414         * sysdeps/stub/swapon.c: Likewise.
1415         * sysdeps/stub/syscall.c: Likewise.
1416         * sysdeps/stub/ualarm.c: Likewise.
1417         * sysdeps/stub/usleep.c: Likewise.
1419         * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
1420         if SIOGIFINDEX and SIOGIFNAME are not defined.
1422         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
1423         according to recent kernel changes.
1425 1997-09-10 21:32  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
1427         * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
1428         the installed name of the startup code.
1429         (common-generated): Add version.mk.
1430         * Makefile (distclean-1): Add glibcbug.
1431         * Makerules: Replace -lgcc by $(gnulib).
1432         * catgets/Makefile (generated): Add xmalloc.o.
1433         * csu/Makefile (generated): Replace align.h and end.h by defs.h to
1434         match the generated file.
1435         * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
1436         (realclean): Changed to remove chapters-incl[12].
1437         * po/Makefile (realclean): New rule to remove the generated .mo files.
1438         * time/Makefile: Only include zonefile dependencies if $(no_deps) is
1439         not true to avoid make clean failure when directory time doesn't exist
1440         yet.
1441         (generated): Add tzselect.
1443         * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
1444         * stdio/internals.c (flushbuf): Likewise.
1445         * stdio/linewrap.c (lwupdate): Likewise.
1446         * stdio/memstream.c (enlarge_buffer): Likewise.
1447         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1448         * time/tzset.c (compute_change): Likewise.
1449         * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
1450         is defined.
1451         * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
1452         functions.
1453         * sysdeps/stub/init-posix.c: Likewise.
1454         * sysdeps/stub/profil.c: Likewise.
1455         * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
1456         reduce gcc warning noise.
1457         * stdio/glue.c (_filbuf, _flsbuf): Likewise.
1458         * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
1459         * stdio/vasprintf.c (enlarge_buffer): Likewise.
1460         * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
1461         __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
1462         __stdio_reopen): Likewise.
1463         * sysdeps/posix/defs.c (_cleanup): Likewise.
1464         * time/offtime.c (__offtime): Add cast.
1466         * posix/getopt.c: Don't use text_set_element if not defined.
1468         * configure.in: Provide a check for underscores before user labels
1469         that works even when the compiler used for building doesn't work
1470         (like when there is no C library).  Use the old way if the compiler
1471         works.
1473 1997-09-10 05:08  David S. Miller  <davem@caip.rutgers.edu>
1475         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
1476         'T' not 't' on SparcLinux.
1477         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
1479         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
1480         _longjmp and siglongjmp.
1482 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1484         * libio/stdio.h: Add format attributes to the extra printf and
1485         scanf like functions.
1486         * stdio/stdio.h: Likewise.
1488 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1490         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
1491         Print tablename_val, not tablename_len.
1493         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1494         Use sprintf instead of sprintf, the string always fits.
1495         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
1496         Likewise.
1497         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
1498         Likewise.
1499         * nis/nss_nisplus/nisplus-proto.c
1500         (_nss_nisplus_getprotobynumber_r): Likewise.
1501         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
1502         Likewise.
1503         * nis/nss_nisplus/nisplus-service.c
1504         (_nss_nisplus_getservbynumber_r): Likewise.
1506         * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
1507         __stpcpy, __stpncpy and __strdup instead of public names.
1508         * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
1509         Likewise.
1510         * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
1511         * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
1512         Likewise.
1513         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
1514         Likewise.
1515         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
1516         Likewise.
1517         (_nss_create_tablename): Likewise.
1518         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
1519         Likewise.
1520         (_nss_create_tablename): Likewise.
1521         * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
1522         Likewise.
1523         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
1524         Likewise.
1525         (_nss_create_tablename): Likewise.
1526         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
1527         Likewise.
1528         (_nss_create_tablename): Likewise.
1529         * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
1530         Likewise.
1532         * libc.map: Export __stpcpy and __strdup.
1534 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1536         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
1537         CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
1538         precision.
1540 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1542         * include/rpc/auth_des.h: New file.
1544 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1546         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1547         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1548         for time_t overflow.
1550 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1552         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1553         Reported by Erik Troan <ewt@redhat.com>.
1555         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1556         * elf/dl-open.c: Likewise.
1558 1997-09-07 17:09  Richard Henderson  <rth@cygnus.com>
1560         * sysdeps/alpha/Makefile: Kill setjmp_aux.
1561         * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
1562         * sysdeps/alpha/__longjmp.c: Remove.
1563         * sysdeps/alpha/setjmp_aux.c: Remove.
1564         * sysdeps/alpha/__longjmp.S: New file.
1565         * sysdeps/alpha/bsd-_setjmp.S: Stub out.
1566         * sysdeps/alpha/bsd-setjmp.S: Likewise.
1567         * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
1568         Move _setjmp and setjmp from bsd-*.S.
1570 1997-09-06  20:20  Ulrich Drepper  <drepper@cygnus.com>
1572         * include/rpc/auth.h: New file.
1573         * include/rpc/auth_unix.h: New file.
1575 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1577         Fix gmtime so that it reports leap seconds when TZ
1578         indicates that leap seconds are desired.
1580         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1581         (gmtime): Put after gmtime_r, to help the compiler inline.
1582         (__tz_convert): New decl.
1583         (gmtime_r): Use __tz_convert instead of __offtime,
1584         so that leap seconds are handled correctly.
1586         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1587         are now unnecessary.
1588         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1589         __tzset_lock): Remove extern decls that are now unnecessary.
1590         (localtime_internal): Moved to __tz_convert in tzset.c.
1591         so that localtime and gmtime can both use it easily.
1592         (localtime): Put after localtime_r, to help the compiler inline.
1593         (localtime_r): Use __tz_convert instead of localtime_internal.
1595         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1596         decl.
1598         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1600         * time/tzset.c (<errno.h>): Include.
1601         (_tmbuf): New decl.
1602         (__tzfile_compute): New function.
1603         (tz_compute): Renamed from __tz_compute.  No longer extern.
1604         Remove redundant call to tzset_internal.
1605         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1606         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1607         (__tz_convert): New function, containing functionality of old
1608         localtime_internal function, plus locking and optional UTC.
1610 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1612         * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1613         string, just use UTC without leap seconds.  This is for compatibility
1614         with the Olson code.
1616 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1618         * time/tzset.c (__tzname_max): Lock tz data structures before
1619         invoking tzset_internal.
1621         * time/tzfile.c: Define compute_tzname_max statically.
1623 1997-09-07 10:57  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1625         * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
1626         * nis/nis_intern.h: Likewise.
1627         * nis/nss_nis/nis-publickey.c: Likewise.
1628         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1629         * nis/ypclnt.c: Likewise.
1631         * sunrpc/auth_des.c: Don't dereference NULL pointer,
1632         initialize ad->ad_timediff.
1634         * sunrpc/auth_none.c: Don't define our own prototypes, use the one
1635         from the header files.
1636         * sunrpc/auth_unix.c: Likewise.
1637         * sunrpc/clnt_raw.c: Likewise.
1638         * sunrpc/clnt_tcp.c: Likewise.
1639         * sunrpc/rpc_cmsg.c: Likewise.
1641         * sunrpc/key_call.c: Fix signal handling.
1643         * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
1644         or we will get a deadlock with NIS+.
1646         * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
1647         HAVE_SECURE_RPC.
1649 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1651         * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1652         __FD_ISSET): Use correct casts to address array correctly.
1653         Reported by urbanw@cs.umu.se.
1655 1997-09-07 05:07  Ulrich Drepper  <drepper@cygnus.com>
1657         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1658         * elf/dl-open.c: Likewise.
1659         * sysdeps/i386/memset.c: Undefine memset in case the header with the
1660         optimized functions is included.
1661         Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
1663         * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
1664         strsep): Use register for second parameter.
1665         * sysdeps/i386/i486/bits/string.h: Likewise.
1666         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1668 1997-09-03 09:48  Geoff Keating  <geoffk@ozemail.com.au>
1670         * math/libm-test.c: Change various tolerances to match what the
1671         tested routines can actually provide.
1673         * math/Makefile: Add new tests.
1674         * math/atest-sincos.c: New file.
1675         * math/atest-exp.c: New file.
1677         * csu/Makefile: Give initfini.s and initfiniS.s their own
1678         CFLAGS-* macros so they can be overridden.
1679         * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
1680         initfiniS.s to use -fpic instead of -fPIC, because the sed script
1681         breaks otherwise.
1683         * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
1684         efficiency.
1686         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1687         Don't use register 0, to let _mcount be in a shared object.
1689         * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
1690         Generally clean up.  Suppress some code we don't need when relocating
1691         ld.so.
1692         * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
1693         appropriate to suppress gcc warning.
1694         * resolv/res_send.c: Suppress warning.
1695         * sunrpc/xdr_sizeof.c: Suppress warning.
1697         * FAQ: Add ppc-linux.
1698         * manual/maint.texi: Add ppc-linux.  Explain that gcc can't build it
1699         yet.
1701         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
1702         current kernels.
1704 1997-08-15 07:45  Geoff Keating  <geoffk@ozemail.com.au>
1706         * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
1707         * sysdeps/i386/machine-gmon.h: Correct typo.
1709         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
1710         kernel.
1712         * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
1713         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
1714         sysdeps/linux/dl-sysdep.c.
1716         * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
1717         * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
1718         * sysdeps/powerpc/ppc-mcount: New file.
1720         The following are mostly changes to allow profiling:
1721         * sysdeps/powerpc/add_n.S: Added.
1722         * sysdeps/powerpc/add_n.s: Removed.
1723         * sysdeps/powerpc/addmul_1.S: Added.
1724         * sysdeps/powerpc/addmul_1.s: Removed.
1725         * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
1726         * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
1727         * sysdeps/powerpc/lshift.S: Added.
1728         * sysdeps/powerpc/lshift.s: Removed.
1729         * sysdeps/powerpc/memset.S: Added.
1730         * sysdeps/powerpc/memset.s: Removed.
1731         * sysdeps/powerpc/mul_1.S: Added.
1732         * sysdeps/powerpc/mul_1.s: Removed.
1733         * sysdeps/powerpc/rshift.S: Added.
1734         * sysdeps/powerpc/rshift.s: Removed.
1735         * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
1736         * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
1737         * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
1738         * sysdeps/powerpc/strchr.S: Added.
1739         * sysdeps/powerpc/strchr.s: Removed.
1740         * sysdeps/powerpc/strcmp.S: Added.
1741         * sysdeps/powerpc/strcmp.s: Removed.
1742         * sysdeps/powerpc/strlen.S: Added.
1743         * sysdeps/powerpc/strlen.s: Removed.
1744         * sysdeps/powerpc/sub_n.S: Added.
1745         * sysdeps/powerpc/sub_n.s: Removed.
1746         * sysdeps/powerpc/submul_1.S: Added.
1747         * sysdeps/powerpc/submul_1.s: Removed.
1748         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
1749         * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
1750         * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
1751         * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
1752         various bugs. Document that it isn't tested.
1753         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
1754         sysdeps/unix/_exit.S.
1755         * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
1756         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
1757         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
1758         to make assembler (possibly) more portable, allow profiling, etc.
1760 1997-09-05 03:15  Ulrich Drepper  <drepper@cygnus.com>
1762         * Makefile (subdirs): Reorganize order so that nss follows add-ons.
1763         * config.make.in (LDAP): Add.
1764         * configure.in: Prepare for ldap add-on.
1765         * shlib-versions: Add version numbers for ldap NSS module.
1766         * nss/Makefile: Add rules to build ldap NSS module.
1768         * db/btree/bt_page.c (__bt_free): Update meta data information.
1770         Update db from db-2.3.6.
1771         * db2/db.h: Updated.
1772         * db2/btree/bt_close.c: Updated.
1773         * db2/btree/bt_compare.c: Updated.
1774         * db2/btree/bt_conv.c: Updated.
1775         * db2/btree/bt_cursor.c: Updated.
1776         * db2/btree/bt_delete.c: Updated.
1777         * db2/btree/bt_put.c: Updated.
1778         * db2/btree/bt_rec.c: Updated.
1779         * db2/btree/bt_recno.c: Updated.
1780         * db2/btree/bt_search.c: Updated.
1781         * db2/btree/bt_split.c: Updated.
1782         * db2/btree/bt_stat.c: Updated.
1783         * db2/common/db_appinit.c: Updated.
1784         * db2/common/db_apprec.c: Updated.
1785         * db2/common/db_byteorder.c: Updated.
1786         * db2/common/db_err.c: Updated.
1787         * db2/common/db_region.c: Updated.
1788         * db2/db/db.c: Updated.
1789         * db2/db/db_conv.c: Updated.
1790         * db2/db/db_dup.c: Updated.
1791         * db2/db/db_pr.c: Updated.
1792         * db2/db/db_ret.c: Updated.
1793         * db2/db185/db185.c: Updated.
1794         * db2/dbm/dbm.c: Updated.
1795         * db2/hash/hash_dup.c: Updated.
1796         * db2/include/db_am.h: Updated.
1797         * db2/include/db_page.h: Updated.
1798         * db2/include/mp.h: Updated.
1799         * db2/include/queue.h: Updated.
1800         * db2/log/log.c: Updated.
1801         * db2/log/log_findckp.c: Updated.
1802         * db2/log/log_get.c: Updated.
1803         * db2/log/log_rec.c: Updated.
1804         * db2/mp/mp_bh.c: Updated.
1805         * db2/mp/mp_fopen.c: Updated.
1806         * db2/mp/mp_pr.c: Updated.
1807         * db2/mp/mp_sync.c: Updated.
1808         * db2/mutex/x86.gcc: Updated.
1809         * db2/os/db_os_dir.c: Updated.
1810         * db2/os/db_os_fid.c: Updated.
1811         * db2/progs/db_archive/db_archive.c: Updated.
1812         * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
1813         * db2/progs/db_deadlock/db_deadlock.c: Updated.
1814         * db2/progs/db_dump/db_dump.c: Updated.
1815         * db2/progs/db_dump185/db_dump185.c: Updated.
1816         * db2/progs/db_load/db_load.c: Updated.
1817         * db2/progs/db_printlog/db_printlog.c: Updated.
1818         * db2/progs/db_recover/db_recover.c: Updated.
1819         * db2/progs/db_stat/db_stat.c: Updated.
1820         * db2/txn/txn.c: Updated.
1821         * db2/txn/txn_rec.c: Updated.
1823         * db2/Makefile: Add rule to build db_printlog.
1824         * db2/config.h: Don't include endian.h and don't define
1825         WORDS_BIGENDIAN.  Only define HAVE_ENDIAN_H.
1827         * elf/dl-open.c (_dl_open): Make thread-safe.
1828         * elf/dl-close.c (_dl_close): Likewise.
1829         * elf/dlclose.c: Pretty print.
1830         * elf/dl-version.c (make_string): Use __strdup not strdup.
1831         (find_needed): Don't use l_searchlist of _dl_loaded, use the
1832         l_next list.
1833         * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
1835         * manual/math.texi: Add note about == and != for FP values.
1836         * manual/message.texi: Mention problems with relative paths and
1837         binstextdomain.
1838         * manual/string.texi: Mark strdupa and strndupa correctly as macros.
1840         * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
1841         * sunrpc/rpc_cout.c: Avoid needless races around return value.
1843         * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
1845         Update from tzdata-1997h.
1846         * time/africa: Updated.
1847         * time/europe: Updated.
1848         * time/iso3166.tab: Updated.
1849         * time/northamerica: Updated.
1850         * time/southamerica: Updated.
1851         * time/zone.tab: Updated.
1853 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
1855         * sysdeps/alpha/w_sqrt.S: Removed.
1856         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
1857         and build a version that is as fast as possible given the constraint.
1859 1997-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1861         * manual/maint.texi: Document some defaults for configuration
1862         parameters.
1864 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1866         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1867         * termios/termios.h: Change prototype accordingly.
1868         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1870 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1872         * libio/stdfiles.c (_libio_using_thunks): Define if
1873         _G_USING_THUNKS is defined.
1875         * libio/_G_config.h: Moved to ...
1876         * sysdeps/generic/_G_config.h: ...here.
1878         * sysdeps/unix/sysv/linux/_G_config.h: New,
1879         Add vtable thunks support.
1881 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1883         * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
1884         efficient code (together with a change in gcc).
1886         * Makeconfig (pic-ccflag): New variable.
1887         (CFLAGS-.os): Use it instead of hardcoding -fPIC.
1889 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1891         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
1892         _dl_start instead of a local label, to avoid getting an unreadable
1893         label name.
1895 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1897         * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
1898         libdb.so.
1900         * Makeconfig (dbobjdir): Use db2.
1902 1997-08-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1904         * manual/maint.texi (Porting to Unix): Update description of the
1905         implementation of Unix system calls.
1906         (Contributors): Use real umlaut in tege's name.
1908 1997-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1910         * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
1911         _IEEE_LIBM.
1912         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1913         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1915 1997-08-29 21:45  Ulrich Drepper  <drepper@cygnus.com>
1917         * sunrpc/auth_des.c: New file.  Copied from former secure_rpc add-on.
1918         * sunrpc/authdes_prot.c: New file.  Likewise.
1919         * sunrpc/des.h: New file.  Likewise.
1920         * sunrpc/des_crypt.c: New file.  Likewise.
1921         * sunrpc/des_soft.c: New file.  Likewise.
1922         * sunrpc/key_call.c: New file.  Likewise.
1923         * sunrpc/key_prot.c: New file.  Likewise.
1924         * sunrpc/netname.c: New file.  Likewise.
1925         * sunrpc/openchild.c: New file.  Likewise.
1926         * sunrpc/rtime.c: New file.  Likewise.
1927         * sunrpc/svc_auth.c: New file.  Likewise.
1928         * sunrpc/svcauth_des.c: New file.  Likewise.
1929         * sunrpc/xcrypt.c: New file.  Likewise.
1930         * sunrpc/rpc/auth.h: New file.  Likewise.
1931         * sunrpc/rpc/auth_des.h: New file.  Likewise.
1932         * sunrpc/rpc/des_crypt.h: New file.  Likewise.
1933         * sunrpc/rpc/key_prot.h: New file.  Likewise.
1934         * sunrpc/rpcsvc/key_prot.x: New file.  Likewise.
1935         * sysdeps/generic/svc_auth.h: Removed.
1936         * sysdeps/generic/rpc/auth.h: Removed.
1937         * sysdeps/generic/rpc/auth_des.h: Removed.
1938         * sysdeps/stub/des_impl.c: New file.  Stub version for DES.
1939         * sunrpc/Makefile (rpcsvc): Add keyprot.x.
1940         (headers): Add des_crypt.h and key_prot.h.
1941         (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
1942         key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
1943         (distribute): Add des.h.
1945         * db2/Makefile: Add all headers and other files to distribute.
1946         (others): Add db_printlog.
1948         * sysdeps/mach/hurd/Dist: Add net/* headers.
1949         * sysdeps/mach/hurd/mips/Dist: New file.
1950         * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
1951         * sysdeps/sparc/Dist: Add sys/trap.h.
1952         * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
1953         * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
1954         * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
1955         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
1956         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
1958         Add previously missing assembler files for PPC.
1959         * sysdeps/powerpc/add_n.s: New file.
1960         * sysdeps/powerpc/addmul_1.s: New file.
1961         * sysdeps/powerpc/lshift.s: New file.
1962         * sysdeps/powerpc/memset.s: New file.
1963         * sysdeps/powerpc/mul_1.s: New file.
1964         * sysdeps/powerpc/rshift.s: New file.
1965         * sysdeps/powerpc/strchr.s: New file.
1966         * sysdeps/powerpc/strcmp.s: New file.
1967         * sysdeps/powerpc/sub_n.s: New file.
1968         * sysdeps/powerpc/submul_1.s: New file.
1970 1997-08-28 18:42  Thorsten Kukuk  <kukuk@uni-paderborn.de>
1972         * nis/nis_server.c: Rewritten to fix a lot of bugs.
1974 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1976         * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
1977         variables.
1979 1997-08-29 02:36  Ulrich Drepper  <drepper@cygnus.com>
1981         * Makefile (version-info.h): Use ISO form for the date.
1983         * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
1984         (struct catalog_obj): Add lock field.
1985         (__open_catalog): Remove second parameter from prototype.
1986         * catgets/catgets.c (catopen): Initialize lock field.
1987         (catgets): Don't pass second parameter to __open_catalog.
1988         * catgets/gencat.c: Initialize lock field and don't pass second
1989         parameter to __open_catalog.
1990         * catgets/open_catalog.c (__open_catalog): Decide about use of
1991         path by examining path in struct, not based on extra argument.
1992         Acquire a the lock before trying to load the catalog and release
1993         it before returning.
1995         * csu/Makefile (abi-tag.h): Make sure target directory exists.
1997         * io/Makefile (headers): Add bits/poll.h.
1998         * io/sys/poll.h: Remove definitions of POLL* constants.
1999         Include <bits/poll.h>.
2000         * sysdeps/generic/bits/poll.h: New file.
2001         * sysdeps/unix/sysv/linux/bits/poll.h: New file.
2002         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
2003         * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
2004         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
2006         * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
2008         * malloc/obstack.c: Add casts to keep very verbose compilers on
2009         64bit machine quiet.
2011         * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
2013 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
2015         * catgets/catgets.c (catopen): Correctly determine length of string
2016         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
2018 1997-08-27 23:19  Richard Henderson  <rth@cygnus.com>
2020         * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
2021         default macro to track down arguments from stack start.
2022         (_dl_sysdep_start): Use it.
2023         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
2024         providing a special DL_FIND_ARG_COMPONENTS and including the next
2025         file up the line.
2027         * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
2028         * sysdeps/powerpc/e_sqrtf.c: Likewise.
2029         * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
2030         the double precision version.
2031         * sysdeps/powerpc/s_fabsf.S: Likewise.
2032         * sysdeps/powerpc/s_isnanf.S: Likewise.
2034 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
2036         * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>.  Somebody
2037         should update this to use the new db API.
2038         * nss/nss_db/db-netgrp.c: Likewise.
2039         * nss/nss_db/db-alias.c: Likewise.
2040         * db2/Makefile: Makefile for db-2.x in glibc.
2042 1997-08-27 21:20  Ulrich Drepper  <drepper@cygnus.com>
2044         * csu/Makefile (before-compile): New goal.  Make sure abi-tag.h
2045         is generated.
2046         [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
2048         * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
2049         -D__USE_STRING_INLINES.
2050         * string/string.f: Move strnlen optimization after inclusion of
2051         <bits/string.h>.  Include <bits/string.h> only if __USE_STRING_INLINES
2052         is defined.
2053         * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
2054         in <bits/string.h>.
2055         * sysdeps/generic/memset.c: Likewise.
2056         * sysdeps/i386/string.h: i386 optimized string functions.
2057         * sysdeps/i386/i486string.h: i486+ optimized string functions.
2059         * Makefile (subdirs): Change db to db2.
2060         * shlib-versions: Bump libdb verion number to 3.
2061         * include/db.h: Include from db2 directory.
2062         * include/db_185.h: New file.
2063         * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
2064         to provide spinlock information for db2.
2065         * sysdeps/m68k/m68020/Makefile: New file.  Likewise.
2066         * sysdeps/sparc/Makefile: New file.  Likewise.
2067         * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
2068         Add -DHAVE_LLSEEK.
2069         * db2/config.h: Hand-edited config file for db2 in glibc.
2070         * db2/compat.h: New file from db-2.3.4.
2071         * db2/db.h: Likewise.
2072         * db2/db_185.h: Likewise.
2073         * db2/db_int.h: Likewise.
2074         * db2/makedb.c: Likewise.
2075         * db2/btree/bt_close.c: Likewise.
2076         * db2/btree/bt_compare.c: Likewise.
2077         * db2/btree/bt_conv.c: Likewise.
2078         * db2/btree/bt_cursor.c: Likewise.
2079         * db2/btree/bt_delete.c: Likewise.
2080         * db2/btree/bt_open.c: Likewise.
2081         * db2/btree/bt_page.c: Likewise.
2082         * db2/btree/bt_put.c: Likewise.
2083         * db2/btree/bt_rec.c: Likewise.
2084         * db2/btree/bt_recno.c: Likewise.
2085         * db2/btree/btree_auto.c: Likewise.
2086         * db2/btree/bt_rsearch.c: Likewise.
2087         * db2/btree/bt_search.c: Likewise.
2088         * db2/btree/bt_split.c: Likewise.
2089         * db2/btree/bt_stat.c: Likewise.
2090         * db2/btree/btree.src: Likewise.
2091         * db2/common/db_appinit.c: Likewise.
2092         * db2/common/db_err.c: Likewise.
2093         * db2/common/db_byteorder.c: Likewise.
2094         * db2/common/db_apprec.c: Likewise.
2095         * db2/common/db_salloc.c: Likewise.
2096         * db2/common/db_log2.c: Likewise.
2097         * db2/common/db_region.c: Likewise.
2098         * db2/common/db_shash.c: Likewise.
2099         * db2/db/db.c: Likewise.
2100         * db2/db/db.src: Likewise.
2101         * db2/db/db_conv.c: Likewise.
2102         * db2/db/db_dispatch.c: Likewise.
2103         * db2/db/db_dup.c: Likewise.
2104         * db2/db/db_overflow.c: Likewise.
2105         * db2/db/db_pr.c: Likewise.
2106         * db2/db/db_rec.c: Likewise.
2107         * db2/db/db_ret.c: Likewise.
2108         * db2/db/db_thread.c: Likewise.
2109         * db2/db/db_auto.c: Likewise.
2110         * db2/db185/db185.c: Likewise.
2111         * db2/db185/db185_int.h: Likewise.
2112         * db2/dbm/dbm.c: Likewise.
2113         * db2/hash/hash.c: Likewise.
2114         * db2/hash/hash.src: Likewise.
2115         * db2/hash/hash_page.c: Likewise.
2116         * db2/hash/hash_conv.c: Likewise.
2117         * db2/hash/hash_debug.c: Likewise.
2118         * db2/hash/hash_stat.c: Likewise.
2119         * db2/hash/hash_rec.c: Likewise.
2120         * db2/hash/hash_dup.c: Likewise.
2121         * db2/hash/hash_func.c: Likewise.
2122         * db2/hash/hash_auto.c: Likewise.
2123         * db2/include/mp.h: Likewise.
2124         * db2/include/btree.h: Likewise.
2125         * db2/include/db.h.src: Likewise.
2126         * db2/include/db_int.h.src: Likewise.
2127         * db2/include/db_shash.h: Likewise.
2128         * db2/include/db_swap.h: Likewise.
2129         * db2/include/db_185.h.src: Likewise.
2130         * db2/include/txn.h: Likewise.
2131         * db2/include/db_am.h: Likewise.
2132         * db2/include/shqueue.h: Likewise.
2133         * db2/include/hash.h: Likewise.
2134         * db2/include/db_dispatch.h: Likewise.
2135         * db2/include/lock.h: Likewise.
2136         * db2/include/db_page.h: Likewise.
2137         * db2/include/log.h: Likewise.
2138         * db2/include/db_auto.h: Likewise.
2139         * db2/include/btree_auto.h: Likewise.
2140         * db2/include/hash_auto.h: Likewise.
2141         * db2/include/log_auto.h: Likewise.
2142         * db2/include/txn_auto.h: Likewise.
2143         * db2/include/db_ext.h: Likewise.
2144         * db2/include/btree_ext.h: Likewise.
2145         * db2/include/clib_ext.h: Likewise.
2146         * db2/include/common_ext.h: Likewise.
2147         * db2/include/hash_ext.h: Likewise.
2148         * db2/include/lock_ext.h: Likewise.
2149         * db2/include/log_ext.h: Likewise.
2150         * db2/include/mp_ext.h: Likewise.
2151         * db2/include/mutex_ext.h: Likewise.
2152         * db2/include/os_ext.h: Likewise.
2153         * db2/include/txn_ext.h: Likewise.
2154         * db2/include/cxx_int.h: Likewise.
2155         * db2/include/db_cxx.h: Likewise.
2156         * db2/include/queue.h: Likewise.
2157         * db2/lock/lock.c: Likewise.
2158         * db2/lock/lock_conflict.c: Likewise.
2159         * db2/lock/lock_util.c: Likewise.
2160         * db2/lock/lock_deadlock.c: Likewise.
2161         * db2/log/log.c: Likewise.
2162         * db2/log/log_get.c: Likewise.
2163         * db2/log/log.src: Likewise.
2164         * db2/log/log_compare.c: Likewise.
2165         * db2/log/log_put.c: Likewise.
2166         * db2/log/log_rec.c: Likewise.
2167         * db2/log/log_archive.c: Likewise.
2168         * db2/log/log_register.c: Likewise.
2169         * db2/log/log_auto.c: Likewise.
2170         * db2/log/log_findckp.c: Likewise.
2171         * db2/mp/mp_bh.c: Likewise.
2172         * db2/mp/mp_fget.c: Likewise.
2173         * db2/mp/mp_fopen.c: Likewise.
2174         * db2/mp/mp_fput.c: Likewise.
2175         * db2/mp/mp_fset.c: Likewise.
2176         * db2/mp/mp_open.c: Likewise.
2177         * db2/mp/mp_region.c: Likewise.
2178         * db2/mp/mp_pr.c: Likewise.
2179         * db2/mp/mp_sync.c: Likewise.
2180         * db2/mutex/68020.gcc: Likewise.
2181         * db2/mutex/mutex.c: Likewise.
2182         * db2/mutex/README: Likewise.
2183         * db2/mutex/x86.gcc: Likewise.
2184         * db2/mutex/sparc.gcc: Likewise.
2185         * db2/mutex/uts4.cc.s: Likewise.
2186         * db2/mutex/alpha.dec: Likewise.
2187         * db2/mutex/alpha.gcc: Likewise.
2188         * db2/mutex/parisc.gcc: Likewise.
2189         * db2/mutex/parisc.hp: Likewise.
2190         * db2/os/db_os_abs.c: Likewise.
2191         * db2/os/db_os_dir.c: Likewise.
2192         * db2/os/db_os_fid.c: Likewise.
2193         * db2/os/db_os_lseek.c: Likewise.
2194         * db2/os/db_os_mmap.c: Likewise.
2195         * db2/os/db_os_open.c: Likewise.
2196         * db2/os/db_os_rw.c: Likewise.
2197         * db2/os/db_os_sleep.c: Likewise.
2198         * db2/os/db_os_stat.c: Likewise.
2199         * db2/os/db_os_unlink.c: Likewise.
2200         * db2/txn/txn.c: Likewise.
2201         * db2/txn/txn.src: Likewise.
2202         * db2/txn/txn_rec.c: Likewise.
2203         * db2/txn/txn_auto.c: Likewise.
2204         * db2/clib/getlong.c: Likewise.
2205         * db2/progs/db_archive/db_archive.c: Likewise.
2206         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2207         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2208         * db2/progs/db_dump/db_dump.c: Likewise.
2209         * db2/progs/db_dump185/db_dump185.c: Likewise.
2210         * db2/progs/db_load/db_load.c: Likewise.
2211         * db2/progs/db_printlog/db_printlog.c: Likewise.
2212         * db2/progs/db_recover/db_recover.c: Likewise.
2213         * db2/progs/db_stat/db_stat.c: Likewise.
2215         * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
2217         * po/de.po, po/sv.po: Update from 2.0.5 translations.
2219         * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
2221         * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
2222         as const.
2223         * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
2224         * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
2225         * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
2227 1997-08-27 18:47  Ulrich Drepper  <drepper@cygnus.com>
2229         * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
2230         Reported by Benjamin Kosnik <bkoz@cygnus.com>.
2232 1997-08-27 02:27  Roland McGrath  <roland@baalperazim.frob.com>
2234         * abi-tags: New file.
2235         * csu/Makefile (distribute): Remove abi-tag.h.
2236         ($(objpfx)abi-tag.h): New target.
2237         * Makefile (distribute): Add abi-tags.
2238         * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
2239         * sysdeps/mach/hurd/abi-tag.h: File removed.
2240         * sysdeps/stub/abi-tag.h: File removed.
2242 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2244         * sysdeps/unix/make-syscalls.sh: Change output so that it
2245         generates compilation rules only for the currently selected object
2246         suffixes.
2248 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2250         * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
2251         section to avoid confusing the compiler.
2252         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2253         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2254         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2255         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
2256         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2258         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
2259         relocation instead of a constant to avoid text relocation.
2260         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2261         (RTLD_START): Declare global labels as functions and add size
2262         directive.
2264 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
2266         * sysdeps/i386/bits/select.h: Correct assembler versions to work even
2267         for descriptors >= 32.
2269         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
2270         is used __alloca is not defined to __builtin_alloca and so might
2271         not be available.
2272         Reported by Uwe Ohse <uwe@ohse.de>.
2274         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
2275         way if gcc is not used and so dev_t is an array.
2276         Reported by Uwe Ohse <uwe@ohse.de>.
2278 1997-08-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2280         * manual/libc.texinfo: Reorder chapters to match logical order.
2282 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
2284         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
2285         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
2286         with g++ internal symbols.
2287         Patch by Sudish Joseph <sj@eng.mindspring.net>.
2289 1997-08-24  Miles Bader  <miles@gnu.ai.mit.edu>
2291         * string/argz.h: Add missing __END_DECLS.
2293 1997-08-24 12:24  Ulrich Drepper  <drepper@cygnus.com>
2295         * configure.in (INSTALL): Quote `$'.
2297         * libc.map: Add __xpg_basename.
2299         * csu/Makefile (initfini.s): Disable optimization.
2301         * elf/dl-deps.c: Implement handling of DT_FILTER.
2303         * elf/dl-load.c (_dl_init_paths): Add error check.
2305         * intl/finddomain.c (_nl_find_domain): Correct comment.
2306         * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
2308         * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
2309         Change extern inline functions to work correctly in C++.
2311         * locale/iso-4217.def: Update for more recent ISO 4217 version.
2313         * locale/loadlocale.c (_nl_load_locale): Add cast.
2315         * manual/message.texi: Finish gettext section.
2317         * posix/getopt_init.c: Don't use relative #include path.
2318         (__getopt_clean_environment): Change function to take pointer to
2319         environment as argument.  Optimize generation of test string a bit.
2320         * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
2321         with additional argument.
2323         * poisx/glob.c: Add prototype for next_brace_sub.
2325         * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
2326         vector.
2328         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
2329         to not generate relocation entry.  Suggested by Richard Henderson.
2330         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2331         (elf_machine_runtime_setup): Add .aligns.
2333         * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
2335         * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
2336         1997-08-14 03:14.  gcc 2.7.2* is really broken in some aspects.
2338         * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
2339         * sysdeps/standalone/i960/i960ca.h: Likewise.
2341 1997-08-22 19:04  Richard Henderson  <rth@cygnus.com>
2343         * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
2344         undocumented test addition in _dl_map_object.
2346         Support ET_EXEC versions of ld.so, for debugging at least:
2348         * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
2349         called despite the DT_SONAME != NULL test, segfaulting.  Simplify
2350         the code here as well.
2351         * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
2352         (_dl_setup_hash): Likewise for hash tables.
2353         * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
2354         * elf/rtld.c (_dl_start): Likewise for rpath.
2355         (_dl_rtld_libname2): New variable.
2356         (dl_main): Use it to add an soname for ourselves when we don't have
2357         one of our own.  Base it on the target's .interp.
2358         (dl_main): Again, skip printing of objects that don't have strtabs.
2360         Sparc 32 merge:
2362         * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
2363         (fixup): Simplify code.  Use ELF_FIXUP_RETURN_VALUE.
2364         (profile_fixup): Likewise, though this still needs fixing for
2365         Sparc32 and PPC.
2366         * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
2367         to ELF_FIXUP_RETURN_VALUE.
2369         * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
2370         Fix up _dl_start_user to handle _dl_skip_args properly.
2371         Use _dl_hwcap to determine if "flush" is available/needed.
2373         * sysdeps/sparc/configure.in: Remove.  It doesn't actually do
2374         anything anymore, and what it did do is done somewhere else.
2375         * sysdeps/sparc/configure: Likewise.
2377         * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
2379         * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
2381         * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
2382         in divrem expansions.
2384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
2385         definitions for assembly syntax differences.
2387         * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
2388         "system".  Use %g2,%g3 instead.  Use new local label macro.
2389         * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
2390         and LOC for proper assembly headers/footers.
2391         * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
2392         * sysdeps/sparc/sparc32/alloca.S: Likewise.
2393         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2394         * sysdeps/sparc/sparc32/lshift.S: Likewise.
2395         * sysdeps/sparc/sparc32/mul_1.S: Likewise.
2396         * sysdeps/sparc/sparc32/rshift.S: Likewise.
2397         * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
2398         * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
2399         * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
2400         * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
2401         * sysdeps/sparc/sparc32/sub_n.S: Likewise.
2402         * sysdeps/sparc/sparc32/submul_1.S: Likewise.
2403         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
2404         * sysdeps/sparc/sparc32/umul.S: Likewise.
2405         * sysdeps/sparc/sparc32/divrem.m4: Likewise.
2406         * sysdeps/sparc/sparc32/rem.S: Regenerate.
2407         * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
2408         * sysdeps/sparc/sparc32/udiv.S: Regenerate.
2409         * sysdeps/sparc/sparc32/urem.S: Regenerate.
2411         * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
2412         * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
2413         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
2414         * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
2415         * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
2416         * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
2418         * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
2419         * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
2420         * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
2422         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
2423         Clean up PIC code.
2425         * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
2426         from the sparc64 version.
2427         * sysdeps/sparc/sparc32/elf/start.c: Removed.
2429         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
2430         assembly based on the sparc64 version.
2432         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh.  Use proper syntax
2433         for manipulating %fsr.
2434         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
2435         be the default.
2437         * elf/elf.h (HWCAP_SPARC_*): New definitions.
2438         * elf/rtld.c (_dl_hwcap): New variable.
2439         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
2441         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
2442         Attempt to get hold of the page size based on what we might have
2443         been told at startup time in _dl_pagesize.  This will be obsolete
2444         when I finish the kernel hooks for a proper sysconf(), stay tuned.
2446         Sparc 64 merge:
2448         * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
2449         Figure out the right thing to return based on the .plt format.
2451         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
2453         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
2454         Should have been 64-bits wide.
2456         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
2457         optimize for branch delay slot usage.
2459 1997-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2461         * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
2462         change.
2464 1997-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2466         * math/libm-test.c (identities): Change epsilon.
2468         * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
2469         fabsf, fabsl, __fabsl.
2471 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
2473         * catgets/catgets.c (catclose): Use __munmap instead of munmap.
2474         * catgets/gencat.c (read_input_file): Fix typo.
2476         * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
2478         * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
2479         executed (e.g., when it is a static binary).
2481         * intl/bindtextdomain.c: Use strdup in glibc.  Correct comment.
2482         * intl/dcgettext.c: Likewise.
2483         * intl/dgettext.c: Likewise.
2484         * intl/explodename.c: Likewise.
2485         * intl/finddomain.c: Likewise.
2486         * intl/gettext.c: Likewise.
2487         * intl/gettext.h: Likewise.
2488         * intl/hash-string.h: Likewise.
2489         * intl/l10nflist.c: Likewise.
2490         * intl/libintl.h: Likewise.
2491         * intl/loadinfo.h: Likewise.
2492         * intl/loadmsgcat.c: Likewise.
2493         * intl/localealias.c: Likewise.
2494         * intl/textdomain.c: Likewise.
2496         Unify libio sources with code in libg++.
2497         * libio/fcloseall.c: Update and reformat copyright.  Protect use
2498         of weak_alias.  Use _IO_* thread macros instead of __libc_*.
2499         * libio/feof.c: Likewise.
2500         * libio/feof_u.c: Likewise.
2501         * libio/ferror.c: Likewise.
2502         * libio/ferror_u.c: Likewise.
2503         * libio/fgetc.c: Likewise.
2504         * libio/filedoalloc.c: Likewise.
2505         * libio/fileno.c: Likewise.
2506         * libio/fileops.c: Likewise.
2507         * libio/fputc.c: Likewise.
2508         * libio/fputc_u.c: Likewise.
2509         * libio/freopen.c: Likewise.
2510         * libio/fseek.c: Likewise.
2511         * libio/genops.c: Likewise.
2512         * libio/getc.c: Likewise.
2513         * libio/getc_u.c: Likewise.
2514         * libio/getchar.c: Likewise.
2515         * libio/getchar_u.c: Likewise.
2516         * libio/iofclose.c: Likewise.
2517         * libio/iofdopen.c: Likewise.
2518         * libio/iofflush.c: Likewise.
2519         * libio/iofflush_u.c: Likewise.
2520         * libio/iofgetpos.c: Likewise.
2521         * libio/iofgets.c: Likewise.
2522         * libio/iofopen.c: Likewise.
2523         * libio/iofopncook.c: Likewise.
2524         * libio/iofprintf.c: Likewise.
2525         * libio/iofputs.c: Likewise.
2526         * libio/iofread.c: Likewise.
2527         * libio/iofsetpos.c: Likewise.
2528         * libio/ioftell.c: Likewise.
2529         * libio/iofwrite.c: Likewise.
2530         * libio/iogetdelim.c: Likewise.
2531         * libio/iogetline.c: Likewise.
2532         * libio/iogets.c: Likewise.
2533         * libio/iopadn.c: Likewise.
2534         * libio/iopopen.c: Likewise.
2535         * libio/ioputs.c: Likewise.
2536         * libio/ioseekoff.c: Likewise.
2537         * libio/ioseekpos.c: Likewise.
2538         * libio/iosetbuffer.c: Likewise.
2539         * libio/iosetvbuf.c: Likewise.
2540         * libio/iosprintf.c: Likewise.
2541         * libio/ioungetc.c: Likewise.
2542         * libio/iovdprintf.c: Likewise.
2543         * libio/iovsprintf.c: Likewise.
2544         * libio/iovsscanf.c: Likewise.
2545         * libio/libio.h: Likewise.
2546         * libio/libioP.h: Likewise.
2547         * libio/obprintf.c: Likewise.
2548         * libio/pclose.c: Likewise.
2549         * libio/peekc.c: Likewise.
2550         * libio/putc.c: Likewise.
2551         * libio/putchar.c: Likewise.
2552         * libio/rewind.c: Likewise.
2553         * libio/setbuf.c: Likewise.
2554         * libio/setlinebuf.c: Likewise.
2555         * libio/stdfiles.c: Likewise.
2556         * libio/stdio.c: Likewise.
2557         * libio/strfile.h: Likewise.
2558         * libio/strops.c: Likewise.
2559         * libio/vasprintf.c: Likewise.
2560         * libio/vscanf.c: Likewise.
2561         * libio/vsnprintf.c: Likewise.
2563         * manual/libc.texinfo: Add menu entries for chapter on message
2564         translation.
2565         * manual/locale.texi: Correct next entry in @node for new chapter.
2566         * manual/search.texi: Likewise for previous link.
2567         * manual/message.texi: New file.
2568         * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
2569         setenv, unsetenv, and clearenv.
2570         * manual/string.texi: Fix typos.  Patch by Jim Meyering.
2572         * math/Makefile (test-longdouble-yes): Enable.  We want long double
2573         tests now.
2575         Crusade against strcat.
2576         * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
2577         * stdlib/canonicalize.c: Likewise.
2579         * posix/glob.h: Define __const if necessary.  Use __const in all
2580         prototypes.
2582         * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
2583         GNU packages.
2585         * posix/wordexp.c: Completely reworked buffer handling for much
2586         better performance.  Patch by Tim Waugh.
2588         * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
2589         it must be socklen_t.
2591         * sysdeps/libm-i387/e_remainder.S: Pretty print.
2592         * sysdeps/libm-i387/e_remainderf.S: Likewise.
2593         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
2594         * sysdeps/libm-i387/s_cexp.S: Little optimization.
2595         * sysdeps/libm-i387/s_cexpl.S: Likewise.
2596         * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
2598 1997-08-18 15:21  Ulrich Drepper  <drepper@cygnus.com>
2600         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
2601         in cleanup code.
2603 1997-08-17  Paul Eggert  <eggert@twinsun.com>
2605         * tzset.c (__tzset_internal): Fix memory leak when the user
2606         specifies a TZ value that uses a default rule file.
2607         Do not assume US DST rules when the user specifies
2608         that there is no DST.
2610 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
2612         * inet/getnameinfo.c: Tidy up.
2613         * sysdeps/posix/getaddrinfo.c: Likewise.
2615         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
2616         using stub code.
2617         (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
2618         (if_nameindex): Use alloca() rather than malloc(); use
2619         SIOCGIFCOUNT ioctl if the kernel supports it.
2621 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2623         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
2624         they operate on internal kernel structures and have no place in a
2625         user header.
2627 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2629         * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
2630         (build-shlib): Filter them out of $^.
2632 1997-08-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2634         * elf/dl-error.c (_dl_signal_error): Fix error message.
2636 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
2638         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
2639         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
2641 1997-08-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2643         * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
2644         to avoid conflict with PO files.
2645         * Makerules: Likewise.
2646         * Rules: Likewise.
2647         * elf/Makefile: Likewise.
2648         * extra-lib.mk: Likewise.
2649         * gmon/Makefile: Likewise.
2650         * nis/Makefile: Likewise.
2651         * nss/Makefile: Likewise.
2652         * resolv/Makefile: Likewise.
2653         * rpm/Makefile: Likewise.
2654         * sunrpc/Makefile: Likewise.
2655         * sysdeps/sparc/elf/Makefile: Likewise.
2656         * sysdeps/sparc64/elf/Makefile: Likewise.
2657         * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
2658         (ASFLAGS-.os): Renamed from as-FLAGS.os.
2660 1997-08-14 03:14  Ulrich Drepper  <drepper@cygnus.com>
2662         * elf/dl-minimal.c: Don't use relative #include paths.
2663         (malloc): Don't try to initialize _dl_pagesize, it already is.
2664         (__sigjmp_save, longjmp): Reformat.
2666         * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
2667         show content of auxiliary array.
2668         (_dl_sysdep_start): Remember start of auxiliary vector.
2669         * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
2670         * elf/link.h: Add prototype for _dl_show_auxv.
2671         * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
2672         is present.
2674         * libio/iofdopen.c: Better prepare for use in libstdc++.
2675         * libio/iofflush.c: Likewise.
2676         * libio/iofgetpos.c: Likewise.
2677         * libio/iofgets.c: Likewise.
2678         * libio/iofopen.c: Likewise.
2679         * libio/iofputs.c: Likewise.
2680         * libio/iofread.c: Likewise.
2681         * libio/iofsetpos.c: Likewise.
2682         * libio/ioftell.c: Likewise.
2683         * libio/iofwrite.c: Likewise.
2684         * libio/iogetdelim.c: Likewise.
2685         * libio/iogets.c: Likewise.
2686         * libio/iopopen.c: Likewise.
2687         * libio/ioputs.c: Likewise.
2688         * libio/iosetbuffer.c: Likewise.
2689         * libio/iosetvbuf.c: Likewise.
2690         * libio/ioungetc.c: Likewise.
2691         * libio/iovsprintf.c: Likewise.
2692         * libio/iovsscanf.c: Likewise.
2694         * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
2695         place.
2697         * manual/math.texi: Add comment to sincos decsription to say it's a
2698         GNU extension.
2699         Fix description of random function.
2701         * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
2702         * posix/glob.c: Likewise.  Handle stupid system headers on SunOS.
2703         Add casts for all __alloca calls.
2704         * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
2705         Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
2706         Patches by Paul D. Smith <psmith@BayNetworks.COM>.
2708         * stdio-common/_itoa.c: Don't use relateive #include paths.
2710         * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
2711         gcc 2.7.
2712         (atan): Loading 1.0 from memory does not pay off.
2713         (asinh): Fix typo.
2715 1997-08-13 09:44  Philip Blundell  <Philip.Blundell@pobox.com>
2717         * sysdeps/stub/accept.c: Use socklen_t where necessary.
2718         * sysdeps/stub/bind.c: Likewise.
2719         * sysdeps/stub/connect.c: Likewise.
2720         * sysdeps/stub/getsockname.c: Likewise.
2721         * sysdeps/stub/getsockopt.c: Likewise.
2722         * sysdeps/stub/recvfrom.c: Likewise.
2723         * sysdeps/stub/sendto.c: Likewise.
2724         * sysdeps/stub/setsockopt.c: Likewise.
2726 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2728         * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
2729         types.
2731 1997-08-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2733         * math/libm-test.c (cbrt_test): Add epsilon for long double to
2734         `cbrt (-0.001)'.
2736 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2738         * sysdeps/stub/bits/string.h: Fix comment.
2740 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2742         * elf/Makefile (routines): Remove dl-version.
2743         (dl-routines): Add it here instead.  This removes dead code from
2744         libc.so.
2746 1997-08-12 17:17  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2748         * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
2749         macros to encapsulate pthread_atfork's functionality.
2750         * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
2751         functions, registered via thread_atfork in the initialization
2752         routine or via thread_atfork_static in global scope.  This
2753         ensures a consistent state of all locks across fork().
2755 1997-08-11 23:00:32 1997  Mark Kettenis  <kettenis@phys.uva.nl>
2757         * login/programs/xtmp.c (compare_entry):
2758         Partially undo patch made by Klaus Espenlaub.  There
2759         was no xtmp/utmp typo.  Added comment to cclarify this.
2760         * login/programs/xtmp.h: Likewise.
2762         * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
2763         Patch by Paul D. Smith <psmith@BayNetworks.COM>.
2765 1997-08-12 13:51  Ulrich Drepper  <drepper@cygnus.com>
2767         * login/getutid.c: Rename to __getutid and make getutid and getutxid
2768         weak aliases.
2769         Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
2771 1997-08-11 23:55  Ulrich Drepper  <drepper@cygnus.com>
2773         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2774         Add bits/mman.h.
2776 1997-08-11 08:51:21 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
2778         * stdlib/fmtmsg.c (fmtmsg): Add static to
2779         __libc_once_define macro.
2781         * libc.map (__progname_full, __progname): Added.
2783 1997-08-04 08:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2785         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
2786         if SIOGIFINDEX is not defined.
2787         (if_indextoname): Initialize "result" to NULL.
2788         (if_nametoindex, if_nameindex): Fix ENOSYS setting.
2790 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
2792         Sparc ISO C 9x exception handling:
2793         * sysdeps/sparc/fpu/bits/mathdef.h: New file.
2794         * sysdeps/sparc/fpu/fclrexcpt.c: New file.
2795         * sysdeps/sparc/fpu/fegetenv.c: New file.
2796         * sysdeps/sparc/fpu/fegetround.c: New file.
2797         * sysdeps/sparc/fpu/feholdexcpt.c: New file.
2798         * sysdeps/sparc/fpu/fesetenv.c: New file.
2799         * sysdeps/sparc/fpu/fesetround.c: New file.
2800         * sysdeps/sparc/fpu/feupdateenv.c: New file.
2801         * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
2802         * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
2803         * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
2804         * sysdeps/sparc/fpu/ftestexcept.c: New file.
2805         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
2806         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
2808 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
2810         Sparc64 merge:
2811         * configure.in: Change up subdirectories, rename sparc8->sparcv8.
2813         * csu/Makefile: Nuke need-nopic-initfini bits.  The problem was
2814         that sparc64 ld did not recognize pic relocs at all.
2816         * elf/dl-deps.c: Include <string.h>.
2817         * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
2818         directly instead of the DT names to get them from.
2819         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
2820         from ELF_DYNAMIC_DO_REL{,A}.  Define a second version that accounts
2821         for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
2822         the case on the Sparc.
2824         * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
2825         Elf32_Ver* bits.  The linker does not even know to differentiate
2826         between the word sizes.  Someone should examine this and figure
2827         out what the proper sizes of things should be for 64-bit hosts
2828         before the sparc64 libraries are distributed.
2830         * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
2831         on the same machine.
2833         Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
2834         rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
2835         sysdeps/sparc/sparc64.  Same for sysdeps/unix/sysv/linux/sparc.
2837         * sysdeps/sparc/Implies: Do ieee754 here.
2838         * sysdeps/sparc/configure.in: Move from sparc32/.
2839         * sysdeps/sparc/sparc32/Implies: Do wordsize here.
2840         * sysdeps/sparc/sparc64/Implies: Likewise.
2842         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
2843         Use uninitialized .got to find load address instead of AT_BASE, as
2844         the later does not exist when running ld.so directly.
2846         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
2847         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2849         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
2851         * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
2852         and s_signbitl for stdio.
2853         * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
2854         nopic_initfini.
2856         * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
2857         * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
2858         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
2859         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
2860         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
2861         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
2862         and setjmp entry points.
2864         * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
2866         * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
2867         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
2869         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
2870         Fix sa_flags size for sparc64; add sa_restorer for kernel.
2872         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
2873         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2874         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2875         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2877         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
2879 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
2881         * login/login.c (login): Check for correct return value of
2882         utmpname.
2884 1997-08-11 16:49  Ulrich Drepper  <drepper@cygnus.com>
2886         * time/tzset.c (__tzset_internal): Correctly handle TZ strings
2887         following incorrect old POSIX specs.
2888         Patch by Paul Eggert <eggert@twinsun.com>.
2890         * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
2891         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
2892         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2893         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2894         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2895         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2896         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2897         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2898         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2900 1997-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2902         * manual/math.texi: Define the macros @mul and @infinity and use
2903         them to format the multiplication and infinity signs.
2904         (FP Comparison Functions): Use @code, not @math, for C code
2905         examples.
2907 1997-08-10 18:48  Ulrich Drepper  <drepper@cygnus.com>
2909         * Makeconfig: Define build-programs to no if not set and $(config-os)
2910         is none.
2911         * Makerules (+depfiles): Don't add $(others) if not build-programs.
2912         * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
2913         and $(install-sbin) if not build-programs.
2914         * Makefile (subdirs): Remove login.
2915         * sysdeps/mach/hurd/Subdirs: Add login.
2916         * sysdeps/unix/Subdirs: Add login.
2918         * sysdeps/generic/sys/mman.h: Test feature macros before defining
2919         non-POSIX things.  Add MAP_FAILED.
2920         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2921         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2922         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2923         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2924         * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
2925         but bits/mman.h.  Test feature macros before definitions non-POSIX
2926         functions.
2927         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
2928         * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
2929         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
2930         * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
2931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
2932         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
2933         * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
2934         * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
2935         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2936         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2937         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2938         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2939         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
2940         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.  Likewise.
2942         * catgets/open_catalog.c (__open_catalog): Compare result of mmap
2943         with MAP_FAILED and not -1.
2944         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2945         * elf/dl-minimal.c (malloc): Likewise.
2946         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
2947         * locale/loadlocale.c (_nl_load_locale): Likewise.
2948         * locale/programs/localedef.c: Likewise.
2949         * malloc/malloc.c (mmap_chunk): Likewise.
2950         (new_heap): Likewise.
2951         * string/stratcliff.c: Likewise.
2952         * string/tester.c: Add tests for stpcpy.
2954         * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
2956         * gmon/sys/gmon.h: Add prototype for write_profiling.
2958         * elf/dl-profile.c: Add descriptions and implement reading of
2959         existing data in profiling file.
2960         * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
2961         lib profiling data.
2963         * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
2964         parameter for class.
2966         * inet/inet_ntoa.c: Make once control variable static.
2967         Correctly handle case where key cannot be retrieved.
2968         * inet/Makefile (tests): Add tst-ntoa.
2969         * inet/tst-ntoa.c: New file.
2971         * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
2972         ctime_r.
2973         Mention that tzname values must not be changed.
2975         * manual/users.texi: Document UTMP/WTMP handling functions.
2976         Mainly written by Mark Kettenis.
2978         * math/libm-test.c (cbrt_test): Add test for number with aboslute
2979         value < 1.0.
2981         * nss/nss_files/files-XXX.c (internal_setent): If opening of file
2982         failed with EGAIN return NSS_STATUS_TRYAGAIN.
2983         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2985         * sysdeps/generic/bits/utmp.h: Pretty print.
2987         * sysdeps/i386/i586/strcpy.S: New file.  Much faster implementation.
2988         * sysdeps/i386/i586/stpcpy.S: New file.
2989         * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
2990         these are less efficient than i486/i386 versions.
2992         * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
2993         version from libm-ieee754 be compiled since the later is not needed.
2994         * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
2995         * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
2996         * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
2997         * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
2998         * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
2999         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
3000         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
3001         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
3002         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
3003         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
3004         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
3006         * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
3007         * sysdeps/libm-i387/s_cbrtf.S: Likewise.
3008         * sysdeps/libm-i387/s_cbrtl.S: Likewise.
3010         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
3011         little bug.
3013         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
3014         msg_iovlen of type int.
3016         * time/tzfile.c: Change return type of __tzstring to char *.
3017         * time/tzset.c: Likewise.  Change definition of __tzstring.
3019         * time/tzset.c: Interpret no DST information in user provided time
3020         zone specification as it is meant: no DST.
3021         Patch by Paul Eggert <eggert@twinsun.com>.
3023 1997-07-20 03:01  Geoff Keating  <geoffk@ozemail.com.au>
3025         * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
3026         (_dl_map_object_from_fd): Use add_name_to_object.
3027         (_dl_map_object): If an object's SONAME is used to resolve a
3028         dependency, add it to the list of the object's names.
3030         * inet/getnameinfo.c: Make `domain' non-const.
3032         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
3034         * math/test-fenv.c (feenv_nomask_test): Don't execute if
3035         FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
3036         sets errno to ENOSYS.
3038         * sysdeps/powerpc/dl-machine.h: Print proper error message on
3039         unknown reloc type (rather than using assert).
3041         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
3042         * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
3044 1997-07-16 12:47  Geoff Keating  <geoffk@ozemail.com.au>
3046         * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
3047         (feclearexcept): New optimising macro.
3048         (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
3049         (FE_ENABLED_ENV): Add.
3050         (FE_NONIEEE_ENV): Add.
3051         * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
3052         __fe_nonieee_env; delete __fe_nomask_env.
3053         * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
3054         gets implemented in the kernel).
3056         * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
3057         FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
3058         * sysdeps/powerpc/fsetexcptflag.c: Likewise.
3060         * io/ftw.c: Don't compare holes in structures.
3061         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
3062         macros to `int', because otherwise it might be `long long' which
3063         the calling code is probably not expecting.
3065         * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
3066         document the existence of some more.
3068         * sysdeps/powerpc/s_llrint.c: New file.
3069         * sysdeps/powerpc/s_lrint.c: New file.
3070         * sysdeps/powerpc/s_llround.c: New file.
3071         * sysdeps/powerpc/s_lround.c: New file.
3073         * sysdeps/powerpc/s_sqrt.c: New file.
3074         * sysdeps/powerpc/s_sqrtf.c: New file.
3075         * sysdeps/powerpc/w_sqrt.s: New empty file.
3076         * sysdeps/powerpc/w_sqrtf.s: New empty file.
3077         * sysdeps/powerpc/t_sqrt.c: New file.
3078         * sysdeps/powerpc/test-arithf.c: New file.
3079         * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
3080         routines.  Add test-arithf to test programs.
3082         * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
3084         * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
3085         and possibly faster (or possibly slower, depending on input).
3087 1997-06-08 22:55  Geoff Keating  <geoffk@ozemail.com.au>
3089         * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
3090         macros.
3091         * sysdeps/powerpc/s_rint.c: New file.
3093 1997-05-22 08:47  Geoff Keating  <geoffk@ozemail.com.au>
3095         * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
3096         * sysdeps/powerpc/Dist: Add quad_float.h.
3097         * sysdeps/powerpc/q_dtoq.c: New file.
3098         * sysdeps/powerpc/q_itoq.c: New file.
3099         * sysdeps/powerpc/q_lltoq.c: New file.
3100         * sysdeps/powerpc/q_neg.c: New file.
3101         * sysdeps/powerpc/q_qtoi.c: New file.
3102         * sysdeps/powerpc/q_qtoll.c: New file.
3103         * sysdeps/powerpc/q_qtos.c: New file.
3104         * sysdeps/powerpc/q_qtou.c: New file.
3105         * sysdeps/powerpc/q_qtoull.c: New file.
3106         * sysdeps/powerpc/q_stoq.c: New file.
3107         * sysdeps/powerpc/q_ulltoq.c: New file.
3108         * sysdeps/powerpc/q_utoq.c: New file.
3109         * sysdeps/powerpc/quad_float.h: New file.
3110         * sysdeps/powerpc/test-arith.c: New file.
3112         * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
3113         * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
3114         require a stack frame.
3115         * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
3117 1997-05-18 05:55  Geoff Keating  <geoffk@ozemail.com.au>
3119         * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
3120         fesetenv_register): Add 'volatile'.
3121         (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
3122         constants to use with them.
3123         * sysdeps/powerpc/s_copysign.S: New file.
3124         * sysdeps/powerpc/s_copysignf.s: New file.
3125         * sysdeps/powerpc/s_fabs.S: New file.
3126         * sysdeps/powerpc/s_fabsf.s: New file.
3127         * sysdeps/powerpc/s_isnan.c: New file.
3128         * sysdeps/powerpc/s_isnanf.s: New file.
3129         * sysdeps/powerpc/s_rintf.c: New file.
3131         * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
3132         bit in the FPSCR, not the enable bit.
3133         * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
3134         * sysdeps/powerpc/fclrexcpt.c: Correct.
3135         * sysdeps/powerpc/fsetexcptflag.c: Correct.
3136         * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
3137         * sysdeps/powerpc/fgetexcptflg.c: Simplify.
3139         * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
3141         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
3142         explaining some reentrancy issues with lazy PLT entries.
3144 1997-08-09 13:04  Mark Kettenis  <kettenis@phys.uva.nl>
3146         * login/logout.c (logout): utmpname returns -1 on error.
3148         * login/libutil.map: Remove updwtmp.
3150         * login/getutline.c: Rename getutline to __getutline and make
3151         getutline a weak alias.  Make getutxline a weak alias for
3152         __getutline.
3153         * login/getutid.c: Rename getutid to __getutid and make getutid a
3154         weak alias.  Make getutxid a weak alias for __getutid.
3155         * libc.map: Add getutxid, getutxline.
3157         * login/utmpname.c (__utmpname): Reset backend right after backend
3158         endutent call.
3159         * login/utmp_file.c: Reordered functions.  Remove unecessary
3160         header files.
3161         (getutent_r_file, pututline_file): Do not call setutent_file.  At this
3162         point the file is guaranteed to be open (assert!).
3163         (getutid_r_file, getutline_r_file): Remove check for validity of file
3164         descriptor.  At this point the file is guaranteed to be open.
3165         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
3166         updwtmp_file): Do not wait when unlocking file.
3167         * login/utmp_daemon.c: General cleanup and a bit of reordering.
3168         (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
3169         At this point the socket is guaranteed to be open (assert!).
3170         (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
3171         valid.  At this point the socket is guaranteed to be open (assert!).
3172         * login/getutline_r.c: Remove unnecessary header files.
3173         (__getutline_r): Do not call backend setutent.
3174         * login/getutid_r.c: Remove unnecessary header files.
3175         (__getutid_r): Do not call backend setutent.
3176         * login/getutent_r.c: Remove unneccesary header files.
3177         (__libc_utmp_unknown_functions): Added getutid_r_unknown,
3178         getutline_r_unknown.
3179         (setutent_unknown): Only set file backend if setutent for the file
3180         backend was successful.
3181         (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
3182         of __setutent.  Report failure if no backend was selected.
3183         (getutid_r_unknown): New function.
3184         (getutline_r_unknown): New function.
3185         (__endutent): Reset backend.  This makes sure all backends are checked
3186         on the next setutent call.
3188 1997-08-08 20:20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3190         * nis_cache.c: Replace dummy functions.
3192         * libc.map: Add xdr_sizeof symbol.
3194         * sunrpc/Makefile: Add xdr_sizeof to routines.
3195         * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
3196         * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
3198 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3200         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
3202 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3204         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
3205         right place.
3207 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3209         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
3210         PC's in long long to avoid overflow.
3212 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3214         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
3215         New macros.
3217 1997-08-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3219         * nis/Makefile (headers): Remove bits/nislib.h.
3221 1997-08-06 14:54  Ulrich Drepper  <drepper@cygnus.com>
3223         * sysdeps/mach/hurd/Subdirs: Add login.
3225 1997-08-06 14:23  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
3227         * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
3228         the preferred block size.
3230         * login/programs/database.c (store_state_entry): Don't compile if
3231         there is no ut_type field.
3232         (store_state_entry, store_process_entry): Use the ut_tv field
3233         for timestamps if supported.
3235         * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
3237         * login/programs/xtmp.c: Fix numerous xtmp/utmp typos.  Use the ut_tv
3238         field for timestamps if supported.
3240         * login/programs/xtmp.h: Fix xtmp/utmp typo.
3242         * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
3244         * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
3245         * sysdeps/stub/send.c (send): Likewise.
3246         * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
3247         * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
3248         * sysdeps/stub/init-first.c: Add definition of __libc_pid.
3250 1997-08-05 13:28  Philip Blundell  <pb@spring.nexus.co.uk>
3252         * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
3253         tidy up formatting.
3255         * Makefile (subdirs): Remove `login'.
3256         * sysdeps/unix/Subdirs: New file; build `login' subdirectory
3257         for Unix systems.
3259 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3261         * sysdeps/generic/bits/utmpx.h: New file.
3263         * sysdeps/mach/hurd/Dist: Add some files.
3264         * sysdeps/mips/Dist: Likewise.
3265         * sysdeps/mips/mips64/Dist: Likewise.
3266         * sysdeps/sparc/Dist: Likewise.
3267         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3268         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3269         * sysdeps/mips/mipsel/Dist: New file.
3270         * sysdeps/sparc64/elf/Dist: New file.
3271         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
3273 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3275         * libc.map: Add missing symbols.
3277 1997-08-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3279         * manual/socket.texi: Correct typos.
3281         * manual/math.texi: Correct typos.
3283         * manual/time.texi (Formatting Date and Time): Likewise.
3285 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3287         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
3288         (_mcleanup): Use write_gmon.
3289         (write_profiling): This function can be safely called at any time
3290         to write a current histogram without interfering with ongoing
3291         profiling.
3293         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
3295 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3297         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
3298         not be vm_deallocated; it's a stack buffer.
3299         (profil_vm_deallocate): Delete prototype.
3300         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
3301         inclusion.
3302         * sysdeps/mach/hurd/Makefile
3303         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
3304         this rule.
3306         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
3307         from profile_waiter.
3308         (profile_waiter): Use fetch_samples.
3309         (profil): When turning off profiling, fetch the last bunch of
3310         samples before disabling PC sampling.
3311         (fetch_samples): Add prototype.
3313 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3315         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
3316         source included by profil.c instead of trying to use
3317         before-compile grot.
3319 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3321         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
3322         after releasing lock.  Use special RPC stubs and avoid assert,
3323         thus making this function entirely independent of the threadvar
3324         mechanism and of cthreads.
3325         (lock): Convert to be a spin lock instead of a mutex, so that the
3326         waiter thread need not use cthreads.  Use a fork prepare hook
3327         instead of _hurd_fork_locks to make sure we are clean before
3328         forking.
3329         (fork_profil_child): Renamed from fork_profil.
3330         (profil_reply_port): New variable.
3331         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
3332         stubs made by special hacks.
3333         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
3334         source files that profil.c needs if we are in the gmon directory.
3336         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
3337         cthreads bug that hasn't existed for two years.
3339 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
3341         * locale/programs/localedef.c (main): Set bit in avail for those
3342         categories which are successfully read.
3343         * locale/programs/locfile.c (check_all_categories): Don't check
3344         categories if they are not available.
3345         (write_all_categories): Don't write categories if they are not
3346         available.
3348         * login/setutent_r.c (setutent_unknown): Change return type to
3349         int and return result of called function.
3351         * manual/arith.texi: Mark floating-point test macro from ISO C 9X
3352         as macros (not functions).
3353         * manual/libc.texinfo (UPDATED): Update.
3354         * manual/math.texi: Document exceptions, functions to handle
3355         exceptions, mathematical constants, FP comparison functions
3356         and several new functions from ISO C 9X.
3357         Change parameter of drand48, lrand48, and mrand48 to void (not
3358         empty).
3359         * manual/pattern.texi: Remove paragraph which explained that wordexp
3360         is executed by running a shell.
3361         * manual/time.texi: Explain difficulties with strftime if the
3362         functions returns 0 and no error occurred.
3364         * math/math.h: Correct comment for some M_* constants.
3365         (isgreater, isgreaterequal, isless, islessequal, islessgreater,
3366         inunordered): Rewrite to make sure the arguments are evaluated
3367         exactly once.
3369         * nis/rpcsvc/nis.x: Undo last change.
3370         * nis/rpcsvc/nis.h: Likewise.
3371         * nis/rpcsvc/nislib.h: File moved back to here.
3373         * posix/sys/types.h: Don't define socklen_t.  Pretty print.
3374         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
3375         getsockopt, setsockopt, accept): Change size argument to type
3376         socklen_t.
3377         Pretty print.
3378         * manual/socket.texi: Describe socklen_t and change prototypes of
3379         socket functions to use socklen_t.
3380         * sysdeps/generic/bits/socket.h: Define socklen_t.
3381         (struct msghdr): Correct types to use socklen_t.
3382         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3383         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3385         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
3386         1.0 < x < 8.0.
3387         * stdio-common/tfformat.c: Add new tests for above bug.
3389         * stdlib/strtod.c: Fix typo.
3391         * string/Makefile (headers): Add bits/string.h.
3392         (CFLAGS-*): Add -D__NO_STRING_INLINES.
3393         * string/string.h: Include <bits/string.h> if optimizing and
3394         __NO_STRING_INLINES is not defined.
3395         * sysdeps/stub/bits/string.h: New file.
3397         * sysdeps/powerpc/bits/fenv.h: Fix typos.
3399         * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
3400         if SIOGIFINDEX is not defined.
3402         * sysdeps/wordsize-32/inttypes.h: Pretty print.
3403         * sysdeps/wordsize-64/inttypes.h: Pretty print.
3405         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
3407         * wcsmbs/Makefile (tests): Add tst-wcstof.
3408         * wcsmbs/tst-wcstof.c: New file.
3410 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3412         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
3413         loop, to avoid dragging stdio into the dynamic linker.
3415 1997-08-02 19:44  H.J. Lu  <hjl@gnu.ai.mit.edu>
3417         * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
3418         u_int32_t.
3420 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3422         * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
3423         __getpwuid_r.
3424         Include <stdio.h> to get prototypes of *printf.
3425         (exec_comm): Remove unneeded variable *sh.
3427         * libc.map: Add wordexp, wordfree.
3429         * posix/Makefile (routines): Add wordexp.
3431 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3433         * posix/wordexp.c: Correct typo in comment.
3434         (wordexp): Likewise.
3436         * manual/errno.texi (Error Codes): Fix typo.
3438 1997-08-03 15:28  Ulrich Drepper  <drepper@cygnus.com>
3440         * csu/initfini.c (SECTION): Don't put quotes around section name
3441         since this is not understood by all assemblers.
3442         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3444 1997-08-02 21:27  Ulrich Drepper  <drepper@cygnus.com>
3446         * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
3447         * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
3448         * sysdeps/generic/netinet/inbits.h: Move to...
3449         * sysdeps/generic/bits/in.h: ... here.
3450         * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
3451         * sysdeps/unix/sysv/linux/bits/in.h: ... here.
3453         * nis/Makefile (headers): Add bits/nislib.h.
3454         * nis/rpcsvc/nislib.h: Moved to ....
3455         * nis/bits/nislib.h: ... here.
3457         * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
3458         * nis/nss_compat/compat-pwd.c: Likewise.
3459         * nis/nss_compat/compat-spwd.c: Likewise.
3460         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3461         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3462         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3463         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3464         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3465         * nis/nss_nisplus/nisplus-ntework.c: Likewise.
3466         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3467         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3468         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3469         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3470         * nis/nss_nisplus/nisplus-service.c: Likewise.
3471         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3473         * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
3474         * nis/rpcsvc/nis.h: Likewise.
3476         * inet/getnameinfo.c (nrl_domainname): Change return type to const
3477         char *.
3478         (getnameinfo): Change type of local variable c to const char *.
3480         * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
3481         * stdlib/fmtmsg.c: Likewise.
3483         * intl/bindtextdom.c: Update from latest gettext.
3484         * intl/dcgettext.c: Likewise.
3485         * intl/finddomain.c: Likewise.
3486         * intl/l10nflist.c: Likewise.
3487         * intl/localealias.c: Likewise.
3488         * intl/textdomain.c: Likewise.
3490         * login/getutid_r.c: Remove parameter to setutent call.
3491         * login/getutline_r.c: Likewise.
3493         * posix/wordexp.c: Complete rewrite.  Not fully implemented yet,
3494         though.  Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
3496         * stdio-common/printf_fp.c: Remove relative include paths.
3497         * stdio-common/printf_fphex.c: Likewise.
3499         * sysdeps/generic/crypt.h: Cleanup.  Don't define non standard
3500         elements unless __USE_GNU.
3502         * sysdeps/generic/vlimit.c: Pretty print.
3503         * sysdeps/generic/vtimes.c: Likewise.
3505         * sysdeps/i386/elf/bsd-_setjmp.S: New file.  Empty dummy file.
3506         * sysdeps/i386/elf/bsd-setjmp.S: New file.  Empty dummy file.
3507         * sysdeps/i386/elf/setjmp.S: New file.  Define __setjmp and also
3508         weak definitions of setjmp and _setjmp.
3510         * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
3512         * sysdeps/stub/if_index.h: Set errno in all functions and add
3513         stub warnings.
3515         * sysdeps/stub/libc-lock.h: Add __libc_once.
3517 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
3519         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
3520         case since the __syscall_ptrace call already did this.
3521         Reported by Philip Gladstone <philip@talon.raptor.com>.
3523 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3525         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
3526         <gnu/types.h> to <sys/types.h>.
3528 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
3530         * csu/defs.awk: Fix regexp for end and align.
3531         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3533         * locale/programs/locale.c (print_escaped): New function.
3534         (show_info): Use print_escaped if strings can control unprintable
3535         characters.
3536         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
3538 1997-08-01 18:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3540         * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
3541         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3543 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3545         * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
3546         instead of fprintf.
3548 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3550         * manual/socket.texi (Host Address Functions): Fix arguments of
3551         @deftypefun.
3553 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3555         * elf/dl-runtime.c: Avoid warning about profile_fixup being
3556         unused.
3558         * sysdeps/m68k/dl-machine.h: Add support for shared library
3559         profiling.
3561 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3563         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
3564         dependencies.
3566 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3568         * Make-dist (subdirs): Distribute both aout and elf.
3570 1997-07-31 23:04  Mark Kettenis  <kettenis@phys.uva.nl>
3572         * login/utmp-private.h: Remove reset argument from backend
3573         setutent.
3574         * login/getutent_r.c (__setutent): Allways call the setutent
3575         function in the daemon backend.
3576         (setutent_unknown): Function removed.
3577         (getutent_unknown, pututline_unknown): Call __setutent instead of
3578         setutent_unknown.
3579         * login/utmp_file.c (setutent_file): Removed reset argument.  All
3580         callers changed.
3581         * login/utmp_daemon.c (setutent_daemon): Removed reset
3582         argument.  All callers changed.  Try to open connection even if a
3583         previous connection failed, but first check if the sockets exist
3584         in the filesystem.
3586         * login/utmp_daemon.c (pututline_daemon): Try to open connection
3587         before reporting failure.
3589         * login/programs/database.c (open_database): Create compatibility
3590         file if it does not already exist.  Supply mode argument in open
3591         calls to guarantee that created files have the proper protection.
3593         * login/programs/utmpd.c (main): Remove files created by a
3594         previous `bind' before creating sockets.
3595         Suggested by a sun <asum@zoology.washington.edu>.
3597 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3599         * math/libm-test.c: Remove unneeded function check_int_exec.
3601         * BUGS: Correct typos.
3603         * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
3605 1997-07-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3607         * manual/socket.texi (Host Address Functions): Reformat inet_ntop
3608         entry to confirm with expected behaviour of some scripts.
3610         * libc.map: Add functions/variables in global namespace,
3611         remove wildcards.
3613 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3615         * resolv/libresolv.map: Add variables and routines used by named,
3616         nslookup and other bind utils.
3617         * libc.map: Likewise.
3619 1997-07-31 00:35  Philip Blundell  <Philip.Blundell@pobox.com>
3621         * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
3622         filesystem.
3623         * inet/test_ifindex.c: New file.
3624         * inet/Makefile (tests): Add test_ifindex.
3626 1997-08-01 04:25  Ulrich Drepper  <drepper@cygnus.com>
3628         * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
3629         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3631         * manual/errno.texi: Fix typo.
3632         Reported by Erik Talvola <etalvo@sapient.com>.
3634 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
3636         * csu/gmon-start.c (__gmon_start__): Call __monstartup not
3637         monstartup.
3638         * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
3639         to __monstartup.
3640         * gmon/sys/gmon.h: Fix prototypes.
3641         * gmon/sys/gmon_out.h: Pretty print.
3643         * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
3644         * gmon/gmon.c (__monstartup): Likewise.
3645         (write_hist): Remove dependency on 32 bit int.
3646         (_mcleanup): Don't call perror, use fprintf.
3648         * elf/dl-load.c: Fix handling of current directory in search path.
3650         * elf/Makefile (dl-routines): Add dl-profile.
3651         * elf/dl-profile.c: New file.
3652         * elf/dl-runtime.c (fixup): Add new parameter with address to store
3653         relocation result in to elf_machine_relplt.
3654         (profile_fixup): New function.
3655         * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
3656         to store relocation result in to elf_machine_relplt.
3657         * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
3658         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
3659         call elf_machine_runtime_setup with extra argument.
3660         * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
3661         ELF_DYNAMIC_RELOCATE.
3662         * elf/link.h: Add prototypes for new functions and variables.
3663         * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
3664         variables and call _dl_start_profile if necessary.
3665         * include/sys/gmon_out.h: New file.
3666         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
3667         new parameter to enable profiling.
3668         (elf_machine_rela): Add new parameter to specify place to store
3669         result in.
3670         * sysdeps/m68k/dl-machine.h: Likewise.
3671         * sysdeps/mips/dl-machine.h: Likewise.
3672         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3673         * sysdeps/powerpc/dl-machine.h: Likewise.
3674         * sysdeps/sparc/dl-machine.h: Likewise.
3675         * sysdeps/sparc64/dl-machine.h: Likewise.
3676         * sysdeps/i386/dl-machine.h: Likewise.
3677         (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
3678         we do profiling.
3679         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
3681         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
3682         for stream on input file.
3683         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
3684         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
3685         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
3686         * nss/nss_db/db-alias.c (internal_setent): Likewise.
3687         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
3688         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
3689         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3690         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
3692         * string/string.h: Pretty print.
3694         * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
3695         Add float and long double versions.
3697 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3699         * elf/rtld.c (print_unresolved): Replace empty object name by main
3700         program name.
3702 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3704         * sysdeps/generic/htons.c (htons): Renamed from __htons.
3706 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3708         * sysdeps/m68k/bits/byteswap.h: New file.
3710 1997-07-27 23:50  Philip Blundell  <Philip.Blundell@pobox.com>
3712         * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
3713         advanced API.
3714         * inet/netinet/in.h: Likewise.
3715         * inet/netinet/ip6.h: Likewise.
3716         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3717         * posix/sys/types.h: Add socklen_t.
3719         * manual/socket.texi: Document some more IPv6 things.
3720         * manual/libc.texinfo: Likewise.
3722 1997-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3724         * libc.map: Define missing symbol.
3726 1997-07-27 14:31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3728         * nis/Makefile: Add nis_findserv.
3729         * nis/lckcache.c: Fix typo.
3730         * nis/nis_call.c: Fix problems with multihomed servers.
3731         * nis/nis_findserv.c: New file.
3732         * nis/nis_intern.h: Add more prototypes.
3733         * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
3734         is unreachable.
3735         * nis/nis_table.c (nis_list): Likewise.
3736         * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
3737         in error case.
3738         * nis/nis_util.c (__nis_finddirectory): Give the right error code
3739         back.
3740         * nis/ypclnt.c: Make sure, that all sockets are closed.
3742 1997-07-26 04:14  Ulrich Drepper  <drepper@cygnus.com>
3744         * elf/Makefile (distribute): Add genrtldtbl.awk.
3745         (before-compile): Add rtldtbl.h.
3746         (GAWK): New variable.
3747         (generated): Add trusted-dirs.h and rtldtbl.h.
3748         ($(objpfx)rtldtbl.h): New rule.  File is needed by dl-load.c.
3749         * elf/dl-load.c: Rewrite.  Now use cache and look for shared
3750         objects in machine dependent directories.
3751         * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
3752         * elf/dl-support.c: Rename function to non_dynamic_init and add
3753         initialization for _dl_platform, _dl_platformlen, _dl_pagesize
3754         and call to initializer for search path.
3755         * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
3756         * elf/genrtldtbl.awk: New file.
3757         * elf/link.h: Add type definitions and declarations for search
3758         path cache.
3759         * elf/rtld.c: Add definitions of variables used for search path cache.
3760         * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
3761         _dl_platform.  Initialize _dl_pagesize early and use this value.
3762         * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
3763         * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
3764         * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
3765         of calling getpagesize.
3767         * elf/dl-error.c (_dl_signal_error): Make message nicer.
3769         * nss/libnss_files.map: Fix typo.
3770         Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3772         * sysdeps/generic/strsep.c: Optimize case where separator set contains
3773         only one character.
3775         * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
3776         == +-Inf.
3777         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
3778         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
3780 1997-07-25 09:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
3782         * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
3783         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
3784         * sysdeps/unix/mips/sysdep.S: Likewise.
3785         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3787         * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
3788         * sysdeps/mips/bsd-setjmp.S: Likewise.
3790         * sysdeps/mips/dl-machine.h: Remove extra stuff.
3791         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3793 1997-07-25 18:55  Philip Blundell  <Philip.Blundell@pobox.com>
3795         * sysdeps/standalone/arm/sysdep.c: New file.
3797 1997-07-25 13:25  Philip Blundell  <Philip.Blundell@pobox.com>
3799         * aout/Makefile: New file.
3800         * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
3802         * sysdeps/generic/machine-gmon.h: Add warning about limitations of
3803         __builtin_return_address().
3804         * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
3805         above problem.
3807 1997-07-25 16:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
3809         * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
3811 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3813         * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
3814         tests.
3816 1997-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3818         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
3819         not shadow the variable in the outer scope.
3821 1997-07-24 03:14  Ulrich Drepper  <drepper@cygnus.com>
3823         * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
3825         * inet/Makefile (tests): Add htontest.
3826         * inet/htontest.c: New file.
3828         * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
3829         when they are no noops.
3830         * sysdeps/alpha/htonl.S: Don't define __ protected names.
3831         * sysdeps/alpha/htons.S: Likewise.
3832         * sysdeps/generic/htonl.c: Likewise.
3833         * sysdeps/generic/htons.c: Likewise.
3834         * sysdeps/i386/htonl.S: Likewise.
3835         * sysdeps/i386/htons.S: Likewise.
3836         * sysdeps/i386/i486/htonl.S: Likewise.
3837         * sysdeps/vax/htonl.s: Likewise.
3838         * sysdeps/vax/htons.s: Likewise.
3840         * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
3841         * string/byteswap.h: New file.
3842         * sysdeps/generic/bits/byteswap.h: New file.
3843         * sysdeps/i386/bits/byteswap.h: New file.
3844         * sysdeps/generic/bits/htontoh.h: Removed.
3845         * sysdeps/i386/bits/htontoh.h: Removed.
3847         * misc/search.h: General cleanup.  Don't define reentrant hsearch
3848         functions uless __USE_GNU.
3850         * nss/nsswitch.c: Pretty print.
3852         * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
3853         warning.
3855         * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
3856         been fixed meanwhile.
3857         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3859 1997-07-24 00:53  Philip Blundell  <Philip.Blundell@pobox.com>
3861         * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
3862         exists for this port.
3864 1997-07-24 00:12  Philip Blundell  <Philip.Blundell@pobox.com>
3866         * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
3868 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3870         * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
3871         to format a proper minus sign.
3873 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3875         * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
3876         specially, the standard doesn't require it.
3878         * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
3879         if non-zero then don't test inexact flag.  Callers changed.
3880         (set_single_exc): Ignore inexact flag if underflow or overflow
3881         exception is raised.
3883 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
3885         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
3886         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
3887         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
3888         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
3890 1997-07-16 10:09  Fila Kolodny  <fila@ibi.com>
3892         * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
3893         and 1035 state that a fully qualified domain name cannot exceed 255
3894         octets in length.
3895         * resolv/nss_dns/dns-host.c: Likewise.
3897 1997-07-22 09:54  H.J. Lu   <hjl@gnu.ai.mit.edu>
3899         * inet/netinet/in.h (htons): Fix typos.
3901         * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
3903 1997-07-22 11:47  Ulrich Drepper  <drepper@cygnus.com>
3905         * nss/nsswitch.c (nss_lookup_function): Include function.def, not
3906         functions.def.
3907         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3909 1997-07-22 01:35  Ulrich Drepper  <drepper@cygnus.com>
3911         * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
3912         that optimizing is also selected for dependency generation.
3914         * configure.in: Add machine description for TI c[34]x.
3916         * inet/Makefile (routines): Remove ntohl and ntohs.
3917         * inet/netinet/in.h: Use optimized version of hton? and ntoh?
3918         for little endian machines.
3919         * sysdeps/alpha/ntohl.s: Removed.
3920         * sysdeps/alpha/ntohs.s: Removed.
3921         * sysdeps/generic/ntohl.c: Removed.
3922         * sysdeps/generic/ntohs.c: Removed.
3923         * sysdeps/generic/htonl.c: Add aliases for ntohl.
3924         * sysdeps/vax/htonl.s: Likewise.
3925         * sysdeps/generic/htons.c: Add aliases for ntohs.
3926         * sysdeps/vax/htons.s: Likewise.
3927         * sysdeps/vax/ntohl.s: Removed.
3928         * sysdeps/vax/ntohs.s: Removed.
3929         * sysdeps/generic/bits/htontoh.h: New file.
3930         * sysdeps/i386/htonl.S: New file.
3931         * sysdeps/i386/htons.S: New file.
3932         * sysdeps/i386/i486/htonl.S: New file.
3934         * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
3935         macros.
3937         * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
3938         * sysdeps/mips/mips64/dl-machine.h: New file.
3940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
3941         syscall-list.h.
3943 1997-07-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3945         * libc.map: Add missing symbol _obstack.
3947 1997-07-14 08:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
3949         * sysdeps/mips/rtld-parms: New.
3951         * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
3952         * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
3954         * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
3955         * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
3957         * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
3959 1997-07-17 08:39  H.J. Lu  <hjl@gnu.ai.mit.edu>
3961         * sysdeps/mips/dl-machine.h: Remove extra stuff.
3963 1997-07-06 07:18  Geoff Keating  <geoffk@ozemail.com.au>
3964         * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
3966         * stdlib/grouping.h: Suppress gcc warning about testing
3967         unsigned char for less-than-zero.
3968         * stdio-common/printf_fp.c: Likewise.
3969         * stdio-common/vfprintf.c: Likewise.
3971         * sysdeps/powerpc/add_n.s: New file.
3972         * sysdeps/powerpc/sub_n.s: New file.
3973         * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
3974         * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
3975         * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
3976         * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
3977         * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
3979         * math/libm-test.c (cos_test, sin_test, sincos_test): Use
3980         precomputed pi/6 rather than having gcc calculate it, otherwise
3981         tests give inaccurate result due to inaccurate input.
3982         * math/libm.map: Add __fe_*_env constants to list of exported
3983         symbols.
3985         * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
3986         * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
3987         * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
3988         round-to-nearest value.
3990         * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
3991         * sysdeps/libm-ieee754/e_log10.c: Likewise.
3992         * sysdeps/libm-ieee754/e_log10f.c: Likewise.
3993         * sysdeps/libm-ieee754/e_logf.c: Likewise.
3994         * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
3995         * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
3996         * sysdeps/libm-ieee754/s_log2.c: Likewise.
3997         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
3999 1997-07-15 21:54  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4001         * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
4002         and memory leaks.
4003         * nis/nss_compat/compat-pwd.c: Likewise.
4004         * nis/nss_compat/compat-spwd.c: Likewise.
4005         * nis/nss_nis/nis-alias.c: Likewise.
4006         * nis/nss_nis/nis-ethers.c: Likewise.
4007         * nis/nss_nis/nis-grp.c: Likewise.
4008         * nis/nss_nis/nis-hosts.c: Likewise.
4009         * nis/nss_nis/nis-network.c: Likewise.
4010         * nis/nss_nis/nis-proto.c: Likewise.
4011         * nis/nss_nis/nis-pwd.c: Likewise.
4012         * nis/nss_nis/nis-rpc.c: Likewise.
4013         * nis/nss_nis/nis-service.c: Likewise.
4014         * nis/nss_nis/nis-spwd.c: Likewise.
4015         * nis/nss_nisplus-alias.c: Likewise.
4016         * nis/nss_nisplus-ethers.c: Likewise.
4017         * nis/nss_nisplus-grp.c: Likewise.
4018         * nis/nss_nisplus-hosts.c: Likewise.
4019         * nis/nss_nisplus-netgrp.c: Likewise.
4020         * nis/nss_nisplus-network.c: Likewise.
4021         * nis/nss_nisplus-proto.c: Likewise.
4022         * nis/nss_nisplus-pwd.c: Likewise.
4023         * nis/nss_nisplus-rpc.c: Likewise.
4024         * nis/nss_nisplus-service.c: Likewise.
4025         * nis/nss_nisplus-spwd.c: Likewise.
4027         * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
4029 1997-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4031         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
4032         name in warning message.
4033         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
4034         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
4035         * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4037         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
4038         first.
4040 1997-07-20 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4042         * libc.map: Add _null_auth and _seterr_reply.
4044         * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
4046 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
4048         * time/africa: Update from tzdata1997g.
4049         * time/asia: Likewise.
4050         * time/australasia: Likewise.
4051         * time/europe: Likewise.
4052         * time/iso3166.tab: Likewise.
4053         * time/zone.tab: Likewise.
4054         * time/private.h: Update from tzcode1997f.
4055         * time/scheck.c: Likewise.
4057         * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
4059         * math/math.h: Correct comments.  Include <bits/mathinline.h>
4060         always when optimizing.
4062 1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>
4064         * time/getdate.c (__getdate_r):
4065         Report failure if string was not completely parsed.
4066         (getdate): Set getdate_err on failure.
4068 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4070         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
4071         Synchronize with malloc/obstack.c.
4073 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
4075         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
4076         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
4077         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
4079 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
4081         * manual/Makefile (INSTALL_INFO): Introduce variable to override
4082         path to install-info for systems like Debian that have an
4083         install-info with a different command line interface from the
4084         canonical GNU texinfo version.
4086 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4088         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
4089         * posix/unistd.h: Likewise.
4090         * sysdeps/stub/ttyname_r.c: Likewise.
4092 1997-07-14 23:37  Ulrich Drepper  <drepper@cygnus.com>
4094         * inet/getnameinfo.c: Pretty print.
4095         Correctly enlarge buffers.
4097         * login/programs/utmpd.c: Use _() instead of gettext().
4099         * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
4100         * nis/nss_nisplus/nisplus-network.c: Likewise.
4101         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4102         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4103         * nis/nss_nisplus/nisplus-service.c: Likewise.
4105         * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
4106         __OPTIMIZE__.
4107         * sysdeps/powerpc/bits/mathinline.h: Likewise.
4108         * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
4109         function always.
4110         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4111         * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
4112         it should look like in real files.
4114         * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
4115         prevent prototype trouble, use simple loop.
4116         * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
4118         * sysdeps/mips/mips64/Implies: Imply ieee754.
4120         * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
4121         installed.
4122         * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
4124 1997-07-14 00:25  Ulrich Drepper  <drepper@cygnus.com>
4126         * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
4127         * sysdeps/standalone/bits/stdio_lim.h: Removed.
4128         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4130 1997-06-22  Paul Eggert  <eggert@twinsun.com>
4132         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
4134         * time/tzfile.c (__tzstring): New decl.
4135         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
4136         (__tzfile_default): First two args are now const char *.
4138         * time/tzset.c (__tzstring): New function.
4139         (tz_rule): Name is now const char *.
4140         (struct tzstring_head): New type.
4141         (tzstring_list, tzstring_last_buffer_size): New static vars.
4142         (__tzset_internal): Time zone names are now permanent, not temporary.
4144 1997-07-13 01:18  Ulrich Drepper  <drepper@cygnus.com>
4146         * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
4148         * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
4149         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4150         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4151         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4153         * time/Makefile (routines): Add getdate.
4154         * time/time.h: Add prototype for getdate and getdate_r.
4155         * time/getdate.c: New file.
4156         Provided by Mark Kettenis <kettenis@phys.uva.nl>.
4158 1997-06-30 14:49  H.J. Lu  <hjl@gnu.ai.mit.edu>
4160         From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
4161         Sat Jun 21 18:11:21 1997:
4163         * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
4164         (swapoff): New.
4166         * elf/Makefile: Add linker script support.
4167         (headers): Add bits/dlfcn.h.
4169         * elf/dl-load.c (MAP_BASE_ADDR): New.
4171         * elf/dlfcn.h: Include <bits/dlfcn.h>.
4173         * elf/elf.h: Add MIPS support.
4175         * sysdeps/generic/Dist: Add entry.h.
4176         * sysdeps/generic/entry.h: New, define the entry symbol.
4178         * elf/rtld.c (_start): Include <entry.h>.  Change to ENTRY_POINT.
4179         * sysdeps/generic/dl-sysdep.c (_start): Likewise.
4180         * mips/elf/start.S (_start): Likewise.
4182         * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
4183         * sysdeps/mips/bsd-setjmp.S: Likewise.
4184         * sysdeps/mips/setjmp.S: Likewise.
4185         * mips/elf/start.S: Likewise.
4186         * sysdeps/unix/mips/brk.S: Likewise.
4187         * sysdeps/unix/mips/sysdep.S: Likewise.
4188         * sysdeps/unix/mips/sysdep.h: Likewise.
4189         * sysdeps/unix/mips/wait.S: Likewise.
4191         * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
4192         * sysdeps/mips/fpu_control.h: Likewise.
4194         * sysdeps/generic/bits/dlfcn.h: New file.
4196         * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
4197         * sysdeps/mips/rtld-parms: Likewise.
4198         * sysdeps/mips/bits/dlfcn.h: Likewise.
4199         * sysdeps/mips/mips64/rtld-parms: Likewise.
4200         * sysdeps/mips/mipsel/rtld-parms: Likewise.
4201         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4202         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4203         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4204         * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
4205         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
4206         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
4207         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
4208         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
4209         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
4210         * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
4211         * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
4212         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
4213         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4214         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4215         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4216         * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
4217         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4218         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4219         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
4220         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4221         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4222         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4223         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
4224         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4225         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4226         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4227         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4228         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4229         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
4230         * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
4231         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
4232         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
4233         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4234         * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
4235         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
4236         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
4238 1997-04-09 19:05  H.J. Lu (hjl@gnu.ai.mit.edu)
4240         * isomac.c (xstrndup): New, use it instead of strndup ().
4242 1997-07-02 08:55  H.J. Lu  <hjl@gnu.ai.mit.edu>
4244         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
4245         the program name for different sizes.
4247 1997-07-10 15:47  Fila Kolodny  <fila@ibi.com>
4249         * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
4250         Add include of rpcsvc/nis.h.
4251         * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
4252         * sysdeps/posix/getaddrinfo.c: Likewise.
4253         Change size of variable buffer to be big enough to hold an IPv6
4254         address in printable format.
4256 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
4258         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
4259         and && in tests to allow use in C++ code which overloads these
4260         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
4262         * configure.in: Move mips64* recognition before mips*.
4263         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4265 1997-07-03 20:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4267         * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
4268         automatic variables in dependency lists.
4269         (build-shlib): Always filter out the version script file.
4270         * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
4272 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
4274         * login/login.c (tty_name): Test return value of ttyname_r for !=
4275         0, not < 0.
4276         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
4277         0, not >= 0.
4278         * sysdeps/unix/getlogin.c (getlogin): Test return value of
4279         ttyname_r for != 0.
4280         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4282 1997-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4284         * login/utmp_file.c (getutline_r_file): Fix type: compare with
4285         *result.
4287 1997-07-11 00:21  Mark Kettenis  <kettenis@phys.uva.nl>
4289         * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
4291 1997-07-09 19:21  Mark Kettenis  <kettenis@phys.uva.nl>
4293         * login/programs/utmpd.c, login/programs/database.c,
4294         login/programs/request.c: Prepare messages for
4295         internationalization.
4297         * login/programs/utmpd.c:
4298         (main): Change handling of errors in opening the database.
4299         * login/programs/database.c:
4300         (open_database, synchronize_database, initialize_database):
4301         Properly handle errors.
4302         (get_mtime): Use fstat instead of stat.  All callers changed.
4304         * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
4305         * login/getutent.c: Rename getutent to __getutent and make
4306         getutent a weak alias.
4307         Make getutxent a weak alias for __getutent.
4308         * login/utmpx.h: New file.
4309         * sysdeps/gnu/bits/utmp.h: Cleanup.  Added comments.
4310         * sysdeps/gnu/bits/utmpx.h: New file.
4312 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
4314         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
4315         one.
4317         * signal/sigandset.c: Include stddef.h to get NULL defined.
4318         * signal/sigisempty.c: Likewise.
4319         * signal/sigorset.c: Likewise.
4320         * sysdeps/stub/if_index.h: Likewise.
4321         * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
4322         * wcsmbs/wcstof_l.c: Likewise.
4323         * wcsmbs/wcstol_l.c: Likewise.
4324         * wcsmbs/wcstold_l.c: Likewise.
4325         * wcsmbs/wcstoll_l.c: Likewise.
4326         * wcsmbs/wcstoul_l.c: Likewise.
4327         * wcsmbs/wcstoull_l.c: Likewise.
4328         Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
4330         * stdio-common/snprintf.c: Use ISO C function definition form.
4332         * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
4333         __libc_setspecific as empty macros since they are used as
4334         function with return value.
4335         Reported by Andreas Jaeger.
4337         * stdio-common/strops.c: Partialy undo last change.  Will need
4338         more investigation.
4340 1997-07-10  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
4342         * sysdeps/mach/hurd/select.c (__select): Need bit count for
4343         MACH_MSG_TYPE_INTEGER_T.
4345 1997-07-08 10:12  Fila Kolodny  <fila@ibi.com>
4347         * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
4348         * sysdeps/mvs/Implies: Likewise.
4350 1997-07-09 23:06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4352         * nis/Makefile: Add new source files.
4354         * nis/nis_intern.h: Add new internal functions.
4355         * nis/rpcsvc/nislib.h: Likewise.
4357         * nis/lckcache.c: New.
4358         * nis/nis_cache.c: New, dummy functions in the moment.
4359         * nis/nis_util.c: New.
4360         * nis/nisplus-parser.h: New.
4361         * nis/nss_nisplus/nisplus-parser.c: New.
4362         * nis/rpcsvc/nis_cache.h: New.
4363         * nis/rpcsvc/nis_cache.x: New.
4365         * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
4366         * nis/nss_compat/compat-pwd.c: Likewise.
4367         * nis/nss_compat/compat-spwd.c: Likewise.
4368         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4369         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4370         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4371         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4372         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4373         * nis/nss_nisplus/nisplus-network.c: Likewise.
4374         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4375         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4376         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4377         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4378         * nis/nss_nisplus/nisplus-service.c: Likewise.
4379         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4381         * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
4383         * nis/nis_intern.c: Removed.
4385         * nis/nis_call.c: Complete rewrite.
4386         * nis/nis_lookup.c: Likewise.
4387         * nis/nis_table.c: Likewise.
4389         * nis/libnsl.map: Add missing symbols.
4391         * nis/nis_print.c: Fix nis_print_link.
4392         * nis/nis_subr.c: Fix nis_getnames.
4394 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
4396         * posix/execvp.c (execvp): Handle ESTALE.
4398 1997-07-10 13:54  Ulrich Drepper  <drepper@cygnus.com>
4400         * posix/regex.c: Make CHAR_SET_SIZE definition always available,
4401         even if SYNTAX_TABLE is defined.
4402         Patch by Akim Demaille <demaille@inf.enst.fr>.
4404 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
4406         * libio/fileops.c (_IO_file_underflow): Adjust pointers
4407         before calling _IO_SYSREAD ().
4409 1997-07-07 22:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4411         * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
4412         (sysdep.h does the same job).
4413         * sysdeps/sparc/alloca.S: Likewise.
4414         * sysdeps/sparc/dotmul.S: Likewise.
4415         * sysdeps/sparc/udiv_qrnnd.S: Likewise.
4417         * sysdeps/sparc/rem.S: Regenerated.
4418         * sysdeps/sparc/sdiv.S: Regenerated.
4419         * sysdeps/sparc/udiv.S: Regenerated.
4420         * sysdeps/sparc/urem.S: Regenerated.
4422         * sysdeps/sparc/DEFS.h: Removed.
4423         * sysdeps/sparc/elf/DEFS.h: Removed.
4424         * sysdeps/sparc/Dist: Don't distribute DEFS.h.
4426         * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
4427         directive #ifdef HAVE_ELF.  Minor format changes.
4429         * sysdeps/alpha/DEFS.h: Removed.
4430         * sysdeps/alpha/Dist: Don't distribute DEFS.h.
4432 1997-07-07 19:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
4434         * math/test-fenv.c (feenv_nomask_test): Move
4435         fesetenv (FE_NOMASK_ENV) after fork () to work with
4436         SMP.
4438         * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
4440 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4442         * libc.map: Add _IO_peekc_locked.
4444 1997-07-07 15:45  Fila Kolodny  <fila@ibi.com>
4446         * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
4448 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4450         * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
4451         right position.
4452         * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
4454 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
4456         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
4457         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
4459 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
4461         * io/lockf.c (lockf): Clear fl before using.
4462         Patch by sr@adb.fr.
4464         * libio/strops.c: Correctly handle _IO_write_end.
4466         * nss/libnss_files.map: Add __nss_netgroup_parseline.
4467         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
4468         panic if setnetgrent wasn't called before, return error.
4469         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
4471         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
4472         if locally defined.
4473         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
4474         if locally defined.
4475         Define tm_diff function as ftime_tm_diff if locally defined.
4476         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
4478 1997-07-06 23:36  Ulrich Drepper  <drepper@cygnus.com>
4480         * isomac.c (get_null_defines): Put NULL at end of list.
4482         * hurd/Makefile: Remove special handling of sunrpc code.
4483         * sysdeps/mach/hurd/Makefile: Likewise.
4484         Compile CThreads code.
4485         * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
4486         * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
4487         functions.
4488         * sysdeps/stub/bits/libc-lock.h: Likewise.
4489         * sysdeps/mach/hurd/net/ethernet.h: New file.
4490         * sysdeps/mach/hurd/net/if.h: New file.
4491         * sysdeps/mach/hurd/net/if_arp.h: New file.
4492         * sysdeps/mach/hurd/net/if_ether.h: New file.
4493         * sysdeps/mach/hurd/net/if_ppp.h: New file.
4494         * sysdeps/mach/hurd/net/route.h: New file.
4495         Patches by  Fila Kolodny <fila@ibi.com>.
4497         * math/fenv-test.c: Add more tests.
4498         Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4500         * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
4501         INTFAST_MAX, and UINTFAST_MAX.
4502         * sysdeps/wordsize-64/inttypes.h: Likewise.
4503         Correct intmax_t definition.
4505 1997-07-04 15:33  H.J. Lu  <hjl@gnu.ai.mit.edu>
4507         * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
4509 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
4511         * libc.map: Add missing symbol.
4513 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
4515         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
4516         in cc1.  Cpp in gcc doesn't do it.
4518 1997-07-01 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4520         * libio/libioP.h: Remove second definition of _IO_file_attach.
4522         * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
4524         * sysdeps/sparc64/elf/start.S (_start): Update and reformat
4525         copyright.
4526         * manual/summary.awk: Likewise.
4527         * misc/bits/stab.def: Likewise.
4528         * posix/glob/Makefile.ami: Likewise.
4529         * posix/glob/Makefile.in: Likewise.
4530         * posix/glob/SMakefile: Likewise.
4531         * sysdeps/gnu/errlist.awk: Likewise.
4532         * sysdeps/mach/hurd/errnos.awk: Likewise.
4533         * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
4534         * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
4535         * sysdeps/unix/snarf-ioctls: Likewise.
4536         * sysdeps/vax/setjmp.c: Likewise.
4538 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
4540         * login/login.c (tty_name): Use newly allocated buffer.
4541         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
4543         * time/asctime.c: Never translate week and month name according
4544         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
4546 1997-07-03 22:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4548         * locale/setlocale.c (setname): Do nothing when reusing the same
4549         name.
4551 1997-07-03 20:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4553         * libc.map: Add global variables of malloc.
4555 1997-07-03 13:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4557         * elf/dl-version.c (find_needed): Look for needed objects also in
4558         the dependency list of the current object.  Added new parameter to
4559         find its link map, caller changed.
4561 1997-07-03 12:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4563         * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
4564         FE_UNDERFLOW cases.
4566 1997-07-01 13:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4568         * elf/link.h: Remove final comma from enumerator list, forbidden
4569         by ISO C.  Use __inline instead of inline.
4571 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4573         * hurd/hurdsig.c: Include <hurd/id.h>.
4574         (reauth_proc): Call proc_setowner appropriately too.
4576 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
4578         * libc.map: Add missing symbol.
4580 1997-06-30 12:12  Fila Kolodny  <fila@ibi.com>
4582         * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
4583         * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
4584         declaration of addr.
4586 1997-06-29 17:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4588         * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
4589         it work in TeX.
4591 1997-06-27 21:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4593         * Makeconfig (+includes): Add include directory to include path.
4594         * configure.in (sysnames): Don't add it here.
4595         * Makefile (subdir-dirs): Define and add it to vpath for headers.
4596         * Make-dist (all-headers): Look in include directory for
4597         indirection headers.  Filter out header names pointing outside the
4598         source directory.
4600         * Makefile (distribute): Remove ansidecl.h, add libc.map.
4601         * Make-dist (+tsrcs): Add version scripts for extra libraries.
4602         * Makerules (distinfo-vars): Add %-map for extra libraries.
4604         * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
4605         to kernel_termios.h.
4606         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
4607         termbits.h and sys/kernel_termios.h.
4608         * sysdeps/mips/mips64/Dist: New file.
4609         * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
4611 1997-06-29 23:03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4613         * math/test-fenv.c (feenv_nomask_test): New test for non masked
4614         exceptions.
4615         (feenv_mask_test): New test for masked exceptions
4616         (feenv_tests): New function calls feenv_nomask_test and
4617         feenv_mask_test.
4618         (main): Call new tests.
4619         (initial_tests): New test for initilisation.
4621 1997-06-29 23:43  Ulrich Drepper  <drepper@cygnus.com>
4623         * config.make.in: Define need-nopic-initfini.
4624         * configure.in: Write out nopic_initfini.
4625         * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
4626         is defined.
4628         * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
4630         * sysdeps/sparc/rem.S: Get trap definition properly.
4631         * sysdeps/sparc/sdiv.S: Likewise.
4632         * sysdeps/sparc/udiv.S: Likewise.
4633         * sysdeps/sparc/urem.S: Likewise.
4634         * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
4635         * sysdeps/sparc/sys/trap.h: New file.
4636         * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
4638 1997-06-25 10:26  Thorsten Kukuk  <kukuk@uni-paderborn.de>
4640         * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
4642 1997-06-29 10:34  Fila Kolodny  <fila@ibi.com>
4644         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
4645         to MACH_MSG_TYPE_INTEGER_T.
4647 1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>
4649         Initial sparc64-linux support:
4650         * configure.in: Recognize sparc64 as being different from sparc.
4651         * io/ftwtest-sh: Only invoke ld.so if it exists.
4652         * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
4653         static tests to link.  Honour $(omit-long-double-fcts) == yes.
4654         * math/libm-test.c (test_single_exception): The argument to
4655         fetestexcept is `int' not `fexcept_t'.
4656         * shlib-versions: Recognize sparc64.
4657         * signal/signal.h: Add typedef for stack_t.
4659         * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
4660         Attempt to fix up most of this by cleaning up assumptions below,
4661         but give up and change the defaults.
4663         * setjmp/longjmp.c: Moved to ...
4664         * sysdeps/generic/longjmp.c: ... here.
4665         * setjmp/sigjmp.c: Moved to ...
4666         * sysdeps/generic/sigjmp.c: ... here.
4668         * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
4669         Ought to fix up gas to catch these silly things properly.
4670         * sysdeps/sparc/bsd-setjmp.S: Likewise.
4672         * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
4673         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
4674         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
4675         the unused fields.
4677         * sysdeps/sparc/sparc64/add_n.s: Moved to ...
4678         * sysdeps/sparc64/add_n.S: ... here.  Fix up %g4 and stack usage.
4679         * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
4680         * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
4681         * sysdeps/sparc/sparc64/lshift.s: Likewise.
4682         * sysdeps/sparc/sparc64/mul_1.s: Likewise.
4683         * sysdeps/sparc/sparc64/rshift.s: Likewise.
4684         * sysdeps/sparc/sparc64/sub_n.s: Likewise.
4685         * sysdeps/sparc/sparc64/submul_1.s: Likewise.
4687         * sysdeps/sparc64/Implies: New file.
4688         * sysdeps/sparc64/Makefile: Likewise.
4689         * sysdeps/sparc64/bits/endian.h: Likewise.
4690         * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
4691         * sysdeps/sparc64/bsd-setjmp.S: Likewise.
4692         * sysdeps/sparc64/dl-machine.h: Likewise.
4693         * sysdeps/sparc64/elf/Makefile: Likewise.
4694         * sysdeps/sparc64/elf/crtbegin.S: Likewise.
4695         * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
4696         * sysdeps/sparc64/elf/crtend.S: Likewise.
4697         * sysdeps/sparc64/elf/crtendS.S: Likewise.
4698         * sysdeps/sparc64/elf/start.S: Likewise.
4699         * sysdeps/sparc64/fpu_control.h: Likewise.
4700         * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
4701         * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
4702         * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
4703         * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
4704         * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
4705         * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
4706         * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
4707         * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
4708         * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
4709         * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
4710         * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
4711         * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
4712         * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
4713         * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
4714         * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
4715         * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
4716         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
4717         * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
4718         * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
4719         * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
4721 1997-06-28 16:28  H.J. Lu  <hjl@gnu.ai.mit.edu>
4723         * configure.in: Add -nostartfiles -nostdlib when check for
4724         --version-script.
4726 1997-06-28 12:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
4728         * sysdeps/powerpc/bits/endian.h: New file.
4730 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
4732         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
4733         setresgid.
4735 1997-06-27 20:09  Ulrich Drepper  <drepper@cygnus.com>
4737         * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
4738         Reported by a sun <asun@zoology.washington.edu>.
4740         * libc.map: Add _rpc_dtablesize.  Reported by Thorsten Kukuk.
4742         * db/makedb.c: Exit with error if number of option is incorrect.
4744         * math/Makefile (tests): Add test-fenv.
4745         * math/test-fenv.c: New file.  Test for exception handling functions.
4746         Written mainly by Andreas Jaeger.
4748         * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
4750         * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
4751         compatibility version to 0.  Reported by Roland McGrath.
4753 1997-06-27 18:49  Philip Blundell  <Philip.Blundell@pobox.com>
4755         * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
4756         * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
4757         * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
4759 1997-06-27 10:44  Fila Kolodny  <fila@ibi.com>
4761         * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
4763 1997-06-27 00:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4765         * elf/dl-open.c (_dl_open): Check versions of all newly loaded
4766         objects, including dependencies.
4768         * elf/dl-runtime.c (fixup): Always use version information if
4769         available.
4771 1997-06-26 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4773         * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
4775 1997-06-26 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4777         * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
4778         int, not pointer to fail_stack_elt_t.
4779         (PUSH_FAILURE_POINT): Fix all formats in debugging messages.  Fix
4780         type of this_reg.
4781         (POP_FAILURE_POINT): Likewise.  Fix type of failure_id.
4782         (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
4784 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
4786         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
4787         Reported by a sun.
4789 1997-06-26 21:50  Ulrich Drepper  <drepper@cygnus.com>
4791         * math/math.h: Move definition of macros for unordered comparison
4792         after inclusion of <bits/mathinline.h>.
4793         * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
4794         unordered comparison before definition.
4795         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4797         * Makerules: Move definition of load-map-file before use.
4798         (lib%.so): Depend on load-map-file, not lib%-map.
4800         * manual/lgpl.texinfo: Update copyright.
4802 1997-06-24 09:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4804         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
4805         * sysdeps/m68k/fpu/s_ilogb.c: Define it here.  Handle zero, NaN
4806         and infinity specially.
4807         * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
4808         Adapted.
4810         * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
4812 1997-06-26 17:06  Ulrich Drepper  <drepper@cygnus.com>
4814         * configure.in: Don't use .long in tests since some strange
4815         platforms without binutils don't know this.
4816         Redirect output of test commands correctly.
4817         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4819         * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
4820         Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
4822 1997-06-26 09:02  Fila Kolodny  <fila@ibi.com>
4824         * sysdeps/mach/hurd/abi-tag.h: New file.
4826         * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
4827         * sysdeps/stub/bits/libc-lock.h: Likewise.
4829         * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
4830         Add variable addr containing the desired part of the union.
4831         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
4832         * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
4833         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
4834         * sysdeps/mach/hurd/connect.c (__connect): Likewise.
4835         * sysdeps/mach/hurd/bind.c (bind): Likewise.
4837         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
4838         to sizeof(MACH_MSG_TYPE_INTEGER_T).
4840         * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
4842         * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
4844         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
4845         paramater list since it is used.
4847         * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
4849         * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
4850         ss to argss.
4852 1997-06-24 14:02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4854         * Rules: Update copyright.
4855         * mach/Machrules: Likewise.
4857 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
4859         * configure.in: Fix accidently removed AC_OUTPUT line.
4860         Reported by Andreas Jaeger.
4862         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
4863         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
4865         * sysdeps/generic/getdomain.c: Include handling for stub case.
4866         This eliminated the only case of a function in generic and stub.
4867         * sysdeps/stub/getdomain.c: Removed.
4868         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4870 1997-06-23 22:20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4872         * sysdeps/alpha/_mcount.S: Update and reformat copyright,
4873         remove trailing white spaces and send through unexpand.
4874         * sysdeps/alpha/bb_init_func.S: Likewise.
4875         * sysdeps/alpha/bzero.S: Likewise.
4876         * sysdeps/alpha/ffs.S: Likewise.
4877         * sysdeps/alpha/memset.S: Likewise.
4878         * sysdeps/alpha/s_fabs.S: Likewise.
4879         * sysdeps/alpha/strcmp.S: Likewise.
4880         * sysdeps/alpha/strlen.S: Likewise.
4881         * sysdeps/alpha/strncmp.S: Likewise.
4882         * sysdeps/alpha/strncpy.S: Likewise.
4883         * sysdeps/alpha/strrchr.S: Likewise.
4884         * sysdeps/alpha/stxcpy.S: Likewise.
4885         * sysdeps/alpha/stxncpy.S: Likewise.
4886         * sysdeps/alpha/elf/start.S: Likewise.
4887         * sysdeps/i386/strchr.S: Likewise.
4888         * sysdeps/m68k/bsd-_setjmp.S: Likewise.
4889         * sysdeps/m68k/bsd-setjmp.S: Likewise.
4890         * sysdeps/m68k/elf/start.S: Likewise.
4891         * sysdeps/mach/alpha/syscall.S: Likewise.
4892         * sysdeps/mach/i386/syscall.S: Likewise.
4893         * sysdeps/mips/elf/start.S: Likewise.
4894         * sysdeps/sparc/alloca.S: Likewise.
4895         * sysdeps/standalone/i386/start.S: Likewise.
4896         * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
4897         * sysdeps/standalone/i960/start.S: Likewise.
4898         * sysdeps/standalone/m68k/m68020/start.S: Likewise.
4899         * sysdeps/unix/_exit.S: Likewise.
4900         * sysdeps/unix/fork.S: Likewise.
4901         * sysdeps/unix/getegid.S: Likewise.
4902         * sysdeps/unix/geteuid.S: Likewise.
4903         * sysdeps/unix/getppid.S: Likewise.
4904         * sysdeps/unix/syscall.S: Likewise.
4905         * sysdeps/unix/arm/brk.S: Likewise.
4906         * sysdeps/unix/arm/fork.S: Likewise.
4907         * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
4908         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
4909         * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
4910         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4911         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4912         * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
4913         * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
4914         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
4915         * sysdeps/unix/bsd/m68k/wait.S: Likewise.
4916         * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
4917         * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
4918         * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
4919         * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
4920         * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
4921         * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
4922         * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
4923         * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
4924         * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
4925         * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
4926         * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
4927         * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
4928         * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
4929         * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
4930         * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
4931         * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
4932         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
4933         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
4934         * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
4935         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
4936         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
4937         * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
4938         * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
4939         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
4940         * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
4941         * sysdeps/unix/bsd/vax/brk.S: Likewise.
4942         * sysdeps/unix/bsd/vax/pipe.S: Likewise.
4943         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
4944         * sysdeps/unix/bsd/vax/vfork.S: Likewise.
4945         * sysdeps/unix/bsd/vax/wait.S: Likewise.
4946         * sysdeps/unix/bsd/vax/wait3.S: Likewise.
4947         * sysdeps/unix/i386/brk.S: Likewise.
4948         * sysdeps/unix/i386/fork.S: Likewise.
4949         * sysdeps/unix/i386/pipe.S: Likewise.
4950         * sysdeps/unix/i386/sigreturn.S: Likewise.
4951         * sysdeps/unix/i386/syscall.S: Likewise.
4952         * sysdeps/unix/i386/vfork.S: Likewise.
4953         * sysdeps/unix/i386/wait.S: Likewise.
4954         * sysdeps/unix/mips/brk.S: Likewise.
4955         * sysdeps/unix/mips/fork.S: Likewise.
4956         * sysdeps/unix/mips/pipe.S: Likewise.
4957         * sysdeps/unix/mips/sigreturn.S: Likewise.
4958         * sysdeps/unix/mips/sysdep.S: Likewise.
4959         * sysdeps/unix/mips/wait.S: Likewise.
4960         * sysdeps/unix/sparc/brk.S: Likewise.
4961         * sysdeps/unix/sparc/fork.S: Likewise.
4962         * sysdeps/unix/sparc/pipe.S: Likewise.
4963         * sysdeps/unix/sparc/sysdep.S: Likewise.
4964         * sysdeps/unix/sparc/vfork.S: Likewise.
4965         * sysdeps/unix/sysv/i386/signal.S: Likewise.
4966         * sysdeps/unix/sysv/i386/time.S: Likewise.
4967         * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
4968         * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
4969         * sysdeps/unix/sysv/irix4/uname.S: Likewise.
4970         * sysdeps/unix/sysv/irix4/wait.S: Likewise.
4971         * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
4972         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4973         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4974         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
4975         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4976         * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
4977         * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
4978         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
4979         * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
4980         * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
4981         * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
4982         * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
4983         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
4984         * sysdeps/vax/bsd-_setjmp.S: Likewise.
4985         * sysdeps/vax/bsd-setjmp.S: Likewise.
4987 1997-06-26 02:06  Ulrich Drepper  <drepper@cygnus.com>
4989         * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
4990         public.
4992         * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
4993         dependency, not $(libc-map).
4995         * sysdeps/posix/mk-stdiolim.c: Pretty print.
4997 1997-06-25 15:54  Fila Kolodny  <fila@ibi.com>
4999         * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
5000         include of bits/types.h.
5002         * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
5003         conditionalize this on whether we are cross-compiling.
5005 1997-06-21 15:47  H.J. Lu  <hjl@gnu.ai.mit.edu>
5007         * elf/dl-lookup.c (do_lookup): Use default definition
5008         for a default versioned symbol.
5010         * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
5012         * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
5014         * elf/link.h (r_found_version): Add the hidden field.
5016         * math/test-matherr.c: New file.
5018         * math/Makefile (tests): Add test-matherr.
5019         (libm-support): Put back s_matherr.
5020         (static-only-routines, aux): Remove s_matherr.
5022 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
5024         * string/Makefile (headers): Change bytesex.h to bits/endian.h.
5025         * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
5026         bits/endian.h.
5028         * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
5029         function will not fail because of exceptions.
5031         * math/math.h: Add warning about use of M_* constants.
5032         Pretty print.
5034 1997-06-23 11:36  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5036         * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
5037         copyright, remove trailing white spaces and send through unexpand.
5038         * inet/netinet/icmp6.h: Likewise.
5039         * inet/netinet/in.h: Likewise.
5040         * inet/netinet/ip6.h: Likewise.
5041         * locale/programs/xmalloc.c: Likewise.
5042         * locale/programs/xstrdup.c: Likewise.
5043         * sysdeps/generic/make_siglist.c: Likewise.
5044         * sysdeps/generic/morecore.c: Likewise.
5045         * sysdeps/generic/sbrk.c: Likewise.
5046         * sysdeps/generic/signame.c: Likewise.
5047         * sysdeps/generic/signame.h: Likewise.
5048         * sysdeps/generic/netinet/inbits.h: Likewise.
5049         * sysdeps/posix/getpagesize.c: Likewise.
5050         * sysdeps/unix/errnos-tmpl.c: Likewise.
5051         * sysdeps/unix/getpagesize.c: Likewise.
5052         * sysdeps/unix/make_errlist.c: Likewise.
5053         * sysdeps/unix/mkfifo.c: Likewise.
5054         * sysdeps/unix/nlist.c: Likewise.
5055         * sysdeps/unix/start.c: Likewise.
5056         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
5058         * munch-tmpl.c: Update and reformat copyright, remove trailing
5059         white spaces and send through unexpand.
5060         * libio/clearerr_u.c: Likewise.
5061         * libio/memstream.c: Likewise.
5062         * libio/putc_u.c: Likewise.
5063         * libio/putchar_u.c: Likewise.
5064         * stdio-common/scanf.c: Likewise.
5065         * stdlib/longlong.h: Likewise.
5066         * sysdeps/alpha/__longjmp.c: Likewise.
5067         * sysdeps/alpha/divrem.h: Likewise.
5068         * sysdeps/alpha/machine-gmon.h: Likewise.
5069         * sysdeps/alpha/setjmp_aux.c: Likewise.
5070         * sysdeps/alpha/bits/setjmp.h: Likewise.
5071         * sysdeps/arm/fpu_control.h: Likewise.
5072         * sysdeps/generic/_strerror.c: Likewise.
5073         * sysdeps/generic/det_endian.c: Likewise.
5074         * sysdeps/generic/fdatasync.c: Likewise.
5075         * sysdeps/generic/fpu_control.c: Likewise.
5076         * sysdeps/generic/ftime.c: Likewise.
5077         * sysdeps/generic/getdomain.c: Likewise.
5078         * sysdeps/generic/group_member.c: Likewise.
5079         * sysdeps/generic/ldiv.c: Likewise.
5080         * sysdeps/generic/lldiv.c: Likewise.
5081         * sysdeps/generic/lxstat.c: Likewise.
5082         * sysdeps/generic/memcmp.c: Likewise.
5083         * sysdeps/generic/memmem.c: Likewise.
5084         * sysdeps/generic/mig-reply.c: Likewise.
5085         * sysdeps/generic/pagecopy.h: Likewise.
5086         * sysdeps/generic/profil-counter.h: Likewise.
5087         * sysdeps/generic/pselect.c: Likewise.
5088         * sysdeps/generic/setfpucw.c: Likewise.
5089         * sysdeps/generic/stpcpy.c: Likewise.
5090         * sysdeps/generic/uname.c: Likewise.
5091         * sysdeps/generic/varargs.h: Likewise.
5092         * sysdeps/generic/vlimit.c: Likewise.
5093         * sysdeps/generic/bits/sigaction.h: Likewise.
5094         * sysdeps/generic/bits/ustat.h: Likewise.
5095         * sysdeps/generic/netinet/if_ether.h: Likewise.
5096         * sysdeps/generic/sys/swap.h: Likewise.
5097         * sysdeps/generic/sys/sysinfo.h: Likewise.
5098         * sysdeps/i386/init-first.c: Likewise.
5099         * sysdeps/i386/ldbl2mpn.c: Likewise.
5100         * sysdeps/i386/memcopy.h: Likewise.
5101         * sysdeps/i386/i586/memcopy.h: Likewise.
5102         * sysdeps/i860/memcopy.h: Likewise.
5103         * sysdeps/m68k/__longjmp.c: Likewise.
5104         * sysdeps/m68k/fpu_control.h: Likewise.
5105         * sysdeps/m68k/memcopy.h: Likewise.
5106         * sysdeps/m68k/s_isinfl.c: Likewise.
5107         * sysdeps/m68k/s_isnanl.c: Likewise.
5108         * sysdeps/m68k/setjmp.c: Likewise.
5109         * sysdeps/mach/_strerror.c: Likewise.
5110         * sysdeps/mach/getsysstats.c: Likewise.
5111         * sysdeps/mach/mprotect.c: Likewise.
5112         * sysdeps/mach/munmap.c: Likewise.
5113         * sysdeps/mach/pagecopy.h: Likewise.
5114         * sysdeps/mach/start.c: Likewise.
5115         * sysdeps/mach/sysdep.h: Likewise.
5116         * sysdeps/mach/alpha/machine-lock.h: Likewise.
5117         * sysdeps/mach/alpha/machine-sp.h: Likewise.
5118         * sysdeps/mach/alpha/sysdep.h: Likewise.
5119         * sysdeps/mach/alpha/thread_state.h: Likewise.
5120         * sysdeps/mach/hppa/machine-lock.h: Likewise.
5121         * sysdeps/mach/hurd/access.c: Likewise.
5122         * sysdeps/mach/hurd/closedir.c: Likewise.
5123         * sysdeps/mach/hurd/dirstream.h: Likewise.
5124         * sysdeps/mach/hurd/dl-cache.c: Likewise.
5125         * sysdeps/mach/hurd/euidaccess.c: Likewise.
5126         * sysdeps/mach/hurd/fdatasync.c: Likewise.
5127         * sysdeps/mach/hurd/fexecve.c: Likewise.
5128         * sysdeps/mach/hurd/fork.c: Likewise.
5129         * sysdeps/mach/hurd/fpathconf.c: Likewise.
5130         * sysdeps/mach/hurd/fstatfs.c: Likewise.
5131         * sysdeps/mach/hurd/fxstat.c: Likewise.
5132         * sysdeps/mach/hurd/getcwd.c: Likewise.
5133         * sysdeps/mach/hurd/getpriority.c: Likewise.
5134         * sysdeps/mach/hurd/getrlimit.c: Likewise.
5135         * sysdeps/mach/hurd/getsid.c: Likewise.
5136         * sysdeps/mach/hurd/group_member.c: Likewise.
5137         * sysdeps/mach/hurd/kill.c: Likewise.
5138         * sysdeps/mach/hurd/lchown.c: Likewise.
5139         * sysdeps/mach/hurd/lxstat.c: Likewise.
5140         * sysdeps/mach/hurd/mig-reply.c: Likewise.
5141         * sysdeps/mach/hurd/mmap.c: Likewise.
5142         * sysdeps/mach/hurd/opendir.c: Likewise.
5143         * sysdeps/mach/hurd/pathconf.c: Likewise.
5144         * sysdeps/mach/hurd/profil.c: Likewise.
5145         * sysdeps/mach/hurd/ptrace.c: Likewise.
5146         * sysdeps/mach/hurd/readdir.c: Likewise.
5147         * sysdeps/mach/hurd/readdir_r.c: Likewise.
5148         * sysdeps/mach/hurd/send.c: Likewise.
5149         * sysdeps/mach/hurd/sendto.c: Likewise.
5150         * sysdeps/mach/hurd/setpriority.c: Likewise.
5151         * sysdeps/mach/hurd/statfs.c: Likewise.
5152         * sysdeps/mach/hurd/ttyname.c: Likewise.
5153         * sysdeps/mach/hurd/uname.c: Likewise.
5154         * sysdeps/mach/hurd/xstat.c: Likewise.
5155         * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
5156         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
5157         * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
5158         * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
5159         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
5160         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
5161         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
5162         * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
5163         * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
5164         * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
5165         * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
5166         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5167         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
5168         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
5169         * sysdeps/mach/hurd/sys/param.h: Likewise.
5170         * sysdeps/mach/i386/machine-lock.h: Likewise.
5171         * sysdeps/mach/i386/machine-sp.h: Likewise.
5172         * sysdeps/mach/i386/sysdep.h: Likewise.
5173         * sysdeps/mach/i386/thread_state.h: Likewise.
5174         * sysdeps/posix/dup2.c: Likewise.
5175         * sysdeps/posix/flock.c: Likewise.
5176         * sysdeps/posix/getdtsz.c: Likewise.
5177         * sysdeps/posix/gettimeofday.c: Likewise.
5178         * sysdeps/posix/isatty.c: Likewise.
5179         * sysdeps/posix/killpg.c: Likewise.
5180         * sysdeps/posix/mk-stdiolim.c: Likewise.
5181         * sysdeps/posix/profil.c: Likewise.
5182         * sysdeps/posix/remove.c: Likewise.
5183         * sysdeps/posix/rename.c: Likewise.
5184         * sysdeps/posix/sigsuspend.c: Likewise.
5185         * sysdeps/posix/tempname.c: Likewise.
5186         * sysdeps/posix/truncate.c: Likewise.
5187         * sysdeps/posix/utimes.c: Likewise.
5188         * sysdeps/posix/wait.c: Likewise.
5189         * sysdeps/posix/wait3.c: Likewise.
5190         * sysdeps/rs6000/memcopy.h: Likewise.
5191         * sysdeps/sparc/memcopy.h: Likewise.
5192         * sysdeps/standalone/close.c: Likewise.
5193         * sysdeps/standalone/dirstream.h: Likewise.
5194         * sysdeps/standalone/filedesc.h: Likewise.
5195         * sysdeps/standalone/open.c: Likewise.
5196         * sysdeps/standalone/read.c: Likewise.
5197         * sysdeps/standalone/standalone.h: Likewise.
5198         * sysdeps/standalone/write.c: Likewise.
5199         * sysdeps/standalone/bits/stdio_lim.h: Likewise.
5200         * sysdeps/standalone/i386/i386.h: Likewise.
5201         * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
5202         * sysdeps/stub/__longjmp.c: Likewise.
5203         * sysdeps/stub/accept.c: Likewise.
5204         * sysdeps/stub/access.c: Likewise.
5205         * sysdeps/stub/acct.c: Likewise.
5206         * sysdeps/stub/adjtime.c: Likewise.
5207         * sysdeps/stub/alarm.c: Likewise.
5208         * sysdeps/stub/bind.c: Likewise.
5209         * sysdeps/stub/brk.c: Likewise.
5210         * sysdeps/stub/bsd-_setjmp.c: Likewise.
5211         * sysdeps/stub/bsd-setjmp.c: Likewise.
5212         * sysdeps/stub/chdir.c: Likewise.
5213         * sysdeps/stub/chflags.c: Likewise.
5214         * sysdeps/stub/chmod.c: Likewise.
5215         * sysdeps/stub/chown.c: Likewise.
5216         * sysdeps/stub/chroot.c: Likewise.
5217         * sysdeps/stub/clock.c: Likewise.
5218         * sysdeps/stub/close.c: Likewise.
5219         * sysdeps/stub/closedir.c: Likewise.
5220         * sysdeps/stub/connect.c: Likewise.
5221         * sysdeps/stub/ctermid.c: Likewise.
5222         * sysdeps/stub/cuserid.c: Likewise.
5223         * sysdeps/stub/dbl2mpn.c: Likewise.
5224         * sysdeps/stub/dirstream.h: Likewise.
5225         * sysdeps/stub/dup.c: Likewise.
5226         * sysdeps/stub/dup2.c: Likewise.
5227         * sysdeps/stub/exc2signal.c: Likewise.
5228         * sysdeps/stub/execve.c: Likewise.
5229         * sysdeps/stub/fchflags.c: Likewise.
5230         * sysdeps/stub/fchown.c: Likewise.
5231         * sysdeps/stub/fcntl.c: Likewise.
5232         * sysdeps/stub/fdopen.c: Likewise.
5233         * sysdeps/stub/fexecve.c: Likewise.
5234         * sysdeps/stub/flock.c: Likewise.
5235         * sysdeps/stub/fork.c: Likewise.
5236         * sysdeps/stub/fpathconf.c: Likewise.
5237         * sysdeps/stub/fpu_control.h: Likewise.
5238         * sysdeps/stub/fstatfs.c: Likewise.
5239         * sysdeps/stub/fsync.c: Likewise.
5240         * sysdeps/stub/ftruncate.c: Likewise.
5241         * sysdeps/stub/fxstat.c: Likewise.
5242         * sysdeps/stub/getcwd.c: Likewise.
5243         * sysdeps/stub/getdomain.c: Likewise.
5244         * sysdeps/stub/getdtsz.c: Likewise.
5245         * sysdeps/stub/getegid.c: Likewise.
5246         * sysdeps/stub/geteuid.c: Likewise.
5247         * sysdeps/stub/getgid.c: Likewise.
5248         * sysdeps/stub/getgroups.c: Likewise.
5249         * sysdeps/stub/gethostid.c: Likewise.
5250         * sysdeps/stub/gethostname.c: Likewise.
5251         * sysdeps/stub/getitimer.c: Likewise.
5252         * sysdeps/stub/getpeername.c: Likewise.
5253         * sysdeps/stub/getpgid.c: Likewise.
5254         * sysdeps/stub/getpid.c: Likewise.
5255         * sysdeps/stub/getppid.c: Likewise.
5256         * sysdeps/stub/getpriority.c: Likewise.
5257         * sysdeps/stub/getrlimit.c: Likewise.
5258         * sysdeps/stub/getrusage.c: Likewise.
5259         * sysdeps/stub/getsid.c: Likewise.
5260         * sysdeps/stub/getsockname.c: Likewise.
5261         * sysdeps/stub/getsockopt.c: Likewise.
5262         * sysdeps/stub/getsysstats.c: Likewise.
5263         * sysdeps/stub/gettimeofday.c: Likewise.
5264         * sysdeps/stub/getuid.c: Likewise.
5265         * sysdeps/stub/gtty.c: Likewise.
5266         * sysdeps/stub/if_index.c: Likewise.
5267         * sysdeps/stub/init-posix.c: Likewise.
5268         * sysdeps/stub/ioctl.c: Likewise.
5269         * sysdeps/stub/isatty.c: Likewise.
5270         * sysdeps/stub/isfdtype.c: Likewise.
5271         * sysdeps/stub/jmp-unwind.c: Likewise.
5272         * sysdeps/stub/kill.c: Likewise.
5273         * sysdeps/stub/killpg.c: Likewise.
5274         * sysdeps/stub/ldbl2mpn.c: Likewise.
5275         * sysdeps/stub/link.c: Likewise.
5276         * sysdeps/stub/listen.c: Likewise.
5277         * sysdeps/stub/lockfile.c: Likewise.
5278         * sysdeps/stub/longjmp-ts.c: Likewise.
5279         * sysdeps/stub/lseek.c: Likewise.
5280         * sysdeps/stub/lxstat.c: Likewise.
5281         * sysdeps/stub/machine-lock.h: Likewise.
5282         * sysdeps/stub/machine-sp.h: Likewise.
5283         * sysdeps/stub/madvise.c: Likewise.
5284         * sysdeps/stub/mkdir.c: Likewise.
5285         * sysdeps/stub/mkfifo.c: Likewise.
5286         * sysdeps/stub/mmap.c: Likewise.
5287         * sysdeps/stub/morecore.c: Likewise.
5288         * sysdeps/stub/mpn2dbl.c: Likewise.
5289         * sysdeps/stub/mpn2flt.c: Likewise.
5290         * sysdeps/stub/mpn2ldbl.c: Likewise.
5291         * sysdeps/stub/mprotect.c: Likewise.
5292         * sysdeps/stub/msgctl.c: Likewise.
5293         * sysdeps/stub/msgget.c: Likewise.
5294         * sysdeps/stub/msgrcv.c: Likewise.
5295         * sysdeps/stub/msgsnd.c: Likewise.
5296         * sysdeps/stub/munmap.c: Likewise.
5297         * sysdeps/stub/nanosleep.c: Likewise.
5298         * sysdeps/stub/nice.c: Likewise.
5299         * sysdeps/stub/nlist.c: Likewise.
5300         * sysdeps/stub/open.c: Likewise.
5301         * sysdeps/stub/opendir.c: Likewise.
5302         * sysdeps/stub/pathconf.c: Likewise.
5303         * sysdeps/stub/pause.c: Likewise.
5304         * sysdeps/stub/pipestream.c: Likewise.
5305         * sysdeps/stub/poll.c: Likewise.
5306         * sysdeps/stub/profil.c: Likewise.
5307         * sysdeps/stub/ptrace.c: Likewise.
5308         * sysdeps/stub/putenv.c: Likewise.
5309         * sysdeps/stub/read.c: Likewise.
5310         * sysdeps/stub/readdir.c: Likewise.
5311         * sysdeps/stub/readdir_r.c: Likewise.
5312         * sysdeps/stub/readlink.c: Likewise.
5313         * sysdeps/stub/reboot.c: Likewise.
5314         * sysdeps/stub/recv.c: Likewise.
5315         * sysdeps/stub/recvfrom.c: Likewise.
5316         * sysdeps/stub/recvmsg.c: Likewise.
5317         * sysdeps/stub/remove.c: Likewise.
5318         * sysdeps/stub/rename.c: Likewise.
5319         * sysdeps/stub/revoke.c: Likewise.
5320         * sysdeps/stub/rewinddir.c: Likewise.
5321         * sysdeps/stub/rmdir.c: Likewise.
5322         * sysdeps/stub/sbrk.c: Likewise.
5323         * sysdeps/stub/sched_getp.c: Likewise.
5324         * sysdeps/stub/sched_gets.c: Likewise.
5325         * sysdeps/stub/sched_primax.c: Likewise.
5326         * sysdeps/stub/sched_primin.c: Likewise.
5327         * sysdeps/stub/sched_rr_gi.c: Likewise.
5328         * sysdeps/stub/sched_setp.c: Likewise.
5329         * sysdeps/stub/sched_sets.c: Likewise.
5330         * sysdeps/stub/sched_yield.c: Likewise.
5331         * sysdeps/stub/seekdir.c: Likewise.
5332         * sysdeps/stub/select.c: Likewise.
5333         * sysdeps/stub/semctl.c: Likewise.
5334         * sysdeps/stub/semget.c: Likewise.
5335         * sysdeps/stub/semop.c: Likewise.
5336         * sysdeps/stub/send.c: Likewise.
5337         * sysdeps/stub/sendmsg.c: Likewise.
5338         * sysdeps/stub/sendto.c: Likewise.
5339         * sysdeps/stub/setdomain.c: Likewise.
5340         * sysdeps/stub/setegid.c: Likewise.
5341         * sysdeps/stub/setenv.c: Likewise.
5342         * sysdeps/stub/seteuid.c: Likewise.
5343         * sysdeps/stub/setgid.c: Likewise.
5344         * sysdeps/stub/setgroups.c: Likewise.
5345         * sysdeps/stub/sethostid.c: Likewise.
5346         * sysdeps/stub/sethostname.c: Likewise.
5347         * sysdeps/stub/setjmp.c: Likewise.
5348         * sysdeps/stub/setlogin.c: Likewise.
5349         * sysdeps/stub/setpgid.c: Likewise.
5350         * sysdeps/stub/setpriority.c: Likewise.
5351         * sysdeps/stub/setregid.c: Likewise.
5352         * sysdeps/stub/setreuid.c: Likewise.
5353         * sysdeps/stub/setrlimit.c: Likewise.
5354         * sysdeps/stub/setsid.c: Likewise.
5355         * sysdeps/stub/setsockopt.c: Likewise.
5356         * sysdeps/stub/settimeofday.c: Likewise.
5357         * sysdeps/stub/setuid.c: Likewise.
5358         * sysdeps/stub/shmctl.c: Likewise.
5359         * sysdeps/stub/shmget.c: Likewise.
5360         * sysdeps/stub/shutdown.c: Likewise.
5361         * sysdeps/stub/sigaction.c: Likewise.
5362         * sysdeps/stub/sigaltstack.c: Likewise.
5363         * sysdeps/stub/sigblock.c: Likewise.
5364         * sysdeps/stub/sigintr.c: Likewise.
5365         * sysdeps/stub/sigpending.c: Likewise.
5366         * sysdeps/stub/sigprocmask.c: Likewise.
5367         * sysdeps/stub/sigreturn.c: Likewise.
5368         * sysdeps/stub/sigsetmask.c: Likewise.
5369         * sysdeps/stub/sigstack.c: Likewise.
5370         * sysdeps/stub/sigsuspend.c: Likewise.
5371         * sysdeps/stub/sigvec.c: Likewise.
5372         * sysdeps/stub/socket.c: Likewise.
5373         * sysdeps/stub/socketpair.c: Likewise.
5374         * sysdeps/stub/sstk.c: Likewise.
5375         * sysdeps/stub/statfs.c: Likewise.
5376         * sysdeps/stub/stdio_init.c: Likewise.
5377         * sysdeps/stub/stime.c: Likewise.
5378         * sysdeps/stub/stty.c: Likewise.
5379         * sysdeps/stub/swapoff.c: Likewise.
5380         * sysdeps/stub/swapon.c: Likewise.
5381         * sysdeps/stub/symlink.c: Likewise.
5382         * sysdeps/stub/sync.c: Likewise.
5383         * sysdeps/stub/syscall.c: Likewise.
5384         * sysdeps/stub/sysd-stdio.c: Likewise.
5385         * sysdeps/stub/system.c: Likewise.
5386         * sysdeps/stub/tcdrain.c: Likewise.
5387         * sysdeps/stub/tcflow.c: Likewise.
5388         * sysdeps/stub/tcflush.c: Likewise.
5389         * sysdeps/stub/tcgetattr.c: Likewise.
5390         * sysdeps/stub/tcgetpgrp.c: Likewise.
5391         * sysdeps/stub/tcsendbrk.c: Likewise.
5392         * sysdeps/stub/tcsetpgrp.c: Likewise.
5393         * sysdeps/stub/telldir.c: Likewise.
5394         * sysdeps/stub/thread_state.h: Likewise.
5395         * sysdeps/stub/time.c: Likewise.
5396         * sysdeps/stub/times.c: Likewise.
5397         * sysdeps/stub/trampoline.c: Likewise.
5398         * sysdeps/stub/truncate.c: Likewise.
5399         * sysdeps/stub/ttyname.c: Likewise.
5400         * sysdeps/stub/ttyname_r.c: Likewise.
5401         * sysdeps/stub/ualarm.c: Likewise.
5402         * sysdeps/stub/ulimit.c: Likewise.
5403         * sysdeps/stub/umask.c: Likewise.
5404         * sysdeps/stub/unlink.c: Likewise.
5405         * sysdeps/stub/usleep.c: Likewise.
5406         * sysdeps/stub/ustat.c: Likewise.
5407         * sysdeps/stub/utime.c: Likewise.
5408         * sysdeps/stub/utimes.c: Likewise.
5409         * sysdeps/stub/vdprintf.c: Likewise.
5410         * sysdeps/stub/vhangup.c: Likewise.
5411         * sysdeps/stub/wait.c: Likewise.
5412         * sysdeps/stub/wait3.c: Likewise.
5413         * sysdeps/stub/wait4.c: Likewise.
5414         * sysdeps/stub/waitpid.c: Likewise.
5415         * sysdeps/stub/write.c: Likewise.
5416         * sysdeps/stub/xmknod.c: Likewise.
5417         * sysdeps/stub/xstat.c: Likewise.
5418         * sysdeps/stub/bits/errno.h: Likewise.
5419         * sysdeps/stub/bits/sigcontext.h: Likewise.
5420         * sysdeps/unix/fxstat.c: Likewise.
5421         * sysdeps/unix/mk-local_lim.c: Likewise.
5422         * sysdeps/unix/mkdir.c: Likewise.
5423         * sysdeps/unix/nice.c: Likewise.
5424         * sysdeps/unix/rmdir.c: Likewise.
5425         * sysdeps/unix/stime.c: Likewise.
5426         * sysdeps/unix/telldir.c: Likewise.
5427         * sysdeps/unix/xstat.c: Likewise.
5428         * sysdeps/unix/arm/sysdep.h: Likewise.
5429         * sysdeps/unix/bsd/ftime.c: Likewise.
5430         * sysdeps/unix/bsd/isatty.c: Likewise.
5431         * sysdeps/unix/bsd/setegid.c: Likewise.
5432         * sysdeps/unix/bsd/seteuid.c: Likewise.
5433         * sysdeps/unix/bsd/setsid.c: Likewise.
5434         * sysdeps/unix/bsd/sigaction.c: Likewise.
5435         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5436         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5437         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5438         * sysdeps/unix/bsd/times.c: Likewise.
5439         * sysdeps/unix/bsd/ulimit.c: Likewise.
5440         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
5441         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
5442         * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
5443         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
5444         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
5445         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
5446         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
5447         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
5448         * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
5449         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
5450         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
5451         * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
5452         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
5453         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
5454         * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
5455         * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
5456         * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
5457         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
5458         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
5459         * sysdeps/unix/common/lxstat.c: Likewise.
5460         * sysdeps/unix/common/tcsendbrk.c: Likewise.
5461         * sysdeps/unix/common/bits/dirent.h: Likewise.
5462         * sysdeps/unix/i386/sysdep.h: Likewise.
5463         * sysdeps/unix/mips/sysdep.h: Likewise.
5464         * sysdeps/unix/sysv/setrlimit.c: Likewise.
5465         * sysdeps/unix/sysv/settimeofday.c: Likewise.
5466         * sysdeps/unix/sysv/sigaction.c: Likewise.
5467         * sysdeps/unix/sysv/sysv_termio.h: Likewise.
5468         * sysdeps/unix/sysv/tcdrain.c: Likewise.
5469         * sysdeps/unix/sysv/tcflow.c: Likewise.
5470         * sysdeps/unix/sysv/tcflush.c: Likewise.
5471         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5472         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5473         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5474         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
5475         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
5476         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
5477         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
5478         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5479         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5480         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
5481         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5482         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5483         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
5484         * sysdeps/unix/sysv/linux/speed.c: Likewise.
5485         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5486         * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
5487         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
5488         * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
5489         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
5490         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
5491         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
5492         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
5493         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5494         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
5495         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
5496         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
5497         * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
5498         * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
5499         * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
5500         * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
5501         * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
5502         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
5503         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
5504         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
5505         * sysdeps/vax/fl.h: Likewise.
5506         * sysdeps/vax/setjmp.c: Likewise.
5508 1997-06-21 16:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5510         * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
5511         and NaN strings.
5513 1997-06-20 21:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5515         * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
5516         argument.
5517         (__ilogb): Remove special case for zero, add stupid special case
5518         for NaN.
5519         (__ieee754_scalb): Remove definition.
5520         * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
5521         * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
5523         * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
5524         * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
5525         * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
5527         * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
5528         returning NaN.  Handle zero specially.
5529         * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
5530         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
5532         * math/libm-test.c (ilogb_test): Don't require exceptions for zero
5533         and NaN.
5534         (gamma_test): Use different argument when checking whether
5535         function is implemented.
5536         (scalb_test): Remove duplicate tests.
5538 1997-06-03 15:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5540         * Makerules (+depfiles): Add dependencies for $(test-srcs).
5541         (distinfo-vars): Add test-srcs.
5543 1997-06-21 17:35  Ulrich Drepper  <drepper@cygnus.com>
5545         * argp/argp.h: Remove extra #endif.  Pretty print.
5546         * md5-crypt/md5.h: Likewise.
5548         * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
5549         * wctype/wctype.h: Likewise.
5551         * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
5552         directory.
5554         * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
5555         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
5556         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
5557         * sysdeps/libm-i387/s_lrint.S: Likewise.
5558         * sysdeps/libm-i387/s_llrint.S: Likewise.
5560 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
5562         * config.h.in: Add DO_STATIC_NSS.
5563         * config.make.in: Add build-static-nss.
5565         * elf/eval.c: Use __getdelim instead of __getline.
5567         * locale/programs/locale.c: Correct comment.
5569         * manual/libc.texinfo: Update copyright and date.
5570         Remove A4 option.
5572         * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
5573         for gamma overflow.
5574         * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
5575         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5576         * sysdeps/libm-ieee754/w_gammalp.c: Likewise.
5578         * po/ko.po: Update.
5580 1997-06-13 10:06  Richard Henderson  <rth@tamu.edu>
5582         The Great Bit File Move:
5583         * configure.in (AC_INIT): Look in include/ for features.h.
5584         (sysnames): Add include as the final search directory.
5585         (AC_OUTPUT): Create a bits directory in the build directory.
5586         * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
5587         * Makefile: Make sure the target directory exists when installing
5588         <gnu/stubs.h> and <gnu/lib-names.h>.
5589         * csu/Makefile: Use $(compile.S) and $(compile.c) instead of
5590         invoking $(CC) directly, as the former have the full include path.
5592         * ansidecl.h: Removed.
5594         * aliases.h: Moved to include/.
5595         * alloca.h: Likewise.
5596         * argp.h: Likewise.
5597         * argz.h: Likewise.
5598         * arpa/ftp.h: Likewise.
5599         * arpa/inet.h: Likewise.
5600         * arpa/nameser.h: Likewise.
5601         * arpa/telnet.h: Likewise.
5602         * arpa/tftp.h: Likewise.
5603         * assert.h: Likewise.
5604         * ctype.h: Likewise.
5605         * db.h: Likewise.
5606         * dirent.h: Likewise.
5607         * dlfcn.h: Likewise.
5608         * elf.h: Likewise.
5609         * endian.h: Likewise.
5610         * envz.h: Likewise.
5611         * err.h: Likewise.
5612         * errno.h: Likewise.
5613         * error.h: Likewise.
5614         * fcntl.h: Likewise.
5615         * features.h: Likewise.
5616         * fnmatch.h: Likewise.
5617         * ftw.h: Likewise.
5618         * getopt.h: Likewise.
5619         * glob.h: Likewise.
5620         * gnu-versions.h: Likewise.
5621         * grp.h: Likewise.
5622         * langinfo.h: Likewise.
5623         * libc-symbols.h: Likewise.
5624         * libgen.h: Likewise.
5625         * libintl.h: Likewise.
5626         * limits.h: Likewise.
5627         * linewrap.h: Likewise.
5628         * link.h: Likewise.
5629         * locale.h: Likewise.
5630         * malloc.h: Likewise.
5631         * math.h: Likewise.
5632         * mathcalls.h: Likewise.
5633         * mcheck.h: Likewise.
5634         * memory.h: Likewise.
5635         * netdb.h: Likewise.
5636         * netgroup.h: Likewise.
5637         * netinet/ether.h: Likewise.
5638         * netinet/in.h: Likewise.
5639         * nlist.h: Likewise.
5640         * nss.h: Likewise.
5641         * nsswitch.h: Likewise.
5642         * obstack.h: Likewise.
5643         * poll.h: Likewise.
5644         * posix1_lim.h: Likewise.
5645         * posix2_lim.h: Likewise.
5646         * printf.h: Likewise.
5647         * protocols/routed.h: Likewise.
5648         * protocols/rwhod.h: Likewise.
5649         * protocols/talkd.h: Likewise.
5650         * protocols/timed.h: Likewise.
5651         * pwd.h: Likewise.
5652         * regex.h: Likewise.
5653         * resolv.h: Likewise.
5654         * rpc/auth_unix.h: Likewise.
5655         * rpc/clnt.h: Likewise.
5656         * rpc/netdb.h: Likewise.
5657         * rpc/pmap_clnt.h: Likewise.
5658         * rpc/pmap_prot.h: Likewise.
5659         * rpc/pmap_rmt.h: Likewise.
5660         * rpc/rpc.h: Likewise.
5661         * rpc/rpc_msg.h: Likewise.
5662         * rpc/svc.h: Likewise.
5663         * rpc/svc_auth.h: Likewise.
5664         * rpc/types.h: Likewise.
5665         * rpc/xdr.h: Likewise.
5666         * sched.h: Likewise.
5667         * search.h: Likewise.
5668         * set-hooks.h: Likewise.
5669         * setjmp.h: Likewise.
5670         * sgtty.h: Likewise.
5671         * shadow.h: Likewise.
5672         * signal.h: Likewise.
5673         * stab.def: Likewise.
5674         * stab.h: Likewise.
5675         * stdio.h: Likewise.
5676         * stdlib.h: Likewise.
5677         * string.h: Likewise.
5678         * strings.h: Likewise.
5679         * sys/bitypes.h: Likewise.
5680         * sys/cdefs.h: Likewise.
5681         * sys/dir.h: Likewise.
5682         * sys/errno.h: Likewise.
5683         * sys/fcntl.h: Likewise.
5684         * sys/file.h: Likewise.
5685         * sys/gmon.h: Likewise.
5686         * sys/ioctl.h: Likewise.
5687         * sys/ipc.h: Likewise.
5688         * sys/msg.h: Likewise.
5689         * sys/poll.h: Likewise.
5690         * sys/queue.h: Likewise.
5691         * sys/resource.h: Likewise.
5692         * sys/select.h: Likewise.
5693         * sys/sem.h: Likewise.
5694         * sys/shm.h: Likewise.
5695         * sys/signal.h: Likewise.
5696         * sys/socket.h: Likewise.
5697         * sys/stat.h: Likewise.
5698         * sys/statfs.h: Likewise.
5699         * sys/syslog.h: Likewise.
5700         * sys/termios.h: Likewise.
5701         * sys/time.h: Likewise.
5702         * sys/timeb.h: Likewise.
5703         * sys/times.h: Likewise.
5704         * sys/types.h: Likewise.
5705         * sys/uio.h: Likewise.
5706         * sys/un.h: Likewise.
5707         * sys/unistd.h: Likewise.
5708         * sys/utsname.h: Likewise.
5709         * sys/vlimit.h: Likewise.
5710         * sys/vtimes.h: Likewise.
5711         * sys/wait.h: Likewise.
5712         * syscall.h: Likewise.
5713         * syslog.h: Likewise.
5714         * tar.h: Likewise.
5715         * termios.h: Likewise.
5716         * time.h: Likewise.
5717         * ttyent.h: Likewise.
5718         * unistd.h: Likewise.
5719         * utime.h: Likewise.
5720         * utmp.h: Likewise.
5721         * values.h: Likewise.
5722         * wchar.h: Likewise.
5723         * wctype.h: Likewise.
5724         * wordexp.h: Likewise.
5725         * xlocale.h: Likewise.
5726         * xopen_lim.h: Likewise.
5728         * sysdeps/mach/libc-lock.h: Likewise.
5729         * sysdeps/stub/libc-lock.h: Likewise.
5730         * sysdeps/mach/hurd/local_lim.h: Likewise.
5731         * sysdeps/stub/local_lim.h: Likewise.
5732         * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
5733         * sysdeps/unix/sysv/local_lim.h: Likewise.
5734         * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
5735         * sysdeps/mach/hurd/posix_opt.h: Likewise.
5736         * sysdeps/stub/posix_opt.h: Likewise.
5737         * sysdeps/unix/bsd/posix_opt.h: Likewise.
5738         * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
5739         * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
5740         * math/cmathcalls.h: -> bits/
5741         * math/mathcalls.h: Likewise.
5742         * misc/stab.def: -> bits/
5743         * posix/posix1_lim.h: -> bits/
5744         * posix/posix2_lim.h: Likewise.
5745         * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
5746         * sysdeps/i386/fpu/__math.h: Likewise.
5747         * sysdeps/m68k/fpu/__math.h: Likewise.
5748         * sysdeps/m68k/fpu/switch/__math.h: Likewise.
5749         * sysdeps/powerpc/__math.h: Likewise.
5750         * sysdeps/stub/__math.h: Likewise.
5751         * sysdeps/alpha/bytesex.h: -> .../bits/endian.h
5752         * sysdeps/arm/bytesex.h: Likewise.
5753         * sysdeps/i386/bytesex.h: Likewise.
5754         * sysdeps/m68k/bytesex.h: Likewise.
5755         * sysdeps/mips/bytesex.h: Likewise.
5756         * sysdeps/mips/dec/bytesex.h: Likewise.
5757         * sysdeps/mips/mipsel/bytesex.h: Likewise.
5758         * sysdeps/mips/p40/bytesex.h: Likewise.
5759         * sysdeps/sparc/bytesex.h: Likewise.
5760         * sysdeps/stub/bytesex.h: Likewise.
5761         * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
5762         * sysdeps/i386/fpu/fenvbits.h: Likewise.
5763         * sysdeps/m68k/fpu/fenvbits.h: Likewise.
5764         * sysdeps/powerpc/fenvbits.h: Likewise.
5765         * sysdeps/stub/fenvbits.h: Likewise.
5766         * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
5767         * sysdeps/arm/jmp_buf.h: Likewise.
5768         * sysdeps/i386/jmp_buf.h: Likewise.
5769         * sysdeps/m68k/jmp_buf.h: Likewise.
5770         * sysdeps/mips/jmp_buf.h: Likewise.
5771         * sysdeps/sparc/jmp_buf.h: Likewise.
5772         * sysdeps/powerpc/jmp_buf.h: Likewise.
5773         * sysdeps/stub/jmp_buf.h: Likewise.
5774         * sysdeps/vax/jmp_buf.h: Likewise.
5775         * sysdeps/generic/confname.h: -> bits/
5776         * sysdeps/unix/sysv/irix4/confname.h: Likewise.
5777         * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
5778         * sysdeps/generic/gnu/types.h: -> ../bits/types.h
5779         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
5780         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
5781         * sysdeps/generic/ioctl-types.h: -> bits/
5782         * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
5783         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
5784         * sysdeps/generic/iovec.h: -> .../bits/uio.h
5785         * sysdeps/unix/sysv/linux/iovec.h: Likewise.
5786         * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
5787         * sysdeps/i386/fpu/mathbits.h: Likewise.
5788         * sysdeps/m68k/fpu/mathbits.h: Likewise.
5789         * sysdeps/powerpc/mathbits.h: Likewise.
5790         * sysdeps/generic/resourcebits.h: -> .../bits/resource.h
5791         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
5792         * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
5793         * sysdeps/generic/schedbits.h: -> .../bits/sched.h
5794         * sysdeps/unix/sysv/linux/schedbits.h: Likewise.
5795         * sysdeps/generic/selectbits.h: -> .../bits/select.h
5796         * sysdeps/i386/selectbits.h: Likewise.
5797         * sysdeps/generic/sigaction.h: -> bits/
5798         * sysdeps/unix/bsd/osf/sigaction.h: Likewise.
5799         * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
5800         * sysdeps/unix/sysv/linux/sigaction.h: Likewise.
5801         * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
5802         * sysdeps/unix/sysv/minix/sigaction.h: Likewise.
5803         * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
5804         * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
5805         * sysdeps/generic/sigset.h: -> bits/
5806         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
5807         * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
5808         * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
5809         * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
5810         * sysdeps/generic/socketbits.h: -> .../bits/socket.h
5811         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
5812         * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
5813         * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
5814         * sysdeps/generic/termbits.h: -> .../bits/termios.h
5815         * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
5816         * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
5817         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
5818         * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
5819         * sysdeps/unix/sysv/linux/termbits.h: Likewise.
5820         * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
5821         * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
5822         * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
5823         * sysdeps/gnu/utmpbits.h: Likewise.
5824         * sysdeps/unix/sysv/utmpbits.h: Likewise.
5825         * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
5826         * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
5827         * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
5828         * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
5829         * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
5830         * sysdeps/unix/sysv/utsnamelen.h: Likewise.
5831         * sysdeps/generic/waitstatus.h: -> bits/
5832         * sysdeps/i386/huge_val.h: -> bits/
5833         * sysdeps/ieee754/huge_val.h: Likewise.
5834         * sysdeps/m68k/huge_val.h: Likewise.
5835         * sysdeps/stub/huge_val.h: Likewise.
5836         * sysdeps/vax/huge_val.h: Likewise.
5837         * sysdeps/ieee754/nan.h: Likewise.
5838         * sysdeps/stub/nan.h: Likewise.
5839         * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
5840         * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
5841         * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
5842         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
5843         * sysdeps/stub/sigcontext.h: Likewise.
5844         * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
5845         * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
5846         * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
5847         * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
5848         * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
5849         * sysdeps/standalone/arm/errnos.h: Likewise.
5850         * sysdeps/stub/errnos.h: Likewise.
5851         * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
5852         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
5853         * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
5854         * sysdeps/stub/fcntlbits.h: Likewise.
5855         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
5856         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
5857         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
5858         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
5859         * sysdeps/unix/common/fcntlbits.h: Likewise.
5860         * sysdeps/unix/sysv/fcntlbits.h: Likewise.
5861         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
5862         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
5863         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
5864         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
5865         * sysdeps/mach/hurd/ioctls.h: -> bits/
5866         * sysdeps/stub/ioctls.h: Likewise.
5867         * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
5868         * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
5869         * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
5870         * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
5871         * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
5872         * sysdeps/stub/statbuf.h: Likewise.
5873         * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
5874         * sysdeps/unix/bsd/statbuf.h: Likewise.
5875         * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
5876         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
5877         * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
5878         * sysdeps/unix/sysv/statbuf.h: Likewise.
5879         * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
5880         * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
5881         * sysdeps/standalone/stdio_lim.h: -> bits/
5882         * sysdeps/stub/stdio_lim.h: Likewise.
5883         * sysdeps/stub/direntry.h: -> ../bits/dirent.h
5884         * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
5885         * sysdeps/unix/bsd/direntry.h: Likewise.
5886         * sysdeps/unix/common/direntry.h: Likewise.
5887         * sysdeps/unix/sysv/direntry.h: Likewise.
5888         * sysdeps/unix/sysv/linux/direntry.h: Likewise.
5889         * sysdeps/stub/elfclass.h: -> bits/
5890         * sysdeps/wordsize-32/elfclass.h: Likewise.
5891         * sysdeps/wordsize-64/elfclass.h: Likewise.
5892         * sysdeps/stub/signum.h: -> bits/
5893         * sysdeps/unix/bsd/signum.h: Likewise.
5894         * sysdeps/unix/bsd/sun/signum.h: Likewise.
5895         * sysdeps/unix/sysv/irix4/signum.h: Likewise.
5896         * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
5897         * sysdeps/unix/sysv/linux/signum.h: Likewise.
5898         * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
5899         * sysdeps/unix/sysv/signum.h: Likewise.
5900         * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
5901         * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
5902         * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
5903         * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
5904         * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
5905         * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
5906         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
5907         * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
5908         * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
5909         * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
5910         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
5911         * sysdeps/stub/timebits.h: -> .../bits/time.h
5912         * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
5913         * sysdeps/unix/sysv/linux/timebits.h: Likewise.
5914         * sysdeps/stub/waitflags.h: -> bits/
5915         * sysdeps/unix/bsd/waitflags.h: Likewise.
5916         * sysdeps/unix/sysv/linux/waitflags.h: Likewise.
5917         * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
5918         * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
5919         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
5920         * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
5921         * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
5923         * argp/argp-fmtstream.h: Standardize the multiple-include protect.
5924         * argp/argp.h: Likewise.
5925         * catgets/nl_types.h: Likewise.
5926         * crypt/sysdeps/unix/crypt.h: Likewise.
5927         * ctype/ctype.h: Likewise.
5928         * db/db.h: Likewise.
5929         * db/mpool.h: Likewise.
5930         * db/ndbm.h: Likewise.
5931         * dirent/dirent.h: Likewise.
5932         * elf/dlfcn.h: Likewise.
5933         * elf/elf.h: Likewise.
5934         * elf/link.h: Likewise.
5935         * gmon/sys/gmon.h: Likewise.
5936         * gmon/sys/gmon_out.h: Likewise.
5937         * grp/grp.h: Likewise.
5938         * inet/aliases.h: Likewise.
5939         * inet/arpa/ftp.h: Likewise.
5940         * inet/arpa/inet.h: Likewise.
5941         * inet/arpa/telnet.h: Likewise.
5942         * inet/arpa/tftp.h: Likewise.
5943         * inet/netinet/ether.h: Likewise.
5944         * inet/netinet/icmp6.h: Likewise.
5945         * inet/netinet/in.h: Likewise.
5946         * inet/netinet/ip6.h: Likewise.
5947         * inet/protocols/routed.h: Likewise.
5948         * inet/protocols/rwhod.h: Likewise.
5949         * inet/protocols/talkd.h: Likewise.
5950         * inet/protocols/timed.h: Likewise.
5951         * intl/libintl.h: Likewise.
5952         * io/fcntl.h: Likewise.
5953         * io/fts.h: Likewise.
5954         * io/ftw.h: Likewise.
5955         * io/sys/poll.h: Likewise.
5956         * io/sys/stat.h: Likewise.
5957         * io/sys/statfs.h: Likewise.
5958         * io/utime.h: Likewise.
5959         * locale/locale.h: Likewise.
5960         * login/pty.h: Likewise.
5961         * login/utmp.h: Likewise.
5962         * malloc/malloc.h: Likewise.
5963         * malloc/obstack.h: Likewise.
5964         * math/complex.h: Likewise.
5965         * math/fenv.h: Likewise.
5966         * math/math.h: Likewise.
5967         * md5-crypt/md5.h: Likewise.
5968         * misc/ar.h: Likewise.
5969         * misc/err.h: Likewise.
5970         * misc/error.h: Likewise.
5971         * misc/fstab.h: Likewise.
5972         * misc/libgen.h: Likewise.
5973         * misc/nlist.h: Likewise.
5974         * misc/sys/cdefs.h: Likewise.
5975         * misc/sys/file.h: Likewise.
5976         * misc/sys/ioctl.h: Likewise.
5977         * misc/sys/queue.h: Likewise.
5978         * misc/sys/select.h: Likewise.
5979         * misc/sys/syslog.h: Likewise.
5980         * misc/sys/uio.h: Likewise.
5981         * misc/sysexits.h: Likewise.
5982         * misc/ttyent.h: Likewise.
5983         * nss/nss.h: Likewise.
5984         * posix/fnmatch.h: Likewise.
5985         * posix/getopt.h: Likewise.
5986         * posix/glob.h: Likewise.
5987         * posix/regex.h: Likewise.
5988         * posix/sys/times.h: Likewise.
5989         * posix/sys/types.h: Likewise.
5990         * posix/sys/utsname.h: Likewise.
5991         * posix/sys/wait.h: Likewise.
5992         * posix/tar.h: Likewise.
5993         * posix/unistd.h: Likewise.
5994         * posix/wordexp.h: Likewise.
5995         * pwd/pwd.h: Likewise.
5996         * resolv/arpa/nameser.h: Likewise.
5997         * resolv/netdb.h: Likewise.
5998         * resolv/resolv.h: Likewise.
5999         * resource/sys/resource.h: Likewise.
6000         * resource/sys/vlimit.h: Likewise.
6001         * resource/sys/vtimes.h: Likewise.
6002         * setjmp/setjmp.h: Likewise.
6003         * shadow/shadow.h: Likewise.
6004         * socket/sys/socket.h: Likewise.
6005         * socket/sys/un.h: Likewise.
6006         * stdlib/exit.h: Likewise.
6007         * stdlib/fmtmsg.h: Likewise.
6008         * stdlib/monetary.h: Likewise.
6009         * stdlib/stdlib.h: Likewise.
6010         * string/argz.h: Likewise.
6011         * string/envz.h: Likewise.
6012         * string/memory.h: Likewise.
6013         * string/string.h: Likewise.
6014         * string/strings.h: Likewise.
6015         * sunrpc/rpc/rpc.h: Likewise.
6016         * sunrpc/rpc/svc.h: Likewise.
6017         * sunrpc/rpc/types.h: Likewise.
6018         * sunrpc/rpc/xdr.h: Likewise.
6019         * termios/sys/ttychars.h: Likewise.
6020         * termios/termios.h: Likewise.
6022         * argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
6023         * crypt/sysdeps/unix/crypt_util.c: Likewise.
6024         * dirent/dirent.h: Likewise.
6025         * elf/link.h: Likewise.
6026         * grp/fgetgrent.c: Likewise.
6027         * grp/grp.h: Likewise.
6028         * hurd/hurd/ioctl.h: Likewise.
6029         * inet/getnameinfo.c: Likewise.
6030         * inet/getnetgrent_r.c: Likewise.
6031         * inet/inet_ntoa.c: Likewise.
6032         * inet/netinet/in.h: Likewise.
6033         * io/fcntl.h: Likewise.
6034         * io/ftw.h: Likewise.
6035         * io/sys/stat.h: Likewise.
6036         * io/sys/statfs.h: Likewise.
6037         * io/utime.h: Likewise.
6038         * libio/_G_config.h: Likewise.
6039         * libio/libio.h: Likewise.
6040         * libio/libioP.h: Likewise.
6041         * libio/stdio.h: Likewise.
6042         * locale/duplocale.c: Likewise.
6043         * locale/freelocale.c: Likewise.
6044         * locale/lc-time.c: Likewise.
6045         * locale/setlocale.c: Likewise.
6046         * login/getutent_r.c: Likewise.
6047         * login/getutid_r.c: Likewise.
6048         * login/getutline_r.c: Likewise.
6049         * login/lastlog.h: Likewise.
6050         * login/pty.h: Likewise.
6051         * login/utmp.h: Likewise.
6052         * login/utmpname.c: Likewise.
6053         * malloc/mtrace.c: Likewise.
6054         * malloc/thread-m.h: Likewise.
6055         * math/complex.h: Likewise.
6056         * math/fenv.h: Likewise.
6057         * math/libm-test.c: Likewise.
6058         * math/math.h: Likewise.
6059         * misc/sgtty.h: Likewise.
6060         * misc/stab.h: Likewise.
6061         * misc/sys/ioctl.h: Likewise.
6062         * misc/sys/select.h: Likewise.
6063         * misc/sys/uio.h: Likewise.
6064         * misc/sys/ustat.h: Likewise.
6065         * misc/syslog.c: Likewise.
6066         * nis/nss_compat/compat-grp.c: Likewise.
6067         * nis/nss_compat/compat-pwd.c: Likewise.
6068         * nis/nss_compat/compat-spwd.c: Likewise.
6069         * nis/nss_nis/nis-alias.c: Likewise.
6070         * nis/nss_nis/nis-ethers.c: Likewise.
6071         * nis/nss_nis/nis-grp.c: Likewise.
6072         * nis/nss_nis/nis-hosts.c: Likewise.
6073         * nis/nss_nis/nis-netgrp.c: Likewise.
6074         * nis/nss_nis/nis-network.c: Likewise.
6075         * nis/nss_nis/nis-proto.c: Likewise.
6076         * nis/nss_nis/nis-publickey.c: Likewise.
6077         * nis/nss_nis/nis-pwd.c: Likewise.
6078         * nis/nss_nis/nis-rpc.c: Likewise.
6079         * nis/nss_nis/nis-service.c: Likewise.
6080         * nis/nss_nis/nis-spwd.c: Likewise.
6081         * nss_nisplus/nisplus-alias.c: Likewise.
6082         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6083         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6084         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6085         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6086         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6087         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6088         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6089         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6090         * nis/nss_nisplus/nisplus-service.c: Likewise.
6091         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6092         * nis/ypclnt.c: Likewise.
6093         * nss/getXXbyYY.c: Likewise.
6094         * nss/getXXent.c: Likewise.
6095         * nss/getXXent_r.c: Likewise.
6096         * nss/nss_db/db-XXX.c: Likewise.
6097         * nss/nss_db/db-alias.c: Likewise.
6098         * nss/nss_db/db-netgrp.c: Likewise.
6099         * nss/nss_files/files-XXX.c: Likewise.
6100         * nss/nss_files/files-alias.c: Likewise.
6101         * nss/nsswitch.c: Likewise.
6102         * posix/sched.h: Likewise.
6103         * posix/sys/types.h: Likewise.
6104         * posix/sys/utsname.h: Likewise.
6105         * posix/sys/wait.h: Likewise.
6106         * posix/unistd.h: Likewise.
6107         * pwd/fgetpwent.c: Likewise.
6108         * pwd/pwd.h: Likewise.
6109         * resource/sys/resource.h: Likewise.
6110         * setjmp/setjmp.h: Likewise.
6111         * shadow/fgetspent.c: Likewise.
6112         * shadow/lckpwdf.c: Likewise.
6113         * shadow/sgetspent.c: Likewise.
6114         * signal/signal.h: Likewise.
6115         * signal/sigsetops.c: Likewise.
6116         * socket/sys/socket.h: Likewise.
6117         * socket/sys/un.h: Likewise.
6118         * stdio/stdio.h: Likewise.
6119         * stdio-common/vfprintf.c: Likewise.
6120         * stdio-common/vfscanf.c: Likewise.
6121         * stdlib/atexit.c: Likewise.
6122         * stdlib/fmtmsg.c: Likewise.
6123         * stdlib/random.c: Likewise.
6124         * string/endian.h: Likewise.
6125         * sysdeps/alpha/w_sqrt.S: Likewise.
6126         * sysdeps/arm/__longjmp.S: Likewise.
6127         * sysdeps/arm/setjmp.S: Likewise.
6128         * sysdeps/generic/abort.c: Likewise.
6129         * sysdeps/generic/netinet/ip.h: Likewise.
6130         * sysdeps/generic/setenv.c: Likewise.
6131         * generic/sys/mman.h: Likewise.
6132         * sysdeps/i386/__longjmp.S: Likewise.
6133         * sysdeps/i386/setjmp.S: Likewise.
6134         * sysdeps/mach/hurd/dirstream.h: Likewise.
6135         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
6136         * sysdeps/posix/mk-stdiolim.c: Likewise.
6137         * sysdeps/powerpc/__longjmp.S: Likewise.
6138         * sysdeps/powerpc/setjmp.S: Likewise.
6139         * sysdeps/sparc/__longjmp.S: Likewise.
6140         * sysdeps/sparc/setjmp.S: Likewise.
6141         * sysdeps/standalone/close.c: Likewise.
6142         * sysdeps/standalone/filedesc.h: Likewise.
6143         * sysdeps/standalone/open.c: Likewise.
6144         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
6145         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
6146         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
6147         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
6148         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
6149         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
6150         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
6151         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
6152         * sysdeps/unix/dirstream.h: Likewise.
6153         * sysdeps/unix/i386/sysdep.S: Likewise.
6154         * sysdeps/unix/mips/sysdep.S: Likewise.
6155         * sysdeps/unix/mk-local_lim.c: Likewise.
6156         * sysdeps/unix/sparc/sysdep.S: Likewise.
6157         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
6158         * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
6159         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6160         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6161         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6162         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6163         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
6164         * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
6165         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
6166         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6167         * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
6168         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
6169         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
6170         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
6171         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
6172         * sysvipc/sys/ipc.h: Likewise.
6173         * sysvipc/sys/msg.h: Likewise.
6174         * sysvipc/sys/sem.h: Likewise.
6175         * sysvipc/sys/shm.h: Likewise.
6176         * termios/termios.h: Likewise.
6177         * time/localtime.c: Likewise.
6178         * time/sys/time.h: Likewise.
6179         * time/time.h: Likewise.
6180         * time/tzset.c: Likewise.
6182         * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
6183         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6184         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6185         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6186         * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
6188         * Makefile (headers): foo.h -> bits/foo.h.
6189         * dirent/Makefile: Likewise.
6190         * elf/Makefile: Likewise.
6191         * io/Makefile: Likewise.
6192         * login/Makefile: Likewise.
6193         * math/Makefile: Likewise.
6194         * misc/Makefile: Likewise.
6195         * posix/Makefile: Likewise.
6196         * resource/Makefile: Likewise.
6197         * setjmp/Makefile: Likewise.
6198         * signal/Makefile: Likewise.
6199         * socket/Makefile: Likewise.
6200         * stdio-common/Makefile: Likewise.
6201         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6202         * sysvipc/Makefile: Likewise.
6203         * termios/Makefile: Likewise.
6204         * time/Makefile: Likewise.
6205         * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
6206         * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
6207         * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
6208         ioctls.h, termbits.h.
6210         * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
6211         -> kernel_termios.h, sys/socketcall.h -> socketcall.h
6213         * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
6214         for getting the proper length on the ELF types to be friendly to
6215         non-gcc compilers.
6216         * posix/sys/types.h: Notice when int8_t and friends are defined
6217         and don't redefine them.
6218         * sysdeps/wordsize-32/inttypes.h: Likewise.
6219         * sysdeps/wordsize-64/inttypes.h: Likewise.
6221         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
6222         via <signal.h> instead.
6223         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
6224         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
6226 1997-06-20 17:59  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
6228         * hurd/intr-msg.c: More 64bit changes.
6229         * mach/msg-destroy.c: Likewise.
6230         * sysdeps/mach/hurd/ioctl.c: Likewise.
6231         * sysdeps/mach/hurd/ioctls.h: Likewise.
6232         * sysdeps/mach/hurd/select.c: Likewise.
6233         * sysdeps/mach/hurd/statbuf.h: Likewise.
6235         * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
6236         * sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
6237         * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
6238         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
6239         * sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
6240         * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
6241         * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
6242         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
6243         * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
6244         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
6245         * sysdeps/mach/mips/cacheflush.c: Likewise.
6246         * sysdeps/mach/mips/machine-lock.h: Likewise.
6247         * sysdeps/mach/mips/machine-sp.h: Likewise.
6248         * sysdeps/mach/mips/syscall.S: Likewise.
6249         * sysdeps/mach/mips/sysdep.h: Likewise.
6250         * sysdeps/mach/mips/thread_state.h: Likewise.
6251         * sysdeps/mach/start.c: Likewise.
6253         * sysdeps/mips/dl-machine.h: MIPS changes.
6254         * sysdeps/mips/elf/start.S: Likewise.
6255         * sysdeps/mips/init-first.c: Likewise.
6256         * sysdeps/mips/fpu_control.h: Likewise.
6257         * sysdeps/mips/machine-gmon.h: Likewise.
6258         * sysdeps/mips/jmp_buf.h: Likewise.
6259         * sysdeps/mips/__longjmp.c: Likewise.
6260         * sysdeps/mips/bsd-_setjmp.S: Likewise.
6261         * sysdeps/mips/bsd-setjmp.S: Likewise.
6262         * sysdeps/mips/setjmp.S: Likewise.
6263         * sysdeps/mips/setjmp_aux.c: Likewise.
6264         * sysdeps/mips/mips64/gmp-mparam.h: Likewise.
6265         * sysdeps/mips/add_n.S: New file.
6266         * sysdeps/mips/addmul_1.S: Likewise.
6267         * sysdeps/mips/lshift.S: Likewise.
6268         * sysdeps/mips/mul_1.S: Likewise.
6269         * sysdeps/mips/rshift.S: Likewise.
6270         * sysdeps/mips/sub_n.S: Likewise.
6271         * sysdeps/mips/submul_1.S: Likewise.
6272         * sysdeps/mips/mips64/Implies: Likewise.
6273         * sysdeps/mips/mips64/add_n.S: Likewise.
6274         * sysdeps/mips/mips64/addmul_1.S: Likewise.
6275         * sysdeps/mips/mips64/lshift.S: Likewise.
6276         * sysdeps/mips/mips64/mul_1.S: Likewise.
6277         * sysdeps/mips/mips64/rshift.S: Likewise.
6278         * sysdeps/mips/mips64/sub_n.S: Likewise.
6279         * sysdeps/mips/mips64/submul_1.S: Likewise.
6280         * sysdeps/mips/add_n.S: Removed.
6281         * sysdeps/mips/addmul_1.S: Likewise.
6282         * sysdeps/mips/lshift.S: Likewise.
6283         * sysdeps/mips/mul_1.S: Likewise.
6284         * sysdeps/mips/rshift.S: Likewise.
6285         * sysdeps/mips/sub_n.S: Likewise.
6286         * sysdeps/mips/submul_1.S: Likewise.
6288         * nss/Makefile: Prepare for static NSS.
6289         * resolv/Makefile: Likewise.
6290         * nss/nsswitch.c: Add code for static NSS.
6291         * nss/function.def: Define functions for static NSS.
6293 1997-06-19 11:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6295         * libc.map: Add yet more symbols.
6297 1997-06-19 20:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6299         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
6300         as object name to _dl_signal_error.
6301         (do_lookup): Skip objects that could not be opened.
6303         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
6304         symbol was found.
6305         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6306         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
6308 1997-06-20 03:13  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
6310         * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
6311         assumed.
6312         * ctype/ctype.h: Likewise.
6313         * math/math_private.h: Likewise.
6314         * inet/netinet/in.h: Likewise.
6315         * wctype/wctype.h: Likewise.
6317         * nss/Makefile: Only inhibit nss_files and nss_db modules if static
6318         NSS modules are not enabled.
6319         * resolv/Makefile: Likewise for nss_dns.
6320         * nss/function.def: New file.  List all available lookup functions
6321         for static NSS.
6322         * nss/nsswitch.c: Add code for static NSS.
6324 1997-06-15 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6326         * math/libm-test.c (gamma_test): Test for _SVID_ and for normal
6327         behaviour.
6329 1997-06-15 20:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6331         * math/libm.map: Add all necessary functions, correct existing entries.
6333 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
6335         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
6337 1997-06-19 18:43  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6339         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
6340         Compare pointer with NULL.
6342         * login/logout.c (logout): Compare pututline result with NULL.
6344 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
6346         * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__.
6348         * elf/dl-minimal.c (__dcgettext): Remove assertion.
6350         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
6352         * manual/Makefile (distribute): Add dir.
6353         * manual/dir: New file.
6355         * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll,
6356         s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround,
6357         and s_llround respectively.
6358         (libm-calls): Add e_gamma_r.
6359         * math/libm-test.c (check_int_exc): New function.
6360         (signbit_test): Remove test for sign of NaN.
6361         (gamma_test): Clear exception after test of existence.
6362         Correct tests and and epsilons.
6363         (lgamma_test): Likewise.
6364         (ilogb_test): Correct all tests.
6365         (scalb_test): Rewrite.
6366         (rinttol_test): Rename to lrint_test and correct tests.
6367         (rinttoll_test): Likewise.
6368         (roundtol_test): Likewise.
6369         (roundtoll_test): Likewise.
6370         (main): Call lrint/lround functions instead of rinttol/roundtol.
6371         * math/math.h: Change prototypes for rinttol/roundtol.
6372         * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft.
6373         * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN.
6374         * sysdeps/i386/mathbits.h: Likewise.
6375         * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly.
6376         * sysdeps/libm-i387/e_scalbf.S: Likewise.
6377         * sysdeps/libm-i387/e_scalbl.S: Likewise.
6378         * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly.
6379         * sysdeps/libm-i387/s_asinhf.S: Likewise.
6380         * sysdeps/libm-i387/s_asinhl.S: Likewise.
6381         * sysdeps/libm-i387/s_ilogb.S: Optimize.
6382         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
6383         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
6384         * sysdeps/libm-i387/s_rinttol.S: Rename to...
6385         * sysdeps/libm-i387/s_lrint.S: ...this.
6386         * sysdeps/libm-i387/s_rinttoll.S: Rename to...
6387         * sysdeps/libm-i387/s_llrint.S: ...this.
6388         * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder.
6389         * sysdeps/libm-i387/s_remquof.S: Likewise.
6390         * sysdeps/libm-i387/s_remquol.S: Likewise.
6391         * sysdeps/libm-i387/e_gamma_r.c: New file.  Implementation of gamma
6392         function according to ISO C.
6393         * sysdeps/libm-i387/e_gammaf_r.c: New file.
6394         * sysdeps/libm-i387/e_gammal_r.c: New file.
6395         * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the
6396         generation of exceptions away.
6397         * sysdeps/libm-i387/e_lgammaf_r.c: Likewise.
6398         * sysdeps/libm-i387/k_standard.c: Correct return value for infinity
6399         points of gamma function when not SVID mode.
6400         * sysdeps/libm-i387/s_rinttoll.c: Renamed to...
6401         * sysdeps/libm-i387/s_llrint.c: ...this.
6402         * sysdeps/libm-i387/s_rinttol.c: Renamed to...
6403         * sysdeps/libm-i387/s_lrint.c: ...this.
6404         * sysdeps/libm-i387/s_roundtoll.c: Renamed to...
6405         * sysdeps/libm-i387/s_llround.c: ...this.
6406         * sysdeps/libm-i387/s_roundtol.c: Renamed to...
6407         * sysdeps/libm-i387/s_lround.c: ..this.
6408         * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to
6409         ISO C.
6410         * sysdeps/libm-i387/s_scalbnf.c: Likewise.
6411         * sysdeps/libm-i387/s_scalbnl.c: Likewise.
6412         * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library
6413         mode is not _SVID_.
6414         * sysdeps/libm-i387/w_gammaf.c: Likewise.
6415         * sysdeps/libm-i387/w_gammal.c: Likewise.
6416         * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and
6417         rinttol to lrint.
6418         * sysdeps/m68k/fpu/s_rinttol.c: Renamed to...
6419         * sysdeps/m68k/fpu/s_lrint.c: ...this.
6420         * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to...
6421         * sysdeps/m68k/fpu/s_llrint.c: ...this.
6423         * md5-crypt/Makefile: Link md5test program with md5.o.
6425         * stdio-common/temptest.c: Don't use __stdio_gen_tempname which
6426         is not exported by the libc.so.
6428         * stdio-common/vfscanf.c: Correct scanning of strings after last
6429         change.
6431         * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno.
6433 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
6435         * time/tzfile.c (__tzfile_read): Store getc () return in int.
6437 1997-06-13  Miles Bader  <miles@gnu.ai.mit.edu>
6439         * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in
6440         the no-version error text to indicate that something's fucked.
6441         [!_] (N_): New macro.
6442         (argp_default_options, argp_version_options): Wrap doc strings in N_().
6444 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
6446         * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled
6447         options here.
6448         (parser_parse_arg): Handle ARGP_KEY_ARGS here.
6449         Adjust NEXT pointer back if we fail to parse anything.
6450         (parser_parse_next): Simplify arg code.  Leave state NEXT frobbing
6451         to parser_parse_arg.
6453 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
6455         * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros.
6456         * argp/argp-parse.c (parser_finalize): Do another pass over the
6457         parsers with ARGP_KEY_FINI.
6459 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
6461         * string/Makefile (routines): Add argz-replace.
6463 1997-06-16 00:16  Miles Bader  <miles@gnu.ai.mit.edu>
6465         * manual/string.texi (Argz Functions): Document argz_replace.
6467 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
6469         * string/argz.h (__argz_replace, argz_replace): New declarations.
6470         * string/argz-replace.c: New file.
6472 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
6474         * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS.
6476 1997-06-16 23:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6478         * Makeconfig (libc-map): Remove definition.
6479         * Makerules (libc-map): Define it here, using the full name.
6480         (load-map-file): Remove case for empty $(..).
6481         ($(common-objpfx)libc.so): Revert last change.
6483 1997-06-17 22:18  Mark Kettenis  <kettenis@phys.uva.nl>
6485         * login/programs/utmpd.c (main): Improve signal handling.
6487         * login/programs/request.c (do_setutent, do_updwtmp):
6488         Allow arbitrary length filenames.
6489         * login/programs/utmpd.h (setutent_request, updwtmp_request):
6490         Get rid of fixed length file field.
6491         * login/utmp_daemon.c (do_setutent, do_updwtmp):
6492         Allow arbitrary length filenames.
6494         * login/programs/request.c (do_pututline):
6495         Don't fail if connection->position is -1 on entry.
6497 1997-06-15 16:32  Mark Kettenis  <kettenis@phys.uva.nl>
6499         * login/utmp_file.c (updwtmp_file): Use the same method for
6500         appending an entry as in pututline_file.
6502 1997-06-11 18:59  Mark Kettenis  <kettenis@phys.uva.nl>
6504         * login/utmp_file.c (getutent_r_file):
6505         Use read lock instead of write lock.
6506         (getutline_r_file, internal_getut_r): Lock utmp file.
6507         (updwtmp_file): Use fcntl to lock file instead of flock.
6509 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6511         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
6512         character read in/put back.
6513         * stdio-common/tstscanf.c: Add test case for this.
6515 1997-06-17 22:17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6517         * libc.map: Add more symbols.
6519 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
6521         * manual/Makefile (install): Make sure `dir' file exists if we use
6522         install-info.
6524 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6526         * manual/Makefile (info): Depend on dir-add.info.
6528 1997-06-17 17:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6530         * elf/ldd.bash.in: Fix spacing in message.
6532 1997-06-17 14:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6534         * elf/do-rel.h (elf_dynamic_do_rel): Always use version
6535         information if available.
6537 1997-06-17 11:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6539         * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make
6540         command non-empty to force make to recheck modification time.
6541         ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise.
6543 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6545         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
6546         * sysdeps/stub/e_acosl.c: Likewise.
6547         * sysdeps/stub/e_asinl.c: Likewise.
6548         * sysdeps/stub/e_atan2l.c: Likewise.
6549         * sysdeps/stub/e_expl.c: Likewise.
6550         * sysdeps/stub/e_fmodl.c: Likewise.
6551         * sysdeps/stub/e_j0l.c: Likewise.
6552         * sysdeps/stub/e_j1l.c: Likewise.
6553         * sysdeps/stub/e_jnl.c: Likewise.
6554         * sysdeps/stub/e_lgammal_r.c: Likewise.
6555         * sysdeps/stub/e_log10l.c: Likewise.
6556         * sysdeps/stub/e_logl.c: Likewise.
6557         * sysdeps/stub/e_powl.c: Likewise.
6558         * sysdeps/stub/e_rem_pio2l.c: Likewise.
6559         * sysdeps/stub/e_sqrtl.c: Likewise.
6560         * sysdeps/stub/k_cosl.c: Likewise.
6561         * sysdeps/stub/k_rem_pio2l.c: Likewise.
6562         * sysdeps/stub/k_sinl.c: Likewise.
6563         * sysdeps/stub/k_tanl.c: Likewise.
6564         * sysdeps/stub/s_atanl.c: Likewise.
6565         * sysdeps/stub/s_erfl.c: Likewise.
6566         * sysdeps/stub/s_exp2.c: Likewise.
6567         * sysdeps/stub/s_exp2f.c: Likewise.
6568         * sysdeps/stub/s_exp2l.c: Likewise.
6569         * sysdeps/stub/s_expm1l.c: Likewise.
6570         * sysdeps/stub/s_log1pl.c: Likewise.
6571         * sysdeps/stub/s_log2l.c: Likewise.
6573 1997-06-18 11:46  Ulrich Drepper  <drepper@cygnus.com>
6575         * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute
6576         result as before last change.
6577         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6578         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
6580 1997-06-16 23:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6582         * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing
6583         quotient.
6584         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
6585         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
6587         * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for
6588         quotient.
6590         * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp
6591         function.  Don't use global signgam.
6592         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6593         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
6595         * math/Makefile (libm-calls): Remove w_gamma_r.
6596         * sysdeps/libm-ieee754/w_gamma_r.c: Remove file.
6597         * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file.
6598         * sysdeps/libm-ieee754/w_gammal_r.c: Remove file.
6600         * math/libm-test.c (atanh_test): Declare x only if needed.
6601         (signbit_test): Fix typo.
6602         (gamma_test): Check whether function is implemented.  Add
6603         epsilons.
6604         (lgamma_test): Likewise.
6605         (fmod_test): Add epsilons.
6606         (exp2_test): Use right function for existence test.
6608 1997-06-07 09:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6610         * sysdeps/powerpc/Dist: Add fenv_const.c.
6611         * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h.
6612         * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and
6613         syscall.h.
6614         * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h.
6615         * string/Makefile (distribute): Add tst-svc.expect.
6616         * nis/Makefile (distribute): Add nis_intern.h and Banner.
6617         * elf/Makefile (distribute): Add dl-hash.h.
6618         * Rules (subdir_echo-distinfo): Add headers from $(distribute).
6620         * login/Makefile (others): Add utmpdump.
6621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6622         net/if_slip.h.
6624         * manual/Makefile (dir-add.texi): Also look in indirectly included
6625         files.
6627 1997-06-16 23:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6629         * sysdeps/unix/sysv/linux/configure.in: Remove commands to
6630         generate stdio_lim.h.
6631         * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove.
6632         * sysdeps/unix/sysv/linux/Makefile: Add rules to generate
6633         stdio_lim.h here.
6634         (common-generated): Add generated files.
6635         (inhibit-stdio_lim): Define.
6636         * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules
6637         to generate stdio_lim.h.
6639         * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of
6640         dependecy files if no_deps is set.
6641         ($(objpfx)syscall-%.d): Add header file as target to dependency
6642         generation.
6644 1997-06-14 19:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6646         * sysdeps/unix/sysv/linux/arm/Dist: New file.
6648 1997-06-14 17:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6650         * extra-lib.mk (others): Depend on versioned shared library, not
6651         the unversioned one.
6652         * Makerules (build-shlib): Don't make the version link here.
6653         ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc
6654         version link.
6656 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
6658         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
6659         01:13:56 1996.
6661 1997-06-16 00:54  Ulrich Drepper  <drepper@cygnus.com>
6663         * libc.map: Add more symbols.
6665         * Makerules (load-map-file): Currectly handle missing map file.
6667 1997-06-15 17:00  Philip Blundell  <Philip.Blundell@pobox.com>
6669         * configure.in: Correct detection of generic uname implementation.
6671 1997-06-15 23:19  Ulrich Drepper  <drepper@cygnus.com>
6673         * math/libm-test.c: Fix typos.  Patch by Andreas Jaeger.
6675         * libc.map: Add __nss_configure_lookup.  Reported by Thorsten Kukuk.
6677 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
6679         * Makeconfig: Define libc-map here.
6680         * Makefile: And remove definition here.
6681         * Makerules (load-map-file): Handle case where map file is in
6682         other directory.
6683         (build-shlib): Likewise.
6685         * libc.map: Add more symbols.
6686         * resolv/libresolv.map: Likewise.
6688         * db/libdb.map: Add __dbopen.  Patch by HJ Lu.
6690         * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf.
6692         * locale/programs/localedef.c: Add normalize_codeset function.  We
6693         don't want to use the _nl_normalize_codeset functions from libc.
6695         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
6696         * sysdeps/libm-i387/s_asinhf.S: Likewise.
6697         * sysdeps/libm-i387/s_asinhl.S: Likewise.
6698         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
6699         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
6700         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
6702 1997-06-14 12:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6704         * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent.
6706         * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent.
6708         * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix
6709         _nss_nisplus_gethostbyaddr_r interface.
6711         * nis/libnsl.map: Add all GLOBAL functions.
6713 1997-06-13 18:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6715         * libm-test.c   (main): Call new tests, reorder tests.
6716         (fmod_test): Test function fmod.
6717         (nearbyint_test): Test function nearbyint.
6718         (acos_test): Add more test cases.
6719         (signbit_test): Test macro signbit.
6720         (output_result_bool): Output result if test fails.
6721         (asin_test): Add another test case.
6722         (atan2_test): Add more tests.
6723         (asinh_test): Add more tests.
6724         (atanh_test): Add more tests.
6725         (hypot_test): Add more tests.
6726         (isfinite_test): Test macro isfinite.
6727         (isnormal_test): Test macro isnormal.
6728         (sincos_test): Tests for sincos.
6729         (main): Enable remquo_test since the tests are
6730         correct (according to ANSI/IEEE 754-1985).
6731         (remquo_test): Corrected tests cases and added more tests.
6732         (remainder_test): Tests for remainder.
6733         (check_int): New Function to compare int values.
6734         (check_isnan_exc_ext): New function.
6735         (sqrt_test): Add some extra tests for sqrt.
6736         (erf_test): Tests for erf.
6737         (erfc_test): Tests for erfc.
6738         (gamma_test): Tests for gamma.
6739         (lgamma_test): Tests for lgamma.
6741 1997-06-08 10:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
6743         * sysdeps/unix/sysv/linux/configure.in: Try to generate
6744         stdio_lim.h using the target C preprocessor and mk-stdiolim.c.
6745         * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for
6746         stdio_lim.h.
6747         * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the
6748         target C preprocessor to extract OPEN_MAX and PATH_MAX.
6750 1997-06-14 17:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6752         * math/libm.map: Add inline functions, global variables.
6754 1997-06-14 00:39  Ulrich Drepper  <drepper@cygnus.com>
6756         * libc.map: Add more libio functions which are used in libio.h.
6758         * login/Makefile (libutil-routines): Move updwtmp to ...
6759         (routines): ...here.
6760         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
6762         * sysdeps/stub/s_erfl.c: Add stub definition of erfcl.
6763         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
6765 1997-06-13 21:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6767         * nis/nis_add.c (nis_add): Create object name only if not set.
6769         * nis/nis_clone.c: Use calloc instead of malloc to prevent
6770         RPC encode errors.
6772         * nis/nis_modify.c (nis_modify): Create default object entrys if
6773         given are NULL.
6774         * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise.
6776 1997-06-13 14:17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6779         * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the
6780         define might also replace the expanded macro ASM_SIZE_DIRECTIVE.
6781         * sysdeps/i386/submul_1.S: Likewise.
6783 1997-06-13 12:19  Ulrich Drepper  <drepper@cygnus.com>
6785         * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT
6786         and LD_VERBOSE are given.
6788         * elf/ldd.sh.in: Add -v|--verbose option.  Add author information
6789         as per Coding Standard.
6790         * elf/ldd.bash.in: Likewise.
6792 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
6794         * Makefile (libc-map): Define before including Makerules.
6795         * Makerules (lib%.so): Depend on $(lib%-map).
6796         (build-shlib): Adapt rule for above change.
6797         (libc.so): Depend on $(libc-map).
6798         * db/Makefile (libcdb-map): New definition.
6799         * elf/Makefile (libdl-map): New definition.
6800         * elf/dl-lookup.c: Don't use relative include path.
6801         (undefined_msg): New variable.  Use single string in all functions.
6802         (do_lookup): Correctly recognize default version.
6803         Return -2 if no version information is available.
6804         Stop processing hash entries when string was found.
6805         Don't bark about missing versioned symbol in file with original
6806         reference if it is a weak symbol.
6807         (_dl_lookup_symbol): Use undefined_msg.
6808         (_dl_lookup_versioned_symbol): Likewise.
6809         Give extra information if no verdef info is available.
6810         * elf/dl-version.c (file_needed): Remove first argument.  We must
6811         seek in the whole search list.
6812         (match_symbol): Correct check for available verdef info.
6813         (_dl_check_map_versions): Correct call of find_needed.
6814         * locale/Makefile (libBrokenLocale-map): New definition.
6815         * login/Makefile (libutil-map): New definition.
6816         * math/Makefile (libm-map): New definition.
6817         * md5-crypt/Makefile (libcrypt-map): New definition.
6818         * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map,
6819         libnss_nisplus-map): New definition.
6820         * nss/Makefile (libnss_files-map, libnss_db-map): New definitions.
6821         * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions.
6822         * libc.map: New file.
6823         * db/libdb.map: New file.
6824         * elf/libdl.map: New file.
6825         * locale/libBrokenLocale.map: New file.
6826         * login/libutil.map: New file.
6827         * math/libm.map: New file.
6828         * md5-crypt/libcrypt.map: New file.
6829         * nis/libnss_compat.map: New file.
6830         * nis/libnsl.map: New file.
6831         * nis/libnss_nis.map: New file.
6832         * nis/libnss_nisplus.map: New file.
6833         * nss/libnss_files.map: New file.
6834         * nss/libnss_db.map: New file.
6835         * resolv/libnss_dns.map: New file.
6836         * resolv/libresolv.map: New file.
6838         * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything
6839         for R_386_NONE entries.
6841         * Makefile (manual/dir-add.info): New rule.
6843         * Makerules: Add vpath definition for .x files.
6845         * Makerules (distinfo): Make sure target directory exists.
6847         * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value
6848         since it is used to distinguish filtered strings from unmodifed
6849         strings.
6851         * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition.
6852         * elf/dl-reloc.c: Fix typo.
6854         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
6855         `unsigned short'.
6857         * manual/Makefile (dir-add.texi): Also emit wrapper text for
6858         info/install-info.
6859         (distribute): Add dir-add.texi and dir-add.info.
6860         (mostlyclean): Add dir-add.info.
6861         (realclean): Add dir-add.texi.
6862         (install): Add entries in `dir' file using install-info.
6864         * manual/libc.texinfo: Add @dircategory and @direntry text.
6865         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
6867         * manual/pattern.texi: Correct description of GLOB_MAGCHAR and
6868         GLOB_NOMAGIC.  Changes by Roland McGrath <roland@gnu.ai.mit.edu>.
6870         * nis/nis_addmember.c: Little optimizations.
6871         * nis/nis_call.c: Likewise.
6872         * nis/nis_creategroup.c: Likewise.
6873         * nis/nis_defaults.c: Likewise.
6874         * nis/nis_destroygroup.c: Likewise.
6875         * nis/nis_ismember.c: Likewise.
6876         * nis/nis_local_names.c: Likewise.
6877         * nis/nis_print_group_entry.c: Likewise.
6878         * nis/nis_verifygroup.c: Likewise.
6880         * posix/unistd.h: Fix comment for getcwd.
6882         * stdlib/Makefile (headers): Remove inttypes.h.  It's a system
6883         dependent header.
6884         * sysdeps/wordsize-32/Dist: New file.
6885         * sysdeps/wordsize-32/Makefile: New file.
6886         * sysdeps/wordsize-64/Dist: New file.
6887         * sysdeps/wordsize-64/Makefile: New file.
6889         * sunrpc/Makefile: Adopt comment for real situation.
6891         * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE.
6892         * sysdeps/i386/addmul_1.s: Likewise.
6893         * sysdeps/i386/lshist.s: Likewise.
6894         * sysdeps/i386/rshift.s: Likewise.
6895         * sysdeps/i386/sub_n.s: Likewise.
6896         * sysdeps/i386/submul_1.s: Likewise.
6898         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6899         Add .type and .size.
6901 1997-06-12 13:32  Philip Blundell  <Philip.Blundell@pobox.com>
6903         * libc/sysdeps/unix/arm/brk.S: New file.
6904         * libc/sysdeps/unix/arm/sysdep.S: Likewise.
6905         * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
6907 1997-06-11 11:51  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6909         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
6910         Check if we have shadow information.
6912 1997-06-08 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6914         * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of
6915         malloc, alloc memory for nis_server struct.
6916         * nis/nis_getservlist.c (nis_freeservlist): Give the memory for
6917         the nis_server struct free, too.
6919         * nis/nis_removemember (nis_removemember): Fix for loop.
6921 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
6923         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
6924         cannot rely on M_SQRT2 being defined.
6925         (log1p): Use __M_SQRT2 not M_SQRT2.
6926         * math/math.h (_Mldbl): Define even if M_* constants are not
6927         defined.
6928         Reported by corsepiu@faw.uni-ulm.de.
6930 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
6932         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
6934 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
6936         * misc/regexp.h (compile): Allow use of macro INIT for variable
6937         declaration.  Add documentation for INIT.
6938         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
6940 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
6942         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
6944 1997-06-10 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
6946         * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff
6947         for a signed 16-bit value.
6949 1997-06-07 07:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
6951         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6952         (_dl_sysdep_read_whole_file): Deleted.
6954         * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed
6955         to FE_ALL_INVALID.
6957         * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE):
6958         Changed to FE_INVALID_SOFTWARE.
6959         (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS.
6961         * sysdeps/libm-ieee754/s_fmin.c: Fix a typo.
6963 1997-06-07 18:48  H.J. Lu  <hjl@gnu.ai.mit.edu>
6965         * shlib-versions (.*-.*-linux.*): Set libc to 6.
6967 1997-06-08 15:35  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6969         * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r.
6971         * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors.
6972         * nis/nis_clone.c: Likewise.
6973         * nis/nis_removemember.c (nis_removemember): Likewise.
6974         * nis/nis_table.c: Likewise.
6976         * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call.
6977         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6979         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for
6980         group == NULL.
6982 1997-06-08 21:21  Mark Kettenis  <kettenis@phys.uva.nl>
6984         * login/login.c, login/utmp_daemon.c, login/utmp_file.c,
6985         login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and
6986         `#ifndef _LIBC' fragments.
6988         * login/programs/utmpd.c: Define DEFAULT_USER.
6989         (drop_priviliges): Use it.
6990         (main): Set locale and text domain.
6992         * login/programs/utmpd-private.h: Declare proc_utmp_eq.
6993         * login/programs/database.c (proc_utmp_eq): Removed.
6994         * login/programs/request.c (proc_utmp_eq): Made global.  Only use
6995         ut_id field if valid.
6997         * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles
6998         Bader that was lost when adding the daemon backend; Only use ut_id
6999         field if valid.
7001 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7003         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
7004         netinet/icmp.h, add netatalk/at.h.
7005         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
7006         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
7008 1997-06-04 19:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7010         * stdlib/testsort.c (compare): Fix parameter types.
7012 1997-06-04 19:05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7014         * md5-crypt/Makefile (distribute): Fix name of file.
7016 1997-06-04 19:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7018         * login/Makefile (utmpd-routines): Remove utmpd again, which is
7019         already added implicitly through $(others).
7021 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
7023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
7025 1997-06-05 13:25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7027         * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt.
7029 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
7031         * string/argz-addsep.c: Correct weak alias.
7032         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7034         * locale/setlocale.c (setlocale): Free variable with locale path
7035         before returning.
7036         (setname): Don't test for _nl_current[category] being NULL before
7037         freeing.
7038         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7040 1997-06-04 12:41  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7042         * manual/intro.texi (XPG): Correct some typos.
7044 1997-06-04 05:09  Miles Bader  <miles@gnu.ai.mit.edu>
7046         * argp/argp-help.c (_help): Use uparams.usage_indent instead of
7047         the USAGE_INDENT macro.
7049         * manual/summary.awk: Strip trailing commas from node-names.
7051         * manual/.cvsignore: Ignore chapters-incl[12] rather than
7052         chapters-incl.
7054         * manual/Makefile (%.c.texi): Deal with multiple @-commands on a
7055         single line.
7057         * manual/string.texi (Argz Functions, Envz Functions): Add magic
7058         comments for generating summary.texi.
7060 1997-06-02 22:18  Miles Bader  <miles@gnu.ai.mit.edu>
7062         * manual/argp.texi: New file.
7063         * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c,
7064         manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files.
7065         * manual/Makefile [chapters] (chapters-incl1): New rule & include.
7066         [chapters-incl1] (chapters-incl2): New rule & include.
7067         (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2).
7068         * manual/maint.texi (Contributors): Give myself credit.
7070 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
7072         * manual/getopt.texi: New file.
7073         * manual/startup.texi: Mention argp_parse in places that
7074         previously mentioned only getopt.
7075         Include getopt.texi (now containing all the getopt nodes that used
7076         to be here) and argp.texi.
7077         (Program Arguments): Move parsing bits into the new Parsing
7078         Program Arguments node.
7079         (Parsing Program Arguments): New node.
7080         (Parsing Options, Example of Getopt, Long Options, Long Option
7081         Example): Nodes removed.
7082         * manual/libc.texinfo (Program Arguments): Menu updated.
7083         (Parsing Program Arguments): New menu.
7085 1997-06-04 20:57  Ulrich Drepper  <drepper@cygnus.com>
7087         * manual/string.texi: Add comments to discourage use of index and
7088         rindex.
7089         (strtok, strsep): Apply function on copy of the strings in example.
7090         (l64a): Add example.
7092         * posix/unistd.h: Correct value for _POSIX_VERSION.
7094         * sunrpc/Makefile (defines): Remove definition.
7096         * sysdeps/ieee754/nan.h: Correct typo.
7098 1997-06-04 10:50  Fila Kolodny  <fila@ibi.com>
7100         * posix/unistd.h: Add definition of __fchdir corresponding to fchdir.
7102         * login/utmp_daemon.c: Correct location of utmpd.h.
7104 1997-06-03 19:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7106         * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to
7107         $(objpfx)distinfo.
7108         * rpm/Makefile (distinfo): Adapted.
7110 1997-06-03 18:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7112         * rpm/Makefile (install-slib): Collect shared libraries here
7113         instead of in install-lib, including libc.
7114         (instvars): Add slib.
7116 1997-06-03 18:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7118         * login/Makefile (libutil-routines): Add updwtmp.
7120 1997-06-03 16:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7122         * monetary.h: New file, needed for localedata/tst-fmon.c.
7124 1997-06-02 20:31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7126         * math/libm-test.c (cpow_test): Add epsilon for long double in
7127         test for 2^10.
7128         (identities): Add epsilon for float in second identity test.
7130         * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use
7131         DI and SI mode integers instead of bytes.  Fix value of HUGE_VALL.
7133         * sysdeps/m68k/nan.h: New file.
7135         * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless,
7136         islessequal, islessgreater, isunordered): Fix assembler syntax.
7138         * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't
7139         optimize out the operations.
7141         * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static
7142         constant.
7143         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
7144         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
7146         * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double
7147         function.
7148         * sysdeps/libm-ieee754/s_erf.c: Likewise.
7149         * sysdeps/libm-ieee754/s_fdim.c: Likewise.
7150         * sysdeps/libm-ieee754/s_fmax.c: Likewise.
7151         * sysdeps/libm-ieee754/s_fmin.c: Likewise.
7152         * sysdeps/libm-ieee754/s_log2.c: Likewise.
7153         * sysdeps/libm-ieee754/s_nan.c: Likewise.
7154         * sysdeps/libm-ieee754/s_remquo.c: Likewise.
7156 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
7158         * elf/dl-support.c: Define and initialize _dl_verbose used in
7159         dl-machine.h.
7161         * io/ftw.c: Expand stat/lstat calls.
7163         * manual/intro.texi: Also refer to ISO 9945.
7164         Update info about SVID.
7165         Add description for XPG.
7167         * md5-crypt/md5-crypt.c: Namespace cleanups.
7168         * md5-crypt/md5.c: Likewise.
7169         * md5-crypt/md5.h: Likewise.
7170         * sysdeps/generic/crypt-entry.c: Likewise.
7172         * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L.
7174         * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is
7175         defined.
7177         * sunrpc/rpc_scan.c (findkind): Declare `token' as const.
7178         * sunrpc/rpc_util.c (toktostr): Declare `token' as const.
7180         * time/Makefile: Make tzselect depend on config.make.
7182 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
7184         * manual/string.texi (String and Array Utilities): Add `Argz and
7185         Envz Vectors' to the menu.
7186         (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes.
7188 1997-05-31 20:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7190         * login/Makefile (utmpd-routines): Add utmpd.
7191         (extra-objs): Add utmpd objects to get dependencies.
7192         (distribute): Add sources for utmpd.
7193         (subdir-dirs): Define.
7195 1997-06-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
7197         * sysdeps/wordsize-32/inttypes.h: Include features.h and use
7198         __CONCAT instead of defined __CONCAT__ ourself.
7199         * sysdeps/wordsize-64/inttypes.h: Likewise.
7201 1997-06-01 19:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7203         * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'.
7204         (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST,
7205         SCNoFAST, SCNxFAST): Correct format specifiers.
7207 1997-06-02 04:23  Ulrich Drepper  <drepper@cygnus.com>
7209         * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir.
7211 1997-06-01 19:17  Ulrich Drepper  <drepper@cygnus.com>
7213         * md5-crypt/Makefile: Correct libmd5crypt file to really generate
7214         DES free libcrypt.
7215         * md5-crypt/onlymd5-entry.c: New file.  Wrapper around
7216         sysdeps/generic/crypt-entry.c.
7218 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
7220         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
7221         type to `unsigned long int'.
7222         Patch by Richard Henderson <richard@twiddle.rth.home>.
7224 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7226         * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C
7227         declaration style.
7229         * nss/nss_files/files-hosts.c: Delete inclusion of
7230         "../resolv/mapv4v6hostent.h".
7232 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
7234         * io/ftwtest-sh: More tests.
7236         * misc/tsearch.c: Rewrite tdestroy_recursive.
7238         * libio/libio.h: Define bits for libg++-2.8.
7240 1997-05-30 22:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7242         * nis/nss_nis/nis-hosts.c: Same changes as in
7243         nss/nss_files/files-hosts.c (Always use inet_pton).
7244         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7246 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
7248         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
7249         plan on doing so ever again.  Don't say alpha-linuxecoff is known
7250         to work.
7252         * elf/dl-lookup.c: Include <alloca.h>.
7253         * misc/tsearch.c: Include <string.h>.
7254         * posix/execle.c: Include <alloca.h>.
7255         * posix/execlp.c: Likewise.
7256         * stdio-common/printf_fphex.c: Include <string.h>.
7257         * sunrpc/xdr.c: Include <string.h>.
7258         * sysdeps/generic/memccpy.c: Include only <string.h>.
7260         * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix
7261         parameters to network functions.
7262         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7263         * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'.
7264         (rendezvous_request): Likewise.
7265         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7266         (svcudp_recv): Similar, but go through a local variable.  The old code
7267         used &xprt->xp_addrlen.  Someone should determine if the type of the
7268         structure member should be changed instead.
7269         * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning
7270         and transform a nonsense for-loop to a closed form calculation.
7271         (fill_input_buf): Another ptr->int warning.
7273         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
7274         will last until I figure out how to build a parallel libm_ieee.
7276         * sysdeps/alpha/fpu/fclrexcpt.c,
7277         * sysdeps/alpha/fpu/fegetenv.c,
7278         * sysdeps/alpha/fpu/fegetround.c,
7279         * sysdeps/alpha/fpu/feholdexcpt.c,
7280         * sysdeps/alpha/fpu/fenvbits.h,
7281         * sysdeps/alpha/fpu/fesetenv.c,
7282         * sysdeps/alpha/fpu/fesetround.c,
7283         * sysdeps/alpha/fpu/feupdateenv.c,
7284         * sysdeps/alpha/fpu/fgetexcptflg.c,
7285         * sysdeps/alpha/fpu/fraiseexcpt.c,
7286         * sysdeps/alpha/fpu/fsetexcptflg.c,
7287         * sysdeps/alpha/fpu/ftestexcept.c: New files.  There is, btw, a small
7288         kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for
7289         this to work properly.
7291         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
7292         FP mode to round to nearest, no exceptions as for Intel.
7293         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
7294         (rdfpcr): Use excb rather than trapb.  Be more efficient about
7295         getting at the fpcr.
7296         (wrfpcr): Likewise.
7297         (__setfpucw): Reformat.
7299         * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use
7300         a single DI-mode integer instead of bytes.  This produces better code
7301         on Alpha.  Similar for HUGE_VALF.
7302         * sysdeps/ieee754/nan.h: Similar for NAN.  Add NANF and NANL.
7304         * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias.
7306         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
7307         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
7308         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
7309         sure the stack frame is released the very instruction before the
7310         real jump out.
7311         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
7312         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
7314         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
7315         have gotten from <linux/posix_types.h>.
7317         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
7319 1997-05-30 13:05  Ulrich Drepper  <drepper@cygnus.com>
7321         * misc/tst-tsearch.c (mangle_tree): Update casts to prevent
7322         warnings.
7324 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7326         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
7327         correct value for _POSIX_VDISABLE.
7329 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7331         * Makefile (manual/dir-add.texi): Force execution.
7333 1997-05-29 13:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7335         * sysexits.h: New file.
7337 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7339         * stdlib/strfmon.c: Don't run past EOS after `='.
7341 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
7343         * io/ftw.c: Complete rewrite.  Add implementation of `nftw'.
7344         * io/ftw.h: Update for new implementation and XPG4.2.
7345         * io/Makefile (test-srcs): Add ftwtest.
7346         (distribute): Add ftwtest-sh.
7347         (tests): Call ftwtest-sh for this goal.
7348         * io/ftwtest-sh: New file.  Sets up test environment, calls test
7349         program and compares the result.
7350         * io/ftwtest.c: Test program for ftw.
7352         * misc/search.h: Add comments.  Declare tdestroy.
7353         * misc/tsearch.c (tdestroy): New function.
7355         * login/Makefile: Update for UTMP daemon implementation.
7357         Update resolver code to bind-4.9.6-T1A.
7358         * resolv/Banner: Update.
7359         * nss/digits_dots.c: Adapt text address matching to T1A.
7360         * nss/nss_files/files-hosts.c: Always use inet_pton.
7361         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
7362         it would lead to warnings.
7363         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
7364         at several places.
7365         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
7366         * resolv/res_comp.c (dn_expand): Check for overflow.
7367         (dn_comp): Likewise.
7368         * resolv/res_debug.c (precsize_aton): Better implementation.
7369         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
7370         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
7371         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
7372         length at several places.
7374 1997-05-29 12:51  Mark Kettenis  <kettenis@phys.uva.nl>
7376         * login/utmp-private.h (struct utfuncs): Add one more parameter
7377         to updwtmp function.
7378         Declare all three function jump tables.
7379         * login/utmp.h: Declare __utmpname.
7380         * login/getutent_r.c: Remove db backend and provide support for
7381         utmpd backend.
7382         * login/login.c: Use `updwtmp' function insteead of writing the
7383         record ourself.
7384         * login/logwtmp.c: Move `updwtmp' function to...
7385         * login/updwtmp.c: ...here.  New file.
7386         * login/utmp_db.h: Removed.
7387         * login/utmp_file.c: Add updwtmp function to write to file.
7388         * login/utmp_daemon.c: New file.  Daemon backend.
7389         * login/utmpname.c: New file.  Implementation of utmpname function.
7390         * login/utmpdump.c: New file.  Tool to dump utmp-like files.
7391         * login/utmpd/connection.c: New file.
7392         * login/utmpd/database.c: New file.
7393         * login/utmpd/error.c: New file.
7394         * login/utmpd/request.c: New file.
7395         * login/utmpd/utmpd-private.h: New file.
7396         * login/utmpd/utmpd.c: New file.
7397         * login/utmpd/utmpd.h: New file.
7398         * login/utmpd/xtmp.c: New file.
7399         * login/utmpd/xtmp.h: New file.
7401 1997-05-29 12:28  Jim Meyering  <meyering@eng.ascend.com>
7403         * time/strftime.c: Correct/normalize indentation in cpp directives.
7405 1997-05-28 20:43  Philip Blundell  <pjb27@cam.ac.uk>
7407         * nis/nis_error.c: Include <string.h> to fix warning.
7408         * nis/nis_print.c: Likewise.
7409         * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
7410         is int* not size_t*.
7412 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7414         * math/cmathcalls.h: Correct typo in comment.
7416         * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
7418         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
7419         IFNAMSIZ.
7421         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
7422         time_t.
7424         * login/pty.h: Include <ioctl-types.h> for definition of struct
7425         winsize.
7427         * misc/regexp.h (compile): Correct typo.
7429         * argp/argp.h: Put extern before __const in defintion of
7430         argp_program_bug_address.
7432 1997-05-29 00:20  Ulrich Drepper  <drepper@cygnus.com>
7434         * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
7435         and least types.  Correct names of ?INT_FAST*_{MIN,MAX} macros.
7436         * sysdeps/wordsize-64/inttypes.h: Likewise.
7437         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7439 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
7441         * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
7442         ttydefaults.h file instead of non-existing version in termios/sys.
7443         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7445         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
7446         number to four digits and to representable range for 4 byte time_t
7447         values.
7448         Patch by H.J. Lu <hjl@lucon.org>.
7450 1997-05-28 18:19  Philip Blundell  <pjb27@cam.ac.uk>
7452         * posix/execl.c: Include <alloca.h> to avoid warning.
7454 1997-05-27 18:19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7456         * math/libm-test.c: Implement testing of inlined functions, make
7457         output nicer, update comments.
7459         * math/test-idouble.c: New file.  Frontend for double tests of
7460         inlined functions.
7461         * math/test-ildoubl.c: New file.  Frontend for long double tests of
7462         inlined functions.
7463         * math/test-ifloat.c: New file.  Frontend for float tests of
7464         inlined functions.
7466         * math/test-longdouble.c: Rename to...
7467         * math/test-ldouble.c: ...this.
7469         * math/Makefile: Add rules for new test programs, change rules for
7470         renaming of longdouble test.
7472 1997-05-20 15:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
7474         * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
7475         (svc_register): Use __dispatch_fn_t in prototype.
7477 1997-05-28 17:02  Ulrich Drepper  <drepper@cygnus.com>
7479         * sysdeps/generic/bzero.c (bzero): Fix typo.
7480         Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
7482 1997-05-27 12:00  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7484         * sysdeps/generic/vtimes.c: Use ISO C declaration style.
7486         * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
7488         * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
7490         * signal/tst-signal.c (handler): Correct function declaration to
7491         avoid warning.
7492         * stdlib/testsort.c (compare): Likewise.
7493         * string/tester.c: Likewise.
7495 1997-05-27 14:16  Miles Bader  <miles@gnu.ai.mit.edu>
7497         * argp/argp-help.c (argp_args_usage): Supply correct argp to
7498         filter_doc.
7500 1997-05-27 17:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7502         * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
7503         db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
7504         with libm.
7506 1997-05-27 14:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7508         * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate.  Use __m81_test
7509         instead of explicit comparisons.
7511 1997-05-26 18:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7513         * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
7514         place in a generic header and is no user include file.
7516 1997-05-27 02:20  Ulrich Drepper  <drepper@cygnus.com>
7518         * stdio/obstream.c (obstack_printf): Fix bug in
7519         de-ansidecl-fication.
7520         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7522 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
7524         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
7525         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
7526         environments in which linking is not possible at configure time
7527         (since te libc is just build).
7528         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
7530         * time/scheck.c (scheck): Make 2nd parameter const.
7531         * time/private.h: Likewise.
7533 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
7535         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
7536         state array only at right place.
7537         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
7539         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
7540         [0.5,1.0) but really in [0.0, 1.0).
7541         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
7543 1997-05-22 12:50  Eric Delaunay  <delaunay@lix.polytechnique.fr>
7545         * shlib-versions: Provide Linux/SPARC defaults.
7547 1997-05-26 15:00  Matthias Urlichs  <urlichs@noris.de>
7549         * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
7550         * stdlib/strtof_l.c: Likewise.
7551         * stdlib/strtol_l.c: Likewise.
7552         * stdlib/strtold_l.c: Likewise.
7553         * stdlib/strtoll_l.c: Likewise.
7554         * stdlib/strtoul_l.c: Likewise.
7555         * stdlib/strtoull_l.c: Likewise.
7557 1997-05-26 02:42  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7559         * hurd/dtable.c: De-ansidecl-fy.
7560         * math/test-math.c: Likewise.
7561         * signal/tst-signal.c: Likewise.
7562         * stdio/getc.c: Likewise.
7563         * stdio/obstream.c: Likewise.
7564         * stdio/putc.c: Likewise.
7565         * stdio-common/bug1.c: Likewise.
7566         * stdio-common/bug2.c: Likewise.
7567         * stdio-common/bug6.c: Likewise.
7568         * stdio-common/fscanf.c: Likewise.
7569         * stdlib/testsort.c: Likewise.
7570         * string/tester.c: Likewise.
7571         * sysdeps/am29k/ffs.c: Likewise.
7572         * sysdeps/generic/bb_init_func.c: Likewise.
7573         * sysdeps/generic/bcopy.c: Likewise.
7574         * sysdeps/generic/bzero.c: Likewise.
7575         * sysdeps/generic/div.c: Likewise.
7576         * sysdeps/generic/ffs.c: Likewise.
7577         * sysdeps/generic/memccpy.c: Likewise.
7578         * sysdeps/generic/memcpy.c: Likewise.
7579         * sysdeps/generic/memmove.c: Likewise.
7580         * sysdeps/generic/memset.c: Likewise.
7581         * sysdeps/generic/vfork.c: Likewise.
7582         * sysdeps/generic/vtimes.c: Likewise.
7583         * sysdeps/i386/bzero.c: Likewise.
7584         * sysdeps/i386/ffs.c: Likewise.
7585         * sysdeps/i960/ffs.c: Likewise.
7586         * sysdeps/m68k/ffs.c: Likewise.
7587         * sysdeps/m88k/ffs.c: Likewise.
7588         * sysdeps/mach/hurd/_exit.c: Likewise.
7589         * sysdeps/mach/hurd/accept.c: Likewise.
7590         * sysdeps/mach/hurd/access.c: Likewise.
7591         * sysdeps/mach/hurd/adjtime.c: Likewise.
7592         * sysdeps/mach/hurd/bind.c: Likewise.
7593         * sysdeps/mach/hurd/brk.c: Likewise.
7594         * sysdeps/mach/hurd/chdir.c: Likewise.
7595         * sysdeps/mach/hurd/chflags.c: Likewise.
7596         * sysdeps/mach/hurd/chmod.c: Likewise.
7597         * sysdeps/mach/hurd/chown.c: Likewise.
7598         * sysdeps/mach/hurd/chroot.c: Likewise.
7599         * sysdeps/mach/hurd/close.c: Likewise.
7600         * sysdeps/mach/hurd/connect.c: Likewise.
7601         * sysdeps/mach/hurd/defs.c: Likewise.
7602         * sysdeps/mach/hurd/dup2.c: Likewise.
7603         * sysdeps/mach/hurd/execve.c: Likewise.
7604         * sysdeps/mach/hurd/fchdir.c: Likewise.
7605         * sysdeps/mach/hurd/fchflags.c: Likewise.
7606         * sysdeps/mach/hurd/fchmod.c: Likewise.
7607         * sysdeps/mach/hurd/fchown.c: Likewise.
7608         * sysdeps/mach/hurd/fcntl.c: Likewise.
7609         * sysdeps/mach/hurd/fdopen.c: Likewise.
7610         * sysdeps/mach/hurd/flock.c: Likewise.
7611         * sysdeps/mach/hurd/fsync.c: Likewise.
7612         * sysdeps/mach/hurd/ftruncate.c: Likewise.
7613         * sysdeps/mach/hurd/getdtsz.c: Likewise.
7614         * sysdeps/mach/hurd/getegid.c: Likewise.
7615         * sysdeps/mach/hurd/geteuid.c: Likewise.
7616         * sysdeps/mach/hurd/getgid.c: Likewise.
7617         * sysdeps/mach/hurd/getgroups.c: Likewise.
7618         * sysdeps/mach/hurd/gethostid.c: Likewise.
7619         * sysdeps/mach/hurd/gethostname.c: Likewise.
7620         * sysdeps/mach/hurd/getitimer.c: Likewise.
7621         * sysdeps/mach/hurd/getlogin.c: Likewise.
7622         * sysdeps/mach/hurd/getpeername.c: Likewise.
7623         * sysdeps/mach/hurd/getpgid.c: Likewise.
7624         * sysdeps/mach/hurd/getpid.c: Likewise.
7625         * sysdeps/mach/hurd/getppid.c: Likewise.
7626         * sysdeps/mach/hurd/getsockname.c: Likewise.
7627         * sysdeps/mach/hurd/getsockopt.c: Likewise.
7628         * sysdeps/mach/hurd/getuid.c: Likewise.
7629         * sysdeps/mach/hurd/ioctl.c: Likewise.
7630         * sysdeps/mach/hurd/isatty.c: Likewise.
7631         * sysdeps/mach/hurd/link.c: Likewise.
7632         * sysdeps/mach/hurd/listen.c: Likewise.
7633         * sysdeps/mach/hurd/lseek.c: Likewise.
7634         * sysdeps/mach/hurd/mkdir.c: Likewise.
7635         * sysdeps/mach/hurd/open.c: Likewise.
7636         * sysdeps/mach/hurd/pipe.c: Likewise.
7637         * sysdeps/mach/hurd/read.c: Likewise.
7638         * sysdeps/mach/hurd/readlink.c: Likewise.
7639         * sysdeps/mach/hurd/reboot.c: Likewise.
7640         * sysdeps/mach/hurd/recv.c: Likewise.
7641         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7642         * sysdeps/mach/hurd/rename.c: Likewise.
7643         * sysdeps/mach/hurd/rewinddir.c: Likewise.
7644         * sysdeps/mach/hurd/rmdir.c: Likewise.
7645         * sysdeps/mach/hurd/sbrk.c: Likewise.
7646         * sysdeps/mach/hurd/seekdir.c: Likewise.
7647         * sysdeps/mach/hurd/select.c: Likewise.
7648         * sysdeps/mach/hurd/setegid.c: Likewise.
7649         * sysdeps/mach/hurd/seteuid.c: Likewise.
7650         * sysdeps/mach/hurd/setgid.c: Likewise.
7651         * sysdeps/mach/hurd/setgroups.c: Likewise.
7652         * sysdeps/mach/hurd/sethostid.c: Likewise.
7653         * sysdeps/mach/hurd/sethostname.c: Likewise.
7654         * sysdeps/mach/hurd/setlogin.c: Likewise.
7655         * sysdeps/mach/hurd/setpgid.c: Likewise.
7656         * sysdeps/mach/hurd/setregid.c: Likewise.
7657         * sysdeps/mach/hurd/setreuid.c: Likewise.
7658         * sysdeps/mach/hurd/setrlimit.c: Likewise.
7659         * sysdeps/mach/hurd/setsid.c: Likewise.
7660         * sysdeps/mach/hurd/setsockopt.c: Likewise.
7661         * sysdeps/mach/hurd/settimeofday.c: Likewise.
7662         * sysdeps/mach/hurd/setuid.c: Likewise.
7663         * sysdeps/mach/hurd/shutdown.c: Likewise.
7664         * sysdeps/mach/hurd/sigaction.c: Likewise.
7665         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
7666         * sysdeps/mach/hurd/sigpending.c: Likewise.
7667         * sysdeps/mach/hurd/sigprocmask.c: Likewise.
7668         * sysdeps/mach/hurd/sigstack.c: Likewise.
7669         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
7670         * sysdeps/mach/hurd/socket.c: Likewise.
7671         * sysdeps/mach/hurd/socketpair.c: Likewise.
7672         * sysdeps/mach/hurd/stdio_init.c: Likewise.
7673         * sysdeps/mach/hurd/symlink.c: Likewise.
7674         * sysdeps/mach/hurd/sync.c: Likewise.
7675         * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
7676         * sysdeps/mach/hurd/telldir.c: Likewise.
7677         * sysdeps/mach/hurd/truncate.c: Likewise.
7678         * sysdeps/mach/hurd/umask.c: Likewise.
7679         * sysdeps/mach/hurd/unlink.c: Likewise.
7680         * sysdeps/mach/hurd/wait4.c: Likewise.
7681         * sysdeps/mach/hurd/utimes.c: Likewise.
7682         * sysdeps/mach/hurd/write.c: Likewise.
7683         * sysdeps/mach/adjtime.c: Likewise.
7684         * sysdeps/mach/gettimeofday.c: Likewise.
7685         * sysdeps/mach/usleep.c: Likewise.
7686         * sysdeps/mips/__longjmp.c: Likewise.
7687         * sysdeps/posix/clock.c: Likewise.
7688         * sysdeps/posix/ctermid.c: Likewise.
7689         * sysdeps/posix/defs.c: Likewise.
7690         * sysdeps/posix/dup.c: Likewise.
7691         * sysdeps/posix/libc_fatal.c: Likewise.
7692         * sysdeps/posix/stdio_init.c: Likewise.
7693         * sysdeps/rs6000/ffs.c: Likewise.
7694         * sysdeps/sparc/e_sqrt.c: Likewise.
7695         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
7696         * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
7697         * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
7698         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
7699         * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
7700         * sysdeps/standalone/i960/nindy960/console.c: Likewise.
7701         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
7702         * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
7703         * sysdeps/standalone/brk.c: Likewise.
7704         * sysdeps/stub/_exit.c: Likewise.
7705         * sysdeps/stub/brdinit.c: Likewise.
7706         * sysdeps/stub/console.c: Likewise.
7707         * sysdeps/stub/defs.c: Likewise.
7708         * sysdeps/stub/errlist.c: Likewise.
7709         * sysdeps/stub/libc_fatal.c: Likewise.
7710         * sysdeps/stub/siglist.c: Likewise.
7711         * sysdeps/stub/stdio_init.c: Likewise.
7712         * sysdeps/stub/strtsupp.c: Likewise.
7713         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
7714         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
7715         * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
7716         * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
7717         * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
7718         * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
7719         * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
7720         * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
7721         * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
7722         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7723         * sysdeps/unix/bsd/clock.c: Likewise.
7724         * sysdeps/unix/bsd/gtty.c: Likewise.
7725         * sysdeps/unix/bsd/init-posix.c: Likewise.
7726         * sysdeps/unix/bsd/setgid.c: Likewise.
7727         * sysdeps/unix/bsd/setrgid.c: Likewise.
7728         * sysdeps/unix/bsd/setruid.c: Likewise.
7729         * sysdeps/unix/bsd/setuid.c: Likewise.
7730         * sysdeps/unix/bsd/stty.c: Likewise.
7731         * sysdeps/unix/bsd/telldir.c: Likewise.
7732         * sysdeps/unix/bsd/ualarm.c: Likewise.
7733         * sysdeps/unix/common/glue-ctype.c: Likewise.
7734         * sysdeps/unix/sparc/start.c: Likewise.
7735         * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
7736         * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
7737         * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
7738         * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
7739         * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
7740         * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
7741         * sysdeps/unix/sysv/irix4/start.c: Likewise.
7742         * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
7743         * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
7744         * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
7745         * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
7746         * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
7747         * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
7748         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
7749         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
7750         * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
7751         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
7752         * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
7753         * sysdeps/unix/sysv/gethostname.c: Likewise.
7754         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7755         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7756         * sysdeps/unix/alarm.c: Likewise.
7757         * sysdeps/unix/make_errlist.c: Likewise.
7758         * sysdeps/unix/rewinddir.c: Likewise.
7759         * sysdeps/unix/seekdir.c: Likewise.
7760         * sysdeps/unix/time.c: Likewise.
7761         * sysdeps/unix/utime.c: Likewise.
7762         * sysdeps/vax/__longjmp.c: Likewise.
7763         * sysdeps/vax/memccpy.c: Likewise.
7764         * time/strftime.c: Likewise.
7766 1997-05-25 21:57  Miles Bader  <miles@gnu.ai.mit.edu>
7768         * argp/argp-parse.c (parser_init): For the special case where no
7769         parsing function is supplied for an argp, propagate its input to
7770         its first child, if any.
7772         * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
7773         * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
7774         Replace references to STATE->argp with STATE->root_argp.
7775         * argp/argp-parse.c (parser_init): Likewise.
7777 1997-05-26 14:17  Ulrich Drepper  <drepper@cygnus.com>
7779         * manual/main.texi: Clarify situation for other not supported ports.
7780         Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7781         We recommend binutils 2.8.
7783 1997-05-26 12:17  Ulrich Drepper  <drepper@cygnus.com>
7785         * netinet/in.h: New file.  Wrapper around inet/netinet/in.h.
7787 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
7789         * sysdeps/i386/elf/start.S: Change local label "nofini"
7790         to ".Lnofini".
7792         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
7794 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
7796         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
7798 1997-05-25 03:00  Ulrich Drepper  <drepper@cygnus.com>
7800         * elf/dynamic-link.h (_dl_verbose): New variable, declare.
7801         * elf/rtld.c (_dl_verbose): New variable, define.
7802         (dl_main): Define _dl_verbose based on DL_WARN environment variable.
7803         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
7804         changed size in copy relocation only if symbol in shared object
7805         is larger or _dl_verbose is nonzero.
7806         * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
7807         * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
7808         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
7810         * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
7811         <...>.
7812         * nis/nss_nis/nis-grp.c: Likewise.
7813         * nis/nss_nis/nis-hosts.c: Likewise.
7814         * nis/nss_nis/nis-network.c: Likewise.
7815         * nis/nss_nis/nis-proto.c: Likewise.
7816         * nis/nss_nis/nis-pwd.c: Likewise.
7817         * nis/nss_nis/nis-rpc.c: Likewise.
7818         * nis/nss_nis/nis-spwd.c: Likewise.
7819         * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
7820         * wcsmbs/wcscoll.c: Likewise.
7821         * wcsmbs/wcstod.c: Likewise.
7822         * wcsmbs/wcstof.c: Likewise.
7823         * wcsmbs/wcstol.c: Likewise.
7824         * wcsmbs/wcstold.c: Likewise.
7825         * wcsmbs/wcsxfrm.c: Likewise.
7826         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7828         * time/strftime.c: Implement # flag which changes case of output for
7829         %a, %b, %B, %p, and %Z format.
7830         When printing numbers, the given field width is always respected.
7831         This means that padding happens only up to the given width.
7832         Proposed by Stephen Gildea <gildea@intouchsys.com>.
7834 1997-05-25 00:44  Ulrich Drepper  <drepper@cygnus.com>
7836         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
7837         values.
7838         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7840 1997-05-24 21:03  Philip Blundell  <pjb27@cam.ac.uk>
7842         * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
7843         struct stat) if it exists for this port.
7845 1997-05-24 20:34  Philip Blundell  <pjb27@cam.ac.uk>
7847         * sysdeps/standalone/arm/errnos.h: Add EPERM.
7849 1997-05-23 16:28  Philip Blundell  <phil@kings-cross.london.uk.eu.org>
7851         * linewrap.h: New file, needed to compile argp without libio.
7853 1997-05-24 11:59  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7855         * manual/stdio.texi (Formatted Messages): Corrected some typos.
7857 1997-05-24 11:58  Philip Blundell  <pjb27@cam.ac.uk>
7859         * sysdeps/stub/start.c: Fix typo.
7861 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
7863         * argp/argp-help.c (hol_add_cluster): Initialize CL->depth.
7865 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
7867         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
7868         strtoull_l, strtof_l, strtod_l, and strtold_l.
7869         * stdlib/stdlib.h: Add prototypes for new functions.
7870         * stdlib/strtod.c: Change for compiling as strtoX_l.
7871         * stdlib/strtol.c: Likewise.
7872         * stdlib/strtof.c: Likewise.
7873         * stdlib/strtold.c: Likewise.
7874         * stdlib/strtod_l.c: New file.
7875         * stdlib/strtof_l.c: New file.
7876         * stdlib/strtold_l.c: New file.
7877         * stdlib/strtol_l.c: New file.
7878         * stdlib/strtoul_l.c: New file.
7879         * stdlib/strtoll_l.c: New file.
7880         * stdlib/strtoull_l.c: New file.
7881         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
7882         * string/string.h: Add prototypes for new functions.
7883         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
7884         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
7885         * sysdeps/generic/strcasecmp_l.c: New file.
7886         * sysdeps/generic/strncase_l.c: New file.
7887         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
7888         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
7889         wcsncase_l.
7890         * wcsmbs/wchar.h: Add prototypes for new functions.
7891         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
7892         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
7893         * wcsmbs/wcscasecmp_l.c: New file.
7894         * wcsmbs/wcsncase_l.c: New file.
7895         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
7896         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
7897         * wcsmcs/wcstod_l.c: New file.
7898         * wcsmcs/wcstof_l.c: New file.
7899         * wcsmcs/wcstold_l.c: New file.
7900         * wcsmcs/wcstol_l.c: New file.
7901         * wcsmcs/wcstoul_l.c: New file.
7902         * wcsmcs/wcstoll_l.c: New file.
7903         * wcsmcs/wcstoull_l.c: New file.
7905         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
7906         $(elf) is defined.  More to come later when other binary formats
7907         are supported.
7908         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
7909         Suggested by Philip Blundell.
7911         * stdlib/Makefile (headers): Add fmtmsg.h.
7912         (routines): Add fmtmsg.
7913         * stdlib/fmtmsg.c: New file.
7914         * stdlib/fmtmsg.h: New file.
7915         * manual/stdio.texi: Add description of fmtmsg and addseverity.
7916         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
7917         documentation.
7919 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
7921         * resolv/res_query.c (res_querydomain): Avoid potential buffer
7922         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
7924 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7926         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
7927         _dl_sysdep_read_whole_file): Moved functions to ...
7928         * elf/dl-misc.c: This new file.
7929         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
7930         * elf/dl-misc.c: ... here.
7931         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
7932         _dl_sysdep_read_whole_file): Delete functions; they now come from
7933         elf/dl-misc.c (dl-support.c had contained identical versions).
7934         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
7935         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
7936         that the regular ones in dl-misc work once we've initialized.
7937         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
7939 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
7941         * inet/Makefile (headers): Add netinet/inbits.h.
7942         * inet/netinet/in.h: New file.
7943         * sysdeps/generic/netinet/inbits.h: Likewise.
7944         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
7945         * sysdeps/generic/netinet/ip6.h: Move to...
7946         * inet/netinet/ip6.h: ... here.
7947         * sysdeps/generic/netinet/icmp6.h: Move to...
7948         * inet/netinet/icmp6.h: ... here.
7949         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
7950         * sysdeps/generic/netinet/in.h: Remove.
7952 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
7954         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
7955         not looking at the new thread-safe .plt, don't be lazy about relocs.
7956         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
7957         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
7958         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
7959         elf_machine_runtime_setup() decide if we can actually be lazy.
7960         * elf/rtld.c (_dl_start): So don't call it.
7961         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7962         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
7963         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7964         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
7965         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
7966         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
7967         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
7968         skeleton definition.
7970 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
7972         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
7973         stack by fxtract.
7975 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7977         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
7978         add cast to (xdrproc_t) where necessary to prevent warnings.
7980 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
7982         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
7984 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
7986         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
7987         to size_t to prevent warning.
7988         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
7989         instead of numeric values.
7990         Various cleanups.
7991         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
7992         for xdrmem_putbytes.
7993         * sunrpc/xdr_rec.c: Likewise.
7994         * sunrpc/xdr_stdio.c: Likewise.
7995         * sunrpc/rpc/xdr.h: Likewise.
7997         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
7998         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7999         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8001 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
8003         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
8004         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
8005         * sysdeps/generic/netinet/icmp6.h: Likewise.
8006         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
8007         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
8008         glob.c).
8009         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
8010         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
8011         * sysdeps/stub/accept.c (accept): Make args match prototype.
8012         * sysdeps/stub/bind.c (bind): Likewise.
8013         * sysdeps/stub/connect.c (connect): Likewise.
8014         * sysdeps/stub/getpeername.c (getpeername): Likewise.
8015         * sysdeps/stub/getsockname.c (getsockname): Likewise.
8016         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
8017         * sysdeps/stub/send.c (send): Likewise.
8018         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
8019         * sysdeps/stub/readv.c (readv): Likewise.
8020         * sysdeps/stub/writev.c (writev): Likewise.
8021         * sysdeps/stub/sendto.c (sendto): Likewise.
8022         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
8024 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
8026         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
8027         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
8029 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8031         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
8033         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
8034         functions, include <rpc/xdr.h>.
8036         * string/strverscmp.c: Correct typos in comment.
8038         * sunrpc/rpc/xdr.h: Add more `const'.
8039         * sunrpc/xdr_stdio.c: Likewise.
8040         * sunrpc/xdr_rec.c: Likewise.
8042 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
8044         * elf/Makefile (dl-routines): Add dl-sysdepio.
8045         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
8046         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
8047         _dl_sysdep_error and _dl_sysdep_warning to ...
8048         * sysdeps/generic/dl-sysdepio.c: ...here.
8049         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
8050         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
8051         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
8052         of functions.
8053         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8055         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
8056         and for Linux ld.so.
8057         * login/Makefile (libutil.so): Likewise.
8058         * math/Makefile (libm.so): Likewise.
8059         * md5-crypt/Makefile (libcrypt.so): Likewise.
8060         * nis/Makefile (libnss_%.so): Likewise.
8061         * resolv/Makefile (libnss_dns.so): Likewise.
8063 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
8065         * argp/argp-help.c (_help): Supply STATE to argp_args_usage.
8066         (argp_args_usage): Add filtering of the args doc string.
8067         (comma): Print cluster headers for the first entry too.
8068         * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
8070 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
8072         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
8073         interface was changed with addition of _obstack_memory_used.
8074         Suggested by Ian Taylor <ian@cygnus.com>.
8076         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
8077         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
8078         Reported by Ian Taylor <ian@cygnus.com>.
8080         * dirent/Makefile (routines): Add versionsort.
8081         * dirent/dirent.h: Add prototype for versionsort.
8082         * dirent/versionsort.c: New file.
8083         * manual/filesys.texi: Add documentation for versionsort.
8084         * manual/string.texi: Add documentation for strverscmp.
8085         * string/Makefile (routines): Add strverscmp.
8086         (tests): Add tst-svc.
8087         * string/string.h: Add prototype for strverscmp.
8088         * string/strverscmp.c: New file.
8089         * string/tst-svc.c: New file.  Test for strverscmp.
8090         * string/tst-svc.input: New file.  Input data for tst-svc.
8091         * string/tst-svc.expect: New file.  Expected out from tst-svc.
8092         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
8094         * math/Makefile (calls): Add s_signbit.
8096         * po/sv.po: Update.
8098         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
8099         * sunrpc/pmap_rmt.c: Likewise.
8101         * string/basename.c: Don't use ISO C definition style.
8102         Include <config.h> if HAVE_CONFIG_H is defined.
8104         * sunrpc/proto.h: Add `const' wherever possible.
8105         * sunrpc/rpc_cout.c: Likewise.
8106         * sunrpc/rpc_svcout.c: Likewise.
8107         * sunrpc/xdr_mem.c: Likewise.
8108         * sunrpc/xdr_rec.c: Likewise.
8109         * sunrpc/xdr_stdio.c: Likewise.
8110         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
8111         * sunrpc/xdr.c: Little code cleanups.
8112         * sunrpc/xdr_float.c: Likewise.
8113         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
8115         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
8117         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
8119         * time/europe: Update from tzdata1997f.
8120         * time/zic.c: Update from tzcode1997e.
8122 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
8124         * sysdeps/sparc/setjmp.S: Flush windows.
8125         Bug found by Richard Henderson.
8127 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8129         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
8131 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
8133         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
8134         atol instead of atoi.
8136 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
8138         * inet/Makefile (routines): Add if_index.
8139         * sysdeps/unix/sysv/linux/if_index.c: New file.
8140         * sysdeps/stub/if_index.c: New file.
8141         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
8142         if_index.c (required by IPv6 basic API).
8143         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
8145 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
8147         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
8148         for new advanced API draft.
8150 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8152         * stdio-common/printf_fp.c: Only use the field width for deciding
8153         on padding when printing special values.
8154         * stdio-common/printf_fphex.c: Likewise.
8156 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
8158         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
8159         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
8161 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8163         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
8164         msg_add_auth was overflowing it.
8166 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
8168         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
8169         when we can't find the symbol.
8171 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
8173         * posix/regex.c: Fix handling of 32-bit Windog environments.
8174         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
8176 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8178         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
8180 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8182         * elf/ldd.bash.in: Remove spurious quote character from version
8183         message.
8185 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8187         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
8188         loop if the file ends in a long line without newline.
8189         * locale/programs/charmap.c (charmap_read): Likewise.
8191 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
8193         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
8194         * sunrpc/rpc/svc_auth.h: Likewise.
8195         * sunrpc/rpc/svc.h: Likewise.
8196         * sunrpc/rpc/rpc_msg.h: Likewise.
8197         * sunrpc/rpc/pmap_rmt.h: Likewise.
8198         * sunrpc/rpc/pmap_clnt.h: Likewise.
8199         * sunrpc/rpc/clnt.h: Likewise.
8200         * sunrpc/rpc/auth_unix.h: Likewise.
8201         * sysdeps/generic/rpc/auth.h: Likewise.
8202         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8204 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
8206         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
8207         * sysdeps/standalone/arm/errnos.h: New file.
8208         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
8209         * sysdeps/unix/arm/fork.S: New file.
8210         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
8211         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
8212         `streamptr' argument.
8213         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
8214         <stdarg.h> to get va_list defined, return 0 not NULL.
8215         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
8216         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
8217         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
8218         * sysdeps/stub/seekdir.c (seekdir): Likewise.
8219         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
8220         * sysdeps/standalone/dirstream.h: Define struct __dirstream
8221         not DIR; <dirent.h> provides typedef.
8222         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
8223         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
8224         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
8226 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
8228         * sysdeps/powerpc/Dist: New file.
8229         * sysdeps/powerpc/Makefile: New file.
8230         * sysdeps/powerpc/fclrexcpt.c: New file.
8231         * sysdeps/powerpc/fegetenv.c: New file.
8232         * sysdeps/powerpc/fegetround.c: New file.
8233         * sysdeps/powerpc/feholdexcpt.c: New file.
8234         * sysdeps/powerpc/fenvbits.h: New file.
8235         * sysdeps/powerpc/fenv_const.c: New file.
8236         * sysdeps/powerpc/fenv_libc.h: New file.
8237         * sysdeps/powerpc/fesetenv.c: New file.
8238         * sysdeps/powerpc/fesetround.c: New file.
8239         * sysdeps/powerpc/feupdateenv.c: New file.
8240         * sysdeps/powerpc/fgetexcptflg.c: New file.
8241         * sysdeps/powerpc/fraiseexcpt.c: New file.
8242         * sysdeps/powerpc/fsetexcptflg.c: New file.
8243         * sysdeps/powerpc/ftestexcept.c: New file.
8244         * sysdeps/powerpc/mathbits.h: New file.
8246         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
8247         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
8248         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
8250         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
8252         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
8254         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
8255         instead .section ".text".
8257 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
8259         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
8260         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
8261         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
8262         * sysdeps/powerpc/setjmp.S: Likewise.
8264         * sysdeps/unix/sysv/linux/clone.S: Likewise.
8265         * sysdeps/unix/sysv/linux/socket.S: Likewise.
8266         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
8268 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
8270         * sysdeps/powerpc/strchr.s: New file.
8271         * sysdeps/powerpc/strcmp.s: New (ugly) file.
8272         * sysdeps/powerpc/memset.s: New file.
8273         * string/tester.c: Include prototype and _GNU_SOURCE to make
8274         standalone compilation possible. Give strcmp a better
8275         test. Give memset a better test.
8277 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
8279         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
8280         tests before?). Changed to symbolic register numbering as an
8281         experiment.
8282         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
8283         exist.
8284         * sysdeps/rs6000/ffs.c: Likewise.
8286 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
8288         * time/sys/time.h: Make second argument of setitimer const.
8289         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8290         * sysdeps/stub/setitimer.c: Likewise.
8291         * sysdeps/mach/hurd/setitimer.c: Likewise.
8293 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8295         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
8297         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
8298         namespace hierachy.
8299         * nis/nis_intern.h: Add new __nis_docall function prototypes.
8300         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
8301         rewritten functions.
8302         * nis/nis_checkpoint.c: Likewise.
8303         * nis/nis_lookup.c: Likewise.
8304         * nis/nis_mkdir.c: Likewise.
8305         * nis/nis_modify.c: Likewise.
8306         * nis/nis_ping.c: Likewise.
8307         * nis/nis_remove.c: Likewise.
8308         * nis/nis_rmdir.c: Likewise.
8309         * nis/nis_server.c: Likewise.
8310         * nis/nis_table.c: Likewise.
8312 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
8314         * argp/argp-eexst.c: Include <sysexits.h>.
8315         (argp_err_exit_status): Initialize to EX_USAGE.
8316         * argp/argp.h, argp/argp-help.c: Doc fixes.
8318 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
8320         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
8321         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
8323 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
8325         * sysdeps/unix/sysv/linux/poll.c: Save errno.
8327 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
8329         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
8331 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
8333         * sys/ttydefaults.h: Removed.
8335 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8337         * termios/sys/ttydefaults.h: Delete file.
8338         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
8339         TTYDEF_OFLAG.
8340         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
8341         XTABS in TTYDEF_OFLAG.
8342         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
8343         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
8345 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8347         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
8348         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
8350 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
8352         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
8353         _NL_CTYPE_MAP_NAMES field to stringlist.
8354         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
8355         * locale/localeinfo.h (enum value_type): Add stringlist.
8356         * locale/programs/locale.c (show_info): Handle stringlist.
8358         * locale/programs/charmap.c (charmap_read): If charmap file is not
8359         using the given name try to find it by looking through all available
8360         charmap files and compare the code set name.
8361         * locale/programs/locale.c (write_charmaps): Also print names of
8362         charset in <code_set_name> fields in the files.
8364         * elf/ldd.bash.in: Correct translatable strings.
8366         * posix/TESTS: Add some more tests for character class matching.
8367         * posix/regex.c: Merge with GNU awk version.
8368         (regex_compile): Use ISO C/amend 1 functions for character class
8369         handling.
8370         * posix/regex.h: Merge with GNU awk version.
8372         * posix/getopt.c: Declare as master copies.
8373         * posix/getopt1.c: Likewise.
8374         * posix/getopt.h: Likewise.
8376         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
8377         value to mount functions.
8378         Patch by a sun <asun@zoology.washington.edu>.
8380         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
8381         in size for copy relocation.
8382         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8383         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
8384         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
8385         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
8387 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
8389         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
8390         with other tests.
8391         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
8392         with other tests.
8394         * sunrpc/svc_run.c (svc_exit): New, defined.
8395         (svc_run): Test for svc_stop variable.
8396         * sunrpc/rpc/svc.h (svc_exit): New, declared.
8398 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8400         * math/libm-test.c (test_not_exception): Don't mix the internal
8401         exception flags with the host defined FE_* values.  All (indirect)
8402         callers of this and test_exceptions changed to pass the internal
8403         flag values.
8404         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
8405         in test names.
8406         (csinh_test): Allow invalid exception for NaN +- i Inf.
8408 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8410         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
8411         exception on infinite value.
8412         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
8413         __M81_COND_ZERO): New definitions.
8415         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
8416         Use __m81_test.
8418         * sysdeps/m68k/s_ccosh.c: Rewritten.
8419         * sysdeps/m68k/s_csinh.c: Rewritten.
8420         * sysdeps/m68k/s_cexp.c: Rewritten.
8421         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
8422         * sysdeps/m68k/s_ccoshl.c: Likewise.
8423         * sysdeps/m68k/s_csinhf.c: Likewise.
8424         * sysdeps/m68k/s_csinhl.c: Likewise.
8425         * sysdeps/m68k/s_cexpf.c: Likewise.
8426         * sysdeps/m68k/s_cexpl.c: Likewise.
8428         * sysdeps/m68k/s_ccos.c: New file.
8429         * sysdeps/m68k/s_ccosf.c: New file.
8430         * sysdeps/m68k/s_ccosl.c: New file.
8431         * sysdeps/m68k/s_csin.c: New file.
8432         * sysdeps/m68k/s_csinf.c: New file.
8433         * sysdeps/m68k/s_csinl.c: New file.
8435 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8437         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
8438         stamp files to avoid problems with long file names.
8440 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8442         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
8444         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
8445         NaN.  Fix test for sign of infinite y.
8447         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
8449         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
8451 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8453         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
8454         dependencies.
8456         * csu/abi-note.S: Replace undefined macro ALIGNARG.
8457         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
8458         character.
8460 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8462         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
8463         for local label.
8465 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8467         * nis/Makefile (libnsl-routines): Add a lot of new file names.
8469         * nis/nis_names.c (nis_add): Moved from here ...
8470         * nis/nis_add.c: ... to here and fix parameter flags.
8471         * nis/nis_names.c (nis_lookup): Moved from here ...
8472         * nis/nis_lookup.c: ... to here.
8473         * nis/nis_names.c (nis_modify): Moved from here ...
8474         * nis/nis_modify.c: ... to here and fix parameter flags.
8475         * nis/nis_names.c (nis_remove): Moved from here ...
8476         * nis/nis_remove.c: ... to here and fix parameter flags.
8477         * nis/nis_names.c: Removed.
8479         * nis/nis_subr.c (nis_domain_of): Moved from here ...
8480         * nis/nis_domain_of.c: .. to here.
8481         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
8482         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
8484         * nis/nis_addmember.c: New.
8485         * nis/nis_checkpoint.c: New.
8486         * nis/nis_creategroup.c: New.
8487         * nis/nis_defaults.c: New.
8488         * nis/nis_destroygroup.c: New.
8489         * nis/nis_getservlist.c: New.
8490         * nis/nis_ismember.c: New.
8491         * nis/nis_ping.c: New.
8492         * nis/nis_print_group_entry.c: New.
8493         * nis/nis_removemember.c: New.
8494         * nis/nis_mkdir.c: New.
8495         * nis/nis_rmdir.c: New.
8496         * nis/nis_verifygroup.c: New.
8498         * nis/rpcsvc/nislib.h: Fix internal function declarations.
8500         * nis/nis_server (nis_servstate): New.
8501         * nis/nis_server (nis_stats): New.
8503         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
8505         * nis/nis_call.c: Remove debug output.
8507         * nis/nis_intern.c (__nis_finddirectory): Remove.
8509 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
8511         * posix/TESTS2C.sed: Recognize only digits in first field.  This
8512         enables us to use colons in the pattern.
8514 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
8516         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
8517         will preserve non-call-saved registers; save and restore a0 across
8518         the system call.
8519         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
8520         data onto the new thread's stack.
8522 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
8524         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
8525         kernel can return negative values.  Only fail when return value is
8526         in range in range which is never returned as valid address.
8527         Patch by Bruno Haible <haible@ilog.fr>.
8529 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
8531         * math/libm-test.c: Implement test for exceptions.
8532         Partly due to Andreas Jaeger.
8533         (csin_test): New function.
8534         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
8535         * sysdeps/libm-i387/s_cexpf.S: Likewise.
8536         * sysdeps/libm-i387/s_cexpl.S: Likewise.
8537         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
8538         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
8539         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
8540         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
8541         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8542         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8543         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
8544         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
8545         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
8546         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
8547         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8548         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8549         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
8550         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8551         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8553         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
8554         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8555         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8556         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
8557         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8558         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8560         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
8561         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
8562         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
8564         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
8565         case.
8567         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
8568         for local label.
8570         * time/strftime.c (add): Respect `0' padding flag.
8571         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
8573 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
8575         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
8576         Use in +link macro.
8577         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
8578         (start-installed-name): Don't define here.
8579         When ELF generate file named by start-installed-name from start.o
8580         and abi-note.o.
8581         * csu/abi-note.S: New file.
8582         * sysdeps/stub/abi-tag.h: New file.
8583         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
8584         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
8586 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
8588         * manual/stdio.texi: Use @vtable where possible.
8589         Add TeX version of @multitable since texi2dvi cannot handle them
8590         correct in the moment.
8592         * po/de.po: Update.
8594 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
8596         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
8597         * config.make.in: Set cross-compiling from configure result.
8598         * configure.in: Emit definition of `cross_compiling'.
8599         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8601 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
8603         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
8604         correct `int' sizes for struct members.
8606 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
8608         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
8609         * sysdeps/libm-i387/e_pow.S: Likewise.
8610         * sysdeps/libm-i387/e_powl.S: Likewise.
8612 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8614         * math/fenv.h: Correct typos.
8616 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
8618         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
8619         in t0 rather than a4 to avoid it being clobbered.
8621 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8623         * manual/summary.awk: Recognize @defmumblex.
8625         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
8626         second description header.
8628 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8630         * manual/arith.texi (Floating-Point Classes): Don't indent text,
8631         makeinfo doesn't like that.
8633 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8635         * malloc/obstack.h (obstack_specify_allocation_with_arg,
8636         obstack_chunkfun, obstack_freefun): Fix casts.
8638 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8640         * manual/xtract-typefun.awk: Allow names with only one character.
8642 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
8644         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
8645         not <netinet/icmp.h>.
8646         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8648 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
8650         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
8651         to command line of compiler.
8652         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
8654         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
8655         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
8657         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
8658         in declaration.
8659         Patch by Michael Widenius <monty@tcx.se>.
8661         * time/strptime.c (strptime_internal): Fix %I format specifier
8662         being off by one.
8663         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
8665 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8667         * stdlib/lcong48_r.c: Include <limits.h>.
8668         * stdlib/seed48_r.c: Likewise.
8670         * stdio-common/printf_size.c (printf_size): Correct type of
8671         `units' and make robust against future changes.
8673 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8675         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
8676         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
8677         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
8679 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8681         * manual/arith.texi, manual/math.texi: Use @defmumblex for
8682         additional description headers.
8683         * manual/xtract-typefun.awk: Recognize them.
8685 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8687         * stdio-common/printf_size.c (printf_size): Correct size of array
8688         units.
8690 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
8692         * libgen.h: New file.
8694 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
8696         * stdlib/drand48.c: Cleanup namespace.
8697         * stdlib/drand48_r.c: Cleanup namespace.
8698         * stdlib/erand48.c: Cleanup namespace.
8699         * stdlib/erand48_r.c: Cleanup namespace.
8700         * stdlib/jrand48.c: Cleanup namespace.
8701         * stdlib/jrand48_r.c: Cleanup namespace.
8702         * stdlib/lrand48.c: Cleanup namespace.
8703         * stdlib/lrand48_r.c: Cleanup namespace.
8704         * stdlib/mrand48.c: Cleanup namespace.
8705         * stdlib/mrand48_r.c: Cleanup namespace.
8706         * stdlib/nrand48.c: Cleanup namespace.
8707         * stdlib/nrand48_r.c: Cleanup namespace.
8708         * stdlib/lcong48.c: Cleanup namespace.
8709         * stdlib/lcong48_r.c: Cleanup namespace.
8710         * stdlib/srand48.c: Cleanup namespace.
8711         * stdlib/srand48_r.c: Cleanup namespace.
8712         * stdlib/seed48.c: Cleanup namespace.
8713         * stdlib/seed48_r.c: Cleanup namespace.
8715         * stdlib/stdlib.h: Provide new prototypes.
8717 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
8719         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
8720         fpclassify & friends, and complex number operations.
8721         Update various other math functions for ISO C 9X.
8722         * manual/math.texi: Update various entries for ISO C 9X.
8723         Add description for complex number functions.
8724         Add description of rand48 function family.
8725         * manual/string.h: Add description of a64l and l64a.
8727         * math/cmathcalls.h: Fix typo.
8729         * stdlib/a64l.c: Pretty printing.
8731         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
8732         * stdlib/srand48_r.c: Likewise.
8733         * stdlib/stdlib.h: Pretty printing.
8735         * sysdeps/i386/fpu/__math.h: Fix typo.
8737         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
8738         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
8740 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8742         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
8744 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8746         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
8747         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
8748         isunordered.
8750 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
8752         * rellns-sh: Handle files in the same directory correctly.
8754 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
8756         * csu/initfini.c: Place ALIGN instruction at correct positions.
8757         Patch by Richard Henderson <richard@twiddle.rth.home>.
8759 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
8761         * Make-dist: Don't automatically ignore .c files if the .S or .s file
8762         is ignored.
8764         * csu/Makefile (distribute): Add defs.awk.
8766 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
8768         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
8769         * sysdeps/stub/shmdt.c: Likewise.
8770         Reported by Thomas Bushnell, n/BSG.
8772 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
8774         * manual/stdio.texi: Add description of printf_size and
8775         printf_size_info.  Partly based on the documentation by Larry McVoy.
8777 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
8779         * stdio-common/printf_size.c (printf_size): Correct values for
8780         `units'.
8781         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
8782         * stdio-common/tst-printfsz.c: New file.
8783         * stdio-common/Makefile (tests): Add tst-printfsz.c.
8784         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
8785         strings.
8787 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
8789         * login/utmp.h: Add prototype for updwtmp.
8790         * login/logwtmp.c: Add new function updwtmp which allows to write
8791         a complete record to the wtmp file.
8792         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
8794 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8796         * math/Makefile (headers): Add mathbits.h.
8798 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8800         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
8801         * sysdeps/m68k/fpu/s_sincos.c: New file.
8802         * sysdeps/m68k/fpu/s_sincosf.c: New file.
8803         * sysdeps/m68k/fpu/s_sincosl.c: New file.
8805         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
8806         functions.
8807         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
8809         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
8810         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8811         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8812         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
8813         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
8814         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
8816 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
8818         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
8819         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
8821 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
8823         * csu/initfini.c: Rewrite by Zack Weinberg
8824         <zack@rabi.phys.columbia.edu>.
8825         * csu/Makefile: Add rules for rewrite.
8826         * csu/defs.awk: Helper script to generate derived header.
8828 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
8830         * misc/libgen.h: Change prototype for of basename to XPG variant.
8831         * stdlib/Makefile (routines): Add xpg_basename.
8832         * stdlib/basename.c: New file.
8833         * string/string.h: Don't declare basename function if basename
8834         macro is available.
8836 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
8838         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
8840 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8842         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
8843         * sysdeps/m68k/fpu/fenvbits.h: New file.
8844         * sysdeps/m68k/fpu/fegetenv.c: New file.
8845         * sysdeps/m68k/fpu/fegetround.c: New file.
8846         * sysdeps/m68k/fpu/fesetenv.c: New file.
8847         * sysdeps/m68k/fpu/fesetround.c: New file.
8848         * sysdeps/m68k/fpu/feupdateenv.c: New file.
8849         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
8850         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
8851         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
8852         * sysdeps/m68k/fpu/ftestexcept.c: New file.
8853         * sysdeps/m68k/fpu/mathbits.h: New file.
8855         * sysdeps/m68k/fpu/s_remquo.c: New file.
8856         * sysdeps/m68k/fpu/s_remquol.c: New file.
8857         * sysdeps/m68k/fpu/s_remquof.c: New file.
8859         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
8860         mantissa overflows into exponent.  Fix priority of >> vs +.
8862         * math/libm-test.c (basic_tests): Use the appropriate isnan and
8863         isinf function to test the value of the nan function.
8865 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
8867         * sysdeps/libm-i387/s_finite.S: Fix typo.
8869         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
8870         isgreaterequal, isless, islessequal, islessgreater, and
8871         isunordered.
8873 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
8875         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
8877         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
8878         * math/mathcalls.h: Add prototype for sincos.
8879         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
8880         inlined sin and cos function.
8881         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
8882         Add optimized version of finite.
8883         Rewrite sincos function to handle too large arguments.
8884         * sysdeps/libm-i387/s_cos.S: Better code alignment.
8885         * sysdeps/libm-i387/s_cosl.S: Likewise.
8886         * sysdeps/libm-i387/s_sin.S: Likewise.
8887         * sysdeps/libm-i387/s_sinl.S: Likewise.
8888         * sysdeps/libm-i387/s_finite.S: Yet better code.
8889         * sysdeps/libm-i387/s_finitef.S: Likewise.
8890         * sysdeps/libm-i387/s_sincos.S: New file.
8891         * sysdeps/libm-i387/s_sincosf.S: New file.
8892         * sysdeps/libm-i387/s_sincosl.S: New file.
8893         * sysdeps/libm-ieee754/s_sincos.c: New file.
8894         * sysdeps/libm-ieee754/s_sincosf.c: New file.
8895         * sysdeps/libm-ieee754/s_sincosl.c: New file.
8897         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
8898         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8899         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8900         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
8901         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
8902         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
8903         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
8904         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8905         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8906         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
8907         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
8908         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
8909         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
8910         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8911         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8913         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
8914         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
8916         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
8917         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
8919         * nis/Makefile (services): Mention nisplus before compat.
8920         * nis/nis_call.c (__do_niscall): Change type of variable server_len
8921         to prevent warning.
8922         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
8923         cast to prevent warning.
8924         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
8925         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
8926         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
8927         type of variable `i' to prevent warning.
8928         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
8929         Likewise.
8930         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
8931         Likewise.
8932         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
8933         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
8934         Likewise.
8936         * sysdeps/generic/Dist: Remove old math implementation files.
8937         * sysdeps/generic/mathimpl.h: Removed.
8938         * sysdeps/generic/trig.h: Removed.
8939         * sysdeps/generic/sincos.c: Removed.
8940         * sysdeps/generic/asincos.c: Removed.
8941         * sysdeps/generic/exp__E.c: Removed.
8942         * sysdeps/generic/log__L.c: Removed.
8944 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8946         * malloc/malloc.c (fREe): Small optimization.  Before returning,
8947         add fast check whether the heap containing top can go away.
8949 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8951         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
8952         failing to allocate a new chunk, also try the main_arena.  It may
8953         be that we are only running out of mmapped regions, and other
8954         arenas cannot be enlarged sufficiently.
8955         (new_heap, malloc_extend_top): Handle top_pad more consistently,
8956         i.e. only in new_heap().
8958 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
8960         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
8961         if cross-compiling.
8963         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
8965         * configure.in: Add ARM support.
8966         * sysdeps/arm/Implies: New file.
8967         * sysdeps/arm/__longjmp.S: New file.
8968         * sysdeps/arm/bsd-_setjmp: New file.
8969         * sysdeps/arm/bsd-setjmp: New file.
8970         * sysdeps/arm/bytesex.h: New file.
8971         * sysdeps/arm/fpu_control.h: New file.
8972         * sysdeps/arm/jmp_buf.h: New file.
8973         * sysdeps/arm/setjmp.h: New file.
8974         * sysdeps/arm/sysdep.h: New file.
8975         * sysdeps/unix/arm/config.h: New file.
8977 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
8979         * sysdeps/libm-ieee754/s_cproj.c: New file.
8980         * sysdeps/libm-ieee754/s_cprojf.c: New file.
8981         * sysdeps/libm-ieee754/s_cprojl.c: New file.
8983 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
8985         * isomac.c: Improve messages.
8987         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
8988         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
8989         s_catanh, s_csqrt, and s_cpow.
8990         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
8991         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
8992         csqrt_test, cpow_test, rint_test.
8993         * math/math.h: Include new header mathbits.h which defines some
8994         more (system dependent) types and some macros.
8995         (isfinite): Use __finite instead of fpclassify.
8996         * sysdeps/generic/mathbits.h: New file.
8997         * sysdeps/i386/fpu/mathbits.h: New file.
8998         * sysdeps/i386/huge_val.h: Don't define INFINITY.
8999         * sysdeps/ieee754/huge_val.h: Likewise.
9000         * sysdeps/m68k/huge_val.h: Likewise.
9002         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
9003         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
9005         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
9006         standard first.
9008         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
9009         * sysdeps/libm-i387/s_finitef.S: Likewise.
9010         * sysdeps/libm-i387/s_finitel.S: Likewise.
9011         Provided by Joe Keane <jgk@jgk.org>.
9013         * sysdeps/libm-i387/s_nearbyint.S: New file.
9014         * sysdeps/libm-i387/s_nearbyintf.S: New file.
9015         * sysdeps/libm-i387/s_nearbyintl.S: New file.
9016         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
9017         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
9018         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
9020         * sysdeps/libm-ieee754/s_cacos.c: New file.
9021         * sysdeps/libm-ieee754/s_cacosf.c: New file.
9022         * sysdeps/libm-ieee754/s_cacosl.c: New file.
9023         * sysdeps/libm-ieee754/s_cacosh.c: New file.
9024         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
9025         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
9026         * sysdeps/libm-ieee754/s_casin.c: New file.
9027         * sysdeps/libm-ieee754/s_casinf.c: New file.
9028         * sysdeps/libm-ieee754/s_casinl.c: New file.
9029         * sysdeps/libm-ieee754/s_casinh.c: New file.
9030         * sysdeps/libm-ieee754/s_casinhf.c: New file.
9031         * sysdeps/libm-ieee754/s_casinhl.c: New file.
9032         * sysdeps/libm-ieee754/s_catan.c: New file.
9033         * sysdeps/libm-ieee754/s_catanf.c: New file.
9034         * sysdeps/libm-ieee754/s_catanl.c: New file.
9035         * sysdeps/libm-ieee754/s_catanh.c: New file.
9036         * sysdeps/libm-ieee754/s_catanhf.c: New file.
9037         * sysdeps/libm-ieee754/s_catanhl.c: New file.
9038         * sysdeps/libm-ieee754/s_ccos.c: New file.
9039         * sysdeps/libm-ieee754/s_ccosf.c: New file.
9040         * sysdeps/libm-ieee754/s_ccosl.c: New file.
9041         * sysdeps/libm-ieee754/s_cpow.c: New file.
9042         * sysdeps/libm-ieee754/s_cpowf.c: New file.
9043         * sysdeps/libm-ieee754/s_cpowl.c: New file.
9044         * sysdeps/libm-ieee754/s_csin.c: New file.
9045         * sysdeps/libm-ieee754/s_csinf.c: New file.
9046         * sysdeps/libm-ieee754/s_csinl.c: New file.
9047         * sysdeps/libm-ieee754/s_csqrt.c: New file.
9048         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
9049         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
9050         * sysdeps/libm-ieee754/s_ctan.c: New file.
9051         * sysdeps/libm-ieee754/s_ctanf.c: New file.
9052         * sysdeps/libm-ieee754/s_ctanl.c: New file.
9053         * sysdeps/libm-ieee754/s_ctanh.c: New file.
9054         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
9055         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
9057         * time/strftime.c (memset_space): Increment pointer.
9058         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
9059         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
9061 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
9063         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
9064         pipe, syscall.
9066 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9068         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9069         probably still wrong.
9070         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9071         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9073         * math/libm-test.c (remquo_test): Corrected.
9075 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9077         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
9078         * sysdeps/m68k/fpu/s_rinttol.c: New file.
9079         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
9081         * math/libm-test.c (remquo_test): Use check_long to test the
9082         quotient.
9083         (cbrt_test): Add epsilons for long double.
9085 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9087         * locale/localeinfo.h: Update declaration of _nl_current.
9089 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
9091         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
9093         * math/Makefile (headers): Add fenv.h and fenvbits.h.
9094         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
9095         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
9096         fegetenv, feholdexcpt, fesetenv, feupdateenv.
9097         (libm-calls): Add s_round.
9098         * math/fenv.h: New file.
9099         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
9100         Add roundtol_check and roundtoll_check.
9101         * math/math.h: Pretty printing.
9102         * sysdeps/i386/fpu/fclrexcpt.c: New file.
9103         * sysdeps/i386/fpu/fegetenv.c: New file.
9104         * sysdeps/i386/fpu/fegetround.c: New file.
9105         * sysdeps/i386/fpu/feholdexcpt.c: New file.
9106         * sysdeps/i386/fpu/fenvbits.h: New file.
9107         * sysdeps/i386/fpu/fesetenv.c: New file.
9108         * sysdeps/i386/fpu/fesetround.c: New file.
9109         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
9110         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
9111         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
9112         * sysdeps/i386/fpu/ftestexcept.c: New file.
9113         * sysdeps/stub/fclrexcpt.c: New file.
9114         * sysdeps/stub/fegetenv.c: New file.
9115         * sysdeps/stub/fegetround.c: New file.
9116         * sysdeps/stub/feholdexcpt.c: New file.
9117         * sysdeps/stub/fenvbits.h: New file.
9118         * sysdeps/stub/fesetenv.c: New file.
9119         * sysdeps/stub/fesetround.c: New file.
9120         * sysdeps/stub/fgetexcptflg.c: New file.
9121         * sysdeps/stub/fraiseexcpt.c: New file.
9122         * sysdeps/stub/fsetexcptflg.c: New file.
9123         * sysdeps/stub/ftestexcept.c: New file.
9125         * sysdeps/libm-i387/s_trunc.S: New file.
9126         * sysdeps/libm-i387/s_truncf.S: New file.
9127         * sysdeps/libm-i387/s_truncl.S: New file.
9129         * sysdeps/libm-ieee754/s_round.c: New file.
9130         * sysdeps/libm-ieee754/s_roundf.c: New file.
9131         * sysdeps/libm-ieee754/s_roundl.c: New file.
9133         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
9134         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9135         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9136         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9137         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9138         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9139         * sysdeps/libm-ieee754/s_clog.c: Likewise.
9140         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
9141         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
9142         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
9143         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
9144         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
9146         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
9147         63 bits.
9148         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
9150         * po/pl.po: Updated.
9152         * string/swab.c: Correctly handle array of odd length.
9154         * sysdeps/generic/memmem.c: Update copyright.
9155         * manual/string.texi: Correct prototype in memmem documentation.
9157 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
9159         * hurd/Makefile (sunrpc-headers): Add clnt.h.
9160         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
9162 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
9164         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
9165         the proper value from the GOT.  Pass argument block to
9166         init function.
9168         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
9169         _init ().
9171         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
9172         wrong the first time.
9174         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
9175         register.
9177         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
9179         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
9180         SYSDEP_CALL_INIT.
9182         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
9183         NSIG and duplicated SIGIOT.
9185 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9187         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9188         probably still wrong.
9189         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9190         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9192         * math/libm-test.c (remquo_test): Corrected.
9194 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9196         * Makefile (parent-tests): New target to run the tests to that
9197         they are executed even if some subdir tests have failed.
9198         (tests): Depend on parent-tests instead of running the tests
9199         directly.
9201 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9203         Clean up name space pollution in libnss_*.so:
9204         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
9205         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
9206         memcpy and bcmp by memcmp to clean up namespace.
9207         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
9208         dbopen.
9209         * nss/nss_db/db-alias.c (internal_setent): Likewise.
9210         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
9211         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
9212         the latter a weak alias.
9213         * db/db.h: Declare __dbopen.
9214         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
9215         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
9216         prefix and make the old names weak aliases.
9217         * db/mpool.h: Declare the new internal names.
9219 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9221         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
9222         * stdio-common/tstscanf.c: Add test case for this.
9224 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9226         * math/libm-test.c: Fix more typos.
9228 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9230         * math/libm-test.c (csinh_test): Fix test names.
9231         (ccosh_test): Likewise.
9233         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
9234         computing it directly.
9235         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9236         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9238         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
9239         computing it directly.
9240         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9241         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9243         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
9244         of wrapper.
9245         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9246         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9247         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
9248         special values.  Avoid use of fsincos if all that is needed is the
9249         quadrant.
9251         * sysdeps/m68k/fpu/s_ccosh.c: New file.
9252         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
9253         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
9254         * sysdeps/m68k/fpu/s_csinh.c: New file.
9255         * sysdeps/m68k/fpu/s_csinhl.c: New file.
9256         * sysdeps/m68k/fpu/s_csinhf.c: New file.
9258 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9260         * manual/Makefile (dir-add.texi): Simplify.
9262 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
9264         * rellns-sh: Rewrite to work also in presence of symlinks.
9266         * argp/argp-fmtstream.c: Add casts to prevent warnings.
9267         * argp/argp-fmtstream.h: Likewise.
9268         * argp/argp-help.c: Likewise.
9270         * elf/dl-minimal.c: Add definition of calloc.
9271         * elf/version.c: Add casts to prevent warnings.
9272         (_dl_check_map_versions): Use calloc instead of malloc+memset.
9274         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
9275         Reported by Greg McGary <gkm@eng.ascend.com>.
9277         * manual/libc.texinfo: Update malloc documentation for new malloc.
9278         * manual/memory.texi: Likewise.
9279         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
9281         * math/libm-test.c (check_long): New function.
9282         (check_longlong): New function.
9283         (rinttol_test): New function.
9284         (rinttoll_test): New function.
9286         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
9287         * nis/nss_compat/compat-pwd.c: Likewise.
9288         * nis/nss_compat/compat-spwd.c: Likewise.
9290         * stdlib/erand48_r.c (erand48_r): Build double value using
9291         ieee754_double union and use random bits in different order to
9292         increase effect of seed.
9293         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
9295         * sunrpc/svc_auth.c: Moved to ...
9296         * sysdeps/generic/svc_auth.c: ...here.
9298         * time/time.h: Pretty print.
9300 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
9302         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
9303         a read-only stream.
9305 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
9307         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
9308         in correct place.
9309         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9311 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
9313         * stdio-common/Makefile (tests): Add tst-ferror.
9314         * stdio-common/tst-ferror.c: New file.  Some tests for error
9315         indicator of streams.
9316         * stdio-common/tst-ferror.input: New file.
9318         * isomac.c: Let tests not fail because the compiler defines itself
9319         symbols which violate the name space rules.  gcc defines symbols
9320         for the architecture which are not protected by an underscore
9321         character.
9323         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
9324         (libm-calls): Add s_clog.
9325         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
9326         logarithm of complex value.
9327         * sysdeps/libm-ieee754/s_clogf.c: New file.
9328         * sysdeps/libm-ieee754/s_clogl.c: New file.
9329         * math/libm-test.c (clog_test): Compile this function.  Fix a few
9330         typos.
9331         (main): Call clog_test.
9333         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
9334         value to long int.
9335         * sysdeps/libm-i387/s_rinttol.S: New file.
9336         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
9337         value to long long int.
9338         * sysdeps/libm-i387/s_rinttoll.S: New file.
9340         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
9341         version was full of errors.
9343         * math/math.h (rinttol): Argument is of type `long double' not
9344         `double'.
9345         (rinttoll): Likewise.
9346         (roundtol): Likewise.
9347         (roundtoll): Likewise.
9349 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
9351         * posix/getopt.c (_getopt_initialize): Preserve optind.
9352         (_getopt_internal): Set optind to 1 if optind == 0 before
9353         calling _getopt_initialize ().
9355 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9357         * nis/rpcsvc/nislib.h: Change const nis_name to new type
9358         const_nis_name.
9359         * nis/nis_intern.c: Likewise.
9360         * nis/nis_intern.h: Likewise.
9361         * nis/nis_server.c: Likewise.
9362         * nis/nis_subr.c: Likewise.
9363         * nis/nis_table.c: Likewise.
9364         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
9365         nis_add().
9367         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
9368         * nis/nss_compat/compat-spwd.c: Likewise.
9370 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
9372         * libio/fileops.c (_IO_file_overflow): Set error when try to write
9373         on a read-only stream.
9375         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
9376         (ut_time): Define it only if _NO_UT_TIME is not defined.
9378 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
9380         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
9381         if not already defined.
9383 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
9385         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
9386         get definition of sa_family_t for <linux/atalk.h>.
9387         Reported by a sun <asun@zoology.washington.edu>.
9389         * malloc/malloc.c (cALLOc): Little optimization.
9391 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
9393         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
9394         headers but instead add comments and parameter names.
9395         Don't use BSD specific types in prototypes.
9397         * manual/nss.texi: Correct a few typos and errors.
9399         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
9400         algorithm.
9401         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
9402         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
9404         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
9405         with new algorithm.
9406         * sysdeps/libm-i387/s_cbrtf.S: New file.
9407         * sysdeps/libm-i387/s_cbrtl.S: New file.
9409         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
9410         * sysdeps/libm-i387/s_frexpf.S: Likewise.
9411         * sysdeps/libm-i387/s_frexpl.S: Likewise.
9413 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9415         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
9417         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
9418         DES part only with secure RPC add-on.
9420         * nis/nis_names.c (nis_modify): Fix rpc function number.
9422         * nis/nis_server.c: Fix typos.
9424         * nis/nss_compat/compat-grp.c: Add NIS+ support.
9425         * nis/nss_compat/compat-pwd.c: Likewise.
9426         * nis/nss_compat/compat-spwd.c: Likewise.
9428         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
9429         signals success.
9431         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
9432         secure RPC.
9433         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9434         * nis/ypclnt.c: Likewise.
9435         * nis/nis_intern.h: Likewise.
9437         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
9438         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9439         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9440         * nis/nss_nisplus/nisplus-network.c: Likewise.
9441         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9442         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9443         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9444         * nis/nss_nisplus/nisplus-service.c: Likewise.
9445         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9447         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
9448         and speedup.
9449         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9451 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
9453         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
9454         arguments.
9456 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
9458         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
9459         typo.
9461 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
9463         * sysdeps/libm-ieee754/s_nanf.c:
9464         * sysdeps/libm-ieee754/s_nan.c:
9465         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
9466         declaration of sprintf.
9468 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
9470         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
9471         strong_alias.
9472         Reported by sun <asun@zoology.washington.edu>.
9474         * rpc/auth.h: Removed.
9475         * rpc/auth_des.h: Removed.
9476         * sunrpc/rpc/auth.h: Moved to ...
9477         * sysdeps/generic/rpc/auth.h: ...here.
9478         * sunrpc/rpc/auth_des.h: Moved to ...
9479         * sysdeps/generic/rpc/auth_des.h: ...here.
9481 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
9483         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
9484         * sysdeps/libm-i387/s_frexpf.S: New file.
9485         * sysdeps/libm-i387/s_frexpl.S: New file.
9487 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
9489         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
9490         (sysdep_headers): Remove netinet/icmp.h.
9492 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
9494         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
9495         threaded programs.
9496         * manual/stdio.texi: Change wording for snprintf description a bit.
9497         Correct typo in example.
9498         * manual/lang.texi: Add documentation of __va_copy.
9500         * Makefile: Add rule to easily generate dir-add.texi file.
9501         * manual/Makefile: Likewise.
9503         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
9504         Change description of strtoll and strtoull to make clear these
9505         are the preferred names.
9506         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
9507         and friends.
9508         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
9509         HUGE_VALL.
9511 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
9513         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
9514         adjustment if the underlying function say it is too small.
9515         * pwd/fgetpwent.c: Likewise.
9516         * shadow/fgetspent.c: Likewise.
9517         * shadow/sgetspent.c: Likewise.
9519         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
9520         this means there was not enough room for the gr_mem array.
9522         * nss/nss_files/files-XXX.c: Leave loop and return error if
9523         `parse_result' returns -1.
9525         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
9526         of trailing list fails because of low memory.
9527         (parse_list): Rewrite.  The logic was completly incorrect since
9528         the checks for overflowing the array were not executed when
9529         needed.
9531         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
9532         signals success.
9534         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
9535         * nss/getXXent.c: Likewise.
9537         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
9538         is set in mantissa.
9539         * stdlib/strtof.c: Likewise.
9540         * stdlib/strtold.c: Likewise.
9541         * wcsmbs/wcstof.c: Likewise.
9542         * wcsmbs/wcstold.c: Likewise.
9544         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
9545         string.
9546         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
9547         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
9549 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
9551         * manual/errno.texi: Add description of strerror_r.
9553 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
9555         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
9557 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
9559         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
9561 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9563         * sysdeps/m68k/fpu/s_cexp.c: New file.
9564         * sysdeps/m68k/fpu/s_cexpf.c: New file.
9565         * sysdeps/m68k/fpu/s_cexpl.c: New file.
9566         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
9567         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
9568         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
9569         * sysdeps/m68k/fpu/s_trunc.c: New file.
9570         * sysdeps/m68k/fpu/s_truncf.c: New file.
9571         * sysdeps/m68k/fpu/s_truncl.c: New file.
9573         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
9574         * sysdeps/m68k/fpu/s_modff.c: Adapted.
9575         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
9577         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
9578         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
9579         typo in test for `y = 0.5'.
9581         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
9582         __nearbyint.  Remove __modf.
9584         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
9585         Define for gcc bug workaround.
9587         * math/libm-test.c (log2_test): Add epsilon for long double to
9588         "log2 (e)" and "log2 (16)".
9589         (modf_test): Fix test name.
9590         (sqrt_test): Add missing FUNC.
9592 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9594         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
9596 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9598         * stdlib/stdlib.h: Declare __clearenv.
9600 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9602         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
9603         the last change.
9605 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9607         * configure.in: Call AC_CANONICAL_BUILD before referencing
9608         $build.  Fix test for BUILD_CC.
9610 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
9612         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
9614 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
9616         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
9618 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
9620         * sysdeps/i386/memset.c: Fix typo.
9621         * sysdeps/stub/fchmod.c: Fix typo.
9622         * sysdeps/stub/fchdir.c: Fix typo.
9623         Reported by Fila Kolodny <fila@ibi.com>.
9625 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
9627         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
9628         * math/libm-test.c (initialize): Make strings unique and force
9629         values to memory.
9631         * posix/regex.c: Debug debugging code.
9633         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
9634         syntax for local label.
9635         * sysdeps/i386/add_n.S: Use correct local label syntax for the
9636         binary format.
9637         * sysdeps/i386/addmul_1.S: Likewise.
9638         * sysdeps/i386/lshift.S: Likewise.
9639         * sysdeps/i386/memchr.S: Likewise.
9640         * sysdeps/i386/memcmp.S: Likewise.
9641         * sysdeps/i386/mul_1.S: Likewise.
9642         * sysdeps/i386/rshift.S: Likewise.
9643         * sysdeps/i386/stpcpy.S: Likewise.
9644         * sysdeps/i386/stpncpy.S: Likewise.
9645         * sysdeps/i386/strchr.S: Likewise.
9646         * sysdeps/i386/strcspn.S: Likewise.
9647         * sysdeps/i386/strlen.S: Likewise.
9648         * sysdeps/i386/strpbrk.S: Likewise.
9649         * sysdeps/i386/strrchr.S: Likewise.
9650         * sysdeps/i386/strspn.S: Likewise.
9651         * sysdeps/i386/strtok.S: Likewise.
9652         * sysdeps/i386/sub_n.S: Likewise.
9653         * sysdeps/i386/submul_1.S: Likewise.
9654         * sysdeps/i386/i486/strcat.S: Likewise.
9655         * sysdeps/i386/i486/strlen.S: Likewise.
9656         * sysdeps/i386/i586/add_n.S: Likewise.
9657         * sysdeps/i386/i586/addmul_1.S: Likewise.
9658         * sysdeps/i386/i586/lshift.S: Likewise.
9659         * sysdeps/i386/i586/memset.S: Likewise.
9660         * sysdeps/i386/i586/mul_1.S: Likewise.
9661         * sysdeps/i386/i586/rshift.S: Likewise.
9662         * sysdeps/i386/i586/strchr.S: Likewise.
9663         * sysdeps/i386/i586/strlen.S: Likewise.
9664         * sysdeps/i386/i586/sub_n.S: Likewise.
9665         * sysdeps/i386/i586/submul_1.S: Likewise.
9667         * sysdeps/stub/s_log2l.c: Correct function name.
9669         * time/africa: Updated from ADO tzdata1997e.
9670         * time/antarctica: Likewise.
9671         * time/asia: Likewise.
9672         * time/australasia: Likewise.
9673         * time/europe: Likewise.
9674         * time/northamerica: Likewise.
9675         * time/southamerica: Likewise.
9676         * time/private.h: Updated from ADO tzcode1997d.
9677         * time/scheck.c: Likewise.
9679 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
9681         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
9683 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
9685         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
9686         * string/tst-strlen.c: Also test various string alignments.
9688 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
9690         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
9691         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
9693         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
9694         program base address is 0x01800000 if we can't otherwise tell what
9695         it is.
9696         (elf_machine_rela): Replace `assertion failed' with real error
9697         messages.
9699         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
9700         Put in extra parentheses to make explicit the relative precedence
9701         of + and >>.
9703         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
9704         pass.
9705         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
9707         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
9708         instead of .text.
9710 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
9712         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
9713         instead.
9715         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
9716         thread-specific memory in multi-threaded programs.
9718         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
9719         * sysdeps/stub/s_exp2f.c: New file.
9720         * sysdeps/stub/s_exp2l.c: New file.
9721         Reported by a sun <asun@zoology.washington.edu>.
9723         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
9724         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
9725         Suggested by a sun <asun@zoology.washington.edu>.
9727 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
9729         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
9730         of <netinet/icmp.h>.
9731         Patch by a sun <asun@zoology.washington.edu>.
9733 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
9735         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
9736         csqrt_test.
9738 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
9740         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
9742         * math/complex.h: Add C++ protection.
9744         * math/libm-test.c (cexp_test): Correct a few bugs.
9745         (csinh_test): New function.
9746         (ccosh_test): New function.
9747         (cacos_test): New function.
9748         (cacosh_test): New function.
9749         (casinh_test): New function.
9750         (catanh_test): New function.
9751         (main): Add calls to csinh_test and ccosh_test.
9753         * misc/Makefile (tests): Add tst-tsearch.
9754         Add rule to link tst-tsearch against libm.
9755         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
9756         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
9757         * misc/tst-tsearch.c: New file.
9759         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
9760         before using system.
9761         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
9762         before using popen.
9764         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
9765         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9766         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9768         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
9769         of complex exponential function.
9770         * sysdeps/libm-i387/s_cexpf.S: New file.
9771         * sysdeps/libm-i387/s_cexpl.S: New file.
9773         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
9774         complex cosh function.
9775         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
9776         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
9777         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
9778         complex sinh function.
9779         * sysdeps/libm-ieee754/s_csinhf.c: New file.
9780         * sysdeps/libm-ieee754/s_csinhl.c: New file.
9782         * math/carg.c: New file.  Generic implementatio of carg function.
9783         * math/cargf.c: New file.
9784         * math/cargl.c: New file.
9786 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
9788         * sysdeps/posix/system.c: Update copyright.
9790 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
9792         * elf/dl-error.c (_dl_catch_error): Add another argument which is
9793         passed to OPERATE.
9794         (_dl_receive_error): Likewise.
9795         * elf/link.h: Change prototypes for _dl_catch_error and
9796         _dl_receive_error to reflect above change.
9797         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
9798         with additional argument with pointer to data.
9799         * elf/dlclose.c: Likewise.
9800         * elf/dlerror.c: Likewise.
9801         * elf/dlopen.c: Likewise.
9802         * elf/dlsym.c: Likewise.
9803         * elf/dlvsym.c: Likewise.
9804         * elf/rtld.c: Likewise.
9805         * nss/nsswitch.c: Likewise.
9806         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
9808 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
9810         * elf/dl-error.c: Manually set up the values of "c", this avoids a
9811         call to memcpy and a zero 152 bytes structure.
9813         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
9814         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
9815         pass.
9817         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
9819         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
9820         kernel_sigaction.h
9822         Add Linux/SPARC specific definitions.
9823         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
9824         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
9825         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
9826         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
9827         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
9828         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
9829         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
9831 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
9833         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
9834         __getservbyname_r() not getservbyname().
9835         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
9837 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
9839         * gmon/gmon.c (monstartup): Mark all messages.
9840         (write_call_graph): Rewrite to use larger I/O vector for writev
9841         call to reduce syscall overhead.
9842         (write_bb_counts): Simplify writev handling.
9844         * inet/rexec.c: Make string parameters `const'.
9845         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
9846         rresvport.
9848         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
9849         in libm-test.
9850         * math/libm-test.c (this_does_nothing): Remove functions.  It's
9851         notuseful on any platform but ix86.
9852         (inverse_func_pair_test): Don't use this_does_nothing.  Use
9853         memory reference.
9854         (identities1_test): Likewise.
9855         (identities2_test): Likewise.
9856         (identities3_test): Likewise.
9857         (basic_test): Likewise.
9858         Patch by Andreas Schwab.
9859         (BUILD_COMPLEX): New macro.  Create complex number from real and
9860         imaginary parts.  This works around bugs/inefficiencies in current
9861         gcc.
9862         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
9864         * nss/nsswitch.c: Fix typo.
9866         * posix/glob.h: Add declaration for glob_pattern_p.
9867         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
9868         make glob_pattern_p a weak alias.  This function is used in other
9869         packages (e.g. bash).
9871         * signal/Makefile (routines): Add sigisempty, sigandset, and
9872         sigorset.
9873         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
9874         sigorset.
9875         * signal/sigisempty.c: New file.
9876         * signal/sigandset.c: New file.
9877         * signal/sigorset.c: New file.
9878         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
9879         and __sigorset.
9880         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
9882         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
9883         determines the bits in the mantissa part of the NaN.
9884         * stdlib/strtof.c: Define SET_MANTISSA for float type.
9885         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
9886         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
9887         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
9889         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
9890         complex number components.  Some more corrects for special cases.
9891         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9892         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9894         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
9896         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
9897         ip_icmp.h.  Reported by HJ Lu.
9899 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9901         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
9903         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
9904         i386.
9905         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
9906         ELF_MACHINE_RELOC_NOPLT): Define.
9908 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9910         * grp/grp.h: Include <stddef.h> only once.
9912 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9914         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
9915         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
9917         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
9918         TAB3, if one of them is defined.
9920 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
9922         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
9923         is found.
9924         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
9926 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9928         * sunrpc/Makefile: Comment gccwarn out.
9929         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
9930         with enabled warnings.
9931         * sunrpc/auth_unix.c: Likewise.
9932         * sunrpc/authuxprot.c: Likewise.
9933         * sunrpc/bindrsvprt.c: Likewise.
9934         * sunrpc/clnt_gen.c: Likewise.
9935         * sunrpc/clnt_perr.c: Likewise.
9936         * sunrpc/clnt_raw.c: Likewise.
9937         * sunrpc/clnt_simp.c: Likewise.
9938         * sunrpc/clnt_tcp.c: Likewise.
9939         * sunrpc/clnt_udp.c: Likewise.
9940         * sunrpc/get_myaddr.c: Likewise.
9941         * sunrpc/getrpcport.c: Likewise.
9942         * sunrpc/pm_getmaps.c: Likewise.
9943         * sunrpc/pm_getport.c: Likewise.
9944         * sunrpc/pmap_clnt.c: Likewise.
9945         * sunrpc/pmap_prot.c: Likewise.
9946         * sunrpc/pmap_prot2.c: Likewise.
9947         * sunrpc/pmap_rmt.c: Likewise.
9948         * sunrpc/rpc/auth.h: Likewise.
9949         * sunrpc/rpc/clnt.h: Likewise.
9950         * sunrpc/rpc/pmap_clnt.h: Likewise.
9951         * sunrpc/rpc/svc.h: Likewise.
9952         * sunrpc/rpc/svc_auth.h: Likewise.
9953         * sunrpc/rpc/types.h: Likewise.
9954         * sunrpc/rpc/xdr.h: Likewise.
9955         * sunrpc/rpc_clntout.c: Likewise.
9956         * sunrpc/rpc_cmsg.c: Likewise.
9957         * sunrpc/rpc_dtable.c: Likewise.
9958         * sunrpc/rpc_prot.c: Likewise.
9959         * sunrpc/svc.c: Likewise.
9960         * sunrpc/svc_auth.c: Likewise.
9961         * sunrpc/svc_authux.c: Likewise.
9962         * sunrpc/svc_raw.c: Likewise.
9963         * sunrpc/svc_run.c: Likewise.
9964         * sunrpc/svc_simple.c: Likewise.
9965         * sunrpc/svc_tcp.c: Likewise.
9966         * sunrpc/svc_udp.c: Likewise.
9967         * sunrpc/xdr.c: Likewise.
9968         * sunrpc/xdr_array.c: Likewise.
9969         * sunrpc/xdr_mem.c: Likewise.
9970         * sunrpc/xdr_rec.c: Likewise.
9971         * sunrpc/xdr_ref.c: Likewise.
9972         * sunrpc/xdr_stdio.c: Likewise.
9974 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
9976         * math/libm-test.c (log2_test): Compile this function and call it.
9977         (exp2_test): Likewise, but check whether function really exists
9978         before testing.
9980         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
9982 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
9984         Implement exp2 function.
9985         * sysdeps/libm-i387/s_exp2.S: New file.
9986         * sysdeps/libm-i387/s_exp2f.S: New file.
9987         * sysdeps/libm-i387/s_exp2l.S: New file.
9989         Implement log2 function.
9990         * sysdeps/libm-i387/s_log2.S: New file.
9991         * sysdeps/libm-i387/s_log2f.S: New file.
9992         * sysdeps/libm-i387/s_log2l.S: New file.
9993         * sysdeps/libm-ieee754/s_log2.c: New file.
9994         * sysdeps/libm-ieee754/s_log2f.c: New file.
9995         * sysdeps/stub/s_log2.c: New file.  Stub version.
9997 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
9999         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
10001         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
10002         change to tst-setjmp.c.
10004         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
10005         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
10006         * sysdeps/sparc/dl-machine.h: Likewise.
10008         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
10009         Add missing qs variable.
10010         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
10012 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
10014         * gmon/gmon.c: Optimize a bit by using more sets of records to
10015         write in a single writev call.
10017         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
10018         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
10019         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
10020         `const'.
10021         Use __MATHDECLX for isinf and finite.
10023         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
10024         clearenv a weak alias.
10026         Implement complex exponential function.
10027         * sysdeps/libm-ieee754/s_cexp.c: New file.
10028         * sysdeps/libm-ieee754/s_cexpf.c: New file.
10029         * sysdeps/libm-ieee754/s_cexpl.c: New file.
10031         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
10032         nan a weak alias.
10033         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
10034         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
10036         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
10037         of type clashes.  Add all definitions here.
10039         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
10040         to XPG4.2.
10041         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
10042         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10044         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
10046         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
10047         use of kernel types.
10049 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
10051         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
10052         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
10054 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10056         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
10058 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10060         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
10062 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10064         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
10065         * sysdeps/m68k/fpu/s_logb.c: Removed.
10066         * sysdeps/m68k/fpu/s_logbf.c: Removed.
10067         * sysdeps/m68k/fpu/s_logbl.c: Removed.
10069         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
10070         Don't define here.
10071         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
10072         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10073         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
10074         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
10075         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
10076         * sysdeps/m68k/fpu/e_powl.c: Likewise.
10078         * sysdeps/m68k/fpu/s_log2.c: New file.
10079         * sysdeps/m68k/fpu/s_log2f.c: New file.
10080         * sysdeps/m68k/fpu/s_log2l.c: New file.
10081         * sysdeps/m68k/fpu/s_exp2.c: New file.
10082         * sysdeps/m68k/fpu/s_exp2f.c: New file.
10083         * sysdeps/m68k/fpu/s_exp2l.c: New file.
10085 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10087         * Makeconfig (all): Make sure this is always the default goal.
10089 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10091         * math/libm-test.c: Increase epsilon in many places.  Fix many
10092         typos.  Allow optinal argument also for short option.
10094 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10096         * math/Makefile ($(objpfx)$(tests)): Link against libm.
10098 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
10100         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
10101         denormalized numbers.
10103         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
10104         Don't include <endian.h>.
10106 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10107         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
10108         Don't include <endian.h>.
10110 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
10112         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
10114 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10116         * math/cmathcalls.h: Remove whitespace before function name in use
10117         of __MATHDECL macro, to make it compilable with a traditional
10118         preprocessor.
10120 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
10122         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
10123         compiler.
10125 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
10127         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
10128         by 31 positions to get 0/1 result.
10129         Patch by Joe Keane <jgk@jgk.org>.
10131 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
10133         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
10134         to prevent from ld linking in getopt.o even if there is another
10135         incompatible one.
10137         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
10139 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10141         * nis/nis_call.c (__do_niscall): Print message if cold start file
10142         does not exist.
10143         * nis/nis_file.c: Don't print error messages.
10144         * nis/nis_local_names.c (nis_local_host): Fix pointer errors.
10145         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
10146         * nis/rpcsvc/nis.h: Likewise.
10147         * nis/ypclnt.c: Fix prototypes.
10149 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
10151         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
10152         returning.
10153         * sysdeps/libm-i387/e_scalbf.S: Likewise.
10154         * sysdeps/libm-i387/e_scalbl.S: Likewise.
10155         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
10157         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
10158         dynamic linker was called implicitly by the kernel.
10159         Reported by Eric Youngdale <eric@andante.jic.com>.
10161         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
10162         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
10163         prevent clever optimizations which corrupt the tests.
10165 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
10167         * math/libm-test.c (scalb_test): New function.
10168         (sqrt_test): New function.
10169         (scalbn_test): New function.
10170         (ilogb_test): New function.
10171         (main): Added calls for new test functions.
10172         (ldexp_test): Add another test for ldexp(x,0).
10174 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
10176         * math/libm-test.c (remquo_test): Correct messages so that they
10177         match the tests.
10178         (copysign_test): Likewise.
10180 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
10182         * stdio-common/Makefile (routines): Add printf_size.
10184         * stdio-common/printf.h: Add declarations for printf_size and
10185         printf_size_info.
10187         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
10188         declaration.
10189         (parse_one_spec): Test whether __printf_function_table is not NULL
10190         before using registered handlers and don't test
10191         __printf_arginfo_table.  Update nargs also when handler is
10192         registered.
10194         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
10195         processed in fast loop.
10197         * stdio-common/printf_size: New file.
10199 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
10201         * time/sys/time.h: Make values ITIMER_* also available as macros.
10203         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
10204         __fstat but instead __fxstat directly to avoid dependency on
10205         libc.a when inline failed.
10206         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
10208         * math/Makefile (libm-routines): Add s_remquo.
10209         * sysdeps/libm-i387/s_remquo.S: New file.
10210         * sysdeps/libm-i387/s_remquof.S: New file.
10211         * sysdeps/libm-i387/s_remquol.S: New file.
10212         * sysdeps/libm-ieee754/s_remquo.c: New file.
10213         * sysdeps/libm-ieee754/s_remquof.c: New file.
10214         * sysdeps/libm-ieee754/s_remquol.c: New file.
10216         * math/libm-test.c (remquo_test): New function.
10218         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
10219         correctly.
10221 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
10223         * math/Makefile (libm-calls): Add s_nan.
10224         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
10225         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
10226         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
10228         * math/libm-test.c (basic_tests): Add tests for `nan' function.
10230         * math/libm-test.c (copysign_test): New function.
10231         (main): Call copysign_test.
10233 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
10235         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
10236         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
10237         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
10238         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
10240         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
10241         New functions.  Test these functions.
10242         (main): Call above new functions.
10244 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
10246         * Net release 2.0.2.
10248 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
10250         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
10251         XTABS.
10252         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
10253         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
10254         of Sun Dec 15 16:33:44 1996.
10255         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
10257 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
10259         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
10260         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
10261         consult their values.
10262         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
10263         ELF_MACHINE_RELOC_NOPLT): New macros.
10265         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
10266         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
10267         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
10269         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
10270         symbol lookup before checking reloc type except for R_386_RELATIVE.
10271         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
10273         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
10274         per-machine since it supposedly can't happen on i386.
10276         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
10277         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
10278         indirection from REF arg; change callers.
10279         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
10280         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
10281         FLAGS arg altogether.
10282         * elf/dlsym.c: Remove argument of FLAGS parameter.
10283         * elf/dlvsym.c: Likewise.
10284         * elf/link.h: Update decls.
10286 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
10288         * Makefile (distribute): Add BUGS.
10290         * sysdeps/generic/machine-gmon.h: Update copyright.
10292         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
10293         i386-mcount.
10294         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
10295         use regparam mechanism for call of `fixup' call.
10296         * sysdeps/i386/Dist: New file.
10297         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
10298         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
10299         of gmon definitions.
10301 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
10303         * stdlib/tst-strtol.c (main): Save the value of errno since printf
10304         may modify it, use the saved errno everywhere.
10305         * stdlib/tst-strtod.c (main): Likewise.
10307 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
10309         * posix/glob.c (glob): Fix completely broken handling of
10310         GLOB_BRACE and partly broken handling of GLOB_TILDE.
10311         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
10313 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
10315         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
10316         UIO_FASTIOV value by multiple readv calls since we need atomicity.
10317         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10318         Reported by Matthis Urlichs.
10320 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
10322         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
10323         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
10324         which clobbers %eax.
10326         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
10327         crtbegin.o/crtend.o, using gcc to find them.
10328         (+link): Use them.
10330 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
10332         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
10333         affect the alignment, and therefore the end padding of the structs.
10334         Reported by David Mosberger <davidm@azstarnet.com>.
10335         * gmon.c: Declare the variables with aligned tags to compensate.
10336         Use __writev instead of write for the I/O.
10338         * misc/sys/uio.h: Declare __writev and __readv.
10339         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
10340         * sysdeps/posix/writev.c: Likewise for writev.
10341         * sysdeps/stub/readv.c: Likewise.
10342         * sysdeps/stub/writev.c: Likewise.
10343         * sysdeps/unix/syscalls.list: Likewise.
10344         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10345         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10347         * stdlib/testdiv.c: Exit with error status when we have an error.
10348         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
10349         * sysdeps/alpha/ldiv.S: Likewise.
10351         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
10353 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
10355         * nis/nis_file.c: Unify error handling.
10357 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10359         * nis/nis_file.c (writeColdStartFile): Fix typo.
10360         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
10361         * nis/nis_free.c (nis_free_servers): Likewise.
10362         * nis/rpcsvc/nislib.h: Likewise.
10364         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
10366 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
10368         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
10370         * sysdeps/unix/sparc/sysdep.h: Update copyright.
10372 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10374         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
10375         it.
10377         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
10378         macro on ELF systems.
10380         * sysdeps/sparc/configure.in: Fix.
10382         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
10384         * sysdeps/sparc/setjmp.S: Fix my bugs.
10386         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
10387         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
10388         as-FLAGS-.so.
10389         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
10390         syscall.
10391         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
10392         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
10393         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
10394         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
10396         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
10397         symbol.
10398         (_dl_lookup_symbol): Test against the symbol being global not
10399         against the symbol being not weak (fixes important problem with
10400         the SPARC linker)
10402         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
10404         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
10405         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
10407 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
10409         * Makeconfig: (rpath-link): Add math/ directory.
10410         (math-objdir): New variable.
10411         (link-extra-lib): Define to special version when
10412         $(common-objpfx)!=$(objpfx) to allow libraries outside
10413         $(common-objpfx) be linked to the application.
10415         * math/Makefile: Add rules to build and run test programs.
10416         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
10417         (check_equal): Correct check for error.
10418         (ceil_test): Fix typo.
10419         (log_test): Fix typo.
10420         (floor_test): Fix typo.
10421         (pow_test): Fix typos.
10422         (log10_test): Allow slight incorrectness for `log10(e)'.
10423         (modf_test): New functions to test `modf' et.al.
10424         (hypot_test): Rewrite test completely.
10425         Patch partly by Andreas Jaeger.
10426         * math/test-double.h (__NO_MATH_INLINES): Define only if not
10427         already defined.
10428         * math/test-float.h: Likewise.
10429         * math/test-logdouble.h: Likewise.
10431         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
10432         * setjmp/tst-setjmp.c: Correct and extend test suite.
10433         * sysdeps/i386/__longjmp.S: Update copyright.
10434         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
10435         `__sigsetjmp' in PIC code.
10436         * sysdeps/i386/bsd-setjmp.S: Likewise.
10438         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
10439         overflow.
10440         * sysdeps/libm-i387/e_powf.S: Likewise.
10441         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
10442         case since expm1(-0) == -0.
10443         * sysdeps/libm-i387/s_expm1f.S: Likewise.
10444         * sysdeps/libm-i387/s_expm1l.S: Likewise.
10445         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
10446         access to FP number.
10447         * sysdeps/libm-ieee754/s_modff.c: Likewise.
10448         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
10449         code.  It never worked correctly.
10450         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
10451         case since tanh(-0) == -0.
10452         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
10453         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
10455 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
10457         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
10458         `thousands' to support systems with sizeof(wchar_t) !=
10459         sizeof(wint_t).  Blargh.
10461         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
10462         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
10463         appropriate headers.
10465         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
10466         UIO_FASTIOV and set to 8 if not available.
10467         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10468         Patch by HJ Lu.
10470         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
10471         "kernel_stat.h".
10472         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
10473         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
10474         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
10476 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
10478         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
10480         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
10482         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
10484         * sysdeps/unix/sysv/Dist: Add direct.h.
10486         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
10488         * Make-dist ($(tardir).tar): Prefer writing temporary file to
10489         $TMPDIR is available.  The default is /tmp.
10491         * sysdeps/generic/ip.h: Move to...
10492         * sysdeps/generic/netinet/ip.h: ...here.
10494         * Makefile (tests): Quote $(CC) argument to isomac program.
10495         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
10497         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
10498         is placed in wrong place on the stack.
10499         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
10500         * sysdeps/tst-setjmp.c: Add new test for above problem.
10502         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
10503         * sysdeps/libm-i387/e_powf.S: Likewise.
10504         * sysdeps/libm-i387/e_powl.S: Likewise.
10506 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
10508         * time/offtime.c (__offtime): Change type of `yg' to long int.
10509         Reported by a sun <asun@zoology.washington.edu>.
10511 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
10513         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
10514         2.2.0 to prevent version mismatch.
10516 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
10518         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
10519         already defined.
10521 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
10523         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
10524         in ioctls.h.
10526         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
10527         loader first relocates itself.
10528         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
10529         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
10530         jump slot relocation. Prefer relative branches (some PowerPC chips
10531         don't predict absolute branches).
10532         (elf_machine_runtime_setup): Simplify and correct expressions.
10533         (RTLD_START): Fix bug changing _dl_starting_up.
10534         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
10535         strange Linux/PPC padding of initial stack.
10537 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
10539         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
10540         for future expansion.
10541         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
10542         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
10543         can't have a switch statement.
10544         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
10545         static.
10547         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
10548         confusing gcc's idea of the current section.
10549         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
10550         RTLD_START): Likewise.
10552 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
10554         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
10555         elf_machine_runtime_setup): Flush data & instruction caches when
10556         necessary, for 603/604 support. Add better support for large PLTs.
10557         (elf_machine_rela): Remove relocations that wouldn't work if
10558         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
10559         Never target branch relocations at a PLT entry.
10561         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
10562         generating PIC.
10563         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
10564         * sysdeps/powerpc/setjmp.S: Likewise.
10565         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
10566         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
10567         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
10568         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
10570         * sysdeps/powerpc/elf/start.c: Clean up.
10572         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
10573         setjmp call.
10575         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
10577 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
10579         * Make-dist (srcs): Add $(test-srcs).
10580         * MakeTAGS (all-sources): Likewise.
10581         * Makerules (depfiles, common-mostlyclean): Likewise.
10582         * Rules (tests): Likewise.
10584 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
10586         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
10588 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
10590         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
10591         protocol=NULL to match any protocol rather than returning an
10592         error.
10594 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
10596         * nss/nss_files/files-service.c (servbyname): Match any protocol
10597         if proto==NULL.
10599 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
10601         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
10602         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
10603         Proposed by Thomas Bushnell, n/BSG.
10605 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
10607         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
10608         the buffer for replacement.
10610 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
10612         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
10613         sys_lstat and sys_stat.
10615 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10617         Add NIS+ functions
10618         * shlib-versions: Add libnss_nisplus.
10619         * nis/Makefile: Add NIS+ source files.
10620         * nis/nis_call.c: New file.
10621         * nis/nis_clone.c: New file.
10622         * nis/nis_error.c: New file.
10623         * nis/nis_file.c: New file.
10624         * nis/nis_free.c: New file.
10625         * nis/nis_intern.c: New file.
10626         * nis/nis_intern.h: New file.
10627         * nis/nis_local_names.c: New file.
10628         * nis/nis_names.c: New file.
10629         * nis/nis_print.c: New file.
10630         * nis/nis_server.c: New file.
10631         * nis/nis_subr.c: New file.
10632         * nis/nis_table.c: New file.
10633         * nis/nis_xdr.c: New file.
10634         * nis/nss-nisplus.h: New file.
10635         * nis/nss_nisplus/nisplus-alias.c: New file.
10636         * nis/nss_nisplus/nisplus-ethers.c: New file.
10637         * nis/nss_nisplus/nisplus-grp.c: New file.
10638         * nis/nss_nisplus/nisplus-hosts.c: New file.
10639         * nis/nss_nisplus/nisplus-netgrp.c: New file.
10640         * nis/nss_nisplus/nisplus-network.c: New file.
10641         * nis/nss_nisplus/nisplus-proto.c: New file.
10642         * nis/nss_nisplus/nisplus-publickey.c: New file.
10643         * nis/nss_nisplus/nisplus-pwd.c: New file.
10644         * nis/nss_nisplus/nisplus-rpc.c: New file.
10645         * nis/nss_nisplus/nisplus-service.c: New file.
10646         * nis/nss_nisplus/nisplus-spwd.c: New file.
10647         * nis/rpcsvc/nis.h: New file.
10648         * nis/rpcsvc/nis.x: New file.
10649         * nis/rpcsvc/nis_object.x: New file.
10650         * nis/rpcsvc/nis_tags.h: New file.
10651         * nis/rpcsvc/nislib.h: New file.
10653 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10655         * mach/devstream.c (output/write_some): Don't try and write more
10656         than IO_INBAND_MAX in a single call to device_write_inband.
10658 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
10660         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
10661         type is SVID.
10662         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
10663         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
10665         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
10666         FLAGS parameter.
10668 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
10670         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
10671         Change msg_iovlen and msg_controllen (in struct msghdr) to
10672         `size_t' to keep in step with kernel.
10674 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
10676         * manual/filesys.texi: Add documentation for scandir and alphasort.
10677         * manual/examples/dir2.c: New example for scandir.
10679         * math/math.c (fpclassify): Correct stupid typos.
10681         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
10682         * math/test/float.c: New file.  Frontend for float tests.
10683         * math/test/double.c: New file.  Frontend for double tests.
10684         * math/test/longdouble.c: New file.  Frontend for long double  tests.
10686         * posix/Makefile (routines): Add bsd-getpgrp.
10687         * posix/bsd-getpgrp.c: New file.
10688         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
10689         calls to __bsd_getpgrp.
10691         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
10693         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
10694         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
10695         * sysdeps/ieee754/huge_val.h: Remove definition of long double
10696         definition.  Make it the same as the double definition.
10698         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
10699         * sysdeps/libm-i387/e_acosf.S: Likewise.
10700         * sysdeps/libm-i387/e_acosl.S: Likewise.
10701         * sysdeps/libm-i387/e_asin.S: Likewise.
10702         * sysdeps/libm-i387/e_asinf.S: Likewise.
10703         * sysdeps/libm-i387/e_asinl.S: Likewise.
10704         * sysdeps/libm-i387/e_exp.S: Likewise.
10705         * sysdeps/libm-i387/e_expf.S: Likewise.
10706         * sysdeps/libm-i387/e_expl.S: Likewise.
10707         * sysdeps/libm-i387/s_scalbn.S: Likewise.
10708         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
10709         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
10711         * sysdeps/libm-i387/e_log.S: Optimize branch code.
10712         * sysdeps/libm-i387/e_logf.S: Likewise.
10713         * sysdeps/libm-i387/e_logl.S: Likewise.
10714         * sysdeps/libm-i387/e_log10.S: Likewise.
10715         * sysdeps/libm-i387/e_log10f.S: Likewise.
10716         * sysdeps/libm-i387/e_log10l.S: Likewise.
10718         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
10719         * sysdeps/libm-i387/e_powf.S: Likewise.
10720         * sysdeps/libm-i387/e_powl.S: Likewise.
10722         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
10723         argument to -1.0.
10724         * sysdeps/libm-i387/s_expm1f.S: Likewise.
10725         * sysdeps/libm-i387/s_expm1l.S: Likewise.
10727         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
10729         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
10730         stack element after fxtract.
10732         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
10733         implementation for atan2 function.
10735         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
10736         _SVID_ mode when acos, asin, atan2, log, log10 is called with
10737         argument out of range.
10738         Add new error case for pow(+0,neg).
10740         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
10741         NaN and +-inf.
10742         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
10743         digit in stupid 80 bit formats.
10745         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
10746         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
10747         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
10749         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
10750         long double type.
10752         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
10753         in SVID mode.
10754         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
10755         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
10757         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
10758         or -0.
10759         * sysdeps/libm-ieee754/w_powf.c: Likewise.
10760         * sysdeps/libm-ieee754/w_powl.c: Likewise.
10762         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
10764         * sysdeps/stub/fcntlbits.h: Update copyright.
10765         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
10766         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
10767         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
10768         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
10769         * sysdeps/unix/common/fcntlbits.h: Likewise.
10770         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
10771         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
10772         and FNDELAY.
10773         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
10775         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
10776         only reclen bytes.
10778         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
10779         and O_NORW.
10780         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
10782         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
10784         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
10785         struct stat to user-level form.
10786         * sysdeps/unix/sysv/linux/lxstat: New file.
10787         * sysdeps/unix/sysv/linux/xstat: New file.
10788         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
10789         kernel.
10790         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
10791         to use prescribed types for elements.
10792         (_STAT_VER): Change to value 3.
10793         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
10794         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
10795         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
10797         * time/Makefile: Correct dependencies for test-tz.
10799 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
10801         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
10802         (needed for IPv6 basic sockets API).
10804 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
10806         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
10807         kernel header.
10808         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
10810 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
10812         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
10813         without testing for last_bfp to be NULL.
10814         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
10816 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
10818         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
10820 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
10822         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
10823         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
10825 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
10827         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
10828         functions.  Compare result for correct address type.
10829         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
10830         * nss/nss_files/files-hosts.c: Likewise.
10831         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
10833 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
10835         * time/strptime.c (recursive): Return rp to caller.
10836         (strptime_internal): First check for long names, then abbreviated
10837         (month & weekday).
10839 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10841         * Makeconfig: Remove useless definitions of ASFLAGS-%.
10842         * config.make.in (ASFLAGS-.so): Remove.
10843         * configure.in: Don't substitute ASFLAGS_SO.
10844         * sysdeps/sparc/configure.in: Remove file.
10845         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
10847 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10849         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
10850         1900 from year, regardless of century.
10852 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
10854         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
10855         all numbers unsigned to make buggy gccs happy.
10856         Patch by Bryan W. Headley <bheadley@interaccess.com>.
10858         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
10859         definitions.  Patch by a sun <asun@zoology.washington.edu>.
10860         Pretty print header.
10862         * Makerules (build-shlib): Also create symlink if library is versioned.
10863         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
10864         Remove special rule to libc.so symlink.
10866 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
10868         * manual/math.texi (Domain and Range Errors): Change descriptions
10869         according to recent changes for ISO C 9X.
10871 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
10873         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
10874         return values for acos, asin, and atan2.
10875         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
10877 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10879         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
10881 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
10883         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
10884         to pointers to directory entries so that alphasort really can be
10885         used as argument for scandir.
10887 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
10889         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
10890         instead of strcpy.
10892 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
10894         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
10895         catalogs, not only if the envvar NLSPATH is not available.
10896         Reported by Andries.Brouwer@cwi.nl.
10898 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
10900         * Makeconfig (localtime-file): Don't define using installation
10901         directory.
10902         (inst_localtime-file): New variable.
10903         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
10904         Reported by Edward Seidl <seidl@janed.com>.
10906 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
10908         * time/Makefile: Add source files to dependencies for test data.
10910 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
10912         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
10913         * nis/nss_nis/nis-proto.c: Likewise.
10914         * nis/nss_nis/nis-rpc.c: Likewise.
10915         * nis/nss_nis/nis-service.c: Likewise.
10917 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10919         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
10920         versioning;  Added missing R_SPARC_WDISP30 handling.
10921         (RTLD_START): Implement it.
10923         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
10925         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
10926         Linux/SPARC.
10928 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10930         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
10931         the dynamic linker instead of having a new conditional define.
10932         Thanks to Richard Henderson for pointing this out.
10933         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
10935 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10937         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
10938         euidaccess weak alias.
10940 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10942         * stdio-common/printf_fphex.c (MIN): New macro.
10944         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
10946         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
10948         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
10949         API.  (See change by Philip Blundell on Feb 16, 1997.)
10951 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10953         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
10955         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
10956         __file_name_split.
10958         * mach/mach_error.c (mach_error_string_int): Give full prototype.
10959         * mach/errstring.c (mach_error_string_int): Likewise.
10960         * mach/error_compat.c (__mach_error_map_compat): Likewise.
10961         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
10962         * stdio/vasprintf.c (vasprintf): Likewise.
10964         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
10966         * mach/spin-solid.c: Include <mach/mach_traps.h>.
10967         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
10968         swtch_pri.
10970         * mach/mach_init.c: Include <mach/mig_support.h>.
10972         * mach/mach_error.h (mach_error_string, mach_error,
10973         mach_error_type): Always provide prototypes.
10975         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
10976         appears to be entirely unused dead code.
10978 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
10980         * string/argz.h (__need_error_t): New macro, before including <errno.h>
10981         [!__const] (__const): New macro.
10982         [!__error_t_defined] (error_t): New typedef.
10984 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
10986         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
10987         -fPIC.
10988         * Makerules (compile.S): Use ASFLAGS-%.
10989         (COMPILE.S): Likewise.
10990         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
10991         * configure.in: Substitute ASFLAGS_SO.
10992         * sysdeps/sparc/configure.in: New file.
10994         * posix/unistd.h: Add prototype for __euidaccess.
10995         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
10996         euidaccess weak alias.
10997         * sysdeps/stub/euidaccess.c: Likewise.
10998         * inet/rcmd.c: Use __ protected versions of non-standard functions.
11000         * locale/setlocale.c (setlocale): Don't set usage_count to
11001         MAX_USAGE_COUNT if it already has this value.
11003         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
11004         binary locale files.  Use LOCALEDIR only.
11005         * locale/programs/locfile.c: When named file not found and not
11006         absolute use path in I18NPATH.
11008         * stdlib/Makefile (headers): Add inttypes.h.
11009         * sysdeps/wordsize-32/inttypes.h: New file.
11010         * sysdeps/wordsize-64/inttypes.h: New file.
11012         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
11013         and AF_FILE as synonym for AF_LOCAL.
11014         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
11016         * time/Makefile: Rewrite rules for test to handle parallel builds.
11018 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
11020         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
11021         robbe@orcus.priv.at.
11023 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
11025         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
11026         8-byte boundary.
11028 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
11030         * elf/link.h: Define __need_NULL to get definition.  Include
11031         <features.h>.
11032         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
11034 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
11036         Rewrite NIS code to allow empty keys.
11037         * nis/nss_nis/nis-ethers.c: Rewritten.
11038         * nis/nss_nis/nis-proto.c: Rewritten.
11039         * nis/nss_nis/nis-publickey.c: Rewritten.
11040         * nis/nss_nis/nis-rpc.c: Rewritten.
11041         * nis/nss_nis/nis-service.c: Rewritten.
11043 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
11045         * time/scheck.c (scheck): Add extra const to second argument.
11047         * time/private.h: Correct prototypes to match definition.
11049 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
11051         * sysdeps/alpha/__math.h: Remove cabs inline definition.
11052         Reported by Philip Blundell <pjb27@cam.ac.uk>.
11054 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
11056         * argp/Makefile (routines): Add argp-eexst.
11057         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
11058         * argp/argp-eexst.c: New file.  Define exit status variable.
11059         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
11060         variable instead of always exiting with value 1.
11061         * argp/argp-pv.c (argp_program_version): Make `const'.
11062         * argp/argp.h: Declare argp_err_exit_status.
11063         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
11065         * locale/programs/localedef.c: Use argp_err_exit_status to
11066         terminate with correct value.
11068         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
11069         switching of UID before opening .rhosts.
11071         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
11072         proposal.  The return value now is always the number of characters
11073         which would be written if enough space is available.
11074         * manual/stdio.texi: Update description for new behaviour.
11076         * locale/locale.h (__locale_t): Don't use __locale_t for struct
11077         name and pointer to struct since old gccs cannot keep the namespaces
11078         apart.  Rename struct to __locale_struct.
11079         * locale/duplocale.h: Likewise.
11080         * locale/newlocale.h: Likewise.
11082         * math/Makefile (headers): Add complex.h and cmathcalls.h.
11083         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
11084         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
11085         after use.
11086         (signgam): Move declaration to here from mathcalls.h.
11087         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
11088         Correct comment for fmin and fmax.
11089         Start implementing complex math function from ISO C 9X.
11090         * math/complex.h: New file.
11091         * math/cmathcalls.h: New file.
11092         * math/cabs.c: New file.
11093         * math/cabsf.c: New file.
11094         * math/cabsl.c: New file.
11095         * math/cimag.c: New file.
11096         * math/cimagf.c: New file.
11097         * math/cimagl.c: New file.
11098         * math/conj.c: New file.
11099         * math/conjf.c: New file.
11100         * math/conjl.c: New file.
11101         * math/creal.c: New file.
11102         * math/crealf.c: New file.
11103         * math/creall.c: New file.
11104         * sysdeps/libm-ieee754/w_cabs.c: Removed.
11105         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
11106         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
11108         * posix/regex.c: Merge with regex sources from Arnold Robbins'
11109         version in GNU awk.
11110         * posix/regex.h: Likewise.
11112         Add regex test suite by Tom Lord.
11113         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
11114         (tests): Add runtests.
11115         (before-compile): Add testcases.h.
11116         (testcases.h): New rule to generate header with tests.
11117         * posix/TESTS: New file.
11118         * posix/TESTS2C.sed.: New file.
11119         * posix/runtests.c: New file.
11120         * posix/testcases.h: New file.
11122         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
11123         available and use fall-back implementation if not.
11125         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
11127         * time/ialloc.c: Update from tzcode1997c.
11128         * time/private.h: Likewise.
11129         * time/scheck.c: Likewise.
11130         * time/tzselect.ksh: Likewise.
11131         * time/zdump.c: Likewise.
11132         * time/zic.c: Likewise.
11134         * time/tzfile.c: Pretty print.
11136 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
11138         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
11139         on a 601.
11141         * sysdeps/powerpc/Implies: Added.
11142         * sysdeps/powerpc/__longjmp.S: Added.
11143         * sysdeps/powerpc/__math.h: Added.
11144         * sysdeps/powerpc/bsd-_setjmp.S: Added.
11145         * sysdeps/powerpc/bsd-setjmp.S: Added.
11146         * sysdeps/powerpc/dl-machine.h: Added.
11147         * sysdeps/powerpc/ffs.c: Added.
11148         * sysdeps/powerpc/fpu_control.h: Added.
11149         * sysdeps/powerpc/jmp_buf.h: Added.
11150         * sysdeps/powerpc/setjmp.S: Added.
11151         * sysdeps/powerpc/strlen.S: Added.
11152         * sysdeps/powerpc/elf/start.c: Added.
11153         * sysdeps/powerpc/fpu_control.h: Added.
11154         * sysdeps/powerpc/jmp_buf.h: Added.
11156         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
11157         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
11158         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
11159         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
11160         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
11161         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
11162         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
11163         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
11164         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
11165         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
11166         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
11167         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
11168         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
11169         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
11171 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
11173         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
11174         because knowing the first instruction of a PowerPC PLT trampoline
11175         is not very helpful.
11177 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
11179         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
11180         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
11181         a preference as to where executables should be loaded.
11183 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
11185         * elf/elf.h: Add in all those PowerPC reloc types.
11187 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
11189         * stdio-common/vfscanf.c: Use __va_copy if available.
11191 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11193         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
11194         clean up namespace.
11196 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
11198         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
11199         non-existing GET_WORDS macro, use EXTRACT_WORDS.
11200         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
11202 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
11204         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
11205         kernel-level sigaction structure is different.  handle this
11206         correctly.
11207         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
11209 1997-03-06 05:55  David Engel  <david@sw.ods.com>
11211         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
11212         recognize cache entries with flag == 3.
11214 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
11216         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
11217         (INADDR_LOOPBACK): Likewise.
11218         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11220         * manual/socket.texi: Correct types of INADDR_* constants from
11221         unsigned long to unsigned.
11223 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
11225         * time/antarctica: Update from tzdata1997c.
11226         * time/asia: Likewise.
11227         * time/zone.tab: Likewise.
11229 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11231         * configure.in (libc_cv_asm_symver_directive,
11232         libc_cv_ld_version_script_option): Remove unknown instruction from
11233         assembler test file.
11235 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11237         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
11238         __USE_ISOC9X.
11239         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
11240         (fabs): Remove defininition, it is a gcc builtin.
11241         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
11243 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
11245         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
11246         generating file.
11248 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
11250         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
11251         instead to avoid namespace problems.
11252         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
11254 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11256         * login/utmp_file.c: Fix previous change.  Make portable by
11257         checking the _HAVE_UT_* feature macros.
11259 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
11261         * Makerules: Add rules to handle versioning.
11262         * config.h.in (DO_VERSIONING): New macro.
11263         * config.make.in (versioning): New variable.
11264         * configure.in: Add checks for .symver directive in gas and
11265         --version-script option to ld.  Define DO_VERSIONING and
11266         versioning if appropriate.
11268         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
11269         s_fmin, and s_fdim.
11270         * math/math.h: Define ISO C 9X constants, macros and functions.
11271         * math/mathcalls.h: Likewise.
11272         * sysdeps/libm-ieee754/s_fdim.c: New file.
11273         * sysdeps/libm-ieee754/s_fdimf.c: New file.
11274         * sysdeps/libm-ieee754/s_fdiml.c: New file.
11275         * sysdeps/libm-ieee754/s_fmax.c: New file.
11276         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
11277         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
11278         * sysdeps/libm-ieee754/s_fmin.c: New file.
11279         * sysdeps/libm-ieee754/s_fminf.c: New file.
11280         * sysdeps/libm-ieee754/s_fminl.c: New file.
11281         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
11282         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
11283         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
11284         * sysdeps/libm-ieee754/s_signbit.c: New file.
11285         * sysdeps/libm-ieee754/s_signbitf.c: New file.
11286         * sysdeps/libm-ieee754/s_signbitl.c: New file.
11288         * stdio-common/printf_fphex.c: Correct printing of decimal point
11289         character.
11290         Simplify conversion of mantissa to string.
11291         * stdio-common/vfscanf.c: Handle %A format.
11292         Optimize termination of floating-point scanning.
11293         * stdio-common/tstscanf.c (main): Add new test to scanf to test
11294         scanning float values with given width.
11295         * stdlib/strtod.c: Add handling of floating-point numbers in
11296         hexadecimal notation.
11298         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
11299         functions.
11300         Pretty print #if directives.
11301         * string/string.h: Pretty print #if directives.
11303         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
11304         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
11305         * sysdeps/ieee754/mpn2dbl.c: Likewise.
11306         * sysdeps/ieee754/mpn2flt.c: Likewise.
11307         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
11309         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
11310         falling back to select-based implementation if syscall isn't
11311         available.
11312         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
11314         * time/leapseconds: Update from tzdata1997b.
11315         * time/zic.c: Update from tzcode1997b.
11317 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11319         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
11320         depedencies between installed $(tzlinks) and $(tzbases) files.
11322 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11324         * math/math.h: Make compatible with traditional preprocessor;
11325         requires carefull placement of whitespace in macro arguments.
11326         Use __CONCAT instead of ##.
11327         Declare long double functions only if __STDC__ or __GNUC__.
11328         * math/mathcall.h: Avoid whitespace before argument of macro call
11329         that is used as function name.
11331         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
11332         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
11333         of __NO_M81_MATH_INLINES.
11334         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
11335         starting with __ieee754.
11336         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
11337         functions as inlines.
11338         (__m81_defun): Put __attribute__ between return type and function
11339         name.
11340         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
11341         is defined.
11342         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
11343         instead of __NO_M81_MATH_INLINES.
11344         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11345         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11346         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11347         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11348         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
11349         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11350         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11351         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11352         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11353         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11355 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11357         * Makefile (tests): Cope with $PATH not including the current
11358         directory.
11360 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11362         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
11363         $(common-objdir-compile).
11364         ($(common-objpfx)make-ioctls): Likewise.
11365         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
11366         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
11367         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
11368         Likewise.
11369         ($(common-objpfx)sys/syscall.h): Likewise.
11370         ($(common-objpfx)local_lim.h): Let make deal with command
11371         failure.
11372         ($(common-objpfx)param.h.dep): Use temporary file and update
11373         target atomically.
11374         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
11375         (include $(common-objpfx)param.h.dep): Ignore error.
11377         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
11378         $(common-objdir-compile).
11379         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
11380         $(shell pwd) instead of $$cwd.
11382         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
11383         $(common-objdir-compile).
11384         ($(objpfx)make_siglist): Use $(native-compile).
11385         (make_siglist-CFLAGS): New variable.
11387         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
11388         the old name for the user to pass additional flags to the host
11389         compiler.  Fix reference to config header.
11390         (native-compile, common-objdir-compile): Rewritten to make more
11391         generally usable.
11392         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
11393         instead of BUILD_CFLAGS.
11395         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
11396         defined.
11398 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11400         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
11401         New rules to generate dependencies for the RPC service objects.
11403 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11405         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
11406         supplied.
11408 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
11410         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
11411         so that clearing second word is necessary.
11413         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
11414         header since it is wrong for 64 bit systems.
11415         Patch by a sun <asun@zoology.washington.edu>.
11417 1997-02-27 10:34  Richard Henderson  <rth@tamu.edu>
11419         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
11420         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
11421         for the benefit of running foreign binaries.
11423 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
11425         * login/utmp_file.c (pututline_file): Correctly decide whether
11426         LAST_ENTRY matches DATA.
11427         Don't depend on ut_id ever being set.
11428         (proc_utmp_eq): New function.
11429         (internal_getut_r): Renamed from internal_getutid_r.
11430         Use proc_utmp_eq.
11432         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
11434 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
11436         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
11438 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
11440         * manual/Makefile: Add rules to run and distribute xtract-typefun.
11441         * manual/xtract-typefun.awk: New file.  Script to extract function,
11442         variable, macro anchor to put into the `dir' file.
11443         * manual/signal.texi: Document difference between SysV and BSD
11444         signal(3) function and add documentation for sysv_signal.
11446         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
11447         exponent before comparing.
11449 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
11451         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
11452         prototypes to use types with explicit width.  `unsigned long' is
11453         different on 64 bit systems.
11454         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11455         * sysdeps/generic/htonl.c: Likewise.
11456         * sysdeps/generic/htons.c: Likewise.
11457         * sysdeps/generic/ntohl.c: Likewise.
11458         * sysdeps/generic/ntohs.c: Likewise.
11459         Suggested by a sun <asun@zoology.washington.edu>.
11461 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
11463         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
11464         defined and we want optimization.
11466 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11468         * misc/getpass.c: Don't disable canonical input.
11469         Reverted patch of Mon Jan  6 01:35:29 1997.
11471 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11473         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
11474         match the hidden __in_chrg parameter of the destructor.
11475         (_IO_FINISH): Pass zero for it.
11476         * libio/genops.c (_IO_default_finish): Add second parameter, which
11477         is ignored.
11478         * libio/memstream.c (_IO_mem_finish): Likewise.
11479         * libio/fileops.c (_IO_file_finish): Likewise.
11480         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
11482 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
11484         * time/Makefile: Avoid using patterns in dependencies.
11486 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11488         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
11489         SPARC will convert the call _dl_start into a call into the PLT.
11491         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
11492         of arg to make it point to the actual values.
11494         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
11495         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
11497         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
11498         them PIC aware.
11500         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
11501         Implemented.
11502         (elf_machine_rela): Make it compile; fix existing relocation
11503         types; add unhandled relocation types.
11504         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
11505         (RTLD_START): Initial implementation, not yet finished.
11507         * sysdeps/sparc/elf/start.S: Fix.
11509         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
11510         __setfpucw.
11512         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
11513         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
11514         sysdeps/sparc/urem.S : Regenerated.
11516         * sysdeps/sparc/setjmp.S: Make it PIC aware.
11518         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
11519         __ASSEMBLY__ before using kernel header.
11521         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
11522         rtld.c.
11524         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
11525         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
11526         to handle old signals.
11527         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
11528         for all Linux/SPARC kernels.
11529         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
11530         errno using __errno_location.
11531         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
11532         macros for assembler sources.
11533         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
11535 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11537         * elf/rtld.c (dl_main): Remove dead code that is never executed.
11538         Rename local variable l to main_map where it is used to point to
11539         the load_map for the executable.
11541 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11543         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
11544         could not be found.
11546 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11548         * Makerules: Generate implicit object suffix rules automagically.
11549         (o-iterator): Move before first use.
11551         * Makeconfig (all-object-suffixes): Add .bo suffix.
11553 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
11555         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
11556         word on stack for overflow.
11558 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
11560         * malloc/malloc.c (malloc_get_state): New function.
11561         Saves global malloc state to an opaque data structure which
11562         is dynamically allocated in the heap.
11563         * malloc/malloc.c (malloc_set_state): New function.
11564         Restore previously obtained state.
11565         * malloc/malloc.h: Add declaration of malloc_get_state()
11566         and malloc_set_state().
11568 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
11570         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
11571         position.
11573 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
11575         * misc/error.c: Make error and error_at_line weak aliases of
11576         __error and __error_at_line respectively.
11577         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
11579         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
11581 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11583         * elf/ldd.bash.in: Run the program directly, not as argument
11584         to the dynamic linker, if it contains an interpreter segment.
11585         * elf/ldd.sh.in: Likewise.
11587         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
11588         object contains an interpreter segment and exit with 2 if not.
11590 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11592         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
11593         and xlocale.h.  Make-dist adds them automagically.
11595 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11597         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
11598         time-era-num-entries.
11600 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11602         * rellns-sh: No need to check for existance of first parameter.
11604 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
11606         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
11607         to avoid duplicate mail.
11609 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
11611         * Makefile (distribute): Add isomac.c.
11612         (tests): Run isomac test.
11614         * features.h (__USE_ISOC9X): New macro.
11616         * catgets/catgets.c: Don't use global variable `optind'.  Instead
11617         use result computed by argp_parse.
11618         * db/makedb: Likewise.
11619         * locale/programs/locale.c: Likewise.
11620         * locale/programs/localedef.c: Likewise.
11622         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
11624         * libio/clearerr.c: Remove clearerr_locked alias.
11625         * libio/feof.c: Remove feof_locked alias.
11626         * libio/ferror.c: Remove feof_locked alias.
11627         * libio/fileno.c: Remove fileno_locked alias.
11628         * libio/fputc.c: Remove fputc_locked alias.
11629         * libio/getc.c: Remove getc_locked alias.
11630         * libio/getchar.c: Remove getchar_locked alias.
11631         * libio/iofflush.c: Remove fflush_locked alias.
11632         * libio/putc.c: Remove putc_locked alias.
11633         * libio/putc.c: Remove putchar_locked alias.
11635         * stdio-common/printf_fp.c: When number is inifinity print INF
11636         or inf depending on case of specifier.  Same for NaN where NAN
11637         or nan is printed.  Specified in ISO C 9X.
11639         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
11640         * stdio/stdio.h: Add __restrict to prototypes where necessary.
11641         * libio/stdio.h: Likewise.
11642         * stdlib/stdlib.h: Likewise.
11643         * string/string.h: Likewise.
11644         * time/time.h: Likewise.
11645         * wcsmbs/wchar.h: Likewise.
11647         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
11648         NAN(...).
11650         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
11651         of HUGE_VALf and HUGE_VALL.
11652         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
11653         instead of HUGE_VALf.
11654         * wcsmbs/wcstof.c: Likewise.
11655         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
11656         instead of HUGE_VALl.
11657         * wcsmbs/wcstold.c: Likewise.
11659         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
11660         avoid warning.
11662         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
11663         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
11664         * wcsmbs/wcscasecmp.c: New file.
11665         * wcsmbs/wcsncase.c: New file.
11667         * stdlib/strtol.c: Define wide character quad word functions as
11668         wcstoll and wcstoull and normal versions as strtoll and strtoull.
11669         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
11670         * wcsmbs/wcstoq: Renamed to wcstoll.c.
11671         * wcsmbs/wcstouq: Renamed to wcstoull.c.
11672         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
11673         alias of wcstoll.
11674         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
11675         alias of wcstoull.
11676         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
11677         wcstoll and wcstoull respectively.
11678         * stdlib/strtoq.c: Rename to strtoll.c.
11679         * stdlib/strtouq.c: Rename to strtoull.c.
11680         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
11681         alias of strtoll.
11682         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
11683         alias of strtoull.
11684         * stdlib/Makefile (routines): Replace strtoq and strtouq by
11685         strtoll and strtoull respectively.
11686         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
11687         __strtouq_internal but instead __strtoll_internal and
11688         __strtoull_internal respectively.
11689         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
11690         (strtouq): Similar with __internal_strtoull.
11691         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
11692         (wcstouq): Similar with __internal_wcstoull.
11694 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
11696         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
11697         sign in the strtouXX functions.  The results gets simply negated.
11698         * stdio-common/tstscanf.c: Add testcase for above case.
11699         * stdlib/tst-strtol.c: Correct tests.
11701         * manual/stdio-fp.c: New file.  Generate output for example program
11702         in stdio.texi.
11704         * stdio-common/Makefile (routines): Add printf_fphex.
11705         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
11706         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
11707         specifier.
11709 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
11711         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
11712         __STRICT_ANSI__.
11714         * math/math.h: Prevent definition of struct exception when using
11715         C++.  Use __exception instead.
11717 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
11719         * sysdeps/unix/syscalls.list: Dup takes only one argument.
11720         Reported by Greg McGary.
11722 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
11724         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
11725         than file_get_translator.
11727         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
11728         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
11730 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
11732         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
11733         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11735 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
11737         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
11738         but ADDR also == 0.
11740         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
11741         now instead of a weak extern, as some old programs expect it to be
11742         defined by ld.so.
11744 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
11746         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
11748         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
11749         __hurd_threadvar_stack_offset): Restore initialized versions, so
11750         startup works correctly.
11752         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
11754 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
11756         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
11757         not __mutex_try_lock.
11758         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
11759         (tsd_getspecific): Case variable to (void *) before returning.
11761         * hurd/hurdinit.c (__libc_argv): Remove extern.
11762         (__libc_argc): New variable.
11764 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
11766         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
11767         _HURD_THREADVAR_MALLOC.
11768         * malloc/thread-m.h
11769         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
11770         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
11771         __mutex_*.
11772         (mutex_t): Type removed & replaced by new macro.
11773         (tsd_key_t): Typedef to int instead of pthread_key_t.
11774         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
11775         (__pthread_initialize): New macro, work around assumption of pthreads.
11776         (tsd_keys_alloced): New static variable.
11777         <hurd/threadvar.h>: New include.
11779         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
11780         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
11781         defined before using it.
11783         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
11784         Make extern.
11785         * hurd/hurdinit.c (__libc_argv): Make extern.
11787         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
11788         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
11790         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
11791         __hurd_threadvar_stack_offset,
11792         __hurd_threadvar_stack_mask): New variables.
11793         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
11794         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
11795         New variables (moved here from hurdstartup.c).
11796         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
11797         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
11798         Variables removed (moved to hurdsig.c).
11799         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
11800         __hurd_threadvar_stack_mask): Variables removed.
11801         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
11802         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
11803         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
11804         __hurd_threadvar_stack_mask): Variables removed.
11806 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
11808         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
11809         Declare extern.
11811         * malloc/thread-m.h
11812         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
11813         (mutex_t): Type removed.
11814         (mutex_t): New macro.
11815         (mutex_trylock): New macro.
11816         (__x_mutex_lock, __x_mutex_unlock): New functions.
11817         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
11818         the cthread definitions.
11819         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
11820         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
11821         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
11822         (__pthread_initialize): New macro, work around assumption of pthreads.
11824 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
11826         * locale/weight.h (collate_rules): It's an u_int32_t array.
11827         (get_weight): Compute initial SLOT value correctly.
11829 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
11831         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
11832         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
11833         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11834         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11835         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11836         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11837         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11838         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11839         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11840         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11841         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11842         * sysdeps/unix/sysv/linux/send.S: Likewise.
11843         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11844         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11845         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11846         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11847         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11849 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
11851         * catgets/gencat.c: Change to use argp.
11852         * db/makedb: Likewise.
11853         * locale/programs/localedef.c: Likewise.
11855         * locale/programs/locale.c: Little adjustment for better usage of
11856         argp.
11858 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
11860         * Makeconfig: Add rules for libc with bounded pointers.
11861         * Makerules: Likewise.
11862         * config.make.in: Likewise.
11863         * configure.in: Likewise.
11865 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
11867         * argp/argp.h (OPTION_NO_USAGE): New macro.
11868         * argp/argp-help.c (usage_long_opt, usage_argful_short_opt,
11869         add_argless_short_opt): Implement OPTION_NO_USAGE.
11871 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11873         * malloc/obstack.h: Fix typo.
11875 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
11877         * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case
11878         where NEXTLINE points one past the end of the active buffer.
11880         * argp/argp-help.c <stddef.h>: New include.
11881         (__argp_failure): Only exit if STATE says it's ok.
11882         (print_header, hol_entry_help): Use UPARAMS fields rather than
11883         constants.
11884         (_help): Call fill_in_uparams if necessary.
11885         (struct hol_help_state): New type.
11886         (struct pentry_state): Add hhstate field.  Remove prev_entry &
11887         sep_groups fields.
11888         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
11889         sep_groups parameters.
11890         Suppress duplicate arguments if requested, and note the fact.
11891         (print_header, comma): Use PEST->hhstate fields.
11892         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
11893         Remove LAST_ENTRY & SEP_GROUPS variables.
11894         If any suplicate arguments were suppressed, print explanatory note.
11895         (filter_doc): Replace PEST parameter with STATE.
11896         (struct uparams): New type.
11897         (uparams): New variable.
11898         (struct uparam_name): New type.
11899         (uparam_names): New variable.
11900         (fill_in_uparams): New function.
11901         (__argp_failure, __argp_error, __argp_state_help): Make STATE
11902         parameter const.
11903         * argp/argp.h (argp_state_help, __argp_state_help, argp_usage,
11904         __argp_usage, argp_error, __argp_error, argp_failure,
11905         __argp_failure): Make STATE parameter const.
11906         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
11908         * argp/argp.h (argp_program_bug_address): Make const.
11910 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
11912         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
11914 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
11916         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
11918 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
11920         * stdio-common/test-fseek.c: Remove temporary file, add
11921         copyright.
11923 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
11925         * sysdeps/generic/netinet/in.h: Protect contents using
11926         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
11928         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
11929         * inet/Makefile (headers): Remove net/ethernet.h.
11930         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
11931         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
11933 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
11935         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
11936         searching in sorted array.
11938 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
11940         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
11941         and protect modification of global data.
11943 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
11945         * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
11946         (parser_init): Use the basename for PARSER->state.name.
11947         * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help):
11948         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
11950         * argp/argp-parse.c (parser_init): Set PARSER->state.flags.
11951         Make check whether PARSER has the prog name in argv[0] at the
11952         proper place.
11954 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
11956         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
11957         Use default value instead of printing a warning.
11959         * nss/XXX-lookup.c: Add missing explanation.
11961 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
11963         * inet/in6_addr.c: Add missing braces.
11965         * inet/getnameinfo.c: Include <arpa/inet.h>.
11967         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
11969 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
11971         * string/strxfrm.c (STRCOLL): Correct handling of `position'
11972         levels with no non-IGNOREd element and handling of NUL byte.
11973         * string/strcoll.c (STRXFRM): Likewise.
11974         * locale/weight.h: Likewise.
11976         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
11978 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
11980         * argp/argp-help.c: Add support for user provided filter of help
11981         messages.
11982         * argp/argp-parse.c: Likewise.
11983         * argp/argp.h: Likewise.
11984         * argp/argp-namefrob.h: Define __argp_input.
11986         * argp/argp-test.c: Add example for filter.
11988 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
11990         * argp.h: New file.
11991         * locale/programs/locale.c: Switch to use argp.
11993         * errno.h: Make it possible to get definition of error_t even
11994         after having errno.h already.
11996         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
11997         from dl-lookup.c.
11998         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
12000         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
12001         * elf/dl-version.c: Likewise.
12003         * elf/dl-lookup.c: Implement new versioning lookup scheme.
12004         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
12005         in l_versions member.
12007         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
12008         and _dl_lookup_versioned_symbol.
12010         * elf/link.h: Rename hash_name_pair to struct r_found_version.
12011         * sysdeps/alpha/dl-machine.h: Likewise.
12012         * sysdeps/i386/dl-machine.h: Likewise.
12013         * sysdeps/m68k/dl-machine.h: Likewise.
12014         * sysdeps/mips/dl-machine.h: Likewise.
12016         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
12017         length of abs_filename.
12019         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
12021         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
12022         in mon_grouping information.  This means no more grouping.
12023         * locale/programs/ld-numeric.c (numeric_add): Write value \377
12024         when seein value 0 in grouping information.
12025         * locale/programs/linereader.c (lr_close): Don't free fname since
12026         it might be used in error messages.
12028         * locale/programs/locale.c: Check whether output of `locale -a'
12029         really is locale directory.  Also print locale aliases.
12031         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
12032         be const.
12034 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
12036         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
12037         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
12039 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
12041         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
12043 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
12045         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
12046         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
12048         * sysdeps/stub/msync.c (msync): Add missing third parameter.
12050 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
12052         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
12053         additional argument.
12055 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
12057         * inet/net/ethernet.h: New file.
12058         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
12059         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
12060         Contributed by a sun <asun@zoology.washington.edu>.
12062         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
12063         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
12064         Reported by a sun <asun@zoology.washington.edu>.
12066 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12068         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
12069         makefiles which may change the distinfo variables.
12071 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12074         [$(subdir)=misc]: Add sys/quota.h.
12075         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
12077 1997-02-17 13:12  aleph1@dfw.net
12079         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
12080         strncpy.
12082 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
12084         * stdio-common/bug10.c (main): Correct parameter.
12086 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
12088         * malloc/obstack.h: Add `extern "C"' protection.
12089         * posix/regex.h: Likewise.
12090         * io/ftw.h: Likewise.
12091         * misc/libgen.h: Likewise.
12092         * login/utmp.h: Likewise.
12093         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
12094         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
12095         * sunrpc/rpc/pmap_rmt.h: Likewise.
12096         * sunrpc/rpc/auth_des.h: Likewise.
12097         * elf/link.h: Likewise.
12098         Reported by HJ Lu.
12100 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
12102         Linux specific network headers.
12103         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
12104         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
12105         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
12106         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
12107         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
12108         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
12109         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
12110         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
12111         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
12112         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
12113         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
12114         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
12115         Add sys/quota.h.
12116         [$(subdir)=inet] (sysdep_headers): Add new network header.
12118         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
12120         * inet/netinet/ip.h: Move to sysdeps/generic.
12121         * inet/netinet/tcp.h: Likewise.
12122         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
12123         * sysdeps/generic/netinet/tcp.h: Likewise.
12125 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
12127         * misc/sys/syslog.h (prioritynames): Correct definition to use
12128         braces where necessary.
12129         (facilitynames): Likewise.
12130         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
12131         Comment and beautify declarations.
12133 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
12135         * inet/Makefile (routines): Add in6_addr, getnameinfo.
12136         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
12137         by Craig Metz.
12138         * inet/in6_addr.c: New file.  IPv6 addressing constants.
12139         * posix/Makefile (routines): Add gai_strerror.
12140         * resolv/netdb.h: Add more constants for IPv6 basic API.
12141         * sysdeps/posix/gai_strerror.c: New file.
12142         * sysdeps/stub/gai_strerror.c New file.
12143         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
12144         basic API.
12146         * sysdeps/posix/getaddrinfo.c: Update from latest version by
12147         Craig Metz and use reentrant getXXbyYY functions.
12149 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
12151         * argp/argp.h: Declare argp_program_version as const char.
12152         * argp/argp-test.c: Likewise
12154         * stdlib/testrand.c (main): Declare main prototype.
12155         * stdlib/testdiv.c (main): Likewise.
12156         * string/testcopy.c (main): Likewise.
12157         * string/test-ffs.c (main): Likewise.
12158         * time/test_time.c (main): Likewise.
12160         * locale/duplocale.c (__duplocale): Return result.
12162 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
12164         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
12165         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
12167         * nss/nss.h: Remove declaration of __nss_shlib_revision.
12168         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
12170 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12172         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
12173         _nss_nis_gethostton_r.
12174         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
12176 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
12178         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
12179         trying to resolv name as numeric IPv6 address.
12180         * nss/digits_dots.c: Likewise.
12182 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
12184         * locale/setlocale.c (setlocale): Don't try to be clever about
12185         unused locales.  When the existence of the locale files isn't
12186         tested the result of setlocale might be different.
12188 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
12190         * locale/setlocale.c (setlocale): Don't increment usage_count of
12191         new locale if it already has the value MAX_USAGE_COUNT (it might
12192         be the C locale data which is read-only).
12194 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
12196         * argp/argp-help.c: Gettextize sources.
12197         * argp/argp-parse.c: Likewise.
12199 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
12201         * features.h (__GLIBC_MINOR__): Bump to 1.
12203         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
12204         * Makefile (distribute): Add xlocale.h.
12205         * locale/Makefile (routines): Add ctype_l.
12206         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
12207         Add __isblank_l, __toascii_l and __isascii_l.
12208         * ctype/ctype.h: Add definitions and declarations for *_l functions.
12209         * locale/Makefile (headers): Add xlocale.h.
12210         (routines): Add newlocale, duplocale, and freelocale.
12211         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
12212         (struct locale_data): Add new fields mmaped and usage_count.
12213         Correct various declarations.
12214         * locale/C-collate.c: Define value for new fields mmaped and
12215         usage_count.
12216         * locale/C-ctype.c: Likewise.
12217         * locale/C-messages.c: Likewise.
12218         * locale/C-monetary.c: Likewise.
12219         * locale/C-numeric.c: Likewise.
12220         * locale/C-time.c: Likewise.
12221         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
12222         usage_count fields.
12223         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
12224         Correct prototypes for __newlocale and __freelocale.
12225         Add prototype for __duplocale.
12226         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
12227         (_nl_remove_locale): New function.
12228         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
12229         * locale/setlocale.c: Likewise.
12230         * locale/weight.h: Change for use with locale objects.
12231         * locale/xlocale.h: New file.  Define __locale_t type.
12232         * locale/newlocale.c: New file.  Create new locale object.
12233         * locale/freelocale.c: New file.  Destroy locale object.
12234         * locale/duplocale.c: New file.  Create copy of locale object.
12235         * stdlib/Makefile (routines): Add strfmon_l.
12236         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
12237         * stdlib/strfmon.c: Add support for use in extended locale model.
12238         * stdlib/strfmon_l.c: New file.
12239         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
12240         * string/strcoll.c: Change for use in extended locale model.
12241         * string/strxfrm.c: Likewise.
12242         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
12243         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
12244         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
12245         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
12246         * wcsmbs/wcscoll.c: Change for use in extended locale model.
12247         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
12248         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
12249         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
12250         and towctrans_l.
12251         * wctype/cname-lookup.h: Prepare for use in extended locale model.
12252         * wctype/iswctype_l.c: New file.  Implement character classification
12253         functions for use with locale objects.
12254         * wctype/wctype.h: Declare functions for use with locale objects.
12255         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
12256         for use with locale objects.
12257         * wctype/wcfuncs_l.c: New file.  Implement wide character
12258         classification functions for use with locale objects.
12259         * wctype/wcextra.c: New file.  Implement real functions for
12260         non-standard classification functions.
12262         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
12263         parameters to ld.so.  Use environment variables.
12264         * elf/ldd.sh.in: Likewise.
12265         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
12266         options.  Instead read environment variables.
12268         * elf/link.h (receiver_fct): Add new argument to take error code.
12269         * elf/dl-error.c (_dl_signal_error): Call receiver function with
12270         another argument.
12272         * elf/dl-object.c (_dl_new_object): Create new object with list of
12273         names in l_libname member.
12274         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
12275         find to object to the list in the link_map variable.
12276         (_dl_map_object): Use _dl_does_name_match_p to compare with all
12277         available names of the object.
12278         Optimize handling of LD_LIBRARY_PATH a bit.
12279         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
12281         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
12283         * elf/Makefile (routines): Add dl-version.
12284         * elf/link.h (hash_name_pair): New type.  Group pointer to string
12285         and its hash value.
12286         (struct link_map): Change l_libname member to be a list of names,
12287         not a single pointer to a name.
12288         Add new members l_nversions and l_versions.
12289         (_dl_does_name_match_p): New function to test for all names of an
12290         object.
12291         Add prototypes for new lookup and versioning functions.
12292         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
12293         when versioned symbol is requested.
12294         (_dl_lookup_symbol): Call do_lookup with another argument.
12295         (_dl_lookup_symbol_skip): Likewise.
12296         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
12297         versioned symbol.
12298         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
12299         _dl_lookup_symbol_skip.
12300         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
12301         _dl_lookup_symbol depending on availability of version information.
12302         * elf/dl-runtime.c (RESOLVE): Likewise.
12303         (fixup): Call elf_machine_relplt with additional argument to point
12304         to versioning information if available.
12305         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12306         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
12307         for correct versions.
12308         * elf/dl-version.c: New file.  Check library versions and extract
12309         version information for easier access.
12310         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
12311         * elf/dlvsym.c: New file.  Implementation of function similar to
12312         dlsym, but looks for versioned symbol.
12313         * elf/elf.h: Add types and macros for versioning.
12314         * elf/rtld.c (dl_main): Check availability of needed versions.
12315         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
12316         argument for version information.  Call RESOLVE with additional
12317         argument.
12318         * sysdeps/i386/dl-machine.h: Likewise.
12319         * sysdeps/m68k/dl-machine.h: Likewise.
12320         * sysdeps/mips/dl-machine.h: Likewise.
12322         * elf/dlerror.c: Change comment to align with guidelines.
12323         * elf/dlopen.c: Likewise.
12324         * elf/dlsym.c: Likewise.
12326         * locale/programs/localedef.c: Implement --quiet option.
12327         * locale/programs/charset.h: Declare be_quiet variable.
12328         * locale/programs/locfile.h: Likewise.
12329         * locale/programs/charmap.c: Don't print warnings if quiet option
12330         was given.
12331         * locale/programs/ld-collate.c: Likewise.
12332         * locale/programs/ld-ctype.c: Likewise.
12333         * locale/programs/ld-messages.c: Likewise.
12334         * locale/programs/ld-monetary.c: Likewise.
12335         * locale/programs/ld-numeric.c: Likewise.
12336         * locale/programs/ld-time.c: Likewise.
12337         * locale/programs/locfile.c: Likewise.
12339         * Makefile (subdirs): Add argp.
12341         * catgets/catgets.c (catopen): Little code improvement.
12343         * posix/execl.c: Remove restriction to 1024 arguments.
12344         * posix/execle.c: Likewise.
12345         * posix/execlp.c: Likewise.
12347         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
12348         and make regular names weak aliases.
12349         * posix/getopt1.c: Likewise.
12350         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
12351         __ protected forms.
12353         * posix/unistd.h: Add prototype for __sleep.
12354         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
12355         * sysdeps/posix/sleep.c: Likewise.
12356         * sysdeps/stub/sleep.c: Likewise.
12357         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12359         * ctype/ctype-info.c: Update copyright.
12360         * ctype/ctype.c: Likewise.
12361         * ctype/test_ctype.c: Likewise.
12362         * dirent/alphasort.c: Likewise.
12363         * dirent/list.c: Likewise.
12364         * gmon/bb_exit_func.c: Likewise.
12365         * grp/fgetgrent.c: Likewise.
12366         * grp/getgrent.c: Likewise.
12367         * grp/getgrent_r.c: Likewise.
12368         * grp/getgrgid.c: Likewise.
12369         * grp/getgrgid_r.c: Likewise.
12370         * grp/getgrnam.c: Likewise.
12371         * grp/getgrnam_r.c: Likewise.
12372         * hurd/alloc-fd.c: Likewise.
12373         * hurd/catch-exc.c: Likewise.
12374         * hurd/ctty-input.c: Likewise.
12375         * hurd/ctty-output.c: Likewise.
12376         * hurd/dtable.c: Likewise.
12377         * hurd/fchroot.c: Likewise.
12378         * hurd/fd-close.c: Likewise.
12379         * hurd/fd-read.c: Likewise.
12380         * hurd/fd-write.c: Likewise.
12381         * hurd/fopenport.c: Likewise.
12382         * hurd/get-host.c: Likewise.
12383         * hurd/getdport.c: Likewise.
12384         * hurd/getuids.c: Likewise.
12385         * hurd/getumask.c: Likewise.
12386         * hurd/hurd-raise.c: Likewise.
12387         * hurd/hurd.h: Likewise.
12388         * hurd/hurdauth.c: Likewise.
12389         * hurd/hurdexec.c: Likewise.
12390         * hurd/hurdhost.h: Likewise.
12391         * hurd/hurdid.c: Likewise.
12392         * hurd/hurdinit.c: Likewise.
12393         * hurd/hurdioctl.c: Likewise.
12394         * hurd/hurdkill.c: Likewise.
12395         * hurd/hurdlookup.c: Likewise.
12396         * hurd/hurdmsg.c: Likewise.
12397         * hurd/hurdpid.c: Likewise.
12398         * hurd/hurdports.c: Likewise.
12399         * hurd/hurdprio.c: Likewise.
12400         * hurd/hurdrlimit.c: Likewise.
12401         * hurd/hurdsock.c: Likewise.
12402         * hurd/hurdstartup.c: Likewise.
12403         * hurd/hurdstartup.h: Likewise.
12404         * hurd/intern-fd.c: Likewise.
12405         * hurd/intr-msg.c: Likewise.
12406         * hurd/intr-rpc.defs: Likewise.
12407         * hurd/intr-rpc.h: Likewise.
12408         * hurd/msgportdemux.c: Likewise.
12409         * hurd/new-fd.c: Likewise.
12410         * hurd/openport.c: Likewise.
12411         * hurd/pid2task.c: Likewise.
12412         * hurd/port-cleanup.c: Likewise.
12413         * hurd/port2fd.c: Likewise.
12414         * hurd/ports-get.c: Likewise.
12415         * hurd/ports-set.c: Likewise.
12416         * hurd/privports.c: Likewise.
12417         * hurd/report-wait.c: Likewise.
12418         * hurd/set-host.c: Likewise.
12419         * hurd/setauth.c: Likewise.
12420         * hurd/setuids.c: Likewise.
12421         * hurd/siginfo.c: Likewise.
12422         * hurd/sigunwind.c: Likewise.
12423         * hurd/task2pid.c: Likewise.
12424         * hurd/thread-cancel.c: Likewise.
12425         * hurd/thread-self.c: Likewise.
12426         * hurd/vpprintf.c: Likewise.
12427         * hurd/hurd/fd.h: Likewise.
12428         * hurd/hurd/id.h: Likewise.
12429         * hurd/hurd/ioctl.h: Likewise.
12430         * hurd/hurd/lookup.h: Likewise.
12431         * hurd/hurd/port.h: Likewise.
12432         * hurd/hurd/resource.h: Likewise.
12433         * hurd/hurd/threadvar.h: Likewise.
12434         * hurd/hurd/userlink.h: Likewise.
12435         * inet/ether_aton.c: Likewise.
12436         * inet/ether_aton_r.c: Likewise.
12437         * inet/ether_ntoa.c: Likewise.
12438         * inet/ether_ntoa_r.c: Likewise.
12439         * inet/gethstbyad.c: Likewise.
12440         * inet/gethstbyad_r.c: Likewise.
12441         * inet/gethstent.c: Likewise.
12442         * inet/getnetbyad.c: Likewise.
12443         * inet/getnetbyad_r.c: Likewise.
12444         * inet/getnetbynm.c: Likewise.
12445         * inet/getnetbynm_r.c: Likewise.
12446         * inet/getnetent.c: Likewise.
12447         * inet/getnetent_r.c: Likewise.
12448         * inet/getproto.c: Likewise.
12449         * inet/getproto_r.c: Likewise.
12450         * inet/getprtent.c: Likewise.
12451         * inet/getprtent_r.c: Likewise.
12452         * inet/getprtname.c: Likewise.
12453         * inet/getrpcbyname.c: Likewise.
12454         * inet/getrpcbyname_r.c: Likewise.
12455         * inet/getrpcbynumber.c: Likewise.
12456         * inet/getrpcbynumber_r.c: Likewise.
12457         * inet/getrpcent.c: Likewise.
12458         * inet/getrpcent_r.c: Likewise.
12459         * inet/getservent.c: Likewise.
12460         * inet/getservent_r.c: Likewise.
12461         * inet/getsrvbynm.c: Likewise.
12462         * inet/getsrvbynm_r.c: Likewise.
12463         * inet/getsrvbypt.c: Likewise.
12464         * inet/getsrvbypt_r.c: Likewise.
12465         * inet/herrno.c: Likewise.
12466         * inet/netgroup.h: Likewise.
12467         * ient/netinet/ether.h: Likewise.
12468         * intl/bindtextdom.c: Likewise.
12469         * intl/dcgettext.c: Likewise.
12470         * intl/dgettext.c: Likewise.
12471         * intl/gettext.c: Likewise.
12472         * intl/gettext.h: Likewise.
12473         * intl/gettextP.h: Likewise.
12474         * intl/hash-string.h: Likewise.
12475         * intl/loadmsgcat.c: Likewise.
12476         * intl/localealias.c: Likewise.
12477         * intl/textdomain.c: Likewise.
12478         * io/creat.c: Likewise.
12479         * io/getdirname.c: Likewise.
12480         * io/lockf.c: Likewise.
12481         * io/pwd.c: Likewise.
12482         * io/test-utime.c: Likewise.
12483         * locale/categories.def: Likewise.
12484         * locale/codeset_name.c: Likewise.
12485         * locale/lc-collate.c: Likewise.
12486         * locale/lc-ctype.c: Likewise.
12487         * locale/lc-messages.c: Likewise.
12488         * locale/lc-monetary.c: Likewise.
12489         * locale/lc-numeric.c: Likewise.
12490         * locale/lc-time.c: Likewise.
12491         * locale/loadlocale.c: Likewise.
12492         * locale/localeconv.c: Likewise.
12493         * locale/nl_langinfo.c: Likewise.
12494         * locale/setlocale.c: Likewise.
12495         * locale/strlen-hash.h: Likewise.
12496         * locale/programs/charmap-kw.gperf: Likewise.
12497         * locale/programs/charmap-kw.h: Likewise.
12498         * locale/programs/charset.c: Likewise.
12499         * locale/programs/ld-ctype.c: Likewise.
12500         * locale/programs/ld-messages.c: Likewise.
12501         * locale/programs/ld-monetary.c: Likewise.
12502         * locale/programs/linereader.h: Likewise.
12503         * locale/programs/locale-spec.c: Likewise.
12504         * locale/programs/locales.h: Likewise.
12505         * locale/programs/locfile-kw.gperf: Likewise.
12506         * locale/programs/locfile-kw.h: Likewise.
12507         * locale/programs/locfile-token.h: Likewise.
12508         * locale/programs/simple-hash.h: Likewise.
12509         * locale/programs/stringtrans.c: Likewise.
12510         * locale/programs/stringtrans.h: Likewise.
12511         * login/logout.c: Likewise.
12512         * mach/bootprivport.c: Likewise.
12513         * mach/devstream.c: Likewise.
12514         * mach/hello.c: Likewise.
12515         * mach/mach.h: Likewise.
12516         * mach/mach_init.c: Likewise.
12517         * mach/mach_init.h: Likewise.
12518         * mach/mig-alloc.c: Likewise.
12519         * mach/mig-dealloc.c: Likewise.
12520         * mach/mutex-init.c: Likewise.
12521         * mach/mutex-solid.c: Likewise.
12522         * mach/setup-thread.c: Likewise.
12523         * mach/spin-lock.h: Likewise.
12524         * mach/spin-solid.c: Likewise.
12525         * mach/mach/mig_support.h: Likewise.
12526         * md5-crypt/md5-crypt.c: Likewise.
12527         * misc/nlist.h: Likewise.
12528         * nss/nss_files/files-ether.c: Likewise.
12529         * posix/confstr.c: Likewise.
12530         * posix/execl.c: Likewise.
12531         * posix/execle.c: Likewise.
12532         * posix/execlp.c: Likewise.
12533         * posix/execv.c: Likewise.
12534         * posix/execvp.c: Likewise.
12535         * posix/fnmatch.c: Likewise.
12536         * posix/getopt.c: Likewise.
12537         * posix/getopt.h: Likewise.
12538         * posix/getopt1.c: Likewise.
12539         * posix/id.c: Likewise.
12540         * posix/regex.c: Likewise.
12541         * posix/setpgrp.c: Likewise.
12542         * posix/unistd.h: Likewise.
12543         * posix/wordexp.c: Likewise.
12544         * pwd/fgetpwent.c: Likewise.
12545         * pwd/getpwent.c: Likewise.
12546         * pwd/getpwent_r.c: Likewise.
12547         * pwd/getpwnam.c: Likewise.
12548         * pwd/getpwnam_r.c: Likewise.
12549         * pwd/getpwuid.c: Likewise.
12550         * pwd/getpwuid_r.c: Likewise.
12551         * pwd/putpwent.c: Likewise.
12552         * resolv/gethnamaddr.c: Likewise.
12553         * resolv/res_hconf.c: Likewise.
12554         * resolv/res_hconf.h: Likewise.
12555         * setjmp/longjmp.c: Likewise.
12556         * setjmp/sigjmp.c: Likewise.
12557         * setjmp/tst-setjmp.c: Likewise.
12558         * stdio/clearerr.c: Likewise.
12559         * stdio/ferror.c: Likewise.
12560         * stdio/fgetc.c: Likewise.
12561         * stdio/fgetpos.c: Likewise.
12562         * stdio/fgets.c: Likewise.
12563         * stdio/fileno.c: Likewise.
12564         * stdio/fmemopen.c: Likewise.
12565         * stdio/fopen.c: Likewise.
12566         * stdio/fopncook.c: Likewise.
12567         * stdio/fputc.c: Likewise.
12568         * stdio/fputs.c: Likewise.
12569         * stdio/fread.c: Likewise.
12570         * stdio/freopen.c: Likewise.
12571         * stdio/fseek.c: Likewise.
12572         * stdio/fsetpos.c: Likewise.
12573         * stdio/ftell.c: Likewise.
12574         * stdio/fwrite.c: Likewise.
12575         * stdio/getchar.c: Likewise.
12576         * stdio/getdelim.c: Likewise.
12577         * stdio/gets.c: Likewise.
12578         * stdio/glue.c: Likewise.
12579         * stdio/internals.c: Likewise.
12580         * stdio/linewrap.c: Likewise.
12581         * stdio/linewrap.h: Likewise.
12582         * stdio/memstream.c: Likewise.
12583         * stdio/newstream.c: Likewise.
12584         * stdio/putchar.c: Likewise.
12585         * stdio/puts.c: Likewise.
12586         * stdio/rewind.c: Likewise.
12587         * stdio/setbuf.c: Likewise.
12588         * stdio/setbuffer.c: Likewise.
12589         * stdio/setlinebuf.c: Likewise.
12590         * stdio/setvbuf.c: Likewise.
12591         * stdio/ungetc.c: Likewise.
12592         * stdio/vasprintf.c: Likewise.
12593         * stdio/vscanf.c: Likewise.
12594         * stdio/vsnprintf.c: Likewise.
12595         * stdio/vsprintf.c: Likewise.
12596         * stdio/vsscanf.c: Likewise.
12597         * stdio-common/asprintf.c: Likewise.
12598         * stdio-common/dprintf.c: Likewise.
12599         * stdio-common/errnobug.c: Likewise.
12600         * stdio-common/fprintf.c: Likewise.
12601         * stdio-common/getline.c: Likewise.
12602         * stdio-common/getw.c: Likewise.
12603         * stdio-common/perror.c: Likewise.
12604         * stdio-common/psignal.c: Likewise.
12605         * stdio-common/putw.c: Likewise.
12606         * stdio-common/reg-printf.c: Likewise.
12607         * stdio-common/scanf.c: Likewise.
12608         * stdio-common/snprintf.c: Likewise.
12609         * stdio-common/sprintf.c: Likewise.
12610         * stdio-common/tempnam.c: Likewise.
12611         * stdio-common/test_rdwr.c: Likewise.
12612         * stdio-common/tst-fileno.c: Likewise.
12613         * stdio-common/tst-printf.c: Likewise.
12614         * stdio-common/tstgetln.c: Likewise.
12615         * stdio-common/vprintf.c: Likewise.
12616         * stdlib/drand48.c: Likewise.
12617         * stdlib/drand48_r.c: Likewise.
12618         * stdlib/erand48.c: Likewise.
12619         * stdlib/erand48_r.c: Likewise.
12620         * stdlib/exit.h: Likewise.
12621         * stdlib/strtoq.c: Likewise.
12622         * stdlib/strtoul.c: Likewise.
12623         * stdlib/strtouq.c: Likewise.
12624         * stdlib/test-canon.c: Likewise.
12625         * stdlib/testdiv.c: Likewise.
12626         * stdlib/testrand.c: Likewise.
12627         * string/argz-append.c: Likewise.
12628         * string/argz-count.c: Likewise.
12629         * string/argz-create.c: Likewise.
12630         * string/argz-ctsep.c: Likewise.
12631         * string/argz-delete.c: Likewise.
12632         * string/argz-extract.c: Likewise.
12633         * string/argz-insert.c: Likewise.
12634         * string/argz-next.c: Likewise.
12635         * string/argz-stringify.c: Likewise.
12636         * string/basename.c: Likewise.
12637         * string/envz.c: Likewise.
12638         * string/memfrob.c: Likewise.
12639         * string/strcoll.c: Likewise.
12640         * string/strdup.c: Likewise.
12641         * string/string.h: Likewise.
12642         * string/strndup.c: Likewise.
12643         * string/strnlen.c: Likewise.
12644         * string/strsignal.c: Likewise.
12645         * string/strxfrm.c: Likewise.
12646         * string/test-ffs.c: Likewise.
12647         * string/testcopy.c: Likewise.
12648         * sysdeps/generic/enbl-secure.c: Likewise.
12649         * sysdeps/generic/memcopy.h: Likewise.
12650         * sysdeps/generic/stpncpy.c: Likewise.
12651         * sysdeps/generic/strcasecmp.c: Likewise.
12652         * sysdeps/generic/strcat.c: Likewise.
12653         * sysdeps/generic/strchr.c: Likewise.
12654         * sysdeps/generic/strcpy.c: Likewise.
12655         * sysdeps/generic/strcspn.c: Likewise.
12656         * sysdeps/generic/strlen.c: Likewise.
12657         * sysdeps/generic/strncase.c: Likewise.
12658         * sysdeps/generic/strncat.c: Likewise.
12659         * sysdeps/generic/strncpy.c: Likewise.
12660         * sysdeps/generic/strpbrk.c: Likewise.
12661         * sysdeps/generic/strsep.c: Likewise.
12662         * sysdeps/generic/strspn.c: Likewise.
12663         * sysdeps/generic/strstr.c: Likewise.
12664         * sysdeps/generic/strtok.c: Likewise.
12665         * sysdeps/generic/strtok_r.c: Likewise.
12666         * sysdeps/mach/sleep.c: Likewise.
12667         * sysdeps/posix/sleep.c: Likewise.
12668         * sysdeps/stub/sleep.c: Likewise.
12669         * time/date.c: Likewise.
12670         * time/test_time.c: Likewise.
12671         * wcsmbs/wmemcpy.c: Likewise.
12672         * wctye/test_wctype.c: Likewise.
12673         * wctye/towctrans.c: Likewise.
12674         * wctye/wcfuncs.c: Likewise.
12675         * wctye/wctrans.c: Likewise.
12677 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
12679         * argp/Makefile: New file.
12680         * argp/argp.h: Likewise.
12681         * argp/argp-ba.c: Likewise.
12682         * argp/argp-fmtstream.c: Likewise.
12683         * argp/argp-fmtstream.h: Likewise.
12684         * argp/argp-fs-xinl.c: Likewise.
12685         * argp/argp-help.c: Likewise.
12686         * argp/argp-namefrob.h: Likewise.
12687         * argp/argp-parse.c: Likewise.
12688         * argp/argp-pv.c: Likewise.
12689         * argp/argp-pvh.c: Likewise.
12690         * argp/argp-test.c: Likewise.
12691         * argp/argp-xinl.c: Likewise.
12693 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
12695         * stdlib/qsort.c: Add prototype for _quicksort.
12697         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
12699         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
12700         from dl-machine.h.
12702 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
12704         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
12705         Allow user to overwrite it.
12707 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
12709         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
12710         versions.  Reported by Andreas Jaeger.
12712 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
12714         * time/tzfile.c (__tzfile_read): Change comment to follow
12715         change of 1997-02-12.
12717 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
12719         * time/time.h (__nanosleep): Define only when struct timespec is
12720         also available.
12721         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
12723 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
12725         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
12726         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
12728 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
12730         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
12731         of 1997-02-09 in resolv/gethnamaddr.c.
12733 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
12735         * libio/_G_config.h (_G_wint_t): New.
12737 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
12739         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
12740         to sizeof (buf.buf) while calling res_search ().
12742 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
12744         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
12745         val to keydat, stat to status.
12747 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
12749         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
12751 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
12753         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
12754         by Keith Bostic.
12756 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
12758         * stdlib/atoll.c: Undefine atoll, not atol.
12760 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12762         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
12763         unused arguments of shell script.
12765         * Makeconfig (all-object-suffixes): New variable.
12766         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
12767         of $(object-suffixes).
12768         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
12770 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
12772         * string/argz-ctsep.c: Initialize *LEN when successful.
12774 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
12776         * stdio-common/_itoa.h: Update copyright.
12778 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
12780         * version.h (VERSION): Bump to 2.0.2.
12782         * posix/Makefile (routines): Add getopt_init.
12783         * posix/getopt.c: Don't get environment variable with nonoption
12784         flags here.  Depend on __getopt_nonoption_flags variable filled
12785         somewhere else.  This is necessary since the variable must be
12786         removed even when getopt isn't used in case exec(2) gets called.
12787         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
12788         and remove environment variable.
12789         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
12790         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12791         * sysdeps/stub/init-first.c: Likewise.
12792         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12794         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
12795         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
12797         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
12798         encryption is wanted.
12800         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
12801         * stdio/vsnprintf.c: Likewise.
12802         Reported by Philip Blundell <pjb27@cam.ac.uk>.
12804         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
12805         * stdio/vsnprintf.c: Likewise.
12806         Reported by Philip Blundell <pjb27@cam.ac.uk>.
12808 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
12810         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
12811         Change PTR to void *.
12812         * sysdeps/posix/vdprintf.c: Change PTR to void *.
12813         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
12815 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
12817         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
12819 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12821         * rellns-sh: No need to check for existance of first parameter.
12823 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12825         * rellns-sh: No need to check for existance of first parameter.
12827 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12829         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
12830         by David Holland <dholland@eecs.harvard.edu>.
12832 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12834         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
12835         select, in case it is modified by the latter.
12836         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12837         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12838         * sunrpc/svc_tcp.c (readtcp): Likewise.
12840         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
12841         array.
12843         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
12844         and gid_t.
12846         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
12847         argument.
12849 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12851         * elf/Makefile (extra-objs): Don't zap previous value.
12852         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
12853         twice.
12855 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12857         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
12858         braindamage (sigh!).
12860 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
12862         * manual/memory.texi: Correct `copystring' example for obstacks.
12864 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
12866         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
12867         GNU tr don't grok it.
12869 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12871         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
12872         Don't use GNU C extensions.
12873         (CMSG_DATA): Use portable definition.
12875 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
12877         * elf/ldd.bash.in: Add test for read permission and print appropriate
12878         message.  Change warning and error messages to print "ldd: " at start.
12879         * elf/ldd.sh.in: Likewise.
12881         * stdlib/Makefile (routines): Add atoll.
12882         * stdlib/atoll.c: New file.
12883         * stdlib/stdlib.h: Add prototype and optimization for atoll.
12885         * stdlib/a64l.c: Update copyright.
12886         * stdlib/abs.c: Likewise.
12887         * stdlib/atof.c: Likewise.
12888         * stdlib/atoi.c: Likewise.
12889         * stdlib/atol.c: Likewise.
12890         * stdlib/bsearch.c: Likewise.
12891         * stdlib/exit.c: Likewise.
12892         * stdlib/fpioconst.c: Likewise.
12893         * stdlib/fpioconst.h: Likewise.
12894         * stdlib/jrand48.c: Likewise.
12895         * stdlib/jrand48_r.c: Likewise.
12896         * stdlib/labs.c: Likewise.
12897         * stdlib/lcong48.c: Likewise.
12898         * stdlib/lcong48_r.c: Likewise.
12899         * stdlib/llabs.c: Likewise.
12900         * stdlib/lrand48.c: Likewise.
12901         * stdlib/lrand48_r.c: Likewise.
12902         * stdlib/mblen.c: Likewise.
12903         * stdlib/mbstowcs.c: Likewise.
12904         * stdlib/mbtowc.c: Likewise.
12905         * stdlib/mp_clz_tab.c: Likewise.
12906         * stdlib/mrand48.c: Likewise.
12907         * stdlib/mrand48_r.c: Likewise.
12908         * stdlib/msort.c: Likewise.
12909         * stdlib/nrand48.c: Likewise.
12910         * stdlib/nrand48_r.c: Likewise.
12911         * stdlib/qsort.c: Likewise.
12912         * stdlib/rpmatch.c: Likewise.
12913         * stdlib/seed48.c: Likewise.
12914         * stdlib/seed48_r.c: Likewise.
12915         * stdlib/srand48.c: Likewise.
12916         * stdlib/srand48_r.c: Likewise.
12917         * stdlib/strtod.c: Likewise.
12918         * stdlib/wcstombs.c: Likewise.
12919         * stdlib/wctomb.c: Likewise.
12921 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
12923         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
12924         as const.
12926 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
12928         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
12929         including <stddef.h>.
12931 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
12933         * time/Makefile (tzbases, tzlinks): New.
12934         (tzfiles): Changed to $(tzbases) $(tzlinks).
12935         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
12937 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
12939         * Makefile (install): Ignore error from ldconfig.
12941         * time/zic.c (mkdirs): Double check the error return of mkdir ().
12943 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
12945         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
12946         like PPC where va_list is no integral type.
12948 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
12950         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
12951         if nonoption_flags_len == -1.
12953 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
12955         * Version 2.0.1 net release.
12957 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
12959         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
12961 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
12963         * stdlib/getsubopt.c: Don't return `=' for suboption which has
12964         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
12966 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12968         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
12969         values as in yp.x and yp.h.
12971 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
12973         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
12974         1997-02-03 02:17.  Sun's implementation internally corrects
12975         this bug but we don't want to hide this from the user.
12976         * nis/rpcsvc/yp.h: Likewise.
12978 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12980         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
12981         inclusion.
12983 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12985         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
12986         fixes.
12988 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12990         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
12991         (all-sources, all-headers): Use them instead of $(sources) and
12992         $(headers) when searching in sysdep directories.
12994 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12996         * Makerules (REAL_MAKE_VERSION): Use internal make function
12997         instead of shelling out.
12999 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13001         * time/Makefile (install-test-data): Remove mkdir command, zic can
13002         handle that gracefully.
13004 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13006         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
13007         somehow.
13009 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13011         * sunrpc/Makefile: Check $(cross-compiling) only after including
13012         ../Makeconfig.
13013         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
13014         being considered as a rule.
13015         (generated): Add stamp files before the inclusion of Makerules to
13016         magically mark them as not being intermediate via the `generated'
13017         target.
13019 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
13021         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
13022         entries.  This is still no complete implementation since AUXILIARY
13023         entries in other shared objects are not yet handled.
13025         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
13026         place.
13028         * po/es.po: Update.
13029         * po/fr.po: Update.
13030         * po/nl.po: Update.
13032         * time/Makefile: Better cross-compile support.  Avoid test which
13033         cannot be run.
13034         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
13035         tzfile.h file.
13036         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
13037         in SUID programs.
13038         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
13039         default values as in tzfile.c.
13041         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
13042         tags.
13043         * elf/link.h: Likewise.
13044         * elf/elf.h: Add tag definitions and data structures for versioning.
13046 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
13048         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
13049         "Sun bug".  This is the order of elements also used by 4.4BSD.
13050         * nis/rpcsvc/yp.h: Likewise.
13051         Reported by HJ Lu.
13053 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
13055         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
13056         action.
13058         * Makefile (install): Pass installation directories as arguments
13059         to ldconfig.
13061 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
13063         * malloc/malloc.c (__after_morecore_hook): New variable.
13064         (malloc_extend_top): Call __after_morecore_hook if set.
13065         (main_trim): Likewise.
13066         * malloc/malloc.h: Add declaration of __after_morecore_hook.
13067         Suggested by Marcus Daniels.
13069 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
13071         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
13072         #ifndef NO_THREADS.
13073         (mallinfo): Likewise.
13075         * malloc/malloc.c (__morecore): Make external since it is used in
13076         programs.
13078 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
13080         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
13081         unsigned.
13083 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
13085         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
13086         use t6 as a temporary; it contains bits we still need in $u_head.
13088 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
13090         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
13091         using __ prefix.  Add prototype for log1p.
13093 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
13095         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
13097 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
13099         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
13101 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
13103         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
13104         structure plus related macros.
13105         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
13106         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
13107         (sysdep_routines): Add cmsg_nxthdr.
13108         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
13109         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
13111 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
13113         * time/strftime.c: Define _strftime_copytm without protecting arguments
13114         which breaks the definition.
13116 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
13118         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
13119         definition of type for element.
13121 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
13123         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
13124         constants.
13126 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
13128         * Makefile: Pass PARALLELMFLAGS to sub-makes.
13129         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
13131 1997-01-31  Paul Eggert  <eggert@twinsun.com>
13133         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
13134         Define if _LIBC is defined.
13135         <limits.h>: Include if HAVE_LIMITS_H instead of if
13136         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
13137         <stdlib.h>: Similarly, include if STDC_HEADERS.
13138         (localtime_r): Redo #ifdef to make it clear that glibc has
13139         localtime_r now.
13141 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13143         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
13144         file to avoid unnecessary recompilation.
13146 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13148         * Makefile: Set install-others, not install_others.
13149         (before-compile): Use += to preserve previous value.
13150         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
13151         fix dependency name.
13152         ($(objpfx)lib-names.h): Remove rule.
13153         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
13154         with correct name, using an intermediate stamp file.
13155         (common-generated): Add gnu/lib-names.h.
13156         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
13158 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
13160         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
13161         to prevent warnings on 64 bit systems.
13162         Reported by Paul Wouters <paul@xtdnet.nl>.
13164         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
13165         we assume it works.
13167 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
13169         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
13170         double word boundary before pushing args for main.  This way we
13171         don't get penalties for misaligned memory accesses.  Reported by
13172         Edward Seidl <seidl@janed.com>.
13174         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
13175         Patch by HJ Lu.
13177         * misc/bsd-compat.c: Update copyright.
13178         * misc/efgcvt.c: Likewise.
13179         * misc/efgcvt_r.c: Likewise.
13180         * misc/error.c: Likewise.
13181         * misc/error.h: Likewise.
13182         * misc/fstab.c: Likewise.
13183         * misc/init-misc.c: Likewise.
13184         * misc/lsearch.c: Likewise.
13185         * misc/mntent.c: Likewise.
13186         * misc/qefgcvt.c: Likewise.
13187         * misc/qefgcvt_r.c: Likewise.
13188         * nss/databases.def: Likewise.
13189         * nss/db-Makefile: Likewise.
13190         * nss/ethers-lookup.c: Likewise.
13191         * nss/hosts-lookup.c: Likewise.
13192         * nss/netgrp-lookup.c: Likewise.
13193         * nss/nsswitch.h: Likewise.
13194         * nss/proto-lookup.c: Likewise.
13195         * nss/rpc-lookup.c: Likewise.
13196         * nss/service-lookup.c: Likewise.
13197         * nss/nss_db/db-netgrp.c: Likewise.
13198         * nss/nss_files/files-grp.c: Likewise.
13199         * nss/nss_files/files-hosts.c: Likewise.
13200         * nss/nss_files/files-network.c: Likewise.
13201         * nss/nss_files/files-proto.c: Likewise.
13202         * nss/nss_files/files-pwd.c: Likewise.
13203         * nss/nss_files/files-rpc.c: Likewise.
13204         * nss/nss_files/files-service.c: Likewise.
13205         * nss/nss_files/files-spwd.c: Likewise.
13206         * shadow/fgetspent.c: Likewise.
13207         * shadow/fgetspent_r.c: Likewise.
13208         * shadow/getspent.c: Likewise.
13209         * shadow/getspent_r.c: Likewise.
13210         * shadow/getspnam.c: Likewise.
13211         * shadow/getspnam_r.c: Likewise.
13212         * shadow/putspent.c: Likewise.
13213         * shadow/sgetspent.c: Likewise.
13214         * shadow/sgetspent_r.c: Likewise.
13215         * sysdeps/i386/init-first.c: Likewise.
13216         * sysdeps/unix/i386/sysdep.S: Likewise.
13218         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
13219         prepared to be running in a multi-threaded environment.  Change
13220         to __USE_MISC unless the function is defined in POSIX.1 (in this
13221         case also test for __USE_POSIX).
13222         * dirent/dirent.h: Likewise.
13223         * grp/grp.h: Likewise.
13224         * inet/aliases.h: Likewise.
13225         * libio/libio.h: Likewise.
13226         * libio/stdio.h: Likewise.
13227         * login/utmp.h: Likewise.
13228         * math/mathcalls.h: Likewise.
13229         * misc/mntent.h: Likewise.
13230         * pwd/pwd.h: Likewise.
13231         * resolv/netdb.h: Likewise.
13232         * stdlib/stdlib.h: Likewise.
13233         * string/string.h: Likewise.
13234         * sunrpc/rpc/netdb.h: Likewise.
13235         * sysdeps/generic/crypt.h: Likewise.
13236         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
13237         * time/time.h: Likewise.
13239 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
13241         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
13242         only if not cross compiling.
13244 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
13246         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
13247         NULL.
13248         * sysdeps/posix/sigwait.c: Likewise.
13250 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13252         * Makeconfig ($(common-objpfx)config.make): Depend on
13253         $(..)config.make.in.
13255 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
13257         * sunrpc/Makefile: Don't generate headers derived from .x files when
13258         crosscompiling.
13260 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
13262         * Makefile: Generate gnu/lib-names.h in before-compile.
13263         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
13264         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
13265         to the revision found for LIBNSS_FILES_SO.
13266         (nss_initilized): Removed.  It was tested but never set.
13267         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
13269         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
13270         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
13272         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
13274 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
13276         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
13277         override the definition.
13279 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
13281         * config.make.in (malloc): Remove.
13283 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
13285         * version.h (VERSION): Bump to 2.0.1.
13287         * posix/getopt.c: Handle another problem introduced by the
13288         nonoption_flags array.  We must be able to work with reordered
13289         argv arrays.  Reported by Andreas Schwab.
13291 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
13293         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
13294         stack.
13296 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
13298         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
13299         that it works with yp.h.
13301 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
13303         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
13304         __libc_malloc_initialized so that this variable is not shared with
13305         other users of GNU malloc.
13306         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
13308         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
13310         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
13311         variables to prevent warnings.
13312         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
13313         using attribute regparm.
13314         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
13315         is changed by the resolver code.
13317 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13319         * malloc/malloc.c (weak_variable): Define.
13320         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
13321         __memalign_hook): Make them weak definitions.
13323 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13325         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
13326         limits, correctly take structure padding into account, use correct
13327         offset when resetting the stream, change heuristic to assume an
13328         average name length of 14 characters.
13330 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13332         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
13333         inclusion.
13336 See ChangeLog.6 for earlier changes.