Update.
[glibc.git] / ChangeLog
blobb361b136dd7b582584e7e9ee45e963dc62a6d5d2
1 1997-10-13 03:14  Ulrich Drepper  <drepper@cygnus.com>
3         * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
4         _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version.
5         * include/libc-symbol.h: Define define_symbol.
6         * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and
7         oldfreopen.
8         [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles.
9         * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field.
10         * libio/freopen.c: Use versioning.
11         * libio/iofopen.c: Likewise.  Generate object of type
12         _IO_FILE_complete.
13         * libio/iofopen64.c: Generate object of type _IO_FILE_complete.
14         * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen.
15         Define _IO_old_freopen.
16         * libio/libio.h: Remove _offset field from _IO_FILE.  Rename _unused2
17         field to _old_offset.  Declare _IO_std*_ streams as of type
18         _IO_FILE_complete.
19         * libio/libioP.h: Define _IO_FILE_complete.
20         Declare callbacks for old fileops implementation.
21         * libio/stdfile.c: Define standard stream of type _IO_FILE_complete.
22         * libio/stdio.c: Correctly address FILE part of standard streams.
23         * libio/oldfileops.c: New file.
24         * libio/oldfreopen.c: New file.
25         * libio/oldiofopen.c: New file.
26         * libio/oldstdfiles.c: New file.
28         * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization.
30         * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section.
31         * sysdeps/libm-i387/e_scalbl.S: Likewise.
32         * sysdeps/libm-i387/s_fma.S: Fix typo.
33         * sysdeps/libm-i387/s_fmaf.S: Likewise.
34         * sysdeps/libm-i387/s_fmal.S: Likewise.
36 1997-10-12 20:14  Zack Weinberg  <zack@rabi.phys.columbia.edu>
38         * sysdeps/stub/getsid.c: Add a stub_warning.
39         * sysdeps/stub/mmap.c: Likewise.
40         * sysdeps/stub/munmap.c: Likewise.
42 1997-10-12 05:09  Ulrich Drepper  <drepper@cygnus.com>
44         * libio/Makefile (routines): Remove iofprintf.
45         * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
46         * libio/filedoalloc.c: Use _G_stat64 instead of stat.
47         * libio/fileops.c (_IO_file_open): Change to take extra argument
48         indicating whether 32 or 64 bit mode is wanted.
49         * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
50         * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
51         * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
52         * libio/iofgetpos.c: Pretty print.
53         * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
55         * manual/conf.texi: Document all the _SC_ and _CS_ constants.
56         * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
57         and _FILE_OFFSET_BITS.
58         * manual/llio.texi: Document truncate and ftruncate.
59         * manual/stdio.texi: Document positional parameters for printf.
61         * math/Makefile (headers): Add tgmath.h.
62         (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
63         move to ...
64         (libm-calls): ... here.  Add scalbln, s_nextafterx and s_fma.
65         * math/libm-test.c (lround_test, llround_test): Test for all FP formats
66         by using FUNC().
67         * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
68         nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
69         llrintl, lroundf, lroundl, llroundf, and llroundl.
70         * math/math.h: Document new platform specific macros from mathdef.h.
71         Remove declaration of lrint, llrint, lround, and llround.
72         * math/test-double.c: Define TEST_DOUBLE.
73         * math/test-idouble.c: Likewise.
74         * math/test-float.c: Define TEST_FLOAT.
75         * math/test-ifloat.c: Likewise.
76         * math/tgmath.h: New file.
77         * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
78         lround, and llround.
79         Change second argument of scalbn to `int'.
80         * sysdeps/libm-ieee754/s_fma.c: New file.
81         * sysdeps/libm-ieee754/s_fmaf.c: New file.
82         * sysdeps/libm-ieee754/s_fmal.c: New file.
83         * sysdeps/libm-i387/s_fma.S: New file.
84         * sysdeps/libm-i387/s_fmaf.S: New file.
85         * sysdeps/libm-i387/s_fmal.S: New file.
86         * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
87         * sysdeps/libm-i387/s_lrint.S: Likewise.
88         * sysdeps/libm-i387/s_llrintf.S: New file.
89         * sysdeps/libm-i387/s_llrintl.S: New file.
90         * sysdeps/libm-i387/s_lrintf.S: New file.
91         * sysdeps/libm-i387/s_lrintl.S: New file.
92         * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
93         80bit double.
94         * sysdeps/libm-ieee754/s_lrint.c: Likewise.
95         * sysdeps/libm-ieee754/s_llrintf.c: New file.
96         * sysdeps/libm-ieee754/s_llrintl.c: New file.
97         * sysdeps/libm-ieee754/s_lrintf.c: New file.
98         * sysdeps/libm-ieee754/s_lrintl.c: New file.
99         * sysdeps/libm-i387/s_scalbln.c: New file.  Empty file.
100         * sysdeps/libm-i387/s_scalblnf.c: New file.  Empty file.
101         * sysdeps/libm-i387/s_scalblnl.c: New file.  Empty file.
102         * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
103         * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
104         * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
105         * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
106         80bit double.
107         * sysdeps/libm-ieee754/s_lround.c: Likewise.
108         * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
109         * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
110         * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
111         * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
112         * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
113         * sysdeps/libm-ieee754/s_nextafterx.c: New file.
114         * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
115         * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
116         * sysdeps/libm-ieee754/s_scalbln.c: New file.
117         * sysdeps/libm-ieee754/s_scalblnf.c: New file.
118         * sysdeps/libm-ieee754/s_scalblnl.c: New file.
119         * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
120         * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
121         * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
123         * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
124         by #ifdefs since they are duplicated in inttypes.h.
125         * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
126         strtoumax plus needed declarations.
128         * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
130 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
132         * locale/programs/locfile.c (locfile_read): Correct while loop.
134         * db2/makedb.c (main): Add missing parameter for error output.
135         (process_input): Likewise.
137         * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
139 1997-10-12 05:05  Ulrich Drepper  <drepper@cygnus.com>
141         * libc-map: Add __bzero, __mempcpy.
143 1997-10-10 18:51  David S. Miller  <davem@tanya.rutgers.edu>
145         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
146         on kernel_termios.h
148 1997-10-09  10:24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
150         Add the changes from the Solaris 2.6 header files, use the new public
151         defines/functions.
152         * nis/nis_addmember.c: Updated.
153         * nis/nis_checkpoint.c: Updated.
154         * nis/nis_creategroup.c: updated.
155         * nis/nis_destroygroup.c: Updated.
156         * nis/nis_getservlist.c: Updated.
157         * nis/nis_ismember.c: Updated.
158         * nis/nis_lookup.c: Updated.
159         * nis/nis_modify.c: Updated.
160         * nis/nis_ping.c: Updated.
161         * nis/nis_print.c: Updated.
162         * nis/nis_print_group_entry.c: Updated.
163         * nis/nis_remove.c: Updated.
164         * nis/nis_removemember.c: Updated.
165         * nis/nis_xdr.c: Updated.
166         * nis/nss_nisplus/nisplus-alias.c: Updated.
167         * nis/nss_nisplus/nisplus-ethers.c: Updated.
168         * nis/nss_nisplus/nisplus-hosts.c: Updated.
169         * nis/nss_nisplus/nisplus-network.c: Updated.
170         * nis/nss_nisplus/nisplus-parser.c: Updated.
171         * nis/nss_nisplus/nisplus-proto.c: Updated.
172         * nis/nss_nisplus/nisplus-rpc.c: Updated.
173         * nis/nss_nisplus/nisplus-service.c: Updated.
174         * nis/rpcsvc/nis.h: Updated.
175         * nis/rpcsvc/nis.x: Updated.
176         * nis/rpcsvc/nis_object.x: Updated.
177         * nis/rpcsvc/nis_tags.h: Updated.
178         * nis/rpcsvc/nislib.h: Updated.
180         * nis/lckcache.c: Removed, since Sun has dropped the directory
181         signatures.  The old cache version is now a security risk and not
182         longer supported by Sun.
183         * nis/nis_cache.c: Likewise.
184         * nis/rpcsvc/nis_cache.h: Likewise.
185         * nis/rpcsvc/nis_cache.x: Likewise.
187         * nis/nis_call.c: Remove calls to the cache functions.
189         * nis/libnsl.map: Remove cache and depending functions.
190         * nis/nis_intern.h: Likewise.
192         * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
193         * nis/nis_domain_of.c: Likewise.
194         * nis/nis_domain_of_r.c: Likewise.
195         * nis/nis_error.c: Likewise.
196         * nis/nis_file.c: Likewise.
197         * nis/nis_local_names.c: Likewise.
198         * nis/nis_mkdir.c: Likewise.
199         * nis/nis_rmdir.c: Likewise.
200         * nis/nis_subr.c: Likewise.
201         * nis/nis_verifygroup.c: Likewise.
203         * nis/nis_clone.c: Removed, replaced by ...
204         * nis/nis_clone_dir.c: New.
205         * nis/nis_clone_obj.c: New.
206         * nis/nis_clone_res.c: New.
207         * nis/nis_table.c: Fixed bugs shown through the new clone functions.
209         * nis/nis_defaults.c: Fixed a lot of race conditions.
211         * nis/nis_free.c: Rewritten.
213         * sunrpc/auth_des.c: Fix use of free'ed pointer.
215         * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
216         lckcache.  Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
218 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
220         * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
222 1997-10-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
224         * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
225         be empty.
227 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
229         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
230         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
231         struct and not a pointer.  Little optimizations.
233 1997-10-09 05:00  Ulrich Drepper  <drepper@cygnus.com>
235         * sysdeps/stub/getenv.c: Remove unused file.
236         * sysdeps/stub/lxstat.c: Likewise.
237         * sysdeps/stub/morecore.c: Likewise.
238         * sysdeps/stub/putenv.c: Likewise.
239         * sysdeps/stub/sbrk.c: Likewise.
240         * sysdeps/stub/setenv.c: Likewise.
241         * sysdeps/stub/sysd-stdio.c: Likewise.
242         * sysdeps/stub/sysdep.h: Likewise.
243         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
245 1997-10-09 04:58  Ulrich Drepper  <drepper@cygnus.com>
247         * configure.in: Add __bzero definition to DWARF2 unwind test.
248         Reported by David S. Miller <davem@caip.rutgers.edu>.
250 1997-10-07  Paul Eggert  <eggert@twinsun.com>
252         * intl/loadmsgcat.c (_nl_load_domain):
253         Fix &&/|| typo when checking file size.
254         Check for overflow when stuffing off_t into size_t.
256 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
258         * time/africa: Update from tzdata1997i.
260 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
262         * posix/globtest.sh: Add arguments for name of dynamic linker and
263         call dynamic linker to execute globtest.
265         * posix/Makefile (tests): Supply arguments to globtest.sh.
267 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
269         * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
271 1997-10-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
273         * libc.map: Add mempcpy, prctl.
275 1997-09-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
277         * sysdeps/generic/memcmp.c: Avoid warnings.
278         * sysdeps/generic/memset.c: Likewise.
279         * sysdeps/generic/strchr.c: Likewise.
280         * sysdeps/generic/strlen.c: Likewise.
282 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
284         * malloc/Makefile ($(objpfx)mtrace): Fix typo.
286 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
288         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
289         The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
290         the addend, Richard.
291         (elf_machine_fixup_plt): Don't add the addend.
292         (elf_machine_plt_value): New function.
294         * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
295         function.
296         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
297         function.
298         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
299         function.
300         * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
301         function.
302         * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
303         function.
305         * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
306         addend, instead let the machine dependent setup decide.
308 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
310         * sysdeps/m68k/m68020/bits/string.h: New file.
312 1997-10-07 04:27  Richard Henderson  <rth@cygnus.com>
314         * Makeconfig (+includes): Add -I$(objpfx).
316         * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
318         * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp.  Make
319         the former a strong symbol and the later a weak alias.
320         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
321         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
323 1997-10-06 21:01  David S. Miller  <davem@tanya.rutgers.edu>
325         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
326         64-bits.
327         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
328         member 64-bits as well, to match the kernel.
330 1997-10-06 19:35  Ulrich Drepper  <drepper@cygnus.com>
332         * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
333         Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
335 1997-10-06 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
337         * time/README: Correct list of files from tzcode package.  Add
338         contact information for tzcode/tzdata maintainers.  Correct
339         spelling of author's name.  Compact lists.
341 1997-10-06 01:48  Ulrich Drepper  <drepper@cygnus.com>
343         * malloc/malloc.h: Remove hook definition without caller argument.
344         * malloc/malloc.c: Likewise.
346         * string/tester.c: Correct strsep test.
348         * string/bits/string2.h: Define __string2_1bptr_p and use it.
349         Patch by David S. Miller <davem@tanya.rutgers.edu>.
351         * math/Makefile (routines): Add s_clog10.
352         * math/libm-test.c: Add test for clog10.
353         * math/libm.map: Add clog10{,f,l}.
354         * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
355         * sysdeps/libm-ieee754/s_clog10.c: New file.
356         * sysdeps/libm-ieee754/s_clog10f.c: New file.
357         * sysdeps/libm-ieee754/s_clog10l.c: New file.
358         * manual/math.texi: Describe clog10.
360         * config.h.in: Add USE_REGPARMS and define internal_function based on
361         this.
362         * configure.in: Define USE_REGPARMS for ix86 machines.
363         * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
364         as internal functions.
365         * inet/getnameinfo.c: Likewise for  nrl_domainname.
366         * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
367         * inet/rcmd.c: Likewise for __icheckhost.
368         * intl/dcgettext.c: Likewise for category_to_name and
369         guess_category_value.
370         * intl/localealias.c: Likewise for read_alias_file.
371         * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
372         fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
373         * libio/genops.c: Likewise for save_for_backup.
374         * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
375         main_trim, heap_trim): Likewise.
376         * malloc/mtrace.c (tr_where): Likewise.
377         * misc/fstab.c (mnt2fs): Likewise.
378         * misc/getttyent.c (skip, value): Likewise.
379         * misc/syslog.c (openlog_internal): Likewise.
380         * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
381         * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
382         nss_parse_service_list, nss_new_service): Likewise.
383         * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
384         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
385         * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
386         * resolv/res_init.c (res_setoptions): Likewise.
387         * stdio-common/printf_fp.c (group_number): Likewise.
388         * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
389         * stdlib/fmtmsg.c (internal_addseverity): Likewise.
390         * sunrpc/auth_des.c (synchronize): Likewise.
391         * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
392         * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
393         * sunrpc/key_call.c (key_call): Likewise.
394         * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
395         * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
396         * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
397         Likewise.
398         * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
399         set_input_fragment, get_input_bytes): Likewise.
400         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
401         phys_pages_info): Likewise.
402         * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
403         * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
404         * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
405         Likewise.
406         * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
407         Likewise.
408         * time/strptime.c (strptime_internal): Likewise.
409         * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
410         * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
412         * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
414         * ctype/ctype.h: Pretty print.
415         * grp/grp.h: Likewise.
416         * include/libc-symbols.h: Likewise.
417         * include/limits.h: Likewise.
418         * include/values.h: Likewise.
419         * io/fcntl.h: Likewise.
420         * io/sys/stat.h: Likewise.
421         * libio/stdio.h: Likewise.
422         * malloc/malloc.h: Likewise.
423         * misc/err.h: Likewise.
424         * misc/regexp.h: Likewise.
425         * misc/sys/cdefs.h: Likewise.
426         * misc/sys/file.h: Likewise.
427         * posix/sys/utsname.h: Likewise.
428         * posix/sys/wait.h: Likewise.
429         * pwd/pwd.h: Likewise.
430         * resolv/netdb.h: Likewise.
431         * signal/signal.h: Likewise.
432         * stdlib/stdlib.h: Likewise.
433         * string/endian.h: Likewise.
434         * string/memory.h: Likewise.
435         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
436         * sysdeps/mach/hurd/sys/param.h: Likewise.
437         * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
438         * termios/termios.h: Likewise.
439         * wcsmbs/wchar.h: Likewise.
440         * wctype/wctype.h: Likewise.
442         * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
444         Implement Large File Support API.
445         * include/features.h: Add suuport for _LARGEFILE_SOURCE,
446         _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
447         * libc.map: Add new functions for LFS.
448         * dirent/Makefile (routines): Add readdir64 and readdir64_r.
449         * dirent/dirent.h: Update readdir prototype for LFS and add new
450         prototypes for above functions.
451         * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
452         statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
453         * io/creat64.c: New file.
454         * io/fstat64.c: New file.
455         * io/lstat64.c: New file.
456         * io/stat64.c: New file.
457         * io/ftw64.c: New file.
458         * io/ftw.c: Rewrite to allow easy definition of ftw64.
459         * io/ftw.h: Add LFS interface.
460         * io/fcntl.h: Likewise.
461         * io/sys/stat.h: Likewise.
462         * io/sys/statfs.h: Likewise.
463         * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
464         freopen64, fseeko64, and ftello64.
465         * libcio/fseeko64.c: New file.
466         * libio/ftello64.c: New file.
467         * libio/iofgetpos64.c: New file.
468         * libio/iofopen64.c: New file.
469         * libio/iofsetpos64.c: New file.
470         * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
471         (_IO_file_attach): Likewise.
472         (_IO_do_write): Likewise.
473         (_IO_file_sync): Likewise.
474         (_IO_file_seek): Likewise.
475         (_IO_file_seekoff): Likewise.  Use _G_stat64.
476         (_IO_file_fopen64): New function.
477         (_IO_file_jumps): Initialize showmanyc and imbue.
478         * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
479         (_IO_default_seekoff): Likewise.
480         (_IO_default_seek): Likewise.
481         (_IO_default_showmanyc, _IO_default_imbue): New functions.
482         * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
483         * libio/iolibio.h: Add prototypes for LFS functions.
484         * libio/ioseekoff.c: Change to use _IO_fpos64_t.
485         * libio/ioseekpos.c: Likewise.
486         * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
487         (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
488         (_IO_seekoff, _IO_seekpos): Change prototype.
489         * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
490         to use _IO_off64_t.
491         Change prototypes for function from the *ops.c files.
492         * libio/stdio.h: Add LFS interface definition.
493         * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
494         * posix/Makefile (routines): Add pread64 and pwrite64.
495         * posix/confstr.c: Handle _CS_LFS* requests.
496         * posix/getconf.c: Handle LFS* requests.
497         * sysdeps/generic/confname.h: Add _CS_LFS* constants.
498         * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
499         Define off_t and off64_t appropriately.  Change prototypes of
500         LFS functions.
501         * posix/sys/types.h: Add LFS types.
502         * resources/Makefile (routines): Add getrlimit64 and setlimit64.
503         * resource/sys/resource.h: Change prototypes of LFS functions.
504         * stdio-common/Makefile (routines): Add tmpfile64.
505         * stdio-common/tmpfile64.c: New file.
506         * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
507         Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
508         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
509         * sysdeps/generic/bits/resource.h: Add LFS definitions.
510         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
511         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
512         * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
513         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
514         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
515         * sysdeps/generic/types.h: Define LFS types.
516         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
517         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
518         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
519         * sysdeps/generic/sys/mman.h: Add LFS definitions.
520         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
521         * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
522         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
523         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
524         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
525         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
526         * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
527         * sysdeps/unix/bsd/bits/stat.h: Likewise.
528         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
529         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
530         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
531         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
532         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
533         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
534         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
535         * sysdeps/posix/open64.c: New file.
536         * sysdeps/stub/fstatfs64.c: New file.
537         * sysdeps/stub/fxstat64.c: New file.
538         * sysdeps/stub/getrlimit64.c: New file.
539         * sysdeps/stub/lseek64.c: New file.
540         * sysdeps/stub/lxstat64.c: New file.
541         * sysdeps/stub/open64.c: New file.
542         * sysdeps/stub/pread64.c: New file.
543         * sysdeps/stub/pwrite64.c: New file.
544         * sysdeps/stub/readdir64.c: New file.
545         * sysdeps/stub/readdir64_r.c: New file.
546         * sysdeps/stub/setrlimit64.c: New file.
547         * sysdeps/stub/statfs64.c: New file.
548         * sysdeps/stub/xstat64.c: New file.
549         * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
550         llseek and lseek64 weak aliases.
551         * sysdeps/unix/sysv/linux/lseek64.c: New file.  Empty.
552         * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
553         * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
555         * sysdeps/posix/tempname.c: Add extra argument to trigger use of
556         open64.
557         * sysdeps/stub/tempname.c: Likewise.
558         * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
559         argument.
560         * stdio-common/tmpfile.c: Likewise.
561         * stdio-common/tmpnam.c: Likewise.
562         * stdio-common/tmpnam_r.c: Likewise.
564         * libio/libioP.h: Add definition ofr showmanyc and imbue callbacks.
565         * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
566         * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
567         * libio/iopopen.c (_IO_proc_jumps): Likewise.
568         * libio/memstream.c (_IO_mem_jumps): Likewise.
569         * libio/obprintf.c (_IO_obstack_jumps): Likewise.
570         * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
571         * libio/strops.c (_IO_str_jumps): Likewise.
573         * manual/arith.texi: Add a few words why cabs should be used.
574         * manual/llio.texi: Describe sync, fsync, fdatasync.
575         Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
576         * manual/process.texi: Tell about cleanup handlers & system,waitpid,
577         wait.
578         * manual/signal.texi: Likewise for pause.
579         * manual/terminal.texi: Likewise for tcdrain.
580         * manual/time.texi: Document nanosleep.
582         * posix/exevp.c: Don't use nested function.
584         * stdlib/ucontext.h: New file.
585         * sysdeps/i386/sys/ucontext.h: New file.  SysV/i386 API definitions.
587         * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
589         * sysdeps/i386/setjmp.h: Make `here` label local.
591         * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
593         * sysdeps/stub/fstatfs.c: Correct warning.
594         * sysdeps/stub/fxstat.c: Likewise.
595         * sysdeps/stub/lxstat.c: Likewise.
597         * sysdeps/unix/sysv/i386/i686/time.S: New file.
599 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
601         * malloc/obstack.h (obstack_empty_p): New macro.
603 1997-10-04 17:41  Philip Blundell  <Philip.Blundell@pobox.com>
605         * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
607 1997-09-30  Zack Weinberg <zack@rabi.phys.columbia.edu>
609         * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
610         Document new --with-binutils switch; delete reference to
611         --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
612         Add to description of --without-fp: a kernel FPU emulator
613         is adequate (from FAQ)
614         * INSTALL: Regenerated.
616 1997-09-30 17:29  Richard Henderson  <rth@cygnus.com>
618         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
619         _dl_hwcap declaration to ...
620         (elf_machine_fixup_plt): ... here.
622 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
624         * Makerules: Undo last change.
625         * csu/Makefile: Define before-compile at the right place.
627         * aclocal.m4: Remove a.out file created by assembler test.
629         * set-init.c: Find set-hooks.h using <...>.
631         Update to db 2.3.10.
632         * db2/Makefile: Update.
633         * db2/db.h: Likewise.
634         * db2/db_185.h: Likewise.
635         * db2/db_int.h: Likewise.
636         * db2/btree/bt_close.c: Likewise.
637         * db2/btree/bt_conv.c: Likewise.
638         * db2/btree/bt_cursor.c: Likewise.
639         * db2/btree/bt_put.c: Likewise.
640         * db2/btree/bt_rec.c: Likewise.
641         * db2/btree/bt_recno.c: Likewise.
642         * db2/btree/btree.src: Likewise.
643         * db2/btree/btree_auto.c: Likewise.
644         * db2/clib/getlong.c: Likewise.
645         * db2/db/db.c: Likewise.
646         * db2/db/db_auto.c: Likewise.
647         * db2/db/db_conv.c: Likewise.
648         * db2/db/db_pr.c: Likewise.
649         * db2/db/db_ret.c: Likewise.
650         * db2/db/db_thread.c: Likewise.
651         * db2/hash/hash.c: Likewise.
652         * db2/hash/hash_auto.c: Likewise.
653         * db2/hash/hash_conv.c: Likewise.
654         * db2/hash/hash_dup.c: Likewise.
655         * db2/hash/hash_func.c: Likewise.
656         * db2/hash/hash_page.c: Likewise.
657         * db2/hash/hash_rec.c: Likewise.
658         * db2/include/btree.h: Likewise.
659         * db2/include/btree_ext.h: Likewise.
660         * db2/include/db.h.src: Likewise.
661         * db2/include/db_185.h.src: Likewise.
662         * db2/include/db_cxx.h: Likewise.
663         * db2/include/db_ext.h: Likewise.
664         * db2/include/db_int.h.src: Likewise.
665         * db2/include/db_page.h: Likewise.
666         * db2/include/db_shash.h: Likewise.
667         * db2/include/lock.h: Likewise.
668         * db2/include/log.h: Likewise.
669         * db2/include/log_ext.h: Likewise.
670         * db2/include/mp.h: Likewise.
671         * db2/include/shqueue.h: Likewise.
672         * db2/include/txn.h: Likewise.
673         * db2/lock/lock.c: Likewise.
674         * db2/lock/lock_deadlock.c: Likewise.
675         * db2/log/log.c: Likewise.
676         * db2/log/log_archive.c: Likewise.
677         * db2/log/log_auto.c: Likewise.
678         * db2/log/log_get.c: Likewise.
679         * db2/log/log_put.c: Likewise.
680         * db2/log/log_register.c: Likewise.
681         * db2/mp/mp_bh.c: Likewise.
682         * db2/mp/mp_fget.c: Likewise.
683         * db2/mp/mp_fopen.c: Likewise.
684         * db2/mp/mp_fput.c: Likewise.
685         * db2/mp/mp_fset.c: Likewise.
686         * db2/mp/mp_open.c: Likewise.
687         * db2/mutex/mutex.c: Likewise.
688         * db2/os/db_os_dir.c: Likewise.
689         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
690         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
691         * db2/progs/db_dump185/db_dump185.c: Likewise.
692         * db2/progs/db_load/db_load.c: Likewise.
693         * db2/progs/db_recover/db_recover.c: Likewise.
694         * db2/txn/txn.c: Likewise.
695         * db2/txn/txn_auto.c: Likewise.
697         * elf/link.h: Define struct libname_list outside struct link_map
698         to not confuse C++ compilers.
700         * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
701         __USE_UNIX98.
702         * manual/creature.texi: Explain this.
704         * libc.map: Add new functions.
706         * libio/Makefile (routines): Add fseeko and ftello.
707         * libio/ftello.c: New file.
708         * libio/fseeko.c: New file.
709         * libio/stdio.h: Add prototypes for new functions.
710         * manual/stdio.texi: Document fseeko and ftello.
712         * posix/Makefile (routines): Add pread and pwrite.
713         * sysdeps/posix/pread.c: New file.
714         * sysdeps/posix/pwrite.c: New file.
715         * sysdeps/stub/pread.c: New file.
716         * sysdeps/stub/pwrite.c: New file.
717         * posix/unistd.h: Add prototypes for pread and pwrite.
718         Pretty print header.
719         Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
720         Declare ctermid and cuserid if __USE_UNIX98.
721         (swab): Change to take void * arguments.
722         * string/swab.c: Change parameter to void *.
723         * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
724         already happened.
725         * manual/llio.texi: Document pread and pwrite.
727         * string/strings.h: Don't simply include string.h.  Define BSD
728         functions according to Unix98.
729         * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
730         * sunrpc/clnt_simp.c: Likewise.
732         * malloc/Makefile (aux): Add set-freeres.
733         * malloc/mtrace.c: Define function release_libc_mem which calls the
734         __libc_subfreeres handler.
735         (mtrace): Register release_libc_mem.
736         * malloc/set-freeres.c: New file.
738         * intl/dcgettext.c: Define free_mem function and add to
739         __libc_subfreeres list.
740         * intl/finddomain.c: Likewise.
741         * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
742         and mmap_size.  Add prototype for _nl_unloaded_domain.
743         * intl/loadmsgcat.c: Define new function _nl_unload_domain.
744         (_nl_load_domain): Store informaiton about mmap use and file size.
745         * intl/localealias.c (read_alias_file): Optimize locale alias file
746         reading by avoid frequen mallocs.
747         Define free_mem function and add to __libc_subfreeres list.
749         * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
750         undeletable.
751         Add prototype for _nl_unload_locale.
752         * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
753         * locale/C-ctype: Likewise.
754         * locale/C-messages: Likewise.
755         * locale/C-monetary: Likewise.
756         * locale/C-numeric: Likewise.
757         * locale/C-time: Likewise.
758         * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
759         MAX_USAGE_COUNT and UNDELETABLE.
760         (free_mem): New function.  Add it to __libc_subfreeres list.
761         * locale/loadlocale.c: Define _nl_unload_locale function.
763         * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
765         * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
766         correctly
767         Define free_mem function and add to __libc_subfreeres list.
769         * locale/programs/localedef.c (options): short form os verbose is v.
770         Reported by Andreas Jaeger.
772         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
773         header is used in some others as well for historical reasons.
775         * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
777         * string/bits/string2.h: Add missing braces and optimize strcmp a
778         bit more.
779         * sysdeps/i386/i486/bits/string.h: Likewise.
781         * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
782         Pretty print.
784         * sysdeps/mach/hurd/cthreads.c: Add copyright text.
786         * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
788         * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
790         * time/time.h: Pretty print.
792 1997-09-29  Paul Eggert  <eggert@twinsun.com>
794         * time/strftime.c: Synchronize with GNU Emacs strftime.c.
795         (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
796         (gmtime_r, localtime_r): Undef before defining.
797         (iso_week_days): Use __inline__, not inline.
799 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
801         * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
802         __ieee754_exp2{,l,f}.
803         * sysdeps/m68k/fpu/s_exp2.c: Likewise.
804         * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
805         * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
807 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
809         * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
810         section read-only, it contains relocations.
811         * elf/sofini.c (__FRAME_END__): Likewise.
813 1997-09-29 03:08  Ulrich Drepper  <drepper@cygnus.com>
815         * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
816         __strpbrk_cg, __strstr_cg): Optimize even more.  No spill register
817         needed.  Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
819 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
821         * nis/nis_call.c (__do_niscall2): Fix return code, add missing
822           break in switch case.
824         * nis/nis_mkdir.c: Fix return codes to match Solaris version.
825         * nis/nis_rmdir.c: Likewise.
827         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
828         for C++.
830 1997-09-28 04:32  Ulrich Drepper  <drepper@cygnus.com>
832         * configure.in: Fix typo.
833         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
835 1997-09-25 20:14  Philip Blundell  <Philip.Blundell@pobox.com>
837         * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
838         * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
840 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
842         * Makeconfig (extra-objs): Depend in before-compile.
844         * configure.in: Locate Perl and substitute with complete path.
845         * config.make.in: Add PERL for substitution.
846         * elf/Makefile (routines): Add dl-addr.
847         * elf/dladdr.c: Move the real code into ...
848         * elf/dl-addr.c: New file.
849         * elf/link.h: Add prototype for _dl_addr.
851         * elf/dladdr.c (dladdr): Change address argument to be const.
852         * elf/dlfcn.h: Likewise.
854         * locale/C_name.c: Add _nl_POSIX_name.
855         * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
856         * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
857         (_nl_remove_locale): Free name of data set.
858         * locale/setlocale.c (clever_copy): Remove.
859         (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
860         (setname): Only remove old name when it is for category LC_ALL.
862         Change malloc, free, realloc, and memalign hooks for glibc to take
863         another parameter indicating the location of the caller.
864         * malloc/malloc.c: Change hook functions and variables.
865         * malloc/malloc.h: Likewise.
866         * malloc/mcheck.c: Likewise.  Make sure later hooked function also
867         get the original caller address.
868         * malloc/mtrace.c: Likewise.
869         (tr_where): If no information in _mtrace_file is given use the
870         information about the caller.
871         * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
872         Add rules to install mtrace.pl after rewriting.
873         * malloc/mtrace.pl: New file.  Based on the old AWK script but
874         with extended functionality.
875         * malloc/mtrace.awk: Removed.
877         * po/fr.po: New version.
879         * string/Makefile: Do use builtins for tester.c and inl-tester.c.
880         * string/tester.c: Rewrite.  Split in many small functions to not
881         exceed gcc's limits.
883         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
885 1997-09-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
887         * string/bits/string2.h (__stpcpy_small): Don't use casts as
888         lvalues.
890 1997-09-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
892         * manual/time.texi (Formatting Date and Time): Clarify
893         explanation of strftime flags a bit.
894         Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
896 1997-09-25 00:13  David S. Miller  <davem@tanya.rutgers.edu>
898         * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
899         Fix typo, it is FLT_MANT_DIG.
901 1997-09-24 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
903         * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
905 1997-08-27 08:10  H.J. Lu  <hjl@gnu.ai.mit.edu>
907         * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
909         * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
910         _IO_MTSAFE_IO is undefined.
912 1997-09-24 23:27  Richard Henderson  <rth@cygnus.com>
914         * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
915         lookup the value of the target symbol ourselves and call the new
916         elf_machine_fixup_plt.  This kills the ELF_FIXUP_RETURN_VALUE hack.
917         (profile_fixup): Likewise, but don't fix up the plt.
918         * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
919         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
920         (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
921         * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
922         (ELF_MACHINE_JMP_SLOT): Renamed.
923         (elf_machine_fixup_plt): New function.
924         * sysdeps/m68k/dl-machine.h: Likewise.
925         * sysdeps/powerpc/dl-machine.h: Likewise.
926         (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
927         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
928         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
929         * sysdeps/stub/dl-machine.h: Update, sorta.
931         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
932         (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
933         both normal and profile code.
934         (elf_machine_rela): Handle r_addend for .got and .plt too.
936 1997-09-25 00:23  Ulrich Drepper  <drepper@cygnus.com>
938         * elf/dl-profile.c: Correct implementation.
940         * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
942         * locale/setlocale.c: Rewrite a bit for more clarity.
944         * math/Makefile (libm-calls): Add w_exp2.
945         * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
946         * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
947         * sysdeps/libm-i387/s_exp2f.S: Likewise.
948         * sysdeps/libm-i387/s_exp2l.S: Likewise.
949         * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
951         * string/bits/string2.h (__strcpy_small): Optimize.
952         (__stpcpy_small): Likewise.
953         (strncpy): Use variable for dest argument since it's used more than
954         once.
955         (strncat): Likewise.
956         (strcmp): Add optimization for this function.
957         * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
958         (__strcpy_small): Optimize.
959         (__stpcpy_small): Likewise.
960         (__stpcpy_c): Correctly use __mempcpy_* macros.
961         (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
962         byte following last copied.
963         (strncat): Use variable for dest argument since it's used more than
964         once.
965         (strcmp): Add optimization for this function.
967         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
968         .text and .previous to select correct section.
970 1997-09-23 19:56  Philip Blundell  <Philip.Blundell@pobox.com>
972         * configure.in: Add `--disable-versioning' option to suppress the
973         use of symbol versions even if binutils claims to support it.
975 1997-09-24 20:10  Philip Blundell  <Philip.Blundell@pobox.com>
977         * csu/Makefile (before-compile): Don't try to build abi-tags.h if
978         not using ELF.
980 1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
982         * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
983         the frame unwind info section.
985         * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
986         the frame unwind info.
988         * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
990         * configure.in: Check whether gcc supports DWARF2 unwind info.
992         * libc.map: Export frame handling tables.
994 1997-09-10 06:56  Geoff Keating  <geoffk@ozemail.com.au>
996         * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
997         Use the size of the kernel's termios structure for ioctls.
999         * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
1001         * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
1002         of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
1003         routines, because gcc has them as internals.
1005         * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
1006         CFLAGS-.os.
1008         * sysdeps/powerpc/bzero.S: New file.
1009         * sysdeps/powerpc/strcat.c: New file.
1010         * sysdeps/powerpc/strcpy.S: New file.
1011         * sysdeps/powerpc/stpcpy.S: New file.
1013         * math/Makefile: Add atest_exp2, test-reduce.
1014         * math/atest_exp2.c: New file.
1015         * math/test-reduce.c: New file.
1016         * sysdeps/libm-ieee754/Dist: New file.
1017         * sysdeps/libm-ieee754/s_exp2.c: New file.
1018         * sysdeps/libm-ieee754/s_exp2f.c: New file.
1019         * sysdeps/libm-ieee754/t_exp2.h: New file.
1020         * sysdeps/libm-ieee754/t_exp2f.h: New file.
1021         * math/libm-test.c (exp2_test): Add some more tests.
1023         * Rules: Use empty.os instead of empty.o, since it gets linked into
1024         libc.so...
1025         * configure.in: Add --disable-static to disable building .a files.
1026         * config.make.in: Substitute the new variable.
1027         * Makeconfig: Don't build .o files if not building .a files.
1029         * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
1030         (profile_fixup): Likewise.
1032 1997-09-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1034         * posix/globtest.c (main): Change to directory passed as first
1035         argument.
1037         * posix/globtest.sh: Don't cd before running the program, instead
1038         pass testdir as argument, so that $common_objpfx remains valid.
1040 1997-09-23 18:01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1042         * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
1044         * nis/nis_findserver.c: Save latest working sockaddr_in.
1046 1997-09-17 22:07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1048         * configure.in: Automatically determine whether as and ld are the
1049         GNU versions.
1050         (options):  --with-gnu-{as,ld,binutils} replaced by
1051         single option --with-binutils=PATH specifying a -B option to gcc.
1052         * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
1053         LIBC_PROG_BINUTILS.
1055         * configure.in: Allow the user to force configuration for
1056         unsupported platforms with an undocumented option.
1058 1997-09-22 16:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1060         * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
1061         return loopback address only if there is no other interface.
1063         * nis/Makefile: Add nis_callback libnsl-routines.
1065         * nis/nis_add.c: Use new __do_niscall* interface.
1066         * nis/nis_cache.c: Likewise.
1067         * nis/nis_checkpoint.c: Likewise.
1068         * nis/nis_lookup.c: Likewise.
1069         * nis/nis_mkdir.c: Likewise.
1070         * nis/nis_modify.c: Likewise.
1071         * nis/nis_ping.c: Likewise.
1072         * nis/nis_remove.c: Likewise.
1073         * nis/nis_rmdir.c: Likewise.
1074         * nis/nis_server.c: Likewise.
1075         * nis/nis_util.c: Likewise.
1077         * nis/rpcsvc/nis.h: Make C++ safe.
1079         * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
1080         of variables.
1082         * nis/nis_findserv.c: Make thread safe.
1084         * nis/nis_call.c: Add support for callback, Fix use of variables.
1085         * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
1086         ALL_RESULTS.
1087         * nis/nis_callback.c: New, callback functions.
1088         * nis/nis_intern.h: Add callback declarations.
1090 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1092         * string/bits/string2.h: Fix logic in preprocessor directive.
1093         (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
1094         const, to save a cast and a possible warning.
1096 1997-09-22 04:12  Ulrich Drepper  <drepper@cygnus.com>
1098         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
1099         memory in xadd not %1.
1101 1997-09-21 13:56  Ulrich Drepper  <drepper@cygnus.com>
1103         * manual/maint.texi (Supported Configurations): Add SPARC64 to
1104         list of supported platforms.
1106 1997-09-21 03:19  Ulrich Drepper  <drepper@cygnus.com>
1108         * libio/libio.h: More libstdc++ cleanups.  Define _IO_USE_DTOA if
1109         _G_HAVE_PRINTF_FP is not defined.
1110         * libio/strops.c: Undo patch of 1997-07-08 02:18.  Must find a
1111         different solution for the problem.
1113         * misc/search.h [__USE_GNU]: Define comparison_fn_t.
1114         * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
1115         not defined.
1116         Fix typo.  Pretty print inline functions.
1118         * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
1119         Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1121 1997-09-20 16:45  Ulrich Drepper  <drepper@cygnus.com>
1123         * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
1124         HES_DOMAIN environment variable.
1125         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
1127         * hesiod/README.hesiod: A bit of information about Hesiod and how
1128         to use it.  Written by Mark Kettenis <kettenis@phys.uva.nl>.
1130 1997-09-20 05:15  Ulrich Drepper  <drepper@cygnus.com>
1132         * manual/maint.texi: Update requirement list.
1134         * io/ftw.h: Don't use parameter names from global namespace in
1135         prototypes.
1137         * stdlib/strtol.c: If used outside glibc handle broken systems
1138         which have character classification functions which are not 8-bit
1139         clean gracefully.  Patch by Bruno Haible <haible@ilog.fr>.
1141 1997-09-19 21:42  David S. Miller  <davem@tanya.rutgers.edu>
1143         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
1144         a long long int.
1146 1997-09-19 15:12  H.J. Lu  <hjl@gnu.ai.mit.edu>
1148         * posix/Makefile (test-srcs): New, set to globtest.
1150 1997-09-20 00:24  Ulrich Drepper  <drepper@cygnus.com>
1152         * manual/filesys.texi: Document ftw, nftw and needed data types.
1154 1997-09-19 12:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
1156         * sysdeps/i386/i486/bits/string.h: Fix typo.
1158 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1160         * io/ftwtest.c (cb): Print level.
1161         * io/ftwtest-sh: Updated for ftwtest.c change.
1163         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1164         compilers.
1165         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1167         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1168         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1170 1997-09-18 13:30  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
1172         * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
1173         additional argument.
1174         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1175         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1176         * sysdeps/stub/init-first.c: Likewise.
1178 1997-09-18 03:16  Ulrich Drepper  <drepper@cygnus.com>
1180         * manual/search.texi: Document lsearch, lfind, the hsearch and
1181         tsearch functions.
1183 1997-09-18 00:04  Ulrich Drepper  <drepper@cygnus.com>
1185         * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
1186         if the table is full and we *really* have to enter a new entry.
1188 1997-09-17 19:44  Ulrich Drepper  <drepper@cygnus.com>
1190         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
1191         of hack for handling flush opcode.
1192         Patch by Richard Henderson <rth@cygnus.com>.
1194 1997-09-16 23:48  Ulrich Drepper  <drepper@cygnus.com>
1196         * libio/fileops.c: Define __set_errno if necessary.
1197         * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
1199 1997-09-16 22:03  Ulrich Drepper  <drepper@cygnus.com>
1201         * string/Makefile (headers): Instead bits/string2.h.
1202         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1204 1997-09-16 13:31  David S. Miller  <davem@tanya.rutgers.edu>
1206         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
1208 1997-09-16 17:42  Ulrich Drepper  <drepper@cygnus.com>
1210         * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
1211         as of type __fdset *.
1212         * sysdeps/i386/bits/select.h: Likewise.
1213         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1215 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
1217         * hesiod/hesiod.c: Don't use and define cistrcmp.  We have
1218         strcasecmp.
1219         (hesiod_init): Use of HES_DOMAIN need not be protected by
1220         __secure_getenv.
1221         (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
1222         stpcpy.
1224         * string/Makefile (noinl-tester-ENV): New variable to make
1225         strerror test pass.
1226         (CFLAGS-noinl-tester): Make sure we test the correct functions.
1228         * sysdeps/stub/atomicity.h: Fix typo.
1229         Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
1231         * manual/string.texi: Document strnlen and mempcpy.
1232         Tell a bit more about the locale dependence of strcasecmp and
1233         strncasecmp.
1235         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
1236         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1237         value type to long int.
1238         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
1239         types.
1240         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
1241         Patches by David S. Miller <davem@jenolan.rutgers.edu>.
1243 1997-09-16 02:14  Ulrich Drepper  <drepper@cygnus.com>
1245         Implementation of Hesiod NSS module by Mark Kettenis.
1246         * hesiod/Makefile: New file.
1247         * hesiod/hesiod.c: New file.
1248         * hesiod/hesiod.h: New file.
1249         * hesiod/hesiod_p.h: New file.
1250         * hesiod/libnss_hesiod.map: New file.
1251         * hesiod/nss_hesiod/hesiod-grp.c: New file.
1252         * hesiod/nss_hesiod/hesiod-pwd.c: New file.
1253         * hesiod/nss_hesiod/hesiod-service.c: New file.
1254         * sysdeps/unix/inet/Subdirs: Add hesiod.
1256         * shlib-versions: Add version number for libnss_hesiod.
1258         * libio/iolibio.h: Remove definition of _IO_* macros.
1259         * libio/fileops.c: Define close, fstat, lseek, read, and write as
1260         macros to use __ protected versions.  Use those functions instead
1261         of _IO_* functions.
1262         * libio/iopopen.c: Define _IO_close to close.
1264         * manual/math.texi: Explain the use of the optimizing inline
1265         functions.
1266         Describe rand_r function and tell about SysV RNGs in introduction.
1268         * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
1269         variable.
1271         * string/Makefile (tests): Add noinl-tester.
1272         * string/noinl-tester.c: New file.
1273         * string/tester.c: Add more stpcpy tests for constant arguments for
1274         all short lengths.
1276         * string/string.h: Always declare __bzero.
1277         Describe __NO_STRING_INLINES.
1278         Always include <bits/string.h>.
1279         * string/bits/string2.h: Add warning about direct use.
1280         Change __strcpy_small and __stpcpy_small implementation to use
1281         macros and provide alternative for platforms which cannot do
1282         unaligned stores.
1283         * sysdeps/i386/bits/string.h: Don't define anything is
1284         __NO_STRING_INLINES is defined.
1285         * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
1286         __stpcpy_small implementation to use macros and provide
1287         alternative for platforms which cannot do unaligned stores.
1288         * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
1289         * sysdeps/generic/bzero.c: Likewise.
1290         * sysdeps/i386/bzero.c: Likewise.
1291         * sysdeps/i386/i586/bzero.S: Likewise.
1292         * sysdeps/vax/bzero.s: Likewise.
1294         * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
1295         * sysdeps/i386/bits/select.h: Likewise.
1297         * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
1298         constraints a bit.
1299         Don't define and test for _BITS_MATHINLINE_H.  Emit warning if used
1300         directly and not through math.h.
1302         * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
1303         to char to get better code.  Fix typo.
1304         * sysdeps/stub/atomicity.h: Fix typo.
1306 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1308         * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
1310 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1312         * string/bits/string2.h: Add prototypes to avoid warning.
1314 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1316         * string/bits/string2.h (strsep): Fix handling of empty REJECT.
1317         (__strsep_1c): Handle NULL and empty string.
1318         (__strsep_g): Likewise.
1320 1997-09-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1322         * catgets/Makefile (extra-objs): Set this instead of generated.
1324         * md5-crypt/Makefile (extra-objs): Add all object file variants of
1325         onlymd5-entry.
1327 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1329         * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
1330         change.
1332 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1334         * sysdeps/m68k/m68020/atomicity.h: New file.
1336 1997-09-15 05:11  Ulrich Drepper  <drepper@cygnus.com>
1338         * posix/Makefile (distribute): Add globtest.c and globtest.sh.
1339         Compile and run globtest if not cross-compiling.
1340         * posix/globtest.c: New file.
1341         * posix/globtest.sh: New file.
1342         * posix/glob.c: Pretty print preprocessor stuff.
1343         (glob_in_dir): If PATTERN is not really a pattern still check
1344         whether it is a real file in the current directory and return
1345         error if not.
1346         Reported by Eugene Mamchits <eugin@ips.ras.ru>.
1348         * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
1349         * libio/ioseekoff.c (_IO_seekoff): Likewise.
1350         * libio/ioseekpos.c (_IO_seekpos): Likewise.
1352 1997-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
1354         * configure.in: Prevent configuration for unsupported platforms.
1356 1997-09-13 04:07  Ulrich Drepper  <drepper@cygnus.com>
1358         * elf/rtld.c (dl_main): Make sure we always have a file argument by
1359         testing for < 2 arguments after recognizing the options.
1361 1997-09-12 11:47  Fila Kolodny  <fila@ibi.com>
1363         * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
1364         (__strsep_g): Likewise.
1366 1997-09-11 17:32  Ulrich Drepper  <drepper@cygnus.com>
1368         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
1369         Patch by David S. Miller <davem@jenolan.rutgers.edu>.
1371 1997-09-11 04:36  Ulrich Drepper  <drepper@cygnus.com>
1373         * db2/db_int.h: Define __set_errno if not yet available.
1374         * db2/btree/bt_rec.c: Use __set_errno to set errno value.
1375         * db2/clib/getlong.c: Likewise.
1376         * db2/db185/db185.c: Likewise.
1377         * db2/db185/db185_int.h: Likewise.
1378         * db2/dbm/dbm.c: Likewise.
1379         * db2/lock/lock_deadlock.c: Likewise.
1380         * db2/log/log_archive.c: Likewise.
1382         * elf/dl-profile.c: Implement mcount function.
1384         * gmon/gmon.c: Use __profil not profil because of namespace pollution.
1385         * gmon/mcount.c: Remove BSD kernel code.
1386         Use compare&swap instruction if possible to change state variable.
1387         Optimize frompc folding.
1388         * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
1389         * sysdeps/i386/i486/atomicity.h: New file.
1390         * sysdeps/stub/atomicity.h: New file.
1391         * sysdeps/mach/hurd/profil.c: Define function as __profil and make
1392         profil weak alias.
1393         * sysdeps/posix/profil.c: Likewise.
1395         * string/bits/string2.h: New file.
1396         * include/bits/string2.h: New file.
1397         * string/Makefile (routines): Add mempcpy.
1398         (tests): Add inl-tester.
1399         Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
1400         * sysdeps/generic/mempcpy.c: New file.
1401         * sysdeps/generic/memccpy.c: Undef function name to enable definition
1402         as macro.
1403         * sysdeps/generic/memchr.c: Likewise.
1404         * sysdeps/generic/memcmp.c: Likewise.
1405         * sysdeps/generic/memmem.c: Likewise.
1406         * sysdeps/generic/memmove.c: Likewise.
1407         * sysdeps/generic/strcat.c: Likewise.
1408         * sysdeps/generic/strchr.c: Likewise.
1409         * sysdeps/generic/strcmp.c: Likewise.
1410         * sysdeps/generic/strcpy.c: Likewise.
1411         * sysdeps/generic/strcspn.c: Likewise.
1412         * sysdeps/generic/strlen.c: Likewise.
1413         * sysdeps/generic/strncat.c: Likewise.
1414         * sysdeps/generic/strncmp.c: Likewise.
1415         * sysdeps/generic/strncpy.c: Likewise.
1416         * sysdeps/generic/strpbrk.c: Likewise.
1417         * sysdeps/generic/strrchr.c: Likewise.
1418         * sysdeps/generic/strsep.c: Likewise.
1419         * sysdeps/generic/strspn.c: Likewise.
1420         * sysdeps/generic/strstr.c: Likewise.
1421         * sysdeps/generic/strtok.c: Likewise.
1422         * sysdeps/generic/strtok_r.c: Likewise.
1423         * sysdeps/i386/memset.c: Likewise.
1424         * sysdeps/i386/bits/string.h: Correct a few types and constraints.
1425         * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
1426         * string/stratcliff.c: Undefine __USE_STRING_INLINES.
1427         * string/tst-strlen.c: Likewise.
1428         * string/string.h: Add prototype for mempcpy.  Include bits/string2.h
1429         header always if optimizing.
1430         * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
1431         yet defined.
1432         * intl/l10nflist.c: Likewise.
1434         * string/tester.c: Add copyright and make little cleanups.
1436         * inet/test_ifindex.c: Change type of ni variable to unsigned int.
1438         * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
1439         of fields map_collection_max and map_collection_act to size_t.
1441         * nss/libnss_files.map: Group entries.
1443         * posix/unistd.h: Add prototype for __setpgid and __profil.
1445         * sysdeps/generic/crypt.h: Declare __crypt_r.
1447         * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
1449         * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1450         isless, islessequal, islessgreater, isunordered): Optimize a bit.
1452         * sysdeps/stub/ftruncate.c: Include missing header for prototype.
1453         * sysdeps/stub/getdents.c: Likewise.
1454         * sysdeps/stub/reboot.c: Likewise.
1455         * sysdeps/stub/swapon.c: Likewise.
1456         * sysdeps/stub/syscall.c: Likewise.
1457         * sysdeps/stub/ualarm.c: Likewise.
1458         * sysdeps/stub/usleep.c: Likewise.
1460         * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
1461         if SIOGIFINDEX and SIOGIFNAME are not defined.
1463         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
1464         according to recent kernel changes.
1466 1997-09-10 21:32  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
1468         * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
1469         the installed name of the startup code.
1470         (common-generated): Add version.mk.
1471         * Makefile (distclean-1): Add glibcbug.
1472         * Makerules: Replace -lgcc by $(gnulib).
1473         * catgets/Makefile (generated): Add xmalloc.o.
1474         * csu/Makefile (generated): Replace align.h and end.h by defs.h to
1475         match the generated file.
1476         * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
1477         (realclean): Changed to remove chapters-incl[12].
1478         * po/Makefile (realclean): New rule to remove the generated .mo files.
1479         * time/Makefile: Only include zonefile dependencies if $(no_deps) is
1480         not true to avoid make clean failure when directory time doesn't exist
1481         yet.
1482         (generated): Add tzselect.
1484         * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
1485         * stdio/internals.c (flushbuf): Likewise.
1486         * stdio/linewrap.c (lwupdate): Likewise.
1487         * stdio/memstream.c (enlarge_buffer): Likewise.
1488         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1489         * time/tzset.c (compute_change): Likewise.
1490         * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
1491         is defined.
1492         * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
1493         functions.
1494         * sysdeps/stub/init-posix.c: Likewise.
1495         * sysdeps/stub/profil.c: Likewise.
1496         * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
1497         reduce gcc warning noise.
1498         * stdio/glue.c (_filbuf, _flsbuf): Likewise.
1499         * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
1500         * stdio/vasprintf.c (enlarge_buffer): Likewise.
1501         * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
1502         __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
1503         __stdio_reopen): Likewise.
1504         * sysdeps/posix/defs.c (_cleanup): Likewise.
1505         * time/offtime.c (__offtime): Add cast.
1507         * posix/getopt.c: Don't use text_set_element if not defined.
1509         * configure.in: Provide a check for underscores before user labels
1510         that works even when the compiler used for building doesn't work
1511         (like when there is no C library).  Use the old way if the compiler
1512         works.
1514 1997-09-10 05:08  David S. Miller  <davem@caip.rutgers.edu>
1516         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
1517         'T' not 't' on SparcLinux.
1518         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
1520         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
1521         _longjmp and siglongjmp.
1523 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1525         * libio/stdio.h: Add format attributes to the extra printf and
1526         scanf like functions.
1527         * stdio/stdio.h: Likewise.
1529 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1531         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
1532         Print tablename_val, not tablename_len.
1534         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1535         Use sprintf instead of sprintf, the string always fits.
1536         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
1537         Likewise.
1538         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
1539         Likewise.
1540         * nis/nss_nisplus/nisplus-proto.c
1541         (_nss_nisplus_getprotobynumber_r): Likewise.
1542         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
1543         Likewise.
1544         * nis/nss_nisplus/nisplus-service.c
1545         (_nss_nisplus_getservbynumber_r): Likewise.
1547         * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
1548         __stpcpy, __stpncpy and __strdup instead of public names.
1549         * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
1550         Likewise.
1551         * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
1552         * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
1553         Likewise.
1554         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
1555         Likewise.
1556         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
1557         Likewise.
1558         (_nss_create_tablename): Likewise.
1559         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
1560         Likewise.
1561         (_nss_create_tablename): Likewise.
1562         * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
1563         Likewise.
1564         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
1565         Likewise.
1566         (_nss_create_tablename): Likewise.
1567         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
1568         Likewise.
1569         (_nss_create_tablename): Likewise.
1570         * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
1571         Likewise.
1573         * libc.map: Export __stpcpy and __strdup.
1575 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1577         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
1578         CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
1579         precision.
1581 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * include/rpc/auth_des.h: New file.
1585 1997-09-09  Paul Eggert  <eggert@twinsun.com>
1587         * time/mktime.c (__mktime_internal): Declare sec_requested even if
1588         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
1589         for time_t overflow.
1591 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
1593         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
1594         Reported by Erik Troan <ewt@redhat.com>.
1596         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1597         * elf/dl-open.c: Likewise.
1599 1997-09-07 17:09  Richard Henderson  <rth@cygnus.com>
1601         * sysdeps/alpha/Makefile: Kill setjmp_aux.
1602         * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
1603         * sysdeps/alpha/__longjmp.c: Remove.
1604         * sysdeps/alpha/setjmp_aux.c: Remove.
1605         * sysdeps/alpha/__longjmp.S: New file.
1606         * sysdeps/alpha/bsd-_setjmp.S: Stub out.
1607         * sysdeps/alpha/bsd-setjmp.S: Likewise.
1608         * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
1609         Move _setjmp and setjmp from bsd-*.S.
1611 1997-09-06  20:20  Ulrich Drepper  <drepper@cygnus.com>
1613         * include/rpc/auth.h: New file.
1614         * include/rpc/auth_unix.h: New file.
1616 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1618         Fix gmtime so that it reports leap seconds when TZ
1619         indicates that leap seconds are desired.
1621         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1622         (gmtime): Put after gmtime_r, to help the compiler inline.
1623         (__tz_convert): New decl.
1624         (gmtime_r): Use __tz_convert instead of __offtime,
1625         so that leap seconds are handled correctly.
1627         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1628         are now unnecessary.
1629         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1630         __tzset_lock): Remove extern decls that are now unnecessary.
1631         (localtime_internal): Moved to __tz_convert in tzset.c.
1632         so that localtime and gmtime can both use it easily.
1633         (localtime): Put after localtime_r, to help the compiler inline.
1634         (localtime_r): Use __tz_convert instead of localtime_internal.
1636         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1637         decl.
1639         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1641         * time/tzset.c (<errno.h>): Include.
1642         (_tmbuf): New decl.
1643         (__tzfile_compute): New function.
1644         (tz_compute): Renamed from __tz_compute.  No longer extern.
1645         Remove redundant call to tzset_internal.
1646         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
1647         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
1648         (__tz_convert): New function, containing functionality of old
1649         localtime_internal function, plus locking and optional UTC.
1651 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1653         * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1654         string, just use UTC without leap seconds.  This is for compatibility
1655         with the Olson code.
1657 1997-09-06  Paul Eggert  <eggert@twinsun.com>
1659         * time/tzset.c (__tzname_max): Lock tz data structures before
1660         invoking tzset_internal.
1662         * time/tzfile.c: Define compute_tzname_max statically.
1664 1997-09-07 10:57  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1666         * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
1667         * nis/nis_intern.h: Likewise.
1668         * nis/nss_nis/nis-publickey.c: Likewise.
1669         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1670         * nis/ypclnt.c: Likewise.
1672         * sunrpc/auth_des.c: Don't dereference NULL pointer,
1673         initialize ad->ad_timediff.
1675         * sunrpc/auth_none.c: Don't define our own prototypes, use the one
1676         from the header files.
1677         * sunrpc/auth_unix.c: Likewise.
1678         * sunrpc/clnt_raw.c: Likewise.
1679         * sunrpc/clnt_tcp.c: Likewise.
1680         * sunrpc/rpc_cmsg.c: Likewise.
1682         * sunrpc/key_call.c: Fix signal handling.
1684         * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
1685         or we will get a deadlock with NIS+.
1687         * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
1688         HAVE_SECURE_RPC.
1690 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
1692         * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1693         __FD_ISSET): Use correct casts to address array correctly.
1694         Reported by urbanw@cs.umu.se.
1696 1997-09-07 05:07  Ulrich Drepper  <drepper@cygnus.com>
1698         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1699         * elf/dl-open.c: Likewise.
1700         * sysdeps/i386/memset.c: Undefine memset in case the header with the
1701         optimized functions is included.
1702         Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
1704         * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
1705         strsep): Use register for second parameter.
1706         * sysdeps/i386/i486/bits/string.h: Likewise.
1707         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1709 1997-09-03 09:48  Geoff Keating  <geoffk@ozemail.com.au>
1711         * math/libm-test.c: Change various tolerances to match what the
1712         tested routines can actually provide.
1714         * math/Makefile: Add new tests.
1715         * math/atest-sincos.c: New file.
1716         * math/atest-exp.c: New file.
1718         * csu/Makefile: Give initfini.s and initfiniS.s their own
1719         CFLAGS-* macros so they can be overridden.
1720         * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
1721         initfiniS.s to use -fpic instead of -fPIC, because the sed script
1722         breaks otherwise.
1724         * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
1725         efficiency.
1727         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1728         Don't use register 0, to let _mcount be in a shared object.
1730         * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
1731         Generally clean up.  Suppress some code we don't need when relocating
1732         ld.so.
1733         * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
1734         appropriate to suppress gcc warning.
1735         * resolv/res_send.c: Suppress warning.
1736         * sunrpc/xdr_sizeof.c: Suppress warning.
1738         * FAQ: Add ppc-linux.
1739         * manual/maint.texi: Add ppc-linux.  Explain that gcc can't build it
1740         yet.
1742         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
1743         current kernels.
1745 1997-08-15 07:45  Geoff Keating  <geoffk@ozemail.com.au>
1747         * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
1748         * sysdeps/i386/machine-gmon.h: Correct typo.
1750         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
1751         kernel.
1753         * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
1754         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
1755         sysdeps/linux/dl-sysdep.c.
1757         * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
1758         * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
1759         * sysdeps/powerpc/ppc-mcount: New file.
1761         The following are mostly changes to allow profiling:
1762         * sysdeps/powerpc/add_n.S: Added.
1763         * sysdeps/powerpc/add_n.s: Removed.
1764         * sysdeps/powerpc/addmul_1.S: Added.
1765         * sysdeps/powerpc/addmul_1.s: Removed.
1766         * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
1767         * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
1768         * sysdeps/powerpc/lshift.S: Added.
1769         * sysdeps/powerpc/lshift.s: Removed.
1770         * sysdeps/powerpc/memset.S: Added.
1771         * sysdeps/powerpc/memset.s: Removed.
1772         * sysdeps/powerpc/mul_1.S: Added.
1773         * sysdeps/powerpc/mul_1.s: Removed.
1774         * sysdeps/powerpc/rshift.S: Added.
1775         * sysdeps/powerpc/rshift.s: Removed.
1776         * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
1777         * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
1778         * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
1779         * sysdeps/powerpc/strchr.S: Added.
1780         * sysdeps/powerpc/strchr.s: Removed.
1781         * sysdeps/powerpc/strcmp.S: Added.
1782         * sysdeps/powerpc/strcmp.s: Removed.
1783         * sysdeps/powerpc/strlen.S: Added.
1784         * sysdeps/powerpc/strlen.s: Removed.
1785         * sysdeps/powerpc/sub_n.S: Added.
1786         * sysdeps/powerpc/sub_n.s: Removed.
1787         * sysdeps/powerpc/submul_1.S: Added.
1788         * sysdeps/powerpc/submul_1.s: Removed.
1789         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
1790         * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
1791         * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
1792         * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
1793         various bugs. Document that it isn't tested.
1794         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
1795         sysdeps/unix/_exit.S.
1796         * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
1797         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
1798         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
1799         to make assembler (possibly) more portable, allow profiling, etc.
1801 1997-09-05 03:15  Ulrich Drepper  <drepper@cygnus.com>
1803         * Makefile (subdirs): Reorganize order so that nss follows add-ons.
1804         * config.make.in (LDAP): Add.
1805         * configure.in: Prepare for ldap add-on.
1806         * shlib-versions: Add version numbers for ldap NSS module.
1807         * nss/Makefile: Add rules to build ldap NSS module.
1809         * db/btree/bt_page.c (__bt_free): Update meta data information.
1811         Update db from db-2.3.6.
1812         * db2/db.h: Updated.
1813         * db2/btree/bt_close.c: Updated.
1814         * db2/btree/bt_compare.c: Updated.
1815         * db2/btree/bt_conv.c: Updated.
1816         * db2/btree/bt_cursor.c: Updated.
1817         * db2/btree/bt_delete.c: Updated.
1818         * db2/btree/bt_put.c: Updated.
1819         * db2/btree/bt_rec.c: Updated.
1820         * db2/btree/bt_recno.c: Updated.
1821         * db2/btree/bt_search.c: Updated.
1822         * db2/btree/bt_split.c: Updated.
1823         * db2/btree/bt_stat.c: Updated.
1824         * db2/common/db_appinit.c: Updated.
1825         * db2/common/db_apprec.c: Updated.
1826         * db2/common/db_byteorder.c: Updated.
1827         * db2/common/db_err.c: Updated.
1828         * db2/common/db_region.c: Updated.
1829         * db2/db/db.c: Updated.
1830         * db2/db/db_conv.c: Updated.
1831         * db2/db/db_dup.c: Updated.
1832         * db2/db/db_pr.c: Updated.
1833         * db2/db/db_ret.c: Updated.
1834         * db2/db185/db185.c: Updated.
1835         * db2/dbm/dbm.c: Updated.
1836         * db2/hash/hash_dup.c: Updated.
1837         * db2/include/db_am.h: Updated.
1838         * db2/include/db_page.h: Updated.
1839         * db2/include/mp.h: Updated.
1840         * db2/include/queue.h: Updated.
1841         * db2/log/log.c: Updated.
1842         * db2/log/log_findckp.c: Updated.
1843         * db2/log/log_get.c: Updated.
1844         * db2/log/log_rec.c: Updated.
1845         * db2/mp/mp_bh.c: Updated.
1846         * db2/mp/mp_fopen.c: Updated.
1847         * db2/mp/mp_pr.c: Updated.
1848         * db2/mp/mp_sync.c: Updated.
1849         * db2/mutex/x86.gcc: Updated.
1850         * db2/os/db_os_dir.c: Updated.
1851         * db2/os/db_os_fid.c: Updated.
1852         * db2/progs/db_archive/db_archive.c: Updated.
1853         * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
1854         * db2/progs/db_deadlock/db_deadlock.c: Updated.
1855         * db2/progs/db_dump/db_dump.c: Updated.
1856         * db2/progs/db_dump185/db_dump185.c: Updated.
1857         * db2/progs/db_load/db_load.c: Updated.
1858         * db2/progs/db_printlog/db_printlog.c: Updated.
1859         * db2/progs/db_recover/db_recover.c: Updated.
1860         * db2/progs/db_stat/db_stat.c: Updated.
1861         * db2/txn/txn.c: Updated.
1862         * db2/txn/txn_rec.c: Updated.
1864         * db2/Makefile: Add rule to build db_printlog.
1865         * db2/config.h: Don't include endian.h and don't define
1866         WORDS_BIGENDIAN.  Only define HAVE_ENDIAN_H.
1868         * elf/dl-open.c (_dl_open): Make thread-safe.
1869         * elf/dl-close.c (_dl_close): Likewise.
1870         * elf/dlclose.c: Pretty print.
1871         * elf/dl-version.c (make_string): Use __strdup not strdup.
1872         (find_needed): Don't use l_searchlist of _dl_loaded, use the
1873         l_next list.
1874         * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
1876         * manual/math.texi: Add note about == and != for FP values.
1877         * manual/message.texi: Mention problems with relative paths and
1878         binstextdomain.
1879         * manual/string.texi: Mark strdupa and strndupa correctly as macros.
1881         * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
1882         * sunrpc/rpc_cout.c: Avoid needless races around return value.
1884         * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
1886         Update from tzdata-1997h.
1887         * time/africa: Updated.
1888         * time/europe: Updated.
1889         * time/iso3166.tab: Updated.
1890         * time/northamerica: Updated.
1891         * time/southamerica: Updated.
1892         * time/zone.tab: Updated.
1894 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
1896         * sysdeps/alpha/w_sqrt.S: Removed.
1897         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
1898         and build a version that is as fast as possible given the constraint.
1900 1997-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1902         * manual/maint.texi: Document some defaults for configuration
1903         parameters.
1905 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
1907         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1908         * termios/termios.h: Change prototype accordingly.
1909         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1911 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
1913         * libio/stdfiles.c (_libio_using_thunks): Define if
1914         _G_USING_THUNKS is defined.
1916         * libio/_G_config.h: Moved to ...
1917         * sysdeps/generic/_G_config.h: ...here.
1919         * sysdeps/unix/sysv/linux/_G_config.h: New,
1920         Add vtable thunks support.
1922 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1924         * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
1925         efficient code (together with a change in gcc).
1927         * Makeconfig (pic-ccflag): New variable.
1928         (CFLAGS-.os): Use it instead of hardcoding -fPIC.
1930 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1932         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
1933         _dl_start instead of a local label, to avoid getting an unreadable
1934         label name.
1936 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1938         * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
1939         libdb.so.
1941         * Makeconfig (dbobjdir): Use db2.
1943 1997-08-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1945         * manual/maint.texi (Porting to Unix): Update description of the
1946         implementation of Unix system calls.
1947         (Contributors): Use real umlaut in tege's name.
1949 1997-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1951         * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
1952         _IEEE_LIBM.
1953         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1954         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1956 1997-08-29 21:45  Ulrich Drepper  <drepper@cygnus.com>
1958         * sunrpc/auth_des.c: New file.  Copied from former secure_rpc add-on.
1959         * sunrpc/authdes_prot.c: New file.  Likewise.
1960         * sunrpc/des.h: New file.  Likewise.
1961         * sunrpc/des_crypt.c: New file.  Likewise.
1962         * sunrpc/des_soft.c: New file.  Likewise.
1963         * sunrpc/key_call.c: New file.  Likewise.
1964         * sunrpc/key_prot.c: New file.  Likewise.
1965         * sunrpc/netname.c: New file.  Likewise.
1966         * sunrpc/openchild.c: New file.  Likewise.
1967         * sunrpc/rtime.c: New file.  Likewise.
1968         * sunrpc/svc_auth.c: New file.  Likewise.
1969         * sunrpc/svcauth_des.c: New file.  Likewise.
1970         * sunrpc/xcrypt.c: New file.  Likewise.
1971         * sunrpc/rpc/auth.h: New file.  Likewise.
1972         * sunrpc/rpc/auth_des.h: New file.  Likewise.
1973         * sunrpc/rpc/des_crypt.h: New file.  Likewise.
1974         * sunrpc/rpc/key_prot.h: New file.  Likewise.
1975         * sunrpc/rpcsvc/key_prot.x: New file.  Likewise.
1976         * sysdeps/generic/svc_auth.h: Removed.
1977         * sysdeps/generic/rpc/auth.h: Removed.
1978         * sysdeps/generic/rpc/auth_des.h: Removed.
1979         * sysdeps/stub/des_impl.c: New file.  Stub version for DES.
1980         * sunrpc/Makefile (rpcsvc): Add keyprot.x.
1981         (headers): Add des_crypt.h and key_prot.h.
1982         (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
1983         key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
1984         (distribute): Add des.h.
1986         * db2/Makefile: Add all headers and other files to distribute.
1987         (others): Add db_printlog.
1989         * sysdeps/mach/hurd/Dist: Add net/* headers.
1990         * sysdeps/mach/hurd/mips/Dist: New file.
1991         * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
1992         * sysdeps/sparc/Dist: Add sys/trap.h.
1993         * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
1994         * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
1995         * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
1996         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
1997         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
1999         Add previously missing assembler files for PPC.
2000         * sysdeps/powerpc/add_n.s: New file.
2001         * sysdeps/powerpc/addmul_1.s: New file.
2002         * sysdeps/powerpc/lshift.s: New file.
2003         * sysdeps/powerpc/memset.s: New file.
2004         * sysdeps/powerpc/mul_1.s: New file.
2005         * sysdeps/powerpc/rshift.s: New file.
2006         * sysdeps/powerpc/strchr.s: New file.
2007         * sysdeps/powerpc/strcmp.s: New file.
2008         * sysdeps/powerpc/sub_n.s: New file.
2009         * sysdeps/powerpc/submul_1.s: New file.
2011 1997-08-28 18:42  Thorsten Kukuk  <kukuk@uni-paderborn.de>
2013         * nis/nis_server.c: Rewritten to fix a lot of bugs.
2015 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2017         * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
2018         variables.
2020 1997-08-29 02:36  Ulrich Drepper  <drepper@cygnus.com>
2022         * Makefile (version-info.h): Use ISO form for the date.
2024         * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
2025         (struct catalog_obj): Add lock field.
2026         (__open_catalog): Remove second parameter from prototype.
2027         * catgets/catgets.c (catopen): Initialize lock field.
2028         (catgets): Don't pass second parameter to __open_catalog.
2029         * catgets/gencat.c: Initialize lock field and don't pass second
2030         parameter to __open_catalog.
2031         * catgets/open_catalog.c (__open_catalog): Decide about use of
2032         path by examining path in struct, not based on extra argument.
2033         Acquire a the lock before trying to load the catalog and release
2034         it before returning.
2036         * csu/Makefile (abi-tag.h): Make sure target directory exists.
2038         * io/Makefile (headers): Add bits/poll.h.
2039         * io/sys/poll.h: Remove definitions of POLL* constants.
2040         Include <bits/poll.h>.
2041         * sysdeps/generic/bits/poll.h: New file.
2042         * sysdeps/unix/sysv/linux/bits/poll.h: New file.
2043         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
2044         * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
2045         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
2047         * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
2049         * malloc/obstack.c: Add casts to keep very verbose compilers on
2050         64bit machine quiet.
2052         * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
2054 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
2056         * catgets/catgets.c (catopen): Correctly determine length of string
2057         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
2059 1997-08-27 23:19  Richard Henderson  <rth@cygnus.com>
2061         * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
2062         default macro to track down arguments from stack start.
2063         (_dl_sysdep_start): Use it.
2064         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
2065         providing a special DL_FIND_ARG_COMPONENTS and including the next
2066         file up the line.
2068         * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
2069         * sysdeps/powerpc/e_sqrtf.c: Likewise.
2070         * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
2071         the double precision version.
2072         * sysdeps/powerpc/s_fabsf.S: Likewise.
2073         * sysdeps/powerpc/s_isnanf.S: Likewise.
2075 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
2077         * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>.  Somebody
2078         should update this to use the new db API.
2079         * nss/nss_db/db-netgrp.c: Likewise.
2080         * nss/nss_db/db-alias.c: Likewise.
2081         * db2/Makefile: Makefile for db-2.x in glibc.
2083 1997-08-27 21:20  Ulrich Drepper  <drepper@cygnus.com>
2085         * csu/Makefile (before-compile): New goal.  Make sure abi-tag.h
2086         is generated.
2087         [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
2089         * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
2090         -D__USE_STRING_INLINES.
2091         * string/string.f: Move strnlen optimization after inclusion of
2092         <bits/string.h>.  Include <bits/string.h> only if __USE_STRING_INLINES
2093         is defined.
2094         * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
2095         in <bits/string.h>.
2096         * sysdeps/generic/memset.c: Likewise.
2097         * sysdeps/i386/string.h: i386 optimized string functions.
2098         * sysdeps/i386/i486string.h: i486+ optimized string functions.
2100         * Makefile (subdirs): Change db to db2.
2101         * shlib-versions: Bump libdb verion number to 3.
2102         * include/db.h: Include from db2 directory.
2103         * include/db_185.h: New file.
2104         * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
2105         to provide spinlock information for db2.
2106         * sysdeps/m68k/m68020/Makefile: New file.  Likewise.
2107         * sysdeps/sparc/Makefile: New file.  Likewise.
2108         * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
2109         Add -DHAVE_LLSEEK.
2110         * db2/config.h: Hand-edited config file for db2 in glibc.
2111         * db2/compat.h: New file from db-2.3.4.
2112         * db2/db.h: Likewise.
2113         * db2/db_185.h: Likewise.
2114         * db2/db_int.h: Likewise.
2115         * db2/makedb.c: Likewise.
2116         * db2/btree/bt_close.c: Likewise.
2117         * db2/btree/bt_compare.c: Likewise.
2118         * db2/btree/bt_conv.c: Likewise.
2119         * db2/btree/bt_cursor.c: Likewise.
2120         * db2/btree/bt_delete.c: Likewise.
2121         * db2/btree/bt_open.c: Likewise.
2122         * db2/btree/bt_page.c: Likewise.
2123         * db2/btree/bt_put.c: Likewise.
2124         * db2/btree/bt_rec.c: Likewise.
2125         * db2/btree/bt_recno.c: Likewise.
2126         * db2/btree/btree_auto.c: Likewise.
2127         * db2/btree/bt_rsearch.c: Likewise.
2128         * db2/btree/bt_search.c: Likewise.
2129         * db2/btree/bt_split.c: Likewise.
2130         * db2/btree/bt_stat.c: Likewise.
2131         * db2/btree/btree.src: Likewise.
2132         * db2/common/db_appinit.c: Likewise.
2133         * db2/common/db_err.c: Likewise.
2134         * db2/common/db_byteorder.c: Likewise.
2135         * db2/common/db_apprec.c: Likewise.
2136         * db2/common/db_salloc.c: Likewise.
2137         * db2/common/db_log2.c: Likewise.
2138         * db2/common/db_region.c: Likewise.
2139         * db2/common/db_shash.c: Likewise.
2140         * db2/db/db.c: Likewise.
2141         * db2/db/db.src: Likewise.
2142         * db2/db/db_conv.c: Likewise.
2143         * db2/db/db_dispatch.c: Likewise.
2144         * db2/db/db_dup.c: Likewise.
2145         * db2/db/db_overflow.c: Likewise.
2146         * db2/db/db_pr.c: Likewise.
2147         * db2/db/db_rec.c: Likewise.
2148         * db2/db/db_ret.c: Likewise.
2149         * db2/db/db_thread.c: Likewise.
2150         * db2/db/db_auto.c: Likewise.
2151         * db2/db185/db185.c: Likewise.
2152         * db2/db185/db185_int.h: Likewise.
2153         * db2/dbm/dbm.c: Likewise.
2154         * db2/hash/hash.c: Likewise.
2155         * db2/hash/hash.src: Likewise.
2156         * db2/hash/hash_page.c: Likewise.
2157         * db2/hash/hash_conv.c: Likewise.
2158         * db2/hash/hash_debug.c: Likewise.
2159         * db2/hash/hash_stat.c: Likewise.
2160         * db2/hash/hash_rec.c: Likewise.
2161         * db2/hash/hash_dup.c: Likewise.
2162         * db2/hash/hash_func.c: Likewise.
2163         * db2/hash/hash_auto.c: Likewise.
2164         * db2/include/mp.h: Likewise.
2165         * db2/include/btree.h: Likewise.
2166         * db2/include/db.h.src: Likewise.
2167         * db2/include/db_int.h.src: Likewise.
2168         * db2/include/db_shash.h: Likewise.
2169         * db2/include/db_swap.h: Likewise.
2170         * db2/include/db_185.h.src: Likewise.
2171         * db2/include/txn.h: Likewise.
2172         * db2/include/db_am.h: Likewise.
2173         * db2/include/shqueue.h: Likewise.
2174         * db2/include/hash.h: Likewise.
2175         * db2/include/db_dispatch.h: Likewise.
2176         * db2/include/lock.h: Likewise.
2177         * db2/include/db_page.h: Likewise.
2178         * db2/include/log.h: Likewise.
2179         * db2/include/db_auto.h: Likewise.
2180         * db2/include/btree_auto.h: Likewise.
2181         * db2/include/hash_auto.h: Likewise.
2182         * db2/include/log_auto.h: Likewise.
2183         * db2/include/txn_auto.h: Likewise.
2184         * db2/include/db_ext.h: Likewise.
2185         * db2/include/btree_ext.h: Likewise.
2186         * db2/include/clib_ext.h: Likewise.
2187         * db2/include/common_ext.h: Likewise.
2188         * db2/include/hash_ext.h: Likewise.
2189         * db2/include/lock_ext.h: Likewise.
2190         * db2/include/log_ext.h: Likewise.
2191         * db2/include/mp_ext.h: Likewise.
2192         * db2/include/mutex_ext.h: Likewise.
2193         * db2/include/os_ext.h: Likewise.
2194         * db2/include/txn_ext.h: Likewise.
2195         * db2/include/cxx_int.h: Likewise.
2196         * db2/include/db_cxx.h: Likewise.
2197         * db2/include/queue.h: Likewise.
2198         * db2/lock/lock.c: Likewise.
2199         * db2/lock/lock_conflict.c: Likewise.
2200         * db2/lock/lock_util.c: Likewise.
2201         * db2/lock/lock_deadlock.c: Likewise.
2202         * db2/log/log.c: Likewise.
2203         * db2/log/log_get.c: Likewise.
2204         * db2/log/log.src: Likewise.
2205         * db2/log/log_compare.c: Likewise.
2206         * db2/log/log_put.c: Likewise.
2207         * db2/log/log_rec.c: Likewise.
2208         * db2/log/log_archive.c: Likewise.
2209         * db2/log/log_register.c: Likewise.
2210         * db2/log/log_auto.c: Likewise.
2211         * db2/log/log_findckp.c: Likewise.
2212         * db2/mp/mp_bh.c: Likewise.
2213         * db2/mp/mp_fget.c: Likewise.
2214         * db2/mp/mp_fopen.c: Likewise.
2215         * db2/mp/mp_fput.c: Likewise.
2216         * db2/mp/mp_fset.c: Likewise.
2217         * db2/mp/mp_open.c: Likewise.
2218         * db2/mp/mp_region.c: Likewise.
2219         * db2/mp/mp_pr.c: Likewise.
2220         * db2/mp/mp_sync.c: Likewise.
2221         * db2/mutex/68020.gcc: Likewise.
2222         * db2/mutex/mutex.c: Likewise.
2223         * db2/mutex/README: Likewise.
2224         * db2/mutex/x86.gcc: Likewise.
2225         * db2/mutex/sparc.gcc: Likewise.
2226         * db2/mutex/uts4.cc.s: Likewise.
2227         * db2/mutex/alpha.dec: Likewise.
2228         * db2/mutex/alpha.gcc: Likewise.
2229         * db2/mutex/parisc.gcc: Likewise.
2230         * db2/mutex/parisc.hp: Likewise.
2231         * db2/os/db_os_abs.c: Likewise.
2232         * db2/os/db_os_dir.c: Likewise.
2233         * db2/os/db_os_fid.c: Likewise.
2234         * db2/os/db_os_lseek.c: Likewise.
2235         * db2/os/db_os_mmap.c: Likewise.
2236         * db2/os/db_os_open.c: Likewise.
2237         * db2/os/db_os_rw.c: Likewise.
2238         * db2/os/db_os_sleep.c: Likewise.
2239         * db2/os/db_os_stat.c: Likewise.
2240         * db2/os/db_os_unlink.c: Likewise.
2241         * db2/txn/txn.c: Likewise.
2242         * db2/txn/txn.src: Likewise.
2243         * db2/txn/txn_rec.c: Likewise.
2244         * db2/txn/txn_auto.c: Likewise.
2245         * db2/clib/getlong.c: Likewise.
2246         * db2/progs/db_archive/db_archive.c: Likewise.
2247         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2248         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2249         * db2/progs/db_dump/db_dump.c: Likewise.
2250         * db2/progs/db_dump185/db_dump185.c: Likewise.
2251         * db2/progs/db_load/db_load.c: Likewise.
2252         * db2/progs/db_printlog/db_printlog.c: Likewise.
2253         * db2/progs/db_recover/db_recover.c: Likewise.
2254         * db2/progs/db_stat/db_stat.c: Likewise.
2256         * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
2258         * po/de.po, po/sv.po: Update from 2.0.5 translations.
2260         * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
2262         * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
2263         as const.
2264         * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
2265         * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
2266         * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
2268 1997-08-27 18:47  Ulrich Drepper  <drepper@cygnus.com>
2270         * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
2271         Reported by Benjamin Kosnik <bkoz@cygnus.com>.
2273 1997-08-27 02:27  Roland McGrath  <roland@baalperazim.frob.com>
2275         * abi-tags: New file.
2276         * csu/Makefile (distribute): Remove abi-tag.h.
2277         ($(objpfx)abi-tag.h): New target.
2278         * Makefile (distribute): Add abi-tags.
2279         * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
2280         * sysdeps/mach/hurd/abi-tag.h: File removed.
2281         * sysdeps/stub/abi-tag.h: File removed.
2283 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2285         * sysdeps/unix/make-syscalls.sh: Change output so that it
2286         generates compilation rules only for the currently selected object
2287         suffixes.
2289 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2291         * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
2292         section to avoid confusing the compiler.
2293         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2294         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2295         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2296         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
2297         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2299         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
2300         relocation instead of a constant to avoid text relocation.
2301         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2302         (RTLD_START): Declare global labels as functions and add size
2303         directive.
2305 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
2307         * sysdeps/i386/bits/select.h: Correct assembler versions to work even
2308         for descriptors >= 32.
2310         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
2311         is used __alloca is not defined to __builtin_alloca and so might
2312         not be available.
2313         Reported by Uwe Ohse <uwe@ohse.de>.
2315         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
2316         way if gcc is not used and so dev_t is an array.
2317         Reported by Uwe Ohse <uwe@ohse.de>.
2319 1997-08-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2321         * manual/libc.texinfo: Reorder chapters to match logical order.
2323 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
2325         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
2326         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
2327         with g++ internal symbols.
2328         Patch by Sudish Joseph <sj@eng.mindspring.net>.
2330 1997-08-24  Miles Bader  <miles@gnu.ai.mit.edu>
2332         * string/argz.h: Add missing __END_DECLS.
2334 1997-08-24 12:24  Ulrich Drepper  <drepper@cygnus.com>
2336         * configure.in (INSTALL): Quote `$'.
2338         * libc.map: Add __xpg_basename.
2340         * csu/Makefile (initfini.s): Disable optimization.
2342         * elf/dl-deps.c: Implement handling of DT_FILTER.
2344         * elf/dl-load.c (_dl_init_paths): Add error check.
2346         * intl/finddomain.c (_nl_find_domain): Correct comment.
2347         * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
2349         * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
2350         Change extern inline functions to work correctly in C++.
2352         * locale/iso-4217.def: Update for more recent ISO 4217 version.
2354         * locale/loadlocale.c (_nl_load_locale): Add cast.
2356         * manual/message.texi: Finish gettext section.
2358         * posix/getopt_init.c: Don't use relative #include path.
2359         (__getopt_clean_environment): Change function to take pointer to
2360         environment as argument.  Optimize generation of test string a bit.
2361         * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
2362         with additional argument.
2364         * poisx/glob.c: Add prototype for next_brace_sub.
2366         * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
2367         vector.
2369         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
2370         to not generate relocation entry.  Suggested by Richard Henderson.
2371         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2372         (elf_machine_runtime_setup): Add .aligns.
2374         * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
2376         * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
2377         1997-08-14 03:14.  gcc 2.7.2* is really broken in some aspects.
2379         * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
2380         * sysdeps/standalone/i960/i960ca.h: Likewise.
2382 1997-08-22 19:04  Richard Henderson  <rth@cygnus.com>
2384         * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
2385         undocumented test addition in _dl_map_object.
2387         Support ET_EXEC versions of ld.so, for debugging at least:
2389         * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
2390         called despite the DT_SONAME != NULL test, segfaulting.  Simplify
2391         the code here as well.
2392         * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
2393         (_dl_setup_hash): Likewise for hash tables.
2394         * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
2395         * elf/rtld.c (_dl_start): Likewise for rpath.
2396         (_dl_rtld_libname2): New variable.
2397         (dl_main): Use it to add an soname for ourselves when we don't have
2398         one of our own.  Base it on the target's .interp.
2399         (dl_main): Again, skip printing of objects that don't have strtabs.
2401         Sparc 32 merge:
2403         * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
2404         (fixup): Simplify code.  Use ELF_FIXUP_RETURN_VALUE.
2405         (profile_fixup): Likewise, though this still needs fixing for
2406         Sparc32 and PPC.
2407         * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
2408         to ELF_FIXUP_RETURN_VALUE.
2410         * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
2411         Fix up _dl_start_user to handle _dl_skip_args properly.
2412         Use _dl_hwcap to determine if "flush" is available/needed.
2414         * sysdeps/sparc/configure.in: Remove.  It doesn't actually do
2415         anything anymore, and what it did do is done somewhere else.
2416         * sysdeps/sparc/configure: Likewise.
2418         * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
2420         * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
2422         * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
2423         in divrem expansions.
2425         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
2426         definitions for assembly syntax differences.
2428         * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
2429         "system".  Use %g2,%g3 instead.  Use new local label macro.
2430         * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
2431         and LOC for proper assembly headers/footers.
2432         * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
2433         * sysdeps/sparc/sparc32/alloca.S: Likewise.
2434         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2435         * sysdeps/sparc/sparc32/lshift.S: Likewise.
2436         * sysdeps/sparc/sparc32/mul_1.S: Likewise.
2437         * sysdeps/sparc/sparc32/rshift.S: Likewise.
2438         * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
2439         * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
2440         * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
2441         * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
2442         * sysdeps/sparc/sparc32/sub_n.S: Likewise.
2443         * sysdeps/sparc/sparc32/submul_1.S: Likewise.
2444         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
2445         * sysdeps/sparc/sparc32/umul.S: Likewise.
2446         * sysdeps/sparc/sparc32/divrem.m4: Likewise.
2447         * sysdeps/sparc/sparc32/rem.S: Regenerate.
2448         * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
2449         * sysdeps/sparc/sparc32/udiv.S: Regenerate.
2450         * sysdeps/sparc/sparc32/urem.S: Regenerate.
2452         * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
2453         * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
2454         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
2455         * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
2456         * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
2457         * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
2459         * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
2460         * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
2461         * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
2463         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
2464         Clean up PIC code.
2466         * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
2467         from the sparc64 version.
2468         * sysdeps/sparc/sparc32/elf/start.c: Removed.
2470         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
2471         assembly based on the sparc64 version.
2473         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh.  Use proper syntax
2474         for manipulating %fsr.
2475         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
2476         be the default.
2478         * elf/elf.h (HWCAP_SPARC_*): New definitions.
2479         * elf/rtld.c (_dl_hwcap): New variable.
2480         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
2482         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
2483         Attempt to get hold of the page size based on what we might have
2484         been told at startup time in _dl_pagesize.  This will be obsolete
2485         when I finish the kernel hooks for a proper sysconf(), stay tuned.
2487         Sparc 64 merge:
2489         * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
2490         Figure out the right thing to return based on the .plt format.
2492         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
2494         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
2495         Should have been 64-bits wide.
2497         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
2498         optimize for branch delay slot usage.
2500 1997-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2502         * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
2503         change.
2505 1997-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2507         * math/libm-test.c (identities): Change epsilon.
2509         * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
2510         fabsf, fabsl, __fabsl.
2512 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
2514         * catgets/catgets.c (catclose): Use __munmap instead of munmap.
2515         * catgets/gencat.c (read_input_file): Fix typo.
2517         * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
2519         * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
2520         executed (e.g., when it is a static binary).
2522         * intl/bindtextdomain.c: Use strdup in glibc.  Correct comment.
2523         * intl/dcgettext.c: Likewise.
2524         * intl/dgettext.c: Likewise.
2525         * intl/explodename.c: Likewise.
2526         * intl/finddomain.c: Likewise.
2527         * intl/gettext.c: Likewise.
2528         * intl/gettext.h: Likewise.
2529         * intl/hash-string.h: Likewise.
2530         * intl/l10nflist.c: Likewise.
2531         * intl/libintl.h: Likewise.
2532         * intl/loadinfo.h: Likewise.
2533         * intl/loadmsgcat.c: Likewise.
2534         * intl/localealias.c: Likewise.
2535         * intl/textdomain.c: Likewise.
2537         Unify libio sources with code in libg++.
2538         * libio/fcloseall.c: Update and reformat copyright.  Protect use
2539         of weak_alias.  Use _IO_* thread macros instead of __libc_*.
2540         * libio/feof.c: Likewise.
2541         * libio/feof_u.c: Likewise.
2542         * libio/ferror.c: Likewise.
2543         * libio/ferror_u.c: Likewise.
2544         * libio/fgetc.c: Likewise.
2545         * libio/filedoalloc.c: Likewise.
2546         * libio/fileno.c: Likewise.
2547         * libio/fileops.c: Likewise.
2548         * libio/fputc.c: Likewise.
2549         * libio/fputc_u.c: Likewise.
2550         * libio/freopen.c: Likewise.
2551         * libio/fseek.c: Likewise.
2552         * libio/genops.c: Likewise.
2553         * libio/getc.c: Likewise.
2554         * libio/getc_u.c: Likewise.
2555         * libio/getchar.c: Likewise.
2556         * libio/getchar_u.c: Likewise.
2557         * libio/iofclose.c: Likewise.
2558         * libio/iofdopen.c: Likewise.
2559         * libio/iofflush.c: Likewise.
2560         * libio/iofflush_u.c: Likewise.
2561         * libio/iofgetpos.c: Likewise.
2562         * libio/iofgets.c: Likewise.
2563         * libio/iofopen.c: Likewise.
2564         * libio/iofopncook.c: Likewise.
2565         * libio/iofprintf.c: Likewise.
2566         * libio/iofputs.c: Likewise.
2567         * libio/iofread.c: Likewise.
2568         * libio/iofsetpos.c: Likewise.
2569         * libio/ioftell.c: Likewise.
2570         * libio/iofwrite.c: Likewise.
2571         * libio/iogetdelim.c: Likewise.
2572         * libio/iogetline.c: Likewise.
2573         * libio/iogets.c: Likewise.
2574         * libio/iopadn.c: Likewise.
2575         * libio/iopopen.c: Likewise.
2576         * libio/ioputs.c: Likewise.
2577         * libio/ioseekoff.c: Likewise.
2578         * libio/ioseekpos.c: Likewise.
2579         * libio/iosetbuffer.c: Likewise.
2580         * libio/iosetvbuf.c: Likewise.
2581         * libio/iosprintf.c: Likewise.
2582         * libio/ioungetc.c: Likewise.
2583         * libio/iovdprintf.c: Likewise.
2584         * libio/iovsprintf.c: Likewise.
2585         * libio/iovsscanf.c: Likewise.
2586         * libio/libio.h: Likewise.
2587         * libio/libioP.h: Likewise.
2588         * libio/obprintf.c: Likewise.
2589         * libio/pclose.c: Likewise.
2590         * libio/peekc.c: Likewise.
2591         * libio/putc.c: Likewise.
2592         * libio/putchar.c: Likewise.
2593         * libio/rewind.c: Likewise.
2594         * libio/setbuf.c: Likewise.
2595         * libio/setlinebuf.c: Likewise.
2596         * libio/stdfiles.c: Likewise.
2597         * libio/stdio.c: Likewise.
2598         * libio/strfile.h: Likewise.
2599         * libio/strops.c: Likewise.
2600         * libio/vasprintf.c: Likewise.
2601         * libio/vscanf.c: Likewise.
2602         * libio/vsnprintf.c: Likewise.
2604         * manual/libc.texinfo: Add menu entries for chapter on message
2605         translation.
2606         * manual/locale.texi: Correct next entry in @node for new chapter.
2607         * manual/search.texi: Likewise for previous link.
2608         * manual/message.texi: New file.
2609         * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
2610         setenv, unsetenv, and clearenv.
2611         * manual/string.texi: Fix typos.  Patch by Jim Meyering.
2613         * math/Makefile (test-longdouble-yes): Enable.  We want long double
2614         tests now.
2616         Crusade against strcat.
2617         * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
2618         * stdlib/canonicalize.c: Likewise.
2620         * posix/glob.h: Define __const if necessary.  Use __const in all
2621         prototypes.
2623         * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
2624         GNU packages.
2626         * posix/wordexp.c: Completely reworked buffer handling for much
2627         better performance.  Patch by Tim Waugh.
2629         * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
2630         it must be socklen_t.
2632         * sysdeps/libm-i387/e_remainder.S: Pretty print.
2633         * sysdeps/libm-i387/e_remainderf.S: Likewise.
2634         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
2635         * sysdeps/libm-i387/s_cexp.S: Little optimization.
2636         * sysdeps/libm-i387/s_cexpl.S: Likewise.
2637         * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
2639 1997-08-18 15:21  Ulrich Drepper  <drepper@cygnus.com>
2641         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
2642         in cleanup code.
2644 1997-08-17  Paul Eggert  <eggert@twinsun.com>
2646         * tzset.c (__tzset_internal): Fix memory leak when the user
2647         specifies a TZ value that uses a default rule file.
2648         Do not assume US DST rules when the user specifies
2649         that there is no DST.
2651 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
2653         * inet/getnameinfo.c: Tidy up.
2654         * sysdeps/posix/getaddrinfo.c: Likewise.
2656         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
2657         using stub code.
2658         (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
2659         (if_nameindex): Use alloca() rather than malloc(); use
2660         SIOCGIFCOUNT ioctl if the kernel supports it.
2662 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2664         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
2665         they operate on internal kernel structures and have no place in a
2666         user header.
2668 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2670         * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
2671         (build-shlib): Filter them out of $^.
2673 1997-08-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2675         * elf/dl-error.c (_dl_signal_error): Fix error message.
2677 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
2679         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
2680         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
2682 1997-08-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2684         * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
2685         to avoid conflict with PO files.
2686         * Makerules: Likewise.
2687         * Rules: Likewise.
2688         * elf/Makefile: Likewise.
2689         * extra-lib.mk: Likewise.
2690         * gmon/Makefile: Likewise.
2691         * nis/Makefile: Likewise.
2692         * nss/Makefile: Likewise.
2693         * resolv/Makefile: Likewise.
2694         * rpm/Makefile: Likewise.
2695         * sunrpc/Makefile: Likewise.
2696         * sysdeps/sparc/elf/Makefile: Likewise.
2697         * sysdeps/sparc64/elf/Makefile: Likewise.
2698         * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
2699         (ASFLAGS-.os): Renamed from as-FLAGS.os.
2701 1997-08-14 03:14  Ulrich Drepper  <drepper@cygnus.com>
2703         * elf/dl-minimal.c: Don't use relative #include paths.
2704         (malloc): Don't try to initialize _dl_pagesize, it already is.
2705         (__sigjmp_save, longjmp): Reformat.
2707         * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
2708         show content of auxiliary array.
2709         (_dl_sysdep_start): Remember start of auxiliary vector.
2710         * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
2711         * elf/link.h: Add prototype for _dl_show_auxv.
2712         * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
2713         is present.
2715         * libio/iofdopen.c: Better prepare for use in libstdc++.
2716         * libio/iofflush.c: Likewise.
2717         * libio/iofgetpos.c: Likewise.
2718         * libio/iofgets.c: Likewise.
2719         * libio/iofopen.c: Likewise.
2720         * libio/iofputs.c: Likewise.
2721         * libio/iofread.c: Likewise.
2722         * libio/iofsetpos.c: Likewise.
2723         * libio/ioftell.c: Likewise.
2724         * libio/iofwrite.c: Likewise.
2725         * libio/iogetdelim.c: Likewise.
2726         * libio/iogets.c: Likewise.
2727         * libio/iopopen.c: Likewise.
2728         * libio/ioputs.c: Likewise.
2729         * libio/iosetbuffer.c: Likewise.
2730         * libio/iosetvbuf.c: Likewise.
2731         * libio/ioungetc.c: Likewise.
2732         * libio/iovsprintf.c: Likewise.
2733         * libio/iovsscanf.c: Likewise.
2735         * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
2736         place.
2738         * manual/math.texi: Add comment to sincos decsription to say it's a
2739         GNU extension.
2740         Fix description of random function.
2742         * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
2743         * posix/glob.c: Likewise.  Handle stupid system headers on SunOS.
2744         Add casts for all __alloca calls.
2745         * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
2746         Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
2747         Patches by Paul D. Smith <psmith@BayNetworks.COM>.
2749         * stdio-common/_itoa.c: Don't use relateive #include paths.
2751         * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
2752         gcc 2.7.
2753         (atan): Loading 1.0 from memory does not pay off.
2754         (asinh): Fix typo.
2756 1997-08-13 09:44  Philip Blundell  <Philip.Blundell@pobox.com>
2758         * sysdeps/stub/accept.c: Use socklen_t where necessary.
2759         * sysdeps/stub/bind.c: Likewise.
2760         * sysdeps/stub/connect.c: Likewise.
2761         * sysdeps/stub/getsockname.c: Likewise.
2762         * sysdeps/stub/getsockopt.c: Likewise.
2763         * sysdeps/stub/recvfrom.c: Likewise.
2764         * sysdeps/stub/sendto.c: Likewise.
2765         * sysdeps/stub/setsockopt.c: Likewise.
2767 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2769         * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
2770         types.
2772 1997-08-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2774         * math/libm-test.c (cbrt_test): Add epsilon for long double to
2775         `cbrt (-0.001)'.
2777 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2779         * sysdeps/stub/bits/string.h: Fix comment.
2781 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2783         * elf/Makefile (routines): Remove dl-version.
2784         (dl-routines): Add it here instead.  This removes dead code from
2785         libc.so.
2787 1997-08-12 17:17  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2789         * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
2790         macros to encapsulate pthread_atfork's functionality.
2791         * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
2792         functions, registered via thread_atfork in the initialization
2793         routine or via thread_atfork_static in global scope.  This
2794         ensures a consistent state of all locks across fork().
2796 1997-08-11 23:00:32 1997  Mark Kettenis  <kettenis@phys.uva.nl>
2798         * login/programs/xtmp.c (compare_entry):
2799         Partially undo patch made by Klaus Espenlaub.  There
2800         was no xtmp/utmp typo.  Added comment to cclarify this.
2801         * login/programs/xtmp.h: Likewise.
2803         * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
2804         Patch by Paul D. Smith <psmith@BayNetworks.COM>.
2806 1997-08-12 13:51  Ulrich Drepper  <drepper@cygnus.com>
2808         * login/getutid.c: Rename to __getutid and make getutid and getutxid
2809         weak aliases.
2810         Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
2812 1997-08-11 23:55  Ulrich Drepper  <drepper@cygnus.com>
2814         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2815         Add bits/mman.h.
2817 1997-08-11 08:51:21 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
2819         * stdlib/fmtmsg.c (fmtmsg): Add static to
2820         __libc_once_define macro.
2822         * libc.map (__progname_full, __progname): Added.
2824 1997-08-04 08:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
2826         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
2827         if SIOGIFINDEX is not defined.
2828         (if_indextoname): Initialize "result" to NULL.
2829         (if_nametoindex, if_nameindex): Fix ENOSYS setting.
2831 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
2833         Sparc ISO C 9x exception handling:
2834         * sysdeps/sparc/fpu/bits/mathdef.h: New file.
2835         * sysdeps/sparc/fpu/fclrexcpt.c: New file.
2836         * sysdeps/sparc/fpu/fegetenv.c: New file.
2837         * sysdeps/sparc/fpu/fegetround.c: New file.
2838         * sysdeps/sparc/fpu/feholdexcpt.c: New file.
2839         * sysdeps/sparc/fpu/fesetenv.c: New file.
2840         * sysdeps/sparc/fpu/fesetround.c: New file.
2841         * sysdeps/sparc/fpu/feupdateenv.c: New file.
2842         * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
2843         * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
2844         * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
2845         * sysdeps/sparc/fpu/ftestexcept.c: New file.
2846         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
2847         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
2849 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
2851         Sparc64 merge:
2852         * configure.in: Change up subdirectories, rename sparc8->sparcv8.
2854         * csu/Makefile: Nuke need-nopic-initfini bits.  The problem was
2855         that sparc64 ld did not recognize pic relocs at all.
2857         * elf/dl-deps.c: Include <string.h>.
2858         * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
2859         directly instead of the DT names to get them from.
2860         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
2861         from ELF_DYNAMIC_DO_REL{,A}.  Define a second version that accounts
2862         for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
2863         the case on the Sparc.
2865         * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
2866         Elf32_Ver* bits.  The linker does not even know to differentiate
2867         between the word sizes.  Someone should examine this and figure
2868         out what the proper sizes of things should be for 64-bit hosts
2869         before the sparc64 libraries are distributed.
2871         * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
2872         on the same machine.
2874         Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
2875         rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
2876         sysdeps/sparc/sparc64.  Same for sysdeps/unix/sysv/linux/sparc.
2878         * sysdeps/sparc/Implies: Do ieee754 here.
2879         * sysdeps/sparc/configure.in: Move from sparc32/.
2880         * sysdeps/sparc/sparc32/Implies: Do wordsize here.
2881         * sysdeps/sparc/sparc64/Implies: Likewise.
2883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
2884         Use uninitialized .got to find load address instead of AT_BASE, as
2885         the later does not exist when running ld.so directly.
2887         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
2888         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2890         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
2892         * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
2893         and s_signbitl for stdio.
2894         * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
2895         nopic_initfini.
2897         * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
2898         * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
2899         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
2900         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
2901         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
2902         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
2903         and setjmp entry points.
2905         * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
2907         * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
2908         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
2910         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
2911         Fix sa_flags size for sparc64; add sa_restorer for kernel.
2913         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
2914         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2915         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2918         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
2920 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
2922         * login/login.c (login): Check for correct return value of
2923         utmpname.
2925 1997-08-11 16:49  Ulrich Drepper  <drepper@cygnus.com>
2927         * time/tzset.c (__tzset_internal): Correctly handle TZ strings
2928         following incorrect old POSIX specs.
2929         Patch by Paul Eggert <eggert@twinsun.com>.
2931         * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
2932         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
2933         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2934         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2935         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2936         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2937         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2938         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2939         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2941 1997-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2943         * manual/math.texi: Define the macros @mul and @infinity and use
2944         them to format the multiplication and infinity signs.
2945         (FP Comparison Functions): Use @code, not @math, for C code
2946         examples.
2948 1997-08-10 18:48  Ulrich Drepper  <drepper@cygnus.com>
2950         * Makeconfig: Define build-programs to no if not set and $(config-os)
2951         is none.
2952         * Makerules (+depfiles): Don't add $(others) if not build-programs.
2953         * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
2954         and $(install-sbin) if not build-programs.
2955         * Makefile (subdirs): Remove login.
2956         * sysdeps/mach/hurd/Subdirs: Add login.
2957         * sysdeps/unix/Subdirs: Add login.
2959         * sysdeps/generic/sys/mman.h: Test feature macros before defining
2960         non-POSIX things.  Add MAP_FAILED.
2961         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2962         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2963         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2964         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2965         * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
2966         but bits/mman.h.  Test feature macros before definitions non-POSIX
2967         functions.
2968         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
2969         * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
2970         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
2971         * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
2972         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
2973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
2974         * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
2975         * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
2976         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2977         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2978         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2979         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2980         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
2981         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.  Likewise.
2983         * catgets/open_catalog.c (__open_catalog): Compare result of mmap
2984         with MAP_FAILED and not -1.
2985         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2986         * elf/dl-minimal.c (malloc): Likewise.
2987         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
2988         * locale/loadlocale.c (_nl_load_locale): Likewise.
2989         * locale/programs/localedef.c: Likewise.
2990         * malloc/malloc.c (mmap_chunk): Likewise.
2991         (new_heap): Likewise.
2992         * string/stratcliff.c: Likewise.
2993         * string/tester.c: Add tests for stpcpy.
2995         * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
2997         * gmon/sys/gmon.h: Add prototype for write_profiling.
2999         * elf/dl-profile.c: Add descriptions and implement reading of
3000         existing data in profiling file.
3001         * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
3002         lib profiling data.
3004         * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
3005         parameter for class.
3007         * inet/inet_ntoa.c: Make once control variable static.
3008         Correctly handle case where key cannot be retrieved.
3009         * inet/Makefile (tests): Add tst-ntoa.
3010         * inet/tst-ntoa.c: New file.
3012         * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
3013         ctime_r.
3014         Mention that tzname values must not be changed.
3016         * manual/users.texi: Document UTMP/WTMP handling functions.
3017         Mainly written by Mark Kettenis.
3019         * math/libm-test.c (cbrt_test): Add test for number with aboslute
3020         value < 1.0.
3022         * nss/nss_files/files-XXX.c (internal_setent): If opening of file
3023         failed with EGAIN return NSS_STATUS_TRYAGAIN.
3024         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3026         * sysdeps/generic/bits/utmp.h: Pretty print.
3028         * sysdeps/i386/i586/strcpy.S: New file.  Much faster implementation.
3029         * sysdeps/i386/i586/stpcpy.S: New file.
3030         * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
3031         these are less efficient than i486/i386 versions.
3033         * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
3034         version from libm-ieee754 be compiled since the later is not needed.
3035         * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
3036         * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
3037         * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
3038         * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
3039         * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
3040         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
3041         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
3042         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
3043         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
3044         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
3045         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
3047         * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
3048         * sysdeps/libm-i387/s_cbrtf.S: Likewise.
3049         * sysdeps/libm-i387/s_cbrtl.S: Likewise.
3051         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
3052         little bug.
3054         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
3055         msg_iovlen of type int.
3057         * time/tzfile.c: Change return type of __tzstring to char *.
3058         * time/tzset.c: Likewise.  Change definition of __tzstring.
3060         * time/tzset.c: Interpret no DST information in user provided time
3061         zone specification as it is meant: no DST.
3062         Patch by Paul Eggert <eggert@twinsun.com>.
3064 1997-07-20 03:01  Geoff Keating  <geoffk@ozemail.com.au>
3066         * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
3067         (_dl_map_object_from_fd): Use add_name_to_object.
3068         (_dl_map_object): If an object's SONAME is used to resolve a
3069         dependency, add it to the list of the object's names.
3071         * inet/getnameinfo.c: Make `domain' non-const.
3073         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
3075         * math/test-fenv.c (feenv_nomask_test): Don't execute if
3076         FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
3077         sets errno to ENOSYS.
3079         * sysdeps/powerpc/dl-machine.h: Print proper error message on
3080         unknown reloc type (rather than using assert).
3082         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
3083         * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
3085 1997-07-16 12:47  Geoff Keating  <geoffk@ozemail.com.au>
3087         * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
3088         (feclearexcept): New optimising macro.
3089         (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
3090         (FE_ENABLED_ENV): Add.
3091         (FE_NONIEEE_ENV): Add.
3092         * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
3093         __fe_nonieee_env; delete __fe_nomask_env.
3094         * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
3095         gets implemented in the kernel).
3097         * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
3098         FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
3099         * sysdeps/powerpc/fsetexcptflag.c: Likewise.
3101         * io/ftw.c: Don't compare holes in structures.
3102         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
3103         macros to `int', because otherwise it might be `long long' which
3104         the calling code is probably not expecting.
3106         * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
3107         document the existence of some more.
3109         * sysdeps/powerpc/s_llrint.c: New file.
3110         * sysdeps/powerpc/s_lrint.c: New file.
3111         * sysdeps/powerpc/s_llround.c: New file.
3112         * sysdeps/powerpc/s_lround.c: New file.
3114         * sysdeps/powerpc/s_sqrt.c: New file.
3115         * sysdeps/powerpc/s_sqrtf.c: New file.
3116         * sysdeps/powerpc/w_sqrt.s: New empty file.
3117         * sysdeps/powerpc/w_sqrtf.s: New empty file.
3118         * sysdeps/powerpc/t_sqrt.c: New file.
3119         * sysdeps/powerpc/test-arithf.c: New file.
3120         * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
3121         routines.  Add test-arithf to test programs.
3123         * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
3125         * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
3126         and possibly faster (or possibly slower, depending on input).
3128 1997-06-08 22:55  Geoff Keating  <geoffk@ozemail.com.au>
3130         * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
3131         macros.
3132         * sysdeps/powerpc/s_rint.c: New file.
3134 1997-05-22 08:47  Geoff Keating  <geoffk@ozemail.com.au>
3136         * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
3137         * sysdeps/powerpc/Dist: Add quad_float.h.
3138         * sysdeps/powerpc/q_dtoq.c: New file.
3139         * sysdeps/powerpc/q_itoq.c: New file.
3140         * sysdeps/powerpc/q_lltoq.c: New file.
3141         * sysdeps/powerpc/q_neg.c: New file.
3142         * sysdeps/powerpc/q_qtoi.c: New file.
3143         * sysdeps/powerpc/q_qtoll.c: New file.
3144         * sysdeps/powerpc/q_qtos.c: New file.
3145         * sysdeps/powerpc/q_qtou.c: New file.
3146         * sysdeps/powerpc/q_qtoull.c: New file.
3147         * sysdeps/powerpc/q_stoq.c: New file.
3148         * sysdeps/powerpc/q_ulltoq.c: New file.
3149         * sysdeps/powerpc/q_utoq.c: New file.
3150         * sysdeps/powerpc/quad_float.h: New file.
3151         * sysdeps/powerpc/test-arith.c: New file.
3153         * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
3154         * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
3155         require a stack frame.
3156         * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
3158 1997-05-18 05:55  Geoff Keating  <geoffk@ozemail.com.au>
3160         * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
3161         fesetenv_register): Add 'volatile'.
3162         (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
3163         constants to use with them.
3164         * sysdeps/powerpc/s_copysign.S: New file.
3165         * sysdeps/powerpc/s_copysignf.s: New file.
3166         * sysdeps/powerpc/s_fabs.S: New file.
3167         * sysdeps/powerpc/s_fabsf.s: New file.
3168         * sysdeps/powerpc/s_isnan.c: New file.
3169         * sysdeps/powerpc/s_isnanf.s: New file.
3170         * sysdeps/powerpc/s_rintf.c: New file.
3172         * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
3173         bit in the FPSCR, not the enable bit.
3174         * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
3175         * sysdeps/powerpc/fclrexcpt.c: Correct.
3176         * sysdeps/powerpc/fsetexcptflag.c: Correct.
3177         * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
3178         * sysdeps/powerpc/fgetexcptflg.c: Simplify.
3180         * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
3182         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
3183         explaining some reentrancy issues with lazy PLT entries.
3185 1997-08-09 13:04  Mark Kettenis  <kettenis@phys.uva.nl>
3187         * login/logout.c (logout): utmpname returns -1 on error.
3189         * login/libutil.map: Remove updwtmp.
3191         * login/getutline.c: Rename getutline to __getutline and make
3192         getutline a weak alias.  Make getutxline a weak alias for
3193         __getutline.
3194         * login/getutid.c: Rename getutid to __getutid and make getutid a
3195         weak alias.  Make getutxid a weak alias for __getutid.
3196         * libc.map: Add getutxid, getutxline.
3198         * login/utmpname.c (__utmpname): Reset backend right after backend
3199         endutent call.
3200         * login/utmp_file.c: Reordered functions.  Remove unecessary
3201         header files.
3202         (getutent_r_file, pututline_file): Do not call setutent_file.  At this
3203         point the file is guaranteed to be open (assert!).
3204         (getutid_r_file, getutline_r_file): Remove check for validity of file
3205         descriptor.  At this point the file is guaranteed to be open.
3206         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
3207         updwtmp_file): Do not wait when unlocking file.
3208         * login/utmp_daemon.c: General cleanup and a bit of reordering.
3209         (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
3210         At this point the socket is guaranteed to be open (assert!).
3211         (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
3212         valid.  At this point the socket is guaranteed to be open (assert!).
3213         * login/getutline_r.c: Remove unnecessary header files.
3214         (__getutline_r): Do not call backend setutent.
3215         * login/getutid_r.c: Remove unnecessary header files.
3216         (__getutid_r): Do not call backend setutent.
3217         * login/getutent_r.c: Remove unneccesary header files.
3218         (__libc_utmp_unknown_functions): Added getutid_r_unknown,
3219         getutline_r_unknown.
3220         (setutent_unknown): Only set file backend if setutent for the file
3221         backend was successful.
3222         (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
3223         of __setutent.  Report failure if no backend was selected.
3224         (getutid_r_unknown): New function.
3225         (getutline_r_unknown): New function.
3226         (__endutent): Reset backend.  This makes sure all backends are checked
3227         on the next setutent call.
3229 1997-08-08 20:20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3231         * nis_cache.c: Replace dummy functions.
3233         * libc.map: Add xdr_sizeof symbol.
3235         * sunrpc/Makefile: Add xdr_sizeof to routines.
3236         * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
3237         * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
3239 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3241         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
3243 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3245         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
3246         right place.
3248 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3250         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
3251         PC's in long long to avoid overflow.
3253 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3255         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
3256         New macros.
3258 1997-08-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3260         * nis/Makefile (headers): Remove bits/nislib.h.
3262 1997-08-06 14:54  Ulrich Drepper  <drepper@cygnus.com>
3264         * sysdeps/mach/hurd/Subdirs: Add login.
3266 1997-08-06 14:23  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
3268         * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
3269         the preferred block size.
3271         * login/programs/database.c (store_state_entry): Don't compile if
3272         there is no ut_type field.
3273         (store_state_entry, store_process_entry): Use the ut_tv field
3274         for timestamps if supported.
3276         * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
3278         * login/programs/xtmp.c: Fix numerous xtmp/utmp typos.  Use the ut_tv
3279         field for timestamps if supported.
3281         * login/programs/xtmp.h: Fix xtmp/utmp typo.
3283         * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
3285         * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
3286         * sysdeps/stub/send.c (send): Likewise.
3287         * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
3288         * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
3289         * sysdeps/stub/init-first.c: Add definition of __libc_pid.
3291 1997-08-05 13:28  Philip Blundell  <pb@spring.nexus.co.uk>
3293         * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
3294         tidy up formatting.
3296         * Makefile (subdirs): Remove `login'.
3297         * sysdeps/unix/Subdirs: New file; build `login' subdirectory
3298         for Unix systems.
3300 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3302         * sysdeps/generic/bits/utmpx.h: New file.
3304         * sysdeps/mach/hurd/Dist: Add some files.
3305         * sysdeps/mips/Dist: Likewise.
3306         * sysdeps/mips/mips64/Dist: Likewise.
3307         * sysdeps/sparc/Dist: Likewise.
3308         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3309         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3310         * sysdeps/mips/mipsel/Dist: New file.
3311         * sysdeps/sparc64/elf/Dist: New file.
3312         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
3314 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3316         * libc.map: Add missing symbols.
3318 1997-08-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3320         * manual/socket.texi: Correct typos.
3322         * manual/math.texi: Correct typos.
3324         * manual/time.texi (Formatting Date and Time): Likewise.
3326 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3328         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
3329         (_mcleanup): Use write_gmon.
3330         (write_profiling): This function can be safely called at any time
3331         to write a current histogram without interfering with ongoing
3332         profiling.
3334         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
3336 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3338         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
3339         not be vm_deallocated; it's a stack buffer.
3340         (profil_vm_deallocate): Delete prototype.
3341         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
3342         inclusion.
3343         * sysdeps/mach/hurd/Makefile
3344         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
3345         this rule.
3347         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
3348         from profile_waiter.
3349         (profile_waiter): Use fetch_samples.
3350         (profil): When turning off profiling, fetch the last bunch of
3351         samples before disabling PC sampling.
3352         (fetch_samples): Add prototype.
3354 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3356         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
3357         source included by profil.c instead of trying to use
3358         before-compile grot.
3360 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3362         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
3363         after releasing lock.  Use special RPC stubs and avoid assert,
3364         thus making this function entirely independent of the threadvar
3365         mechanism and of cthreads.
3366         (lock): Convert to be a spin lock instead of a mutex, so that the
3367         waiter thread need not use cthreads.  Use a fork prepare hook
3368         instead of _hurd_fork_locks to make sure we are clean before
3369         forking.
3370         (fork_profil_child): Renamed from fork_profil.
3371         (profil_reply_port): New variable.
3372         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
3373         stubs made by special hacks.
3374         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
3375         source files that profil.c needs if we are in the gmon directory.
3377         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
3378         cthreads bug that hasn't existed for two years.
3380 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
3382         * locale/programs/localedef.c (main): Set bit in avail for those
3383         categories which are successfully read.
3384         * locale/programs/locfile.c (check_all_categories): Don't check
3385         categories if they are not available.
3386         (write_all_categories): Don't write categories if they are not
3387         available.
3389         * login/setutent_r.c (setutent_unknown): Change return type to
3390         int and return result of called function.
3392         * manual/arith.texi: Mark floating-point test macro from ISO C 9X
3393         as macros (not functions).
3394         * manual/libc.texinfo (UPDATED): Update.
3395         * manual/math.texi: Document exceptions, functions to handle
3396         exceptions, mathematical constants, FP comparison functions
3397         and several new functions from ISO C 9X.
3398         Change parameter of drand48, lrand48, and mrand48 to void (not
3399         empty).
3400         * manual/pattern.texi: Remove paragraph which explained that wordexp
3401         is executed by running a shell.
3402         * manual/time.texi: Explain difficulties with strftime if the
3403         functions returns 0 and no error occurred.
3405         * math/math.h: Correct comment for some M_* constants.
3406         (isgreater, isgreaterequal, isless, islessequal, islessgreater,
3407         inunordered): Rewrite to make sure the arguments are evaluated
3408         exactly once.
3410         * nis/rpcsvc/nis.x: Undo last change.
3411         * nis/rpcsvc/nis.h: Likewise.
3412         * nis/rpcsvc/nislib.h: File moved back to here.
3414         * posix/sys/types.h: Don't define socklen_t.  Pretty print.
3415         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
3416         getsockopt, setsockopt, accept): Change size argument to type
3417         socklen_t.
3418         Pretty print.
3419         * manual/socket.texi: Describe socklen_t and change prototypes of
3420         socket functions to use socklen_t.
3421         * sysdeps/generic/bits/socket.h: Define socklen_t.
3422         (struct msghdr): Correct types to use socklen_t.
3423         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3424         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3426         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
3427         1.0 < x < 8.0.
3428         * stdio-common/tfformat.c: Add new tests for above bug.
3430         * stdlib/strtod.c: Fix typo.
3432         * string/Makefile (headers): Add bits/string.h.
3433         (CFLAGS-*): Add -D__NO_STRING_INLINES.
3434         * string/string.h: Include <bits/string.h> if optimizing and
3435         __NO_STRING_INLINES is not defined.
3436         * sysdeps/stub/bits/string.h: New file.
3438         * sysdeps/powerpc/bits/fenv.h: Fix typos.
3440         * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
3441         if SIOGIFINDEX is not defined.
3443         * sysdeps/wordsize-32/inttypes.h: Pretty print.
3444         * sysdeps/wordsize-64/inttypes.h: Pretty print.
3446         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
3448         * wcsmbs/Makefile (tests): Add tst-wcstof.
3449         * wcsmbs/tst-wcstof.c: New file.
3451 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3453         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
3454         loop, to avoid dragging stdio into the dynamic linker.
3456 1997-08-02 19:44  H.J. Lu  <hjl@gnu.ai.mit.edu>
3458         * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
3459         u_int32_t.
3461 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3463         * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
3464         __getpwuid_r.
3465         Include <stdio.h> to get prototypes of *printf.
3466         (exec_comm): Remove unneeded variable *sh.
3468         * libc.map: Add wordexp, wordfree.
3470         * posix/Makefile (routines): Add wordexp.
3472 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3474         * posix/wordexp.c: Correct typo in comment.
3475         (wordexp): Likewise.
3477         * manual/errno.texi (Error Codes): Fix typo.
3479 1997-08-03 15:28  Ulrich Drepper  <drepper@cygnus.com>
3481         * csu/initfini.c (SECTION): Don't put quotes around section name
3482         since this is not understood by all assemblers.
3483         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3485 1997-08-02 21:27  Ulrich Drepper  <drepper@cygnus.com>
3487         * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
3488         * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
3489         * sysdeps/generic/netinet/inbits.h: Move to...
3490         * sysdeps/generic/bits/in.h: ... here.
3491         * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
3492         * sysdeps/unix/sysv/linux/bits/in.h: ... here.
3494         * nis/Makefile (headers): Add bits/nislib.h.
3495         * nis/rpcsvc/nislib.h: Moved to ....
3496         * nis/bits/nislib.h: ... here.
3498         * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
3499         * nis/nss_compat/compat-pwd.c: Likewise.
3500         * nis/nss_compat/compat-spwd.c: Likewise.
3501         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3502         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3503         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3504         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3505         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3506         * nis/nss_nisplus/nisplus-ntework.c: Likewise.
3507         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3508         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3509         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3510         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3511         * nis/nss_nisplus/nisplus-service.c: Likewise.
3512         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3514         * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
3515         * nis/rpcsvc/nis.h: Likewise.
3517         * inet/getnameinfo.c (nrl_domainname): Change return type to const
3518         char *.
3519         (getnameinfo): Change type of local variable c to const char *.
3521         * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
3522         * stdlib/fmtmsg.c: Likewise.
3524         * intl/bindtextdom.c: Update from latest gettext.
3525         * intl/dcgettext.c: Likewise.
3526         * intl/finddomain.c: Likewise.
3527         * intl/l10nflist.c: Likewise.
3528         * intl/localealias.c: Likewise.
3529         * intl/textdomain.c: Likewise.
3531         * login/getutid_r.c: Remove parameter to setutent call.
3532         * login/getutline_r.c: Likewise.
3534         * posix/wordexp.c: Complete rewrite.  Not fully implemented yet,
3535         though.  Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
3537         * stdio-common/printf_fp.c: Remove relative include paths.
3538         * stdio-common/printf_fphex.c: Likewise.
3540         * sysdeps/generic/crypt.h: Cleanup.  Don't define non standard
3541         elements unless __USE_GNU.
3543         * sysdeps/generic/vlimit.c: Pretty print.
3544         * sysdeps/generic/vtimes.c: Likewise.
3546         * sysdeps/i386/elf/bsd-_setjmp.S: New file.  Empty dummy file.
3547         * sysdeps/i386/elf/bsd-setjmp.S: New file.  Empty dummy file.
3548         * sysdeps/i386/elf/setjmp.S: New file.  Define __setjmp and also
3549         weak definitions of setjmp and _setjmp.
3551         * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
3553         * sysdeps/stub/if_index.h: Set errno in all functions and add
3554         stub warnings.
3556         * sysdeps/stub/libc-lock.h: Add __libc_once.
3558 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
3560         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
3561         case since the __syscall_ptrace call already did this.
3562         Reported by Philip Gladstone <philip@talon.raptor.com>.
3564 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3566         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
3567         <gnu/types.h> to <sys/types.h>.
3569 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
3571         * csu/defs.awk: Fix regexp for end and align.
3572         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3574         * locale/programs/locale.c (print_escaped): New function.
3575         (show_info): Use print_escaped if strings can control unprintable
3576         characters.
3577         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
3579 1997-08-01 18:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3581         * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
3582         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3584 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3586         * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
3587         instead of fprintf.
3589 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3591         * manual/socket.texi (Host Address Functions): Fix arguments of
3592         @deftypefun.
3594 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3596         * elf/dl-runtime.c: Avoid warning about profile_fixup being
3597         unused.
3599         * sysdeps/m68k/dl-machine.h: Add support for shared library
3600         profiling.
3602 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3604         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
3605         dependencies.
3607 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3609         * Make-dist (subdirs): Distribute both aout and elf.
3611 1997-07-31 23:04  Mark Kettenis  <kettenis@phys.uva.nl>
3613         * login/utmp-private.h: Remove reset argument from backend
3614         setutent.
3615         * login/getutent_r.c (__setutent): Allways call the setutent
3616         function in the daemon backend.
3617         (setutent_unknown): Function removed.
3618         (getutent_unknown, pututline_unknown): Call __setutent instead of
3619         setutent_unknown.
3620         * login/utmp_file.c (setutent_file): Removed reset argument.  All
3621         callers changed.
3622         * login/utmp_daemon.c (setutent_daemon): Removed reset
3623         argument.  All callers changed.  Try to open connection even if a
3624         previous connection failed, but first check if the sockets exist
3625         in the filesystem.
3627         * login/utmp_daemon.c (pututline_daemon): Try to open connection
3628         before reporting failure.
3630         * login/programs/database.c (open_database): Create compatibility
3631         file if it does not already exist.  Supply mode argument in open
3632         calls to guarantee that created files have the proper protection.
3634         * login/programs/utmpd.c (main): Remove files created by a
3635         previous `bind' before creating sockets.
3636         Suggested by a sun <asum@zoology.washington.edu>.
3638 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3640         * math/libm-test.c: Remove unneeded function check_int_exec.
3642         * BUGS: Correct typos.
3644         * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
3646 1997-07-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3648         * manual/socket.texi (Host Address Functions): Reformat inet_ntop
3649         entry to confirm with expected behaviour of some scripts.
3651         * libc.map: Add functions/variables in global namespace,
3652         remove wildcards.
3654 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3656         * resolv/libresolv.map: Add variables and routines used by named,
3657         nslookup and other bind utils.
3658         * libc.map: Likewise.
3660 1997-07-31 00:35  Philip Blundell  <Philip.Blundell@pobox.com>
3662         * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
3663         filesystem.
3664         * inet/test_ifindex.c: New file.
3665         * inet/Makefile (tests): Add test_ifindex.
3667 1997-08-01 04:25  Ulrich Drepper  <drepper@cygnus.com>
3669         * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
3670         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3672         * manual/errno.texi: Fix typo.
3673         Reported by Erik Talvola <etalvo@sapient.com>.
3675 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
3677         * csu/gmon-start.c (__gmon_start__): Call __monstartup not
3678         monstartup.
3679         * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
3680         to __monstartup.
3681         * gmon/sys/gmon.h: Fix prototypes.
3682         * gmon/sys/gmon_out.h: Pretty print.
3684         * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
3685         * gmon/gmon.c (__monstartup): Likewise.
3686         (write_hist): Remove dependency on 32 bit int.
3687         (_mcleanup): Don't call perror, use fprintf.
3689         * elf/dl-load.c: Fix handling of current directory in search path.
3691         * elf/Makefile (dl-routines): Add dl-profile.
3692         * elf/dl-profile.c: New file.
3693         * elf/dl-runtime.c (fixup): Add new parameter with address to store
3694         relocation result in to elf_machine_relplt.
3695         (profile_fixup): New function.
3696         * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
3697         to store relocation result in to elf_machine_relplt.
3698         * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
3699         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
3700         call elf_machine_runtime_setup with extra argument.
3701         * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
3702         ELF_DYNAMIC_RELOCATE.
3703         * elf/link.h: Add prototypes for new functions and variables.
3704         * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
3705         variables and call _dl_start_profile if necessary.
3706         * include/sys/gmon_out.h: New file.
3707         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
3708         new parameter to enable profiling.
3709         (elf_machine_rela): Add new parameter to specify place to store
3710         result in.
3711         * sysdeps/m68k/dl-machine.h: Likewise.
3712         * sysdeps/mips/dl-machine.h: Likewise.
3713         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3714         * sysdeps/powerpc/dl-machine.h: Likewise.
3715         * sysdeps/sparc/dl-machine.h: Likewise.
3716         * sysdeps/sparc64/dl-machine.h: Likewise.
3717         * sysdeps/i386/dl-machine.h: Likewise.
3718         (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
3719         we do profiling.
3720         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
3722         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
3723         for stream on input file.
3724         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
3725         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
3726         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
3727         * nss/nss_db/db-alias.c (internal_setent): Likewise.
3728         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
3729         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
3730         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3731         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
3733         * string/string.h: Pretty print.
3735         * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
3736         Add float and long double versions.
3738 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3740         * elf/rtld.c (print_unresolved): Replace empty object name by main
3741         program name.
3743 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3745         * sysdeps/generic/htons.c (htons): Renamed from __htons.
3747 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3749         * sysdeps/m68k/bits/byteswap.h: New file.
3751 1997-07-27 23:50  Philip Blundell  <Philip.Blundell@pobox.com>
3753         * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
3754         advanced API.
3755         * inet/netinet/in.h: Likewise.
3756         * inet/netinet/ip6.h: Likewise.
3757         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3758         * posix/sys/types.h: Add socklen_t.
3760         * manual/socket.texi: Document some more IPv6 things.
3761         * manual/libc.texinfo: Likewise.
3763 1997-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3765         * libc.map: Define missing symbol.
3767 1997-07-27 14:31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3769         * nis/Makefile: Add nis_findserv.
3770         * nis/lckcache.c: Fix typo.
3771         * nis/nis_call.c: Fix problems with multihomed servers.
3772         * nis/nis_findserv.c: New file.
3773         * nis/nis_intern.h: Add more prototypes.
3774         * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
3775         is unreachable.
3776         * nis/nis_table.c (nis_list): Likewise.
3777         * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
3778         in error case.
3779         * nis/nis_util.c (__nis_finddirectory): Give the right error code
3780         back.
3781         * nis/ypclnt.c: Make sure, that all sockets are closed.
3783 1997-07-26 04:14  Ulrich Drepper  <drepper@cygnus.com>
3785         * elf/Makefile (distribute): Add genrtldtbl.awk.
3786         (before-compile): Add rtldtbl.h.
3787         (GAWK): New variable.
3788         (generated): Add trusted-dirs.h and rtldtbl.h.
3789         ($(objpfx)rtldtbl.h): New rule.  File is needed by dl-load.c.
3790         * elf/dl-load.c: Rewrite.  Now use cache and look for shared
3791         objects in machine dependent directories.
3792         * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
3793         * elf/dl-support.c: Rename function to non_dynamic_init and add
3794         initialization for _dl_platform, _dl_platformlen, _dl_pagesize
3795         and call to initializer for search path.
3796         * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
3797         * elf/genrtldtbl.awk: New file.
3798         * elf/link.h: Add type definitions and declarations for search
3799         path cache.
3800         * elf/rtld.c: Add definitions of variables used for search path cache.
3801         * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
3802         _dl_platform.  Initialize _dl_pagesize early and use this value.
3803         * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
3804         * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
3805         * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
3806         of calling getpagesize.
3808         * elf/dl-error.c (_dl_signal_error): Make message nicer.
3810         * nss/libnss_files.map: Fix typo.
3811         Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3813         * sysdeps/generic/strsep.c: Optimize case where separator set contains
3814         only one character.
3816         * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
3817         == +-Inf.
3818         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
3819         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
3821 1997-07-25 09:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
3823         * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
3824         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
3825         * sysdeps/unix/mips/sysdep.S: Likewise.
3826         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3828         * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
3829         * sysdeps/mips/bsd-setjmp.S: Likewise.
3831         * sysdeps/mips/dl-machine.h: Remove extra stuff.
3832         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3834 1997-07-25 18:55  Philip Blundell  <Philip.Blundell@pobox.com>
3836         * sysdeps/standalone/arm/sysdep.c: New file.
3838 1997-07-25 13:25  Philip Blundell  <Philip.Blundell@pobox.com>
3840         * aout/Makefile: New file.
3841         * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
3843         * sysdeps/generic/machine-gmon.h: Add warning about limitations of
3844         __builtin_return_address().
3845         * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
3846         above problem.
3848 1997-07-25 16:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
3850         * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
3852 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3854         * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
3855         tests.
3857 1997-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3859         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
3860         not shadow the variable in the outer scope.
3862 1997-07-24 03:14  Ulrich Drepper  <drepper@cygnus.com>
3864         * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
3866         * inet/Makefile (tests): Add htontest.
3867         * inet/htontest.c: New file.
3869         * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
3870         when they are no noops.
3871         * sysdeps/alpha/htonl.S: Don't define __ protected names.
3872         * sysdeps/alpha/htons.S: Likewise.
3873         * sysdeps/generic/htonl.c: Likewise.
3874         * sysdeps/generic/htons.c: Likewise.
3875         * sysdeps/i386/htonl.S: Likewise.
3876         * sysdeps/i386/htons.S: Likewise.
3877         * sysdeps/i386/i486/htonl.S: Likewise.
3878         * sysdeps/vax/htonl.s: Likewise.
3879         * sysdeps/vax/htons.s: Likewise.
3881         * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
3882         * string/byteswap.h: New file.
3883         * sysdeps/generic/bits/byteswap.h: New file.
3884         * sysdeps/i386/bits/byteswap.h: New file.
3885         * sysdeps/generic/bits/htontoh.h: Removed.
3886         * sysdeps/i386/bits/htontoh.h: Removed.
3888         * misc/search.h: General cleanup.  Don't define reentrant hsearch
3889         functions uless __USE_GNU.
3891         * nss/nsswitch.c: Pretty print.
3893         * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
3894         warning.
3896         * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
3897         been fixed meanwhile.
3898         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3900 1997-07-24 00:53  Philip Blundell  <Philip.Blundell@pobox.com>
3902         * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
3903         exists for this port.
3905 1997-07-24 00:12  Philip Blundell  <Philip.Blundell@pobox.com>
3907         * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
3909 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3911         * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
3912         to format a proper minus sign.
3914 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3916         * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
3917         specially, the standard doesn't require it.
3919         * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
3920         if non-zero then don't test inexact flag.  Callers changed.
3921         (set_single_exc): Ignore inexact flag if underflow or overflow
3922         exception is raised.
3924 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
3926         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
3927         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
3928         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
3929         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
3931 1997-07-16 10:09  Fila Kolodny  <fila@ibi.com>
3933         * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
3934         and 1035 state that a fully qualified domain name cannot exceed 255
3935         octets in length.
3936         * resolv/nss_dns/dns-host.c: Likewise.
3938 1997-07-22 09:54  H.J. Lu   <hjl@gnu.ai.mit.edu>
3940         * inet/netinet/in.h (htons): Fix typos.
3942         * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
3944 1997-07-22 11:47  Ulrich Drepper  <drepper@cygnus.com>
3946         * nss/nsswitch.c (nss_lookup_function): Include function.def, not
3947         functions.def.
3948         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3950 1997-07-22 01:35  Ulrich Drepper  <drepper@cygnus.com>
3952         * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
3953         that optimizing is also selected for dependency generation.
3955         * configure.in: Add machine description for TI c[34]x.
3957         * inet/Makefile (routines): Remove ntohl and ntohs.
3958         * inet/netinet/in.h: Use optimized version of hton? and ntoh?
3959         for little endian machines.
3960         * sysdeps/alpha/ntohl.s: Removed.
3961         * sysdeps/alpha/ntohs.s: Removed.
3962         * sysdeps/generic/ntohl.c: Removed.
3963         * sysdeps/generic/ntohs.c: Removed.
3964         * sysdeps/generic/htonl.c: Add aliases for ntohl.
3965         * sysdeps/vax/htonl.s: Likewise.
3966         * sysdeps/generic/htons.c: Add aliases for ntohs.
3967         * sysdeps/vax/htons.s: Likewise.
3968         * sysdeps/vax/ntohl.s: Removed.
3969         * sysdeps/vax/ntohs.s: Removed.
3970         * sysdeps/generic/bits/htontoh.h: New file.
3971         * sysdeps/i386/htonl.S: New file.
3972         * sysdeps/i386/htons.S: New file.
3973         * sysdeps/i386/i486/htonl.S: New file.
3975         * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
3976         macros.
3978         * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
3979         * sysdeps/mips/mips64/dl-machine.h: New file.
3981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
3982         syscall-list.h.
3984 1997-07-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3986         * libc.map: Add missing symbol _obstack.
3988 1997-07-14 08:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
3990         * sysdeps/mips/rtld-parms: New.
3992         * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
3993         * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
3995         * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
3996         * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
3998         * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
4000 1997-07-17 08:39  H.J. Lu  <hjl@gnu.ai.mit.edu>
4002         * sysdeps/mips/dl-machine.h: Remove extra stuff.
4004 1997-07-06 07:18  Geoff Keating  <geoffk@ozemail.com.au>
4005         * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
4007         * stdlib/grouping.h: Suppress gcc warning about testing
4008         unsigned char for less-than-zero.
4009         * stdio-common/printf_fp.c: Likewise.
4010         * stdio-common/vfprintf.c: Likewise.
4012         * sysdeps/powerpc/add_n.s: New file.
4013         * sysdeps/powerpc/sub_n.s: New file.
4014         * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
4015         * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
4016         * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
4017         * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
4018         * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
4020         * math/libm-test.c (cos_test, sin_test, sincos_test): Use
4021         precomputed pi/6 rather than having gcc calculate it, otherwise
4022         tests give inaccurate result due to inaccurate input.
4023         * math/libm.map: Add __fe_*_env constants to list of exported
4024         symbols.
4026         * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
4027         * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
4028         * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
4029         round-to-nearest value.
4031         * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
4032         * sysdeps/libm-ieee754/e_log10.c: Likewise.
4033         * sysdeps/libm-ieee754/e_log10f.c: Likewise.
4034         * sysdeps/libm-ieee754/e_logf.c: Likewise.
4035         * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
4036         * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
4037         * sysdeps/libm-ieee754/s_log2.c: Likewise.
4038         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4040 1997-07-15 21:54  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4042         * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
4043         and memory leaks.
4044         * nis/nss_compat/compat-pwd.c: Likewise.
4045         * nis/nss_compat/compat-spwd.c: Likewise.
4046         * nis/nss_nis/nis-alias.c: Likewise.
4047         * nis/nss_nis/nis-ethers.c: Likewise.
4048         * nis/nss_nis/nis-grp.c: Likewise.
4049         * nis/nss_nis/nis-hosts.c: Likewise.
4050         * nis/nss_nis/nis-network.c: Likewise.
4051         * nis/nss_nis/nis-proto.c: Likewise.
4052         * nis/nss_nis/nis-pwd.c: Likewise.
4053         * nis/nss_nis/nis-rpc.c: Likewise.
4054         * nis/nss_nis/nis-service.c: Likewise.
4055         * nis/nss_nis/nis-spwd.c: Likewise.
4056         * nis/nss_nisplus-alias.c: Likewise.
4057         * nis/nss_nisplus-ethers.c: Likewise.
4058         * nis/nss_nisplus-grp.c: Likewise.
4059         * nis/nss_nisplus-hosts.c: Likewise.
4060         * nis/nss_nisplus-netgrp.c: Likewise.
4061         * nis/nss_nisplus-network.c: Likewise.
4062         * nis/nss_nisplus-proto.c: Likewise.
4063         * nis/nss_nisplus-pwd.c: Likewise.
4064         * nis/nss_nisplus-rpc.c: Likewise.
4065         * nis/nss_nisplus-service.c: Likewise.
4066         * nis/nss_nisplus-spwd.c: Likewise.
4068         * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
4070 1997-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4072         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
4073         name in warning message.
4074         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
4075         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
4076         * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4078         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
4079         first.
4081 1997-07-20 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4083         * libc.map: Add _null_auth and _seterr_reply.
4085         * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
4087 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
4089         * time/africa: Update from tzdata1997g.
4090         * time/asia: Likewise.
4091         * time/australasia: Likewise.
4092         * time/europe: Likewise.
4093         * time/iso3166.tab: Likewise.
4094         * time/zone.tab: Likewise.
4095         * time/private.h: Update from tzcode1997f.
4096         * time/scheck.c: Likewise.
4098         * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
4100         * math/math.h: Correct comments.  Include <bits/mathinline.h>
4101         always when optimizing.
4103 1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>
4105         * time/getdate.c (__getdate_r):
4106         Report failure if string was not completely parsed.
4107         (getdate): Set getdate_err on failure.
4109 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4111         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
4112         Synchronize with malloc/obstack.c.
4114 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
4116         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
4117         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
4118         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
4120 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
4122         * manual/Makefile (INSTALL_INFO): Introduce variable to override
4123         path to install-info for systems like Debian that have an
4124         install-info with a different command line interface from the
4125         canonical GNU texinfo version.
4127 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4129         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
4130         * posix/unistd.h: Likewise.
4131         * sysdeps/stub/ttyname_r.c: Likewise.
4133 1997-07-14 23:37  Ulrich Drepper  <drepper@cygnus.com>
4135         * inet/getnameinfo.c: Pretty print.
4136         Correctly enlarge buffers.
4138         * login/programs/utmpd.c: Use _() instead of gettext().
4140         * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
4141         * nis/nss_nisplus/nisplus-network.c: Likewise.
4142         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4143         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4144         * nis/nss_nisplus/nisplus-service.c: Likewise.
4146         * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
4147         __OPTIMIZE__.
4148         * sysdeps/powerpc/bits/mathinline.h: Likewise.
4149         * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
4150         function always.
4151         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4152         * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
4153         it should look like in real files.
4155         * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
4156         prevent prototype trouble, use simple loop.
4157         * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
4159         * sysdeps/mips/mips64/Implies: Imply ieee754.
4161         * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
4162         installed.
4163         * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
4165 1997-07-14 00:25  Ulrich Drepper  <drepper@cygnus.com>
4167         * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
4168         * sysdeps/standalone/bits/stdio_lim.h: Removed.
4169         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4171 1997-06-22  Paul Eggert  <eggert@twinsun.com>
4173         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
4175         * time/tzfile.c (__tzstring): New decl.
4176         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
4177         (__tzfile_default): First two args are now const char *.
4179         * time/tzset.c (__tzstring): New function.
4180         (tz_rule): Name is now const char *.
4181         (struct tzstring_head): New type.
4182         (tzstring_list, tzstring_last_buffer_size): New static vars.
4183         (__tzset_internal): Time zone names are now permanent, not temporary.
4185 1997-07-13 01:18  Ulrich Drepper  <drepper@cygnus.com>
4187         * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
4189         * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
4190         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4191         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4192         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4194         * time/Makefile (routines): Add getdate.
4195         * time/time.h: Add prototype for getdate and getdate_r.
4196         * time/getdate.c: New file.
4197         Provided by Mark Kettenis <kettenis@phys.uva.nl>.
4199 1997-06-30 14:49  H.J. Lu  <hjl@gnu.ai.mit.edu>
4201         From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
4202         Sat Jun 21 18:11:21 1997:
4204         * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
4205         (swapoff): New.
4207         * elf/Makefile: Add linker script support.
4208         (headers): Add bits/dlfcn.h.
4210         * elf/dl-load.c (MAP_BASE_ADDR): New.
4212         * elf/dlfcn.h: Include <bits/dlfcn.h>.
4214         * elf/elf.h: Add MIPS support.
4216         * sysdeps/generic/Dist: Add entry.h.
4217         * sysdeps/generic/entry.h: New, define the entry symbol.
4219         * elf/rtld.c (_start): Include <entry.h>.  Change to ENTRY_POINT.
4220         * sysdeps/generic/dl-sysdep.c (_start): Likewise.
4221         * mips/elf/start.S (_start): Likewise.
4223         * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
4224         * sysdeps/mips/bsd-setjmp.S: Likewise.
4225         * sysdeps/mips/setjmp.S: Likewise.
4226         * mips/elf/start.S: Likewise.
4227         * sysdeps/unix/mips/brk.S: Likewise.
4228         * sysdeps/unix/mips/sysdep.S: Likewise.
4229         * sysdeps/unix/mips/sysdep.h: Likewise.
4230         * sysdeps/unix/mips/wait.S: Likewise.
4232         * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
4233         * sysdeps/mips/fpu_control.h: Likewise.
4235         * sysdeps/generic/bits/dlfcn.h: New file.
4237         * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
4238         * sysdeps/mips/rtld-parms: Likewise.
4239         * sysdeps/mips/bits/dlfcn.h: Likewise.
4240         * sysdeps/mips/mips64/rtld-parms: Likewise.
4241         * sysdeps/mips/mipsel/rtld-parms: Likewise.
4242         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4243         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4244         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4245         * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
4246         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
4247         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
4248         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
4249         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
4250         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
4251         * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
4252         * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
4253         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
4254         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4255         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4256         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4257         * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
4258         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4259         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4260         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
4261         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4262         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4263         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4264         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
4265         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4266         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4267         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4268         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4269         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4270         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
4271         * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
4272         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
4273         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
4274         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4275         * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
4276         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
4277         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
4279 1997-04-09 19:05  H.J. Lu (hjl@gnu.ai.mit.edu)
4281         * isomac.c (xstrndup): New, use it instead of strndup ().
4283 1997-07-02 08:55  H.J. Lu  <hjl@gnu.ai.mit.edu>
4285         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
4286         the program name for different sizes.
4288 1997-07-10 15:47  Fila Kolodny  <fila@ibi.com>
4290         * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
4291         Add include of rpcsvc/nis.h.
4292         * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
4293         * sysdeps/posix/getaddrinfo.c: Likewise.
4294         Change size of variable buffer to be big enough to hold an IPv6
4295         address in printable format.
4297 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
4299         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
4300         and && in tests to allow use in C++ code which overloads these
4301         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
4303         * configure.in: Move mips64* recognition before mips*.
4304         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4306 1997-07-03 20:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4308         * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
4309         automatic variables in dependency lists.
4310         (build-shlib): Always filter out the version script file.
4311         * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
4313 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
4315         * login/login.c (tty_name): Test return value of ttyname_r for !=
4316         0, not < 0.
4317         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
4318         0, not >= 0.
4319         * sysdeps/unix/getlogin.c (getlogin): Test return value of
4320         ttyname_r for != 0.
4321         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4323 1997-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4325         * login/utmp_file.c (getutline_r_file): Fix type: compare with
4326         *result.
4328 1997-07-11 00:21  Mark Kettenis  <kettenis@phys.uva.nl>
4330         * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
4332 1997-07-09 19:21  Mark Kettenis  <kettenis@phys.uva.nl>
4334         * login/programs/utmpd.c, login/programs/database.c,
4335         login/programs/request.c: Prepare messages for
4336         internationalization.
4338         * login/programs/utmpd.c:
4339         (main): Change handling of errors in opening the database.
4340         * login/programs/database.c:
4341         (open_database, synchronize_database, initialize_database):
4342         Properly handle errors.
4343         (get_mtime): Use fstat instead of stat.  All callers changed.
4345         * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
4346         * login/getutent.c: Rename getutent to __getutent and make
4347         getutent a weak alias.
4348         Make getutxent a weak alias for __getutent.
4349         * login/utmpx.h: New file.
4350         * sysdeps/gnu/bits/utmp.h: Cleanup.  Added comments.
4351         * sysdeps/gnu/bits/utmpx.h: New file.
4353 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
4355         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
4356         one.
4358         * signal/sigandset.c: Include stddef.h to get NULL defined.
4359         * signal/sigisempty.c: Likewise.
4360         * signal/sigorset.c: Likewise.
4361         * sysdeps/stub/if_index.h: Likewise.
4362         * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
4363         * wcsmbs/wcstof_l.c: Likewise.
4364         * wcsmbs/wcstol_l.c: Likewise.
4365         * wcsmbs/wcstold_l.c: Likewise.
4366         * wcsmbs/wcstoll_l.c: Likewise.
4367         * wcsmbs/wcstoul_l.c: Likewise.
4368         * wcsmbs/wcstoull_l.c: Likewise.
4369         Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
4371         * stdio-common/snprintf.c: Use ISO C function definition form.
4373         * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
4374         __libc_setspecific as empty macros since they are used as
4375         function with return value.
4376         Reported by Andreas Jaeger.
4378         * stdio-common/strops.c: Partialy undo last change.  Will need
4379         more investigation.
4381 1997-07-10  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
4383         * sysdeps/mach/hurd/select.c (__select): Need bit count for
4384         MACH_MSG_TYPE_INTEGER_T.
4386 1997-07-08 10:12  Fila Kolodny  <fila@ibi.com>
4388         * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
4389         * sysdeps/mvs/Implies: Likewise.
4391 1997-07-09 23:06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4393         * nis/Makefile: Add new source files.
4395         * nis/nis_intern.h: Add new internal functions.
4396         * nis/rpcsvc/nislib.h: Likewise.
4398         * nis/lckcache.c: New.
4399         * nis/nis_cache.c: New, dummy functions in the moment.
4400         * nis/nis_util.c: New.
4401         * nis/nisplus-parser.h: New.
4402         * nis/nss_nisplus/nisplus-parser.c: New.
4403         * nis/rpcsvc/nis_cache.h: New.
4404         * nis/rpcsvc/nis_cache.x: New.
4406         * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
4407         * nis/nss_compat/compat-pwd.c: Likewise.
4408         * nis/nss_compat/compat-spwd.c: Likewise.
4409         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4410         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4411         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4412         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4413         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4414         * nis/nss_nisplus/nisplus-network.c: Likewise.
4415         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4416         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4417         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4418         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4419         * nis/nss_nisplus/nisplus-service.c: Likewise.
4420         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4422         * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
4424         * nis/nis_intern.c: Removed.
4426         * nis/nis_call.c: Complete rewrite.
4427         * nis/nis_lookup.c: Likewise.
4428         * nis/nis_table.c: Likewise.
4430         * nis/libnsl.map: Add missing symbols.
4432         * nis/nis_print.c: Fix nis_print_link.
4433         * nis/nis_subr.c: Fix nis_getnames.
4435 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
4437         * posix/execvp.c (execvp): Handle ESTALE.
4439 1997-07-10 13:54  Ulrich Drepper  <drepper@cygnus.com>
4441         * posix/regex.c: Make CHAR_SET_SIZE definition always available,
4442         even if SYNTAX_TABLE is defined.
4443         Patch by Akim Demaille <demaille@inf.enst.fr>.
4445 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
4447         * libio/fileops.c (_IO_file_underflow): Adjust pointers
4448         before calling _IO_SYSREAD ().
4450 1997-07-07 22:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4452         * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
4453         (sysdep.h does the same job).
4454         * sysdeps/sparc/alloca.S: Likewise.
4455         * sysdeps/sparc/dotmul.S: Likewise.
4456         * sysdeps/sparc/udiv_qrnnd.S: Likewise.
4458         * sysdeps/sparc/rem.S: Regenerated.
4459         * sysdeps/sparc/sdiv.S: Regenerated.
4460         * sysdeps/sparc/udiv.S: Regenerated.
4461         * sysdeps/sparc/urem.S: Regenerated.
4463         * sysdeps/sparc/DEFS.h: Removed.
4464         * sysdeps/sparc/elf/DEFS.h: Removed.
4465         * sysdeps/sparc/Dist: Don't distribute DEFS.h.
4467         * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
4468         directive #ifdef HAVE_ELF.  Minor format changes.
4470         * sysdeps/alpha/DEFS.h: Removed.
4471         * sysdeps/alpha/Dist: Don't distribute DEFS.h.
4473 1997-07-07 19:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
4475         * math/test-fenv.c (feenv_nomask_test): Move
4476         fesetenv (FE_NOMASK_ENV) after fork () to work with
4477         SMP.
4479         * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
4481 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4483         * libc.map: Add _IO_peekc_locked.
4485 1997-07-07 15:45  Fila Kolodny  <fila@ibi.com>
4487         * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
4489 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4491         * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
4492         right position.
4493         * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
4495 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
4497         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
4498         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
4500 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
4502         * io/lockf.c (lockf): Clear fl before using.
4503         Patch by sr@adb.fr.
4505         * libio/strops.c: Correctly handle _IO_write_end.
4507         * nss/libnss_files.map: Add __nss_netgroup_parseline.
4508         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
4509         panic if setnetgrent wasn't called before, return error.
4510         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
4512         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
4513         if locally defined.
4514         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
4515         if locally defined.
4516         Define tm_diff function as ftime_tm_diff if locally defined.
4517         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
4519 1997-07-06 23:36  Ulrich Drepper  <drepper@cygnus.com>
4521         * isomac.c (get_null_defines): Put NULL at end of list.
4523         * hurd/Makefile: Remove special handling of sunrpc code.
4524         * sysdeps/mach/hurd/Makefile: Likewise.
4525         Compile CThreads code.
4526         * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
4527         * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
4528         functions.
4529         * sysdeps/stub/bits/libc-lock.h: Likewise.
4530         * sysdeps/mach/hurd/net/ethernet.h: New file.
4531         * sysdeps/mach/hurd/net/if.h: New file.
4532         * sysdeps/mach/hurd/net/if_arp.h: New file.
4533         * sysdeps/mach/hurd/net/if_ether.h: New file.
4534         * sysdeps/mach/hurd/net/if_ppp.h: New file.
4535         * sysdeps/mach/hurd/net/route.h: New file.
4536         Patches by  Fila Kolodny <fila@ibi.com>.
4538         * math/fenv-test.c: Add more tests.
4539         Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
4541         * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
4542         INTFAST_MAX, and UINTFAST_MAX.
4543         * sysdeps/wordsize-64/inttypes.h: Likewise.
4544         Correct intmax_t definition.
4546 1997-07-04 15:33  H.J. Lu  <hjl@gnu.ai.mit.edu>
4548         * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
4550 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
4552         * libc.map: Add missing symbol.
4554 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
4556         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
4557         in cc1.  Cpp in gcc doesn't do it.
4559 1997-07-01 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4561         * libio/libioP.h: Remove second definition of _IO_file_attach.
4563         * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
4565         * sysdeps/sparc64/elf/start.S (_start): Update and reformat
4566         copyright.
4567         * manual/summary.awk: Likewise.
4568         * misc/bits/stab.def: Likewise.
4569         * posix/glob/Makefile.ami: Likewise.
4570         * posix/glob/Makefile.in: Likewise.
4571         * posix/glob/SMakefile: Likewise.
4572         * sysdeps/gnu/errlist.awk: Likewise.
4573         * sysdeps/mach/hurd/errnos.awk: Likewise.
4574         * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
4575         * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
4576         * sysdeps/unix/snarf-ioctls: Likewise.
4577         * sysdeps/vax/setjmp.c: Likewise.
4579 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
4581         * login/login.c (tty_name): Use newly allocated buffer.
4582         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
4584         * time/asctime.c: Never translate week and month name according
4585         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
4587 1997-07-03 22:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4589         * locale/setlocale.c (setname): Do nothing when reusing the same
4590         name.
4592 1997-07-03 20:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4594         * libc.map: Add global variables of malloc.
4596 1997-07-03 13:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4598         * elf/dl-version.c (find_needed): Look for needed objects also in
4599         the dependency list of the current object.  Added new parameter to
4600         find its link map, caller changed.
4602 1997-07-03 12:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4604         * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
4605         FE_UNDERFLOW cases.
4607 1997-07-01 13:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4609         * elf/link.h: Remove final comma from enumerator list, forbidden
4610         by ISO C.  Use __inline instead of inline.
4612 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
4614         * hurd/hurdsig.c: Include <hurd/id.h>.
4615         (reauth_proc): Call proc_setowner appropriately too.
4617 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
4619         * libc.map: Add missing symbol.
4621 1997-06-30 12:12  Fila Kolodny  <fila@ibi.com>
4623         * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
4624         * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
4625         declaration of addr.
4627 1997-06-29 17:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4629         * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
4630         it work in TeX.
4632 1997-06-27 21:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4634         * Makeconfig (+includes): Add include directory to include path.
4635         * configure.in (sysnames): Don't add it here.
4636         * Makefile (subdir-dirs): Define and add it to vpath for headers.
4637         * Make-dist (all-headers): Look in include directory for
4638         indirection headers.  Filter out header names pointing outside the
4639         source directory.
4641         * Makefile (distribute): Remove ansidecl.h, add libc.map.
4642         * Make-dist (+tsrcs): Add version scripts for extra libraries.
4643         * Makerules (distinfo-vars): Add %-map for extra libraries.
4645         * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
4646         to kernel_termios.h.
4647         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
4648         termbits.h and sys/kernel_termios.h.
4649         * sysdeps/mips/mips64/Dist: New file.
4650         * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
4652 1997-06-29 23:03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4654         * math/test-fenv.c (feenv_nomask_test): New test for non masked
4655         exceptions.
4656         (feenv_mask_test): New test for masked exceptions
4657         (feenv_tests): New function calls feenv_nomask_test and
4658         feenv_mask_test.
4659         (main): Call new tests.
4660         (initial_tests): New test for initilisation.
4662 1997-06-29 23:43  Ulrich Drepper  <drepper@cygnus.com>
4664         * config.make.in: Define need-nopic-initfini.
4665         * configure.in: Write out nopic_initfini.
4666         * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
4667         is defined.
4669         * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
4671         * sysdeps/sparc/rem.S: Get trap definition properly.
4672         * sysdeps/sparc/sdiv.S: Likewise.
4673         * sysdeps/sparc/udiv.S: Likewise.
4674         * sysdeps/sparc/urem.S: Likewise.
4675         * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
4676         * sysdeps/sparc/sys/trap.h: New file.
4677         * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
4679 1997-06-25 10:26  Thorsten Kukuk  <kukuk@uni-paderborn.de>
4681         * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
4683 1997-06-29 10:34  Fila Kolodny  <fila@ibi.com>
4685         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
4686         to MACH_MSG_TYPE_INTEGER_T.
4688 1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>
4690         Initial sparc64-linux support:
4691         * configure.in: Recognize sparc64 as being different from sparc.
4692         * io/ftwtest-sh: Only invoke ld.so if it exists.
4693         * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
4694         static tests to link.  Honour $(omit-long-double-fcts) == yes.
4695         * math/libm-test.c (test_single_exception): The argument to
4696         fetestexcept is `int' not `fexcept_t'.
4697         * shlib-versions: Recognize sparc64.
4698         * signal/signal.h: Add typedef for stack_t.
4700         * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
4701         Attempt to fix up most of this by cleaning up assumptions below,
4702         but give up and change the defaults.
4704         * setjmp/longjmp.c: Moved to ...
4705         * sysdeps/generic/longjmp.c: ... here.
4706         * setjmp/sigjmp.c: Moved to ...
4707         * sysdeps/generic/sigjmp.c: ... here.
4709         * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
4710         Ought to fix up gas to catch these silly things properly.
4711         * sysdeps/sparc/bsd-setjmp.S: Likewise.
4713         * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
4714         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
4715         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
4716         the unused fields.
4718         * sysdeps/sparc/sparc64/add_n.s: Moved to ...
4719         * sysdeps/sparc64/add_n.S: ... here.  Fix up %g4 and stack usage.
4720         * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
4721         * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
4722         * sysdeps/sparc/sparc64/lshift.s: Likewise.
4723         * sysdeps/sparc/sparc64/mul_1.s: Likewise.
4724         * sysdeps/sparc/sparc64/rshift.s: Likewise.
4725         * sysdeps/sparc/sparc64/sub_n.s: Likewise.
4726         * sysdeps/sparc/sparc64/submul_1.s: Likewise.
4728         * sysdeps/sparc64/Implies: New file.
4729         * sysdeps/sparc64/Makefile: Likewise.
4730         * sysdeps/sparc64/bits/endian.h: Likewise.
4731         * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
4732         * sysdeps/sparc64/bsd-setjmp.S: Likewise.
4733         * sysdeps/sparc64/dl-machine.h: Likewise.
4734         * sysdeps/sparc64/elf/Makefile: Likewise.
4735         * sysdeps/sparc64/elf/crtbegin.S: Likewise.
4736         * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
4737         * sysdeps/sparc64/elf/crtend.S: Likewise.
4738         * sysdeps/sparc64/elf/crtendS.S: Likewise.
4739         * sysdeps/sparc64/elf/start.S: Likewise.
4740         * sysdeps/sparc64/fpu_control.h: Likewise.
4741         * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
4742         * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
4743         * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
4744         * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
4745         * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
4746         * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
4747         * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
4748         * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
4749         * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
4750         * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
4751         * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
4752         * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
4753         * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
4754         * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
4755         * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
4756         * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
4757         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
4758         * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
4759         * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
4760         * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
4762 1997-06-28 16:28  H.J. Lu  <hjl@gnu.ai.mit.edu>
4764         * configure.in: Add -nostartfiles -nostdlib when check for
4765         --version-script.
4767 1997-06-28 12:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
4769         * sysdeps/powerpc/bits/endian.h: New file.
4771 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
4773         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
4774         setresgid.
4776 1997-06-27 20:09  Ulrich Drepper  <drepper@cygnus.com>
4778         * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
4779         Reported by a sun <asun@zoology.washington.edu>.
4781         * libc.map: Add _rpc_dtablesize.  Reported by Thorsten Kukuk.
4783         * db/makedb.c: Exit with error if number of option is incorrect.
4785         * math/Makefile (tests): Add test-fenv.
4786         * math/test-fenv.c: New file.  Test for exception handling functions.
4787         Written mainly by Andreas Jaeger.
4789         * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
4791         * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
4792         compatibility version to 0.  Reported by Roland McGrath.
4794 1997-06-27 18:49  Philip Blundell  <Philip.Blundell@pobox.com>
4796         * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
4797         * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
4798         * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
4800 1997-06-27 10:44  Fila Kolodny  <fila@ibi.com>
4802         * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
4804 1997-06-27 00:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4806         * elf/dl-open.c (_dl_open): Check versions of all newly loaded
4807         objects, including dependencies.
4809         * elf/dl-runtime.c (fixup): Always use version information if
4810         available.
4812 1997-06-26 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4814         * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
4816 1997-06-26 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4818         * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
4819         int, not pointer to fail_stack_elt_t.
4820         (PUSH_FAILURE_POINT): Fix all formats in debugging messages.  Fix
4821         type of this_reg.
4822         (POP_FAILURE_POINT): Likewise.  Fix type of failure_id.
4823         (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
4825 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
4827         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
4828         Reported by a sun.
4830 1997-06-26 21:50  Ulrich Drepper  <drepper@cygnus.com>
4832         * math/math.h: Move definition of macros for unordered comparison
4833         after inclusion of <bits/mathinline.h>.
4834         * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
4835         unordered comparison before definition.
4836         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4838         * Makerules: Move definition of load-map-file before use.
4839         (lib%.so): Depend on load-map-file, not lib%-map.
4841         * manual/lgpl.texinfo: Update copyright.
4843 1997-06-24 09:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4845         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
4846         * sysdeps/m68k/fpu/s_ilogb.c: Define it here.  Handle zero, NaN
4847         and infinity specially.
4848         * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
4849         Adapted.
4851         * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
4853 1997-06-26 17:06  Ulrich Drepper  <drepper@cygnus.com>
4855         * configure.in: Don't use .long in tests since some strange
4856         platforms without binutils don't know this.
4857         Redirect output of test commands correctly.
4858         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4860         * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
4861         Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
4863 1997-06-26 09:02  Fila Kolodny  <fila@ibi.com>
4865         * sysdeps/mach/hurd/abi-tag.h: New file.
4867         * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
4868         * sysdeps/stub/bits/libc-lock.h: Likewise.
4870         * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
4871         Add variable addr containing the desired part of the union.
4872         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
4873         * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
4874         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
4875         * sysdeps/mach/hurd/connect.c (__connect): Likewise.
4876         * sysdeps/mach/hurd/bind.c (bind): Likewise.
4878         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
4879         to sizeof(MACH_MSG_TYPE_INTEGER_T).
4881         * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
4883         * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
4885         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
4886         paramater list since it is used.
4888         * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
4890         * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
4891         ss to argss.
4893 1997-06-24 14:02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4895         * Rules: Update copyright.
4896         * mach/Machrules: Likewise.
4898 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
4900         * configure.in: Fix accidently removed AC_OUTPUT line.
4901         Reported by Andreas Jaeger.
4903         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
4904         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
4906         * sysdeps/generic/getdomain.c: Include handling for stub case.
4907         This eliminated the only case of a function in generic and stub.
4908         * sysdeps/stub/getdomain.c: Removed.
4909         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4911 1997-06-23 22:20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4913         * sysdeps/alpha/_mcount.S: Update and reformat copyright,
4914         remove trailing white spaces and send through unexpand.
4915         * sysdeps/alpha/bb_init_func.S: Likewise.
4916         * sysdeps/alpha/bzero.S: Likewise.
4917         * sysdeps/alpha/ffs.S: Likewise.
4918         * sysdeps/alpha/memset.S: Likewise.
4919         * sysdeps/alpha/s_fabs.S: Likewise.
4920         * sysdeps/alpha/strcmp.S: Likewise.
4921         * sysdeps/alpha/strlen.S: Likewise.
4922         * sysdeps/alpha/strncmp.S: Likewise.
4923         * sysdeps/alpha/strncpy.S: Likewise.
4924         * sysdeps/alpha/strrchr.S: Likewise.
4925         * sysdeps/alpha/stxcpy.S: Likewise.
4926         * sysdeps/alpha/stxncpy.S: Likewise.
4927         * sysdeps/alpha/elf/start.S: Likewise.
4928         * sysdeps/i386/strchr.S: Likewise.
4929         * sysdeps/m68k/bsd-_setjmp.S: Likewise.
4930         * sysdeps/m68k/bsd-setjmp.S: Likewise.
4931         * sysdeps/m68k/elf/start.S: Likewise.
4932         * sysdeps/mach/alpha/syscall.S: Likewise.
4933         * sysdeps/mach/i386/syscall.S: Likewise.
4934         * sysdeps/mips/elf/start.S: Likewise.
4935         * sysdeps/sparc/alloca.S: Likewise.
4936         * sysdeps/standalone/i386/start.S: Likewise.
4937         * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
4938         * sysdeps/standalone/i960/start.S: Likewise.
4939         * sysdeps/standalone/m68k/m68020/start.S: Likewise.
4940         * sysdeps/unix/_exit.S: Likewise.
4941         * sysdeps/unix/fork.S: Likewise.
4942         * sysdeps/unix/getegid.S: Likewise.
4943         * sysdeps/unix/geteuid.S: Likewise.
4944         * sysdeps/unix/getppid.S: Likewise.
4945         * sysdeps/unix/syscall.S: Likewise.
4946         * sysdeps/unix/arm/brk.S: Likewise.
4947         * sysdeps/unix/arm/fork.S: Likewise.
4948         * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
4949         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
4950         * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
4951         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4952         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4953         * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
4954         * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
4955         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
4956         * sysdeps/unix/bsd/m68k/wait.S: Likewise.
4957         * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
4958         * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
4959         * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
4960         * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
4961         * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
4962         * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
4963         * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
4964         * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
4965         * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
4966         * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
4967         * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
4968         * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
4969         * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
4970         * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
4971         * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
4972         * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
4973         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
4974         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
4975         * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
4976         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
4977         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
4978         * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
4979         * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
4980         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
4981         * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
4982         * sysdeps/unix/bsd/vax/brk.S: Likewise.
4983         * sysdeps/unix/bsd/vax/pipe.S: Likewise.
4984         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
4985         * sysdeps/unix/bsd/vax/vfork.S: Likewise.
4986         * sysdeps/unix/bsd/vax/wait.S: Likewise.
4987         * sysdeps/unix/bsd/vax/wait3.S: Likewise.
4988         * sysdeps/unix/i386/brk.S: Likewise.
4989         * sysdeps/unix/i386/fork.S: Likewise.
4990         * sysdeps/unix/i386/pipe.S: Likewise.
4991         * sysdeps/unix/i386/sigreturn.S: Likewise.
4992         * sysdeps/unix/i386/syscall.S: Likewise.
4993         * sysdeps/unix/i386/vfork.S: Likewise.
4994         * sysdeps/unix/i386/wait.S: Likewise.
4995         * sysdeps/unix/mips/brk.S: Likewise.
4996         * sysdeps/unix/mips/fork.S: Likewise.
4997         * sysdeps/unix/mips/pipe.S: Likewise.
4998         * sysdeps/unix/mips/sigreturn.S: Likewise.
4999         * sysdeps/unix/mips/sysdep.S: Likewise.
5000         * sysdeps/unix/mips/wait.S: Likewise.
5001         * sysdeps/unix/sparc/brk.S: Likewise.
5002         * sysdeps/unix/sparc/fork.S: Likewise.
5003         * sysdeps/unix/sparc/pipe.S: Likewise.
5004         * sysdeps/unix/sparc/sysdep.S: Likewise.
5005         * sysdeps/unix/sparc/vfork.S: Likewise.
5006         * sysdeps/unix/sysv/i386/signal.S: Likewise.
5007         * sysdeps/unix/sysv/i386/time.S: Likewise.
5008         * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
5009         * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
5010         * sysdeps/unix/sysv/irix4/uname.S: Likewise.
5011         * sysdeps/unix/sysv/irix4/wait.S: Likewise.
5012         * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
5013         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5014         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5015         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
5016         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5017         * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
5018         * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
5019         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
5020         * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
5021         * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
5022         * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
5023         * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
5024         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
5025         * sysdeps/vax/bsd-_setjmp.S: Likewise.
5026         * sysdeps/vax/bsd-setjmp.S: Likewise.
5028 1997-06-26 02:06  Ulrich Drepper  <drepper@cygnus.com>
5030         * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
5031         public.
5033         * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
5034         dependency, not $(libc-map).
5036         * sysdeps/posix/mk-stdiolim.c: Pretty print.
5038 1997-06-25 15:54  Fila Kolodny  <fila@ibi.com>
5040         * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
5041         include of bits/types.h.
5043         * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
5044         conditionalize this on whether we are cross-compiling.
5046 1997-06-21 15:47  H.J. Lu  <hjl@gnu.ai.mit.edu>
5048         * elf/dl-lookup.c (do_lookup): Use default definition
5049         for a default versioned symbol.
5051         * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
5053         * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
5055         * elf/link.h (r_found_version): Add the hidden field.
5057         * math/test-matherr.c: New file.
5059         * math/Makefile (tests): Add test-matherr.
5060         (libm-support): Put back s_matherr.
5061         (static-only-routines, aux): Remove s_matherr.
5063 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
5065         * string/Makefile (headers): Change bytesex.h to bits/endian.h.
5066         * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
5067         bits/endian.h.
5069         * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
5070         function will not fail because of exceptions.
5072         * math/math.h: Add warning about use of M_* constants.
5073         Pretty print.
5075 1997-06-23 11:36  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5077         * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
5078         copyright, remove trailing white spaces and send through unexpand.
5079         * inet/netinet/icmp6.h: Likewise.
5080         * inet/netinet/in.h: Likewise.
5081         * inet/netinet/ip6.h: Likewise.
5082         * locale/programs/xmalloc.c: Likewise.
5083         * locale/programs/xstrdup.c: Likewise.
5084         * sysdeps/generic/make_siglist.c: Likewise.
5085         * sysdeps/generic/morecore.c: Likewise.
5086         * sysdeps/generic/sbrk.c: Likewise.
5087         * sysdeps/generic/signame.c: Likewise.
5088         * sysdeps/generic/signame.h: Likewise.
5089         * sysdeps/generic/netinet/inbits.h: Likewise.
5090         * sysdeps/posix/getpagesize.c: Likewise.
5091         * sysdeps/unix/errnos-tmpl.c: Likewise.
5092         * sysdeps/unix/getpagesize.c: Likewise.
5093         * sysdeps/unix/make_errlist.c: Likewise.
5094         * sysdeps/unix/mkfifo.c: Likewise.
5095         * sysdeps/unix/nlist.c: Likewise.
5096         * sysdeps/unix/start.c: Likewise.
5097         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
5099         * munch-tmpl.c: Update and reformat copyright, remove trailing
5100         white spaces and send through unexpand.
5101         * libio/clearerr_u.c: Likewise.
5102         * libio/memstream.c: Likewise.
5103         * libio/putc_u.c: Likewise.
5104         * libio/putchar_u.c: Likewise.
5105         * stdio-common/scanf.c: Likewise.
5106         * stdlib/longlong.h: Likewise.
5107         * sysdeps/alpha/__longjmp.c: Likewise.
5108         * sysdeps/alpha/divrem.h: Likewise.
5109         * sysdeps/alpha/machine-gmon.h: Likewise.
5110         * sysdeps/alpha/setjmp_aux.c: Likewise.
5111         * sysdeps/alpha/bits/setjmp.h: Likewise.
5112         * sysdeps/arm/fpu_control.h: Likewise.
5113         * sysdeps/generic/_strerror.c: Likewise.
5114         * sysdeps/generic/det_endian.c: Likewise.
5115         * sysdeps/generic/fdatasync.c: Likewise.
5116         * sysdeps/generic/fpu_control.c: Likewise.
5117         * sysdeps/generic/ftime.c: Likewise.
5118         * sysdeps/generic/getdomain.c: Likewise.
5119         * sysdeps/generic/group_member.c: Likewise.
5120         * sysdeps/generic/ldiv.c: Likewise.
5121         * sysdeps/generic/lldiv.c: Likewise.
5122         * sysdeps/generic/lxstat.c: Likewise.
5123         * sysdeps/generic/memcmp.c: Likewise.
5124         * sysdeps/generic/memmem.c: Likewise.
5125         * sysdeps/generic/mig-reply.c: Likewise.
5126         * sysdeps/generic/pagecopy.h: Likewise.
5127         * sysdeps/generic/profil-counter.h: Likewise.
5128         * sysdeps/generic/pselect.c: Likewise.
5129         * sysdeps/generic/setfpucw.c: Likewise.
5130         * sysdeps/generic/stpcpy.c: Likewise.
5131         * sysdeps/generic/uname.c: Likewise.
5132         * sysdeps/generic/varargs.h: Likewise.
5133         * sysdeps/generic/vlimit.c: Likewise.
5134         * sysdeps/generic/bits/sigaction.h: Likewise.
5135         * sysdeps/generic/bits/ustat.h: Likewise.
5136         * sysdeps/generic/netinet/if_ether.h: Likewise.
5137         * sysdeps/generic/sys/swap.h: Likewise.
5138         * sysdeps/generic/sys/sysinfo.h: Likewise.
5139         * sysdeps/i386/init-first.c: Likewise.
5140         * sysdeps/i386/ldbl2mpn.c: Likewise.
5141         * sysdeps/i386/memcopy.h: Likewise.
5142         * sysdeps/i386/i586/memcopy.h: Likewise.
5143         * sysdeps/i860/memcopy.h: Likewise.
5144         * sysdeps/m68k/__longjmp.c: Likewise.
5145         * sysdeps/m68k/fpu_control.h: Likewise.
5146         * sysdeps/m68k/memcopy.h: Likewise.
5147         * sysdeps/m68k/s_isinfl.c: Likewise.
5148         * sysdeps/m68k/s_isnanl.c: Likewise.
5149         * sysdeps/m68k/setjmp.c: Likewise.
5150         * sysdeps/mach/_strerror.c: Likewise.
5151         * sysdeps/mach/getsysstats.c: Likewise.
5152         * sysdeps/mach/mprotect.c: Likewise.
5153         * sysdeps/mach/munmap.c: Likewise.
5154         * sysdeps/mach/pagecopy.h: Likewise.
5155         * sysdeps/mach/start.c: Likewise.
5156         * sysdeps/mach/sysdep.h: Likewise.
5157         * sysdeps/mach/alpha/machine-lock.h: Likewise.
5158         * sysdeps/mach/alpha/machine-sp.h: Likewise.
5159         * sysdeps/mach/alpha/sysdep.h: Likewise.
5160         * sysdeps/mach/alpha/thread_state.h: Likewise.
5161         * sysdeps/mach/hppa/machine-lock.h: Likewise.
5162         * sysdeps/mach/hurd/access.c: Likewise.
5163         * sysdeps/mach/hurd/closedir.c: Likewise.
5164         * sysdeps/mach/hurd/dirstream.h: Likewise.
5165         * sysdeps/mach/hurd/dl-cache.c: Likewise.
5166         * sysdeps/mach/hurd/euidaccess.c: Likewise.
5167         * sysdeps/mach/hurd/fdatasync.c: Likewise.
5168         * sysdeps/mach/hurd/fexecve.c: Likewise.
5169         * sysdeps/mach/hurd/fork.c: Likewise.
5170         * sysdeps/mach/hurd/fpathconf.c: Likewise.
5171         * sysdeps/mach/hurd/fstatfs.c: Likewise.
5172         * sysdeps/mach/hurd/fxstat.c: Likewise.
5173         * sysdeps/mach/hurd/getcwd.c: Likewise.
5174         * sysdeps/mach/hurd/getpriority.c: Likewise.
5175         * sysdeps/mach/hurd/getrlimit.c: Likewise.
5176         * sysdeps/mach/hurd/getsid.c: Likewise.
5177         * sysdeps/mach/hurd/group_member.c: Likewise.
5178         * sysdeps/mach/hurd/kill.c: Likewise.
5179         * sysdeps/mach/hurd/lchown.c: Likewise.
5180         * sysdeps/mach/hurd/lxstat.c: Likewise.
5181         * sysdeps/mach/hurd/mig-reply.c: Likewise.
5182         * sysdeps/mach/hurd/mmap.c: Likewise.
5183         * sysdeps/mach/hurd/opendir.c: Likewise.
5184         * sysdeps/mach/hurd/pathconf.c: Likewise.
5185         * sysdeps/mach/hurd/profil.c: Likewise.
5186         * sysdeps/mach/hurd/ptrace.c: Likewise.
5187         * sysdeps/mach/hurd/readdir.c: Likewise.
5188         * sysdeps/mach/hurd/readdir_r.c: Likewise.
5189         * sysdeps/mach/hurd/send.c: Likewise.
5190         * sysdeps/mach/hurd/sendto.c: Likewise.
5191         * sysdeps/mach/hurd/setpriority.c: Likewise.
5192         * sysdeps/mach/hurd/statfs.c: Likewise.
5193         * sysdeps/mach/hurd/ttyname.c: Likewise.
5194         * sysdeps/mach/hurd/uname.c: Likewise.
5195         * sysdeps/mach/hurd/xstat.c: Likewise.
5196         * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
5197         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
5198         * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
5199         * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
5200         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
5201         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
5202         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
5203         * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
5204         * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
5205         * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
5206         * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
5207         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5208         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
5209         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
5210         * sysdeps/mach/hurd/sys/param.h: Likewise.
5211         * sysdeps/mach/i386/machine-lock.h: Likewise.
5212         * sysdeps/mach/i386/machine-sp.h: Likewise.
5213         * sysdeps/mach/i386/sysdep.h: Likewise.
5214         * sysdeps/mach/i386/thread_state.h: Likewise.
5215         * sysdeps/posix/dup2.c: Likewise.
5216         * sysdeps/posix/flock.c: Likewise.
5217         * sysdeps/posix/getdtsz.c: Likewise.
5218         * sysdeps/posix/gettimeofday.c: Likewise.
5219         * sysdeps/posix/isatty.c: Likewise.
5220         * sysdeps/posix/killpg.c: Likewise.
5221         * sysdeps/posix/mk-stdiolim.c: Likewise.
5222         * sysdeps/posix/profil.c: Likewise.
5223         * sysdeps/posix/remove.c: Likewise.
5224         * sysdeps/posix/rename.c: Likewise.
5225         * sysdeps/posix/sigsuspend.c: Likewise.
5226         * sysdeps/posix/tempname.c: Likewise.
5227         * sysdeps/posix/truncate.c: Likewise.
5228         * sysdeps/posix/utimes.c: Likewise.
5229         * sysdeps/posix/wait.c: Likewise.
5230         * sysdeps/posix/wait3.c: Likewise.
5231         * sysdeps/rs6000/memcopy.h: Likewise.
5232         * sysdeps/sparc/memcopy.h: Likewise.
5233         * sysdeps/standalone/close.c: Likewise.
5234         * sysdeps/standalone/dirstream.h: Likewise.
5235         * sysdeps/standalone/filedesc.h: Likewise.
5236         * sysdeps/standalone/open.c: Likewise.
5237         * sysdeps/standalone/read.c: Likewise.
5238         * sysdeps/standalone/standalone.h: Likewise.
5239         * sysdeps/standalone/write.c: Likewise.
5240         * sysdeps/standalone/bits/stdio_lim.h: Likewise.
5241         * sysdeps/standalone/i386/i386.h: Likewise.
5242         * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
5243         * sysdeps/stub/__longjmp.c: Likewise.
5244         * sysdeps/stub/accept.c: Likewise.
5245         * sysdeps/stub/access.c: Likewise.
5246         * sysdeps/stub/acct.c: Likewise.
5247         * sysdeps/stub/adjtime.c: Likewise.
5248         * sysdeps/stub/alarm.c: Likewise.
5249         * sysdeps/stub/bind.c: Likewise.
5250         * sysdeps/stub/brk.c: Likewise.
5251         * sysdeps/stub/bsd-_setjmp.c: Likewise.
5252         * sysdeps/stub/bsd-setjmp.c: Likewise.
5253         * sysdeps/stub/chdir.c: Likewise.
5254         * sysdeps/stub/chflags.c: Likewise.
5255         * sysdeps/stub/chmod.c: Likewise.
5256         * sysdeps/stub/chown.c: Likewise.
5257         * sysdeps/stub/chroot.c: Likewise.
5258         * sysdeps/stub/clock.c: Likewise.
5259         * sysdeps/stub/close.c: Likewise.
5260         * sysdeps/stub/closedir.c: Likewise.
5261         * sysdeps/stub/connect.c: Likewise.
5262         * sysdeps/stub/ctermid.c: Likewise.
5263         * sysdeps/stub/cuserid.c: Likewise.
5264         * sysdeps/stub/dbl2mpn.c: Likewise.
5265         * sysdeps/stub/dirstream.h: Likewise.
5266         * sysdeps/stub/dup.c: Likewise.
5267         * sysdeps/stub/dup2.c: Likewise.
5268         * sysdeps/stub/exc2signal.c: Likewise.
5269         * sysdeps/stub/execve.c: Likewise.
5270         * sysdeps/stub/fchflags.c: Likewise.
5271         * sysdeps/stub/fchown.c: Likewise.
5272         * sysdeps/stub/fcntl.c: Likewise.
5273         * sysdeps/stub/fdopen.c: Likewise.
5274         * sysdeps/stub/fexecve.c: Likewise.
5275         * sysdeps/stub/flock.c: Likewise.
5276         * sysdeps/stub/fork.c: Likewise.
5277         * sysdeps/stub/fpathconf.c: Likewise.
5278         * sysdeps/stub/fpu_control.h: Likewise.
5279         * sysdeps/stub/fstatfs.c: Likewise.
5280         * sysdeps/stub/fsync.c: Likewise.
5281         * sysdeps/stub/ftruncate.c: Likewise.
5282         * sysdeps/stub/fxstat.c: Likewise.
5283         * sysdeps/stub/getcwd.c: Likewise.
5284         * sysdeps/stub/getdomain.c: Likewise.
5285         * sysdeps/stub/getdtsz.c: Likewise.
5286         * sysdeps/stub/getegid.c: Likewise.
5287         * sysdeps/stub/geteuid.c: Likewise.
5288         * sysdeps/stub/getgid.c: Likewise.
5289         * sysdeps/stub/getgroups.c: Likewise.
5290         * sysdeps/stub/gethostid.c: Likewise.
5291         * sysdeps/stub/gethostname.c: Likewise.
5292         * sysdeps/stub/getitimer.c: Likewise.
5293         * sysdeps/stub/getpeername.c: Likewise.
5294         * sysdeps/stub/getpgid.c: Likewise.
5295         * sysdeps/stub/getpid.c: Likewise.
5296         * sysdeps/stub/getppid.c: Likewise.
5297         * sysdeps/stub/getpriority.c: Likewise.
5298         * sysdeps/stub/getrlimit.c: Likewise.
5299         * sysdeps/stub/getrusage.c: Likewise.
5300         * sysdeps/stub/getsid.c: Likewise.
5301         * sysdeps/stub/getsockname.c: Likewise.
5302         * sysdeps/stub/getsockopt.c: Likewise.
5303         * sysdeps/stub/getsysstats.c: Likewise.
5304         * sysdeps/stub/gettimeofday.c: Likewise.
5305         * sysdeps/stub/getuid.c: Likewise.
5306         * sysdeps/stub/gtty.c: Likewise.
5307         * sysdeps/stub/if_index.c: Likewise.
5308         * sysdeps/stub/init-posix.c: Likewise.
5309         * sysdeps/stub/ioctl.c: Likewise.
5310         * sysdeps/stub/isatty.c: Likewise.
5311         * sysdeps/stub/isfdtype.c: Likewise.
5312         * sysdeps/stub/jmp-unwind.c: Likewise.
5313         * sysdeps/stub/kill.c: Likewise.
5314         * sysdeps/stub/killpg.c: Likewise.
5315         * sysdeps/stub/ldbl2mpn.c: Likewise.
5316         * sysdeps/stub/link.c: Likewise.
5317         * sysdeps/stub/listen.c: Likewise.
5318         * sysdeps/stub/lockfile.c: Likewise.
5319         * sysdeps/stub/longjmp-ts.c: Likewise.
5320         * sysdeps/stub/lseek.c: Likewise.
5321         * sysdeps/stub/lxstat.c: Likewise.
5322         * sysdeps/stub/machine-lock.h: Likewise.
5323         * sysdeps/stub/machine-sp.h: Likewise.
5324         * sysdeps/stub/madvise.c: Likewise.
5325         * sysdeps/stub/mkdir.c: Likewise.
5326         * sysdeps/stub/mkfifo.c: Likewise.
5327         * sysdeps/stub/mmap.c: Likewise.
5328         * sysdeps/stub/morecore.c: Likewise.
5329         * sysdeps/stub/mpn2dbl.c: Likewise.
5330         * sysdeps/stub/mpn2flt.c: Likewise.
5331         * sysdeps/stub/mpn2ldbl.c: Likewise.
5332         * sysdeps/stub/mprotect.c: Likewise.
5333         * sysdeps/stub/msgctl.c: Likewise.
5334         * sysdeps/stub/msgget.c: Likewise.
5335         * sysdeps/stub/msgrcv.c: Likewise.
5336         * sysdeps/stub/msgsnd.c: Likewise.
5337         * sysdeps/stub/munmap.c: Likewise.
5338         * sysdeps/stub/nanosleep.c: Likewise.
5339         * sysdeps/stub/nice.c: Likewise.
5340         * sysdeps/stub/nlist.c: Likewise.
5341         * sysdeps/stub/open.c: Likewise.
5342         * sysdeps/stub/opendir.c: Likewise.
5343         * sysdeps/stub/pathconf.c: Likewise.
5344         * sysdeps/stub/pause.c: Likewise.
5345         * sysdeps/stub/pipestream.c: Likewise.
5346         * sysdeps/stub/poll.c: Likewise.
5347         * sysdeps/stub/profil.c: Likewise.
5348         * sysdeps/stub/ptrace.c: Likewise.
5349         * sysdeps/stub/putenv.c: Likewise.
5350         * sysdeps/stub/read.c: Likewise.
5351         * sysdeps/stub/readdir.c: Likewise.
5352         * sysdeps/stub/readdir_r.c: Likewise.
5353         * sysdeps/stub/readlink.c: Likewise.
5354         * sysdeps/stub/reboot.c: Likewise.
5355         * sysdeps/stub/recv.c: Likewise.
5356         * sysdeps/stub/recvfrom.c: Likewise.
5357         * sysdeps/stub/recvmsg.c: Likewise.
5358         * sysdeps/stub/remove.c: Likewise.
5359         * sysdeps/stub/rename.c: Likewise.
5360         * sysdeps/stub/revoke.c: Likewise.
5361         * sysdeps/stub/rewinddir.c: Likewise.
5362         * sysdeps/stub/rmdir.c: Likewise.
5363         * sysdeps/stub/sbrk.c: Likewise.
5364         * sysdeps/stub/sched_getp.c: Likewise.
5365         * sysdeps/stub/sched_gets.c: Likewise.
5366         * sysdeps/stub/sched_primax.c: Likewise.
5367         * sysdeps/stub/sched_primin.c: Likewise.
5368         * sysdeps/stub/sched_rr_gi.c: Likewise.
5369         * sysdeps/stub/sched_setp.c: Likewise.
5370         * sysdeps/stub/sched_sets.c: Likewise.
5371         * sysdeps/stub/sched_yield.c: Likewise.
5372         * sysdeps/stub/seekdir.c: Likewise.
5373         * sysdeps/stub/select.c: Likewise.
5374         * sysdeps/stub/semctl.c: Likewise.
5375         * sysdeps/stub/semget.c: Likewise.
5376         * sysdeps/stub/semop.c: Likewise.
5377         * sysdeps/stub/send.c: Likewise.
5378         * sysdeps/stub/sendmsg.c: Likewise.
5379         * sysdeps/stub/sendto.c: Likewise.
5380         * sysdeps/stub/setdomain.c: Likewise.
5381         * sysdeps/stub/setegid.c: Likewise.
5382         * sysdeps/stub/setenv.c: Likewise.
5383         * sysdeps/stub/seteuid.c: Likewise.
5384         * sysdeps/stub/setgid.c: Likewise.
5385         * sysdeps/stub/setgroups.c: Likewise.
5386         * sysdeps/stub/sethostid.c: Likewise.
5387         * sysdeps/stub/sethostname.c: Likewise.
5388         * sysdeps/stub/setjmp.c: Likewise.
5389         * sysdeps/stub/setlogin.c: Likewise.
5390         * sysdeps/stub/setpgid.c: Likewise.
5391         * sysdeps/stub/setpriority.c: Likewise.
5392         * sysdeps/stub/setregid.c: Likewise.
5393         * sysdeps/stub/setreuid.c: Likewise.
5394         * sysdeps/stub/setrlimit.c: Likewise.
5395         * sysdeps/stub/setsid.c: Likewise.
5396         * sysdeps/stub/setsockopt.c: Likewise.
5397         * sysdeps/stub/settimeofday.c: Likewise.
5398         * sysdeps/stub/setuid.c: Likewise.
5399         * sysdeps/stub/shmctl.c: Likewise.
5400         * sysdeps/stub/shmget.c: Likewise.
5401         * sysdeps/stub/shutdown.c: Likewise.
5402         * sysdeps/stub/sigaction.c: Likewise.
5403         * sysdeps/stub/sigaltstack.c: Likewise.
5404         * sysdeps/stub/sigblock.c: Likewise.
5405         * sysdeps/stub/sigintr.c: Likewise.
5406         * sysdeps/stub/sigpending.c: Likewise.
5407         * sysdeps/stub/sigprocmask.c: Likewise.
5408         * sysdeps/stub/sigreturn.c: Likewise.
5409         * sysdeps/stub/sigsetmask.c: Likewise.
5410         * sysdeps/stub/sigstack.c: Likewise.
5411         * sysdeps/stub/sigsuspend.c: Likewise.
5412         * sysdeps/stub/sigvec.c: Likewise.
5413         * sysdeps/stub/socket.c: Likewise.
5414         * sysdeps/stub/socketpair.c: Likewise.
5415         * sysdeps/stub/sstk.c: Likewise.
5416         * sysdeps/stub/statfs.c: Likewise.
5417         * sysdeps/stub/stdio_init.c: Likewise.
5418         * sysdeps/stub/stime.c: Likewise.
5419         * sysdeps/stub/stty.c: Likewise.
5420         * sysdeps/stub/swapoff.c: Likewise.
5421         * sysdeps/stub/swapon.c: Likewise.
5422         * sysdeps/stub/symlink.c: Likewise.
5423         * sysdeps/stub/sync.c: Likewise.
5424         * sysdeps/stub/syscall.c: Likewise.
5425         * sysdeps/stub/sysd-stdio.c: Likewise.
5426         * sysdeps/stub/system.c: Likewise.
5427         * sysdeps/stub/tcdrain.c: Likewise.
5428         * sysdeps/stub/tcflow.c: Likewise.
5429         * sysdeps/stub/tcflush.c: Likewise.
5430         * sysdeps/stub/tcgetattr.c: Likewise.
5431         * sysdeps/stub/tcgetpgrp.c: Likewise.
5432         * sysdeps/stub/tcsendbrk.c: Likewise.
5433         * sysdeps/stub/tcsetpgrp.c: Likewise.
5434         * sysdeps/stub/telldir.c: Likewise.
5435         * sysdeps/stub/thread_state.h: Likewise.
5436         * sysdeps/stub/time.c: Likewise.
5437         * sysdeps/stub/times.c: Likewise.
5438         * sysdeps/stub/trampoline.c: Likewise.
5439         * sysdeps/stub/truncate.c: Likewise.
5440         * sysdeps/stub/ttyname.c: Likewise.
5441         * sysdeps/stub/ttyname_r.c: Likewise.
5442         * sysdeps/stub/ualarm.c: Likewise.
5443         * sysdeps/stub/ulimit.c: Likewise.
5444         * sysdeps/stub/umask.c: Likewise.
5445         * sysdeps/stub/unlink.c: Likewise.
5446         * sysdeps/stub/usleep.c: Likewise.
5447         * sysdeps/stub/ustat.c: Likewise.
5448         * sysdeps/stub/utime.c: Likewise.
5449         * sysdeps/stub/utimes.c: Likewise.
5450         * sysdeps/stub/vdprintf.c: Likewise.
5451         * sysdeps/stub/vhangup.c: Likewise.
5452         * sysdeps/stub/wait.c: Likewise.
5453         * sysdeps/stub/wait3.c: Likewise.
5454         * sysdeps/stub/wait4.c: Likewise.
5455         * sysdeps/stub/waitpid.c: Likewise.
5456         * sysdeps/stub/write.c: Likewise.
5457         * sysdeps/stub/xmknod.c: Likewise.
5458         * sysdeps/stub/xstat.c: Likewise.
5459         * sysdeps/stub/bits/errno.h: Likewise.
5460         * sysdeps/stub/bits/sigcontext.h: Likewise.
5461         * sysdeps/unix/fxstat.c: Likewise.
5462         * sysdeps/unix/mk-local_lim.c: Likewise.
5463         * sysdeps/unix/mkdir.c: Likewise.
5464         * sysdeps/unix/nice.c: Likewise.
5465         * sysdeps/unix/rmdir.c: Likewise.
5466         * sysdeps/unix/stime.c: Likewise.
5467         * sysdeps/unix/telldir.c: Likewise.
5468         * sysdeps/unix/xstat.c: Likewise.
5469         * sysdeps/unix/arm/sysdep.h: Likewise.
5470         * sysdeps/unix/bsd/ftime.c: Likewise.
5471         * sysdeps/unix/bsd/isatty.c: Likewise.
5472         * sysdeps/unix/bsd/setegid.c: Likewise.
5473         * sysdeps/unix/bsd/seteuid.c: Likewise.
5474         * sysdeps/unix/bsd/setsid.c: Likewise.
5475         * sysdeps/unix/bsd/sigaction.c: Likewise.
5476         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5477         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5478         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5479         * sysdeps/unix/bsd/times.c: Likewise.
5480         * sysdeps/unix/bsd/ulimit.c: Likewise.
5481         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
5482         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
5483         * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
5484         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
5485         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
5486         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
5487         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
5488         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
5489         * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
5490         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
5491         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
5492         * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
5493         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
5494         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
5495         * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
5496         * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
5497         * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
5498         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
5499         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
5500         * sysdeps/unix/common/lxstat.c: Likewise.
5501         * sysdeps/unix/common/tcsendbrk.c: Likewise.
5502         * sysdeps/unix/common/bits/dirent.h: Likewise.
5503         * sysdeps/unix/i386/sysdep.h: Likewise.
5504         * sysdeps/unix/mips/sysdep.h: Likewise.
5505         * sysdeps/unix/sysv/setrlimit.c: Likewise.
5506         * sysdeps/unix/sysv/settimeofday.c: Likewise.
5507         * sysdeps/unix/sysv/sigaction.c: Likewise.
5508         * sysdeps/unix/sysv/sysv_termio.h: Likewise.
5509         * sysdeps/unix/sysv/tcdrain.c: Likewise.
5510         * sysdeps/unix/sysv/tcflow.c: Likewise.
5511         * sysdeps/unix/sysv/tcflush.c: Likewise.
5512         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5513         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5514         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5515         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
5516         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
5517         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
5518         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
5519         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5520         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5521         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
5522         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5523         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5524         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
5525         * sysdeps/unix/sysv/linux/speed.c: Likewise.
5526         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5527         * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
5528         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
5529         * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
5530         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
5531         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
5532         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
5533         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
5534         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5535         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
5536         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
5537         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
5538         * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
5539         * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
5540         * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
5541         * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
5542         * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
5543         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
5544         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
5545         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
5546         * sysdeps/vax/fl.h: Likewise.
5547         * sysdeps/vax/setjmp.c: Likewise.
5549 1997-06-21 16:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5551         * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
5552         and NaN strings.
5554 1997-06-20 21:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5556         * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
5557         argument.
5558         (__ilogb): Remove special case for zero, add stupid special case
5559         for NaN.
5560         (__ieee754_scalb): Remove definition.
5561         * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
5562         * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
5564         * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
5565         * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
5566         * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
5568         * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
5569         returning NaN.  Handle zero specially.
5570         * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
5571         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
5573         * math/libm-test.c (ilogb_test): Don't require exceptions for zero
5574         and NaN.
5575         (gamma_test): Use different argument when checking whether
5576         function is implemented.
5577         (scalb_test): Remove duplicate tests.
5579 1997-06-03 15:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5581         * Makerules (+depfiles): Add dependencies for $(test-srcs).
5582         (distinfo-vars): Add test-srcs.
5584 1997-06-21 17:35  Ulrich Drepper  <drepper@cygnus.com>
5586         * argp/argp.h: Remove extra #endif.  Pretty print.
5587         * md5-crypt/md5.h: Likewise.
5589         * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
5590         * wctype/wctype.h: Likewise.
5592         * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
5593         directory.
5595         * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
5596         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
5597         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
5598         * sysdeps/libm-i387/s_lrint.S: Likewise.
5599         * sysdeps/libm-i387/s_llrint.S: Likewise.
5601 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
5603         * config.h.in: Add DO_STATIC_NSS.
5604         * config.make.in: Add build-static-nss.
5606         * elf/eval.c: Use __getdelim instead of __getline.
5608         * locale/programs/locale.c: Correct comment.
5610         * manual/libc.texinfo: Update copyright and date.
5611         Remove A4 option.
5613         * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
5614         for gamma overflow.
5615         * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
5616         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5617         * sysdeps/libm-ieee754/w_gammalp.c: Likewise.
5619         * po/ko.po: Update.
5621 1997-06-13 10:06  Richard Henderson  <rth@tamu.edu>
5623         The Great Bit File Move:
5624         * configure.in (AC_INIT): Look in include/ for features.h.
5625         (sysnames): Add include as the final search directory.
5626         (AC_OUTPUT): Create a bits directory in the build directory.
5627         * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
5628         * Makefile: Make sure the target directory exists when installing
5629         <gnu/stubs.h> and <gnu/lib-names.h>.
5630         * csu/Makefile: Use $(compile.S) and $(compile.c) instead of
5631         invoking $(CC) directly, as the former have the full include path.
5633         * ansidecl.h: Removed.
5635         * aliases.h: Moved to include/.
5636         * alloca.h: Likewise.
5637         * argp.h: Likewise.
5638         * argz.h: Likewise.
5639         * arpa/ftp.h: Likewise.
5640         * arpa/inet.h: Likewise.
5641         * arpa/nameser.h: Likewise.
5642         * arpa/telnet.h: Likewise.
5643         * arpa/tftp.h: Likewise.
5644         * assert.h: Likewise.
5645         * ctype.h: Likewise.
5646         * db.h: Likewise.
5647         * dirent.h: Likewise.
5648         * dlfcn.h: Likewise.
5649         * elf.h: Likewise.
5650         * endian.h: Likewise.
5651         * envz.h: Likewise.
5652         * err.h: Likewise.
5653         * errno.h: Likewise.
5654         * error.h: Likewise.
5655         * fcntl.h: Likewise.
5656         * features.h: Likewise.
5657         * fnmatch.h: Likewise.
5658         * ftw.h: Likewise.
5659         * getopt.h: Likewise.
5660         * glob.h: Likewise.
5661         * gnu-versions.h: Likewise.
5662         * grp.h: Likewise.
5663         * langinfo.h: Likewise.
5664         * libc-symbols.h: Likewise.
5665         * libgen.h: Likewise.
5666         * libintl.h: Likewise.
5667         * limits.h: Likewise.
5668         * linewrap.h: Likewise.
5669         * link.h: Likewise.
5670         * locale.h: Likewise.
5671         * malloc.h: Likewise.
5672         * math.h: Likewise.
5673         * mathcalls.h: Likewise.
5674         * mcheck.h: Likewise.
5675         * memory.h: Likewise.
5676         * netdb.h: Likewise.
5677         * netgroup.h: Likewise.
5678         * netinet/ether.h: Likewise.
5679         * netinet/in.h: Likewise.
5680         * nlist.h: Likewise.
5681         * nss.h: Likewise.
5682         * nsswitch.h: Likewise.
5683         * obstack.h: Likewise.
5684         * poll.h: Likewise.
5685         * posix1_lim.h: Likewise.
5686         * posix2_lim.h: Likewise.
5687         * printf.h: Likewise.
5688         * protocols/routed.h: Likewise.
5689         * protocols/rwhod.h: Likewise.
5690         * protocols/talkd.h: Likewise.
5691         * protocols/timed.h: Likewise.
5692         * pwd.h: Likewise.
5693         * regex.h: Likewise.
5694         * resolv.h: Likewise.
5695         * rpc/auth_unix.h: Likewise.
5696         * rpc/clnt.h: Likewise.
5697         * rpc/netdb.h: Likewise.
5698         * rpc/pmap_clnt.h: Likewise.
5699         * rpc/pmap_prot.h: Likewise.
5700         * rpc/pmap_rmt.h: Likewise.
5701         * rpc/rpc.h: Likewise.
5702         * rpc/rpc_msg.h: Likewise.
5703         * rpc/svc.h: Likewise.
5704         * rpc/svc_auth.h: Likewise.
5705         * rpc/types.h: Likewise.
5706         * rpc/xdr.h: Likewise.
5707         * sched.h: Likewise.
5708         * search.h: Likewise.
5709         * set-hooks.h: Likewise.
5710         * setjmp.h: Likewise.
5711         * sgtty.h: Likewise.
5712         * shadow.h: Likewise.
5713         * signal.h: Likewise.
5714         * stab.def: Likewise.
5715         * stab.h: Likewise.
5716         * stdio.h: Likewise.
5717         * stdlib.h: Likewise.
5718         * string.h: Likewise.
5719         * strings.h: Likewise.
5720         * sys/bitypes.h: Likewise.
5721         * sys/cdefs.h: Likewise.
5722         * sys/dir.h: Likewise.
5723         * sys/errno.h: Likewise.
5724         * sys/fcntl.h: Likewise.
5725         * sys/file.h: Likewise.
5726         * sys/gmon.h: Likewise.
5727         * sys/ioctl.h: Likewise.
5728         * sys/ipc.h: Likewise.
5729         * sys/msg.h: Likewise.
5730         * sys/poll.h: Likewise.
5731         * sys/queue.h: Likewise.
5732         * sys/resource.h: Likewise.
5733         * sys/select.h: Likewise.
5734         * sys/sem.h: Likewise.
5735         * sys/shm.h: Likewise.
5736         * sys/signal.h: Likewise.
5737         * sys/socket.h: Likewise.
5738         * sys/stat.h: Likewise.
5739         * sys/statfs.h: Likewise.
5740         * sys/syslog.h: Likewise.
5741         * sys/termios.h: Likewise.
5742         * sys/time.h: Likewise.
5743         * sys/timeb.h: Likewise.
5744         * sys/times.h: Likewise.
5745         * sys/types.h: Likewise.
5746         * sys/uio.h: Likewise.
5747         * sys/un.h: Likewise.
5748         * sys/unistd.h: Likewise.
5749         * sys/utsname.h: Likewise.
5750         * sys/vlimit.h: Likewise.
5751         * sys/vtimes.h: Likewise.
5752         * sys/wait.h: Likewise.
5753         * syscall.h: Likewise.
5754         * syslog.h: Likewise.
5755         * tar.h: Likewise.
5756         * termios.h: Likewise.
5757         * time.h: Likewise.
5758         * ttyent.h: Likewise.
5759         * unistd.h: Likewise.
5760         * utime.h: Likewise.
5761         * utmp.h: Likewise.
5762         * values.h: Likewise.
5763         * wchar.h: Likewise.
5764         * wctype.h: Likewise.
5765         * wordexp.h: Likewise.
5766         * xlocale.h: Likewise.
5767         * xopen_lim.h: Likewise.
5769         * sysdeps/mach/libc-lock.h: Likewise.
5770         * sysdeps/stub/libc-lock.h: Likewise.
5771         * sysdeps/mach/hurd/local_lim.h: Likewise.
5772         * sysdeps/stub/local_lim.h: Likewise.
5773         * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
5774         * sysdeps/unix/sysv/local_lim.h: Likewise.
5775         * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
5776         * sysdeps/mach/hurd/posix_opt.h: Likewise.
5777         * sysdeps/stub/posix_opt.h: Likewise.
5778         * sysdeps/unix/bsd/posix_opt.h: Likewise.
5779         * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
5780         * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
5781         * math/cmathcalls.h: -> bits/
5782         * math/mathcalls.h: Likewise.
5783         * misc/stab.def: -> bits/
5784         * posix/posix1_lim.h: -> bits/
5785         * posix/posix2_lim.h: Likewise.
5786         * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
5787         * sysdeps/i386/fpu/__math.h: Likewise.
5788         * sysdeps/m68k/fpu/__math.h: Likewise.
5789         * sysdeps/m68k/fpu/switch/__math.h: Likewise.
5790         * sysdeps/powerpc/__math.h: Likewise.
5791         * sysdeps/stub/__math.h: Likewise.
5792         * sysdeps/alpha/bytesex.h: -> .../bits/endian.h
5793         * sysdeps/arm/bytesex.h: Likewise.
5794         * sysdeps/i386/bytesex.h: Likewise.
5795         * sysdeps/m68k/bytesex.h: Likewise.
5796         * sysdeps/mips/bytesex.h: Likewise.
5797         * sysdeps/mips/dec/bytesex.h: Likewise.
5798         * sysdeps/mips/mipsel/bytesex.h: Likewise.
5799         * sysdeps/mips/p40/bytesex.h: Likewise.
5800         * sysdeps/sparc/bytesex.h: Likewise.
5801         * sysdeps/stub/bytesex.h: Likewise.
5802         * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
5803         * sysdeps/i386/fpu/fenvbits.h: Likewise.
5804         * sysdeps/m68k/fpu/fenvbits.h: Likewise.
5805         * sysdeps/powerpc/fenvbits.h: Likewise.
5806         * sysdeps/stub/fenvbits.h: Likewise.
5807         * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
5808         * sysdeps/arm/jmp_buf.h: Likewise.
5809         * sysdeps/i386/jmp_buf.h: Likewise.
5810         * sysdeps/m68k/jmp_buf.h: Likewise.
5811         * sysdeps/mips/jmp_buf.h: Likewise.
5812         * sysdeps/sparc/jmp_buf.h: Likewise.
5813         * sysdeps/powerpc/jmp_buf.h: Likewise.
5814         * sysdeps/stub/jmp_buf.h: Likewise.
5815         * sysdeps/vax/jmp_buf.h: Likewise.
5816         * sysdeps/generic/confname.h: -> bits/
5817         * sysdeps/unix/sysv/irix4/confname.h: Likewise.
5818         * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
5819         * sysdeps/generic/gnu/types.h: -> ../bits/types.h
5820         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
5821         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
5822         * sysdeps/generic/ioctl-types.h: -> bits/
5823         * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
5824         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
5825         * sysdeps/generic/iovec.h: -> .../bits/uio.h
5826         * sysdeps/unix/sysv/linux/iovec.h: Likewise.
5827         * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
5828         * sysdeps/i386/fpu/mathbits.h: Likewise.
5829         * sysdeps/m68k/fpu/mathbits.h: Likewise.
5830         * sysdeps/powerpc/mathbits.h: Likewise.
5831         * sysdeps/generic/resourcebits.h: -> .../bits/resource.h
5832         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
5833         * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
5834         * sysdeps/generic/schedbits.h: -> .../bits/sched.h
5835         * sysdeps/unix/sysv/linux/schedbits.h: Likewise.
5836         * sysdeps/generic/selectbits.h: -> .../bits/select.h
5837         * sysdeps/i386/selectbits.h: Likewise.
5838         * sysdeps/generic/sigaction.h: -> bits/
5839         * sysdeps/unix/bsd/osf/sigaction.h: Likewise.
5840         * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
5841         * sysdeps/unix/sysv/linux/sigaction.h: Likewise.
5842         * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
5843         * sysdeps/unix/sysv/minix/sigaction.h: Likewise.
5844         * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
5845         * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
5846         * sysdeps/generic/sigset.h: -> bits/
5847         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
5848         * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
5849         * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
5850         * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
5851         * sysdeps/generic/socketbits.h: -> .../bits/socket.h
5852         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
5853         * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
5854         * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
5855         * sysdeps/generic/termbits.h: -> .../bits/termios.h
5856         * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
5857         * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
5858         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
5859         * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
5860         * sysdeps/unix/sysv/linux/termbits.h: Likewise.
5861         * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
5862         * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
5863         * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
5864         * sysdeps/gnu/utmpbits.h: Likewise.
5865         * sysdeps/unix/sysv/utmpbits.h: Likewise.
5866         * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
5867         * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
5868         * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
5869         * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
5870         * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
5871         * sysdeps/unix/sysv/utsnamelen.h: Likewise.
5872         * sysdeps/generic/waitstatus.h: -> bits/
5873         * sysdeps/i386/huge_val.h: -> bits/
5874         * sysdeps/ieee754/huge_val.h: Likewise.
5875         * sysdeps/m68k/huge_val.h: Likewise.
5876         * sysdeps/stub/huge_val.h: Likewise.
5877         * sysdeps/vax/huge_val.h: Likewise.
5878         * sysdeps/ieee754/nan.h: Likewise.
5879         * sysdeps/stub/nan.h: Likewise.
5880         * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
5881         * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
5882         * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
5883         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
5884         * sysdeps/stub/sigcontext.h: Likewise.
5885         * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
5886         * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
5887         * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
5888         * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
5889         * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
5890         * sysdeps/standalone/arm/errnos.h: Likewise.
5891         * sysdeps/stub/errnos.h: Likewise.
5892         * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
5893         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
5894         * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
5895         * sysdeps/stub/fcntlbits.h: Likewise.
5896         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
5897         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
5898         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
5899         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
5900         * sysdeps/unix/common/fcntlbits.h: Likewise.
5901         * sysdeps/unix/sysv/fcntlbits.h: Likewise.
5902         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
5903         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
5904         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
5905         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
5906         * sysdeps/mach/hurd/ioctls.h: -> bits/
5907         * sysdeps/stub/ioctls.h: Likewise.
5908         * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
5909         * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
5910         * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
5911         * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
5912         * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
5913         * sysdeps/stub/statbuf.h: Likewise.
5914         * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
5915         * sysdeps/unix/bsd/statbuf.h: Likewise.
5916         * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
5917         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
5918         * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
5919         * sysdeps/unix/sysv/statbuf.h: Likewise.
5920         * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
5921         * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
5922         * sysdeps/standalone/stdio_lim.h: -> bits/
5923         * sysdeps/stub/stdio_lim.h: Likewise.
5924         * sysdeps/stub/direntry.h: -> ../bits/dirent.h
5925         * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
5926         * sysdeps/unix/bsd/direntry.h: Likewise.
5927         * sysdeps/unix/common/direntry.h: Likewise.
5928         * sysdeps/unix/sysv/direntry.h: Likewise.
5929         * sysdeps/unix/sysv/linux/direntry.h: Likewise.
5930         * sysdeps/stub/elfclass.h: -> bits/
5931         * sysdeps/wordsize-32/elfclass.h: Likewise.
5932         * sysdeps/wordsize-64/elfclass.h: Likewise.
5933         * sysdeps/stub/signum.h: -> bits/
5934         * sysdeps/unix/bsd/signum.h: Likewise.
5935         * sysdeps/unix/bsd/sun/signum.h: Likewise.
5936         * sysdeps/unix/sysv/irix4/signum.h: Likewise.
5937         * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
5938         * sysdeps/unix/sysv/linux/signum.h: Likewise.
5939         * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
5940         * sysdeps/unix/sysv/signum.h: Likewise.
5941         * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
5942         * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
5943         * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
5944         * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
5945         * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
5946         * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
5947         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
5948         * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
5949         * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
5950         * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
5951         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
5952         * sysdeps/stub/timebits.h: -> .../bits/time.h
5953         * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
5954         * sysdeps/unix/sysv/linux/timebits.h: Likewise.
5955         * sysdeps/stub/waitflags.h: -> bits/
5956         * sysdeps/unix/bsd/waitflags.h: Likewise.
5957         * sysdeps/unix/sysv/linux/waitflags.h: Likewise.
5958         * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
5959         * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
5960         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
5961         * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
5962         * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
5964         * argp/argp-fmtstream.h: Standardize the multiple-include protect.
5965         * argp/argp.h: Likewise.
5966         * catgets/nl_types.h: Likewise.
5967         * crypt/sysdeps/unix/crypt.h: Likewise.
5968         * ctype/ctype.h: Likewise.
5969         * db/db.h: Likewise.
5970         * db/mpool.h: Likewise.
5971         * db/ndbm.h: Likewise.
5972         * dirent/dirent.h: Likewise.
5973         * elf/dlfcn.h: Likewise.
5974         * elf/elf.h: Likewise.
5975         * elf/link.h: Likewise.
5976         * gmon/sys/gmon.h: Likewise.
5977         * gmon/sys/gmon_out.h: Likewise.
5978         * grp/grp.h: Likewise.
5979         * inet/aliases.h: Likewise.
5980         * inet/arpa/ftp.h: Likewise.
5981         * inet/arpa/inet.h: Likewise.
5982         * inet/arpa/telnet.h: Likewise.
5983         * inet/arpa/tftp.h: Likewise.
5984         * inet/netinet/ether.h: Likewise.
5985         * inet/netinet/icmp6.h: Likewise.
5986         * inet/netinet/in.h: Likewise.
5987         * inet/netinet/ip6.h: Likewise.
5988         * inet/protocols/routed.h: Likewise.
5989         * inet/protocols/rwhod.h: Likewise.
5990         * inet/protocols/talkd.h: Likewise.
5991         * inet/protocols/timed.h: Likewise.
5992         * intl/libintl.h: Likewise.
5993         * io/fcntl.h: Likewise.
5994         * io/fts.h: Likewise.
5995         * io/ftw.h: Likewise.
5996         * io/sys/poll.h: Likewise.
5997         * io/sys/stat.h: Likewise.
5998         * io/sys/statfs.h: Likewise.
5999         * io/utime.h: Likewise.
6000         * locale/locale.h: Likewise.
6001         * login/pty.h: Likewise.
6002         * login/utmp.h: Likewise.
6003         * malloc/malloc.h: Likewise.
6004         * malloc/obstack.h: Likewise.
6005         * math/complex.h: Likewise.
6006         * math/fenv.h: Likewise.
6007         * math/math.h: Likewise.
6008         * md5-crypt/md5.h: Likewise.
6009         * misc/ar.h: Likewise.
6010         * misc/err.h: Likewise.
6011         * misc/error.h: Likewise.
6012         * misc/fstab.h: Likewise.
6013         * misc/libgen.h: Likewise.
6014         * misc/nlist.h: Likewise.
6015         * misc/sys/cdefs.h: Likewise.
6016         * misc/sys/file.h: Likewise.
6017         * misc/sys/ioctl.h: Likewise.
6018         * misc/sys/queue.h: Likewise.
6019         * misc/sys/select.h: Likewise.
6020         * misc/sys/syslog.h: Likewise.
6021         * misc/sys/uio.h: Likewise.
6022         * misc/sysexits.h: Likewise.
6023         * misc/ttyent.h: Likewise.
6024         * nss/nss.h: Likewise.
6025         * posix/fnmatch.h: Likewise.
6026         * posix/getopt.h: Likewise.
6027         * posix/glob.h: Likewise.
6028         * posix/regex.h: Likewise.
6029         * posix/sys/times.h: Likewise.
6030         * posix/sys/types.h: Likewise.
6031         * posix/sys/utsname.h: Likewise.
6032         * posix/sys/wait.h: Likewise.
6033         * posix/tar.h: Likewise.
6034         * posix/unistd.h: Likewise.
6035         * posix/wordexp.h: Likewise.
6036         * pwd/pwd.h: Likewise.
6037         * resolv/arpa/nameser.h: Likewise.
6038         * resolv/netdb.h: Likewise.
6039         * resolv/resolv.h: Likewise.
6040         * resource/sys/resource.h: Likewise.
6041         * resource/sys/vlimit.h: Likewise.
6042         * resource/sys/vtimes.h: Likewise.
6043         * setjmp/setjmp.h: Likewise.
6044         * shadow/shadow.h: Likewise.
6045         * socket/sys/socket.h: Likewise.
6046         * socket/sys/un.h: Likewise.
6047         * stdlib/exit.h: Likewise.
6048         * stdlib/fmtmsg.h: Likewise.
6049         * stdlib/monetary.h: Likewise.
6050         * stdlib/stdlib.h: Likewise.
6051         * string/argz.h: Likewise.
6052         * string/envz.h: Likewise.
6053         * string/memory.h: Likewise.
6054         * string/string.h: Likewise.
6055         * string/strings.h: Likewise.
6056         * sunrpc/rpc/rpc.h: Likewise.
6057         * sunrpc/rpc/svc.h: Likewise.
6058         * sunrpc/rpc/types.h: Likewise.
6059         * sunrpc/rpc/xdr.h: Likewise.
6060         * termios/sys/ttychars.h: Likewise.
6061         * termios/termios.h: Likewise.
6063         * argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
6064         * crypt/sysdeps/unix/crypt_util.c: Likewise.
6065         * dirent/dirent.h: Likewise.
6066         * elf/link.h: Likewise.
6067         * grp/fgetgrent.c: Likewise.
6068         * grp/grp.h: Likewise.
6069         * hurd/hurd/ioctl.h: Likewise.
6070         * inet/getnameinfo.c: Likewise.
6071         * inet/getnetgrent_r.c: Likewise.
6072         * inet/inet_ntoa.c: Likewise.
6073         * inet/netinet/in.h: Likewise.
6074         * io/fcntl.h: Likewise.
6075         * io/ftw.h: Likewise.
6076         * io/sys/stat.h: Likewise.
6077         * io/sys/statfs.h: Likewise.
6078         * io/utime.h: Likewise.
6079         * libio/_G_config.h: Likewise.
6080         * libio/libio.h: Likewise.
6081         * libio/libioP.h: Likewise.
6082         * libio/stdio.h: Likewise.
6083         * locale/duplocale.c: Likewise.
6084         * locale/freelocale.c: Likewise.
6085         * locale/lc-time.c: Likewise.
6086         * locale/setlocale.c: Likewise.
6087         * login/getutent_r.c: Likewise.
6088         * login/getutid_r.c: Likewise.
6089         * login/getutline_r.c: Likewise.
6090         * login/lastlog.h: Likewise.
6091         * login/pty.h: Likewise.
6092         * login/utmp.h: Likewise.
6093         * login/utmpname.c: Likewise.
6094         * malloc/mtrace.c: Likewise.
6095         * malloc/thread-m.h: Likewise.
6096         * math/complex.h: Likewise.
6097         * math/fenv.h: Likewise.
6098         * math/libm-test.c: Likewise.
6099         * math/math.h: Likewise.
6100         * misc/sgtty.h: Likewise.
6101         * misc/stab.h: Likewise.
6102         * misc/sys/ioctl.h: Likewise.
6103         * misc/sys/select.h: Likewise.
6104         * misc/sys/uio.h: Likewise.
6105         * misc/sys/ustat.h: Likewise.
6106         * misc/syslog.c: Likewise.
6107         * nis/nss_compat/compat-grp.c: Likewise.
6108         * nis/nss_compat/compat-pwd.c: Likewise.
6109         * nis/nss_compat/compat-spwd.c: Likewise.
6110         * nis/nss_nis/nis-alias.c: Likewise.
6111         * nis/nss_nis/nis-ethers.c: Likewise.
6112         * nis/nss_nis/nis-grp.c: Likewise.
6113         * nis/nss_nis/nis-hosts.c: Likewise.
6114         * nis/nss_nis/nis-netgrp.c: Likewise.
6115         * nis/nss_nis/nis-network.c: Likewise.
6116         * nis/nss_nis/nis-proto.c: Likewise.
6117         * nis/nss_nis/nis-publickey.c: Likewise.
6118         * nis/nss_nis/nis-pwd.c: Likewise.
6119         * nis/nss_nis/nis-rpc.c: Likewise.
6120         * nis/nss_nis/nis-service.c: Likewise.
6121         * nis/nss_nis/nis-spwd.c: Likewise.
6122         * nss_nisplus/nisplus-alias.c: Likewise.
6123         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6124         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6125         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6126         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6127         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6128         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6129         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6130         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6131         * nis/nss_nisplus/nisplus-service.c: Likewise.
6132         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6133         * nis/ypclnt.c: Likewise.
6134         * nss/getXXbyYY.c: Likewise.
6135         * nss/getXXent.c: Likewise.
6136         * nss/getXXent_r.c: Likewise.
6137         * nss/nss_db/db-XXX.c: Likewise.
6138         * nss/nss_db/db-alias.c: Likewise.
6139         * nss/nss_db/db-netgrp.c: Likewise.
6140         * nss/nss_files/files-XXX.c: Likewise.
6141         * nss/nss_files/files-alias.c: Likewise.
6142         * nss/nsswitch.c: Likewise.
6143         * posix/sched.h: Likewise.
6144         * posix/sys/types.h: Likewise.
6145         * posix/sys/utsname.h: Likewise.
6146         * posix/sys/wait.h: Likewise.
6147         * posix/unistd.h: Likewise.
6148         * pwd/fgetpwent.c: Likewise.
6149         * pwd/pwd.h: Likewise.
6150         * resource/sys/resource.h: Likewise.
6151         * setjmp/setjmp.h: Likewise.
6152         * shadow/fgetspent.c: Likewise.
6153         * shadow/lckpwdf.c: Likewise.
6154         * shadow/sgetspent.c: Likewise.
6155         * signal/signal.h: Likewise.
6156         * signal/sigsetops.c: Likewise.
6157         * socket/sys/socket.h: Likewise.
6158         * socket/sys/un.h: Likewise.
6159         * stdio/stdio.h: Likewise.
6160         * stdio-common/vfprintf.c: Likewise.
6161         * stdio-common/vfscanf.c: Likewise.
6162         * stdlib/atexit.c: Likewise.
6163         * stdlib/fmtmsg.c: Likewise.
6164         * stdlib/random.c: Likewise.
6165         * string/endian.h: Likewise.
6166         * sysdeps/alpha/w_sqrt.S: Likewise.
6167         * sysdeps/arm/__longjmp.S: Likewise.
6168         * sysdeps/arm/setjmp.S: Likewise.
6169         * sysdeps/generic/abort.c: Likewise.
6170         * sysdeps/generic/netinet/ip.h: Likewise.
6171         * sysdeps/generic/setenv.c: Likewise.
6172         * generic/sys/mman.h: Likewise.
6173         * sysdeps/i386/__longjmp.S: Likewise.
6174         * sysdeps/i386/setjmp.S: Likewise.
6175         * sysdeps/mach/hurd/dirstream.h: Likewise.
6176         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
6177         * sysdeps/posix/mk-stdiolim.c: Likewise.
6178         * sysdeps/powerpc/__longjmp.S: Likewise.
6179         * sysdeps/powerpc/setjmp.S: Likewise.
6180         * sysdeps/sparc/__longjmp.S: Likewise.
6181         * sysdeps/sparc/setjmp.S: Likewise.
6182         * sysdeps/standalone/close.c: Likewise.
6183         * sysdeps/standalone/filedesc.h: Likewise.
6184         * sysdeps/standalone/open.c: Likewise.
6185         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
6186         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
6187         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
6188         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
6189         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
6190         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
6191         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
6192         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
6193         * sysdeps/unix/dirstream.h: Likewise.
6194         * sysdeps/unix/i386/sysdep.S: Likewise.
6195         * sysdeps/unix/mips/sysdep.S: Likewise.
6196         * sysdeps/unix/mk-local_lim.c: Likewise.
6197         * sysdeps/unix/sparc/sysdep.S: Likewise.
6198         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
6199         * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
6200         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6201         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6202         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6203         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6204         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
6205         * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
6206         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
6207         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6208         * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
6209         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
6210         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
6211         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
6212         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
6213         * sysvipc/sys/ipc.h: Likewise.
6214         * sysvipc/sys/msg.h: Likewise.
6215         * sysvipc/sys/sem.h: Likewise.
6216         * sysvipc/sys/shm.h: Likewise.
6217         * termios/termios.h: Likewise.
6218         * time/localtime.c: Likewise.
6219         * time/sys/time.h: Likewise.
6220         * time/time.h: Likewise.
6221         * time/tzset.c: Likewise.
6223         * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
6224         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6225         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6226         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6227         * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
6229         * Makefile (headers): foo.h -> bits/foo.h.
6230         * dirent/Makefile: Likewise.
6231         * elf/Makefile: Likewise.
6232         * io/Makefile: Likewise.
6233         * login/Makefile: Likewise.
6234         * math/Makefile: Likewise.
6235         * misc/Makefile: Likewise.
6236         * posix/Makefile: Likewise.
6237         * resource/Makefile: Likewise.
6238         * setjmp/Makefile: Likewise.
6239         * signal/Makefile: Likewise.
6240         * socket/Makefile: Likewise.
6241         * stdio-common/Makefile: Likewise.
6242         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6243         * sysvipc/Makefile: Likewise.
6244         * termios/Makefile: Likewise.
6245         * time/Makefile: Likewise.
6246         * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
6247         * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
6248         * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
6249         ioctls.h, termbits.h.
6251         * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
6252         -> kernel_termios.h, sys/socketcall.h -> socketcall.h
6254         * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
6255         for getting the proper length on the ELF types to be friendly to
6256         non-gcc compilers.
6257         * posix/sys/types.h: Notice when int8_t and friends are defined
6258         and don't redefine them.
6259         * sysdeps/wordsize-32/inttypes.h: Likewise.
6260         * sysdeps/wordsize-64/inttypes.h: Likewise.
6262         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
6263         via <signal.h> instead.
6264         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
6265         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
6267 1997-06-20 17:59  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
6269         * hurd/intr-msg.c: More 64bit changes.
6270         * mach/msg-destroy.c: Likewise.
6271         * sysdeps/mach/hurd/ioctl.c: Likewise.
6272         * sysdeps/mach/hurd/ioctls.h: Likewise.
6273         * sysdeps/mach/hurd/select.c: Likewise.
6274         * sysdeps/mach/hurd/statbuf.h: Likewise.
6276         * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
6277         * sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
6278         * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
6279         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
6280         * sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
6281         * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
6282         * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
6283         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
6284         * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
6285         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
6286         * sysdeps/mach/mips/cacheflush.c: Likewise.
6287         * sysdeps/mach/mips/machine-lock.h: Likewise.
6288         * sysdeps/mach/mips/machine-sp.h: Likewise.
6289         * sysdeps/mach/mips/syscall.S: Likewise.
6290         * sysdeps/mach/mips/sysdep.h: Likewise.
6291         * sysdeps/mach/mips/thread_state.h: Likewise.
6292         * sysdeps/mach/start.c: Likewise.
6294         * sysdeps/mips/dl-machine.h: MIPS changes.
6295         * sysdeps/mips/elf/start.S: Likewise.
6296         * sysdeps/mips/init-first.c: Likewise.
6297         * sysdeps/mips/fpu_control.h: Likewise.
6298         * sysdeps/mips/machine-gmon.h: Likewise.
6299         * sysdeps/mips/jmp_buf.h: Likewise.
6300         * sysdeps/mips/__longjmp.c: Likewise.
6301         * sysdeps/mips/bsd-_setjmp.S: Likewise.
6302         * sysdeps/mips/bsd-setjmp.S: Likewise.
6303         * sysdeps/mips/setjmp.S: Likewise.
6304         * sysdeps/mips/setjmp_aux.c: Likewise.
6305         * sysdeps/mips/mips64/gmp-mparam.h: Likewise.
6306         * sysdeps/mips/add_n.S: New file.
6307         * sysdeps/mips/addmul_1.S: Likewise.
6308         * sysdeps/mips/lshift.S: Likewise.
6309         * sysdeps/mips/mul_1.S: Likewise.
6310         * sysdeps/mips/rshift.S: Likewise.
6311         * sysdeps/mips/sub_n.S: Likewise.
6312         * sysdeps/mips/submul_1.S: Likewise.
6313         * sysdeps/mips/mips64/Implies: Likewise.
6314         * sysdeps/mips/mips64/add_n.S: Likewise.
6315         * sysdeps/mips/mips64/addmul_1.S: Likewise.
6316         * sysdeps/mips/mips64/lshift.S: Likewise.
6317         * sysdeps/mips/mips64/mul_1.S: Likewise.
6318         * sysdeps/mips/mips64/rshift.S: Likewise.
6319         * sysdeps/mips/mips64/sub_n.S: Likewise.
6320         * sysdeps/mips/mips64/submul_1.S: Likewise.
6321         * sysdeps/mips/add_n.S: Removed.
6322         * sysdeps/mips/addmul_1.S: Likewise.
6323         * sysdeps/mips/lshift.S: Likewise.
6324         * sysdeps/mips/mul_1.S: Likewise.
6325         * sysdeps/mips/rshift.S: Likewise.
6326         * sysdeps/mips/sub_n.S: Likewise.
6327         * sysdeps/mips/submul_1.S: Likewise.
6329         * nss/Makefile: Prepare for static NSS.
6330         * resolv/Makefile: Likewise.
6331         * nss/nsswitch.c: Add code for static NSS.
6332         * nss/function.def: Define functions for static NSS.
6334 1997-06-19 11:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6336         * libc.map: Add yet more symbols.
6338 1997-06-19 20:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6340         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
6341         as object name to _dl_signal_error.
6342         (do_lookup): Skip objects that could not be opened.
6344         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
6345         symbol was found.
6346         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6347         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
6349 1997-06-20 03:13  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
6351         * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
6352         assumed.
6353         * ctype/ctype.h: Likewise.
6354         * math/math_private.h: Likewise.
6355         * inet/netinet/in.h: Likewise.
6356         * wctype/wctype.h: Likewise.
6358         * nss/Makefile: Only inhibit nss_files and nss_db modules if static
6359         NSS modules are not enabled.
6360         * resolv/Makefile: Likewise for nss_dns.
6361         * nss/function.def: New file.  List all available lookup functions
6362         for static NSS.
6363         * nss/nsswitch.c: Add code for static NSS.
6365 1997-06-15 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6367         * math/libm-test.c (gamma_test): Test for _SVID_ and for normal
6368         behaviour.
6370 1997-06-15 20:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6372         * math/libm.map: Add all necessary functions, correct existing entries.
6374 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
6376         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
6378 1997-06-19 18:43  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6380         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
6381         Compare pointer with NULL.
6383         * login/logout.c (logout): Compare pututline result with NULL.
6385 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
6387         * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__.
6389         * elf/dl-minimal.c (__dcgettext): Remove assertion.
6391         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
6393         * manual/Makefile (distribute): Add dir.
6394         * manual/dir: New file.
6396         * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll,
6397         s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround,
6398         and s_llround respectively.
6399         (libm-calls): Add e_gamma_r.
6400         * math/libm-test.c (check_int_exc): New function.
6401         (signbit_test): Remove test for sign of NaN.
6402         (gamma_test): Clear exception after test of existence.
6403         Correct tests and and epsilons.
6404         (lgamma_test): Likewise.
6405         (ilogb_test): Correct all tests.
6406         (scalb_test): Rewrite.
6407         (rinttol_test): Rename to lrint_test and correct tests.
6408         (rinttoll_test): Likewise.
6409         (roundtol_test): Likewise.
6410         (roundtoll_test): Likewise.
6411         (main): Call lrint/lround functions instead of rinttol/roundtol.
6412         * math/math.h: Change prototypes for rinttol/roundtol.
6413         * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft.
6414         * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN.
6415         * sysdeps/i386/mathbits.h: Likewise.
6416         * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly.
6417         * sysdeps/libm-i387/e_scalbf.S: Likewise.
6418         * sysdeps/libm-i387/e_scalbl.S: Likewise.
6419         * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly.
6420         * sysdeps/libm-i387/s_asinhf.S: Likewise.
6421         * sysdeps/libm-i387/s_asinhl.S: Likewise.
6422         * sysdeps/libm-i387/s_ilogb.S: Optimize.
6423         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
6424         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
6425         * sysdeps/libm-i387/s_rinttol.S: Rename to...
6426         * sysdeps/libm-i387/s_lrint.S: ...this.
6427         * sysdeps/libm-i387/s_rinttoll.S: Rename to...
6428         * sysdeps/libm-i387/s_llrint.S: ...this.
6429         * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder.
6430         * sysdeps/libm-i387/s_remquof.S: Likewise.
6431         * sysdeps/libm-i387/s_remquol.S: Likewise.
6432         * sysdeps/libm-i387/e_gamma_r.c: New file.  Implementation of gamma
6433         function according to ISO C.
6434         * sysdeps/libm-i387/e_gammaf_r.c: New file.
6435         * sysdeps/libm-i387/e_gammal_r.c: New file.
6436         * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the
6437         generation of exceptions away.
6438         * sysdeps/libm-i387/e_lgammaf_r.c: Likewise.
6439         * sysdeps/libm-i387/k_standard.c: Correct return value for infinity
6440         points of gamma function when not SVID mode.
6441         * sysdeps/libm-i387/s_rinttoll.c: Renamed to...
6442         * sysdeps/libm-i387/s_llrint.c: ...this.
6443         * sysdeps/libm-i387/s_rinttol.c: Renamed to...
6444         * sysdeps/libm-i387/s_lrint.c: ...this.
6445         * sysdeps/libm-i387/s_roundtoll.c: Renamed to...
6446         * sysdeps/libm-i387/s_llround.c: ...this.
6447         * sysdeps/libm-i387/s_roundtol.c: Renamed to...
6448         * sysdeps/libm-i387/s_lround.c: ..this.
6449         * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to
6450         ISO C.
6451         * sysdeps/libm-i387/s_scalbnf.c: Likewise.
6452         * sysdeps/libm-i387/s_scalbnl.c: Likewise.
6453         * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library
6454         mode is not _SVID_.
6455         * sysdeps/libm-i387/w_gammaf.c: Likewise.
6456         * sysdeps/libm-i387/w_gammal.c: Likewise.
6457         * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and
6458         rinttol to lrint.
6459         * sysdeps/m68k/fpu/s_rinttol.c: Renamed to...
6460         * sysdeps/m68k/fpu/s_lrint.c: ...this.
6461         * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to...
6462         * sysdeps/m68k/fpu/s_llrint.c: ...this.
6464         * md5-crypt/Makefile: Link md5test program with md5.o.
6466         * stdio-common/temptest.c: Don't use __stdio_gen_tempname which
6467         is not exported by the libc.so.
6469         * stdio-common/vfscanf.c: Correct scanning of strings after last
6470         change.
6472         * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno.
6474 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
6476         * time/tzfile.c (__tzfile_read): Store getc () return in int.
6478 1997-06-13  Miles Bader  <miles@gnu.ai.mit.edu>
6480         * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in
6481         the no-version error text to indicate that something's fucked.
6482         [!_] (N_): New macro.
6483         (argp_default_options, argp_version_options): Wrap doc strings in N_().
6485 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
6487         * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled
6488         options here.
6489         (parser_parse_arg): Handle ARGP_KEY_ARGS here.
6490         Adjust NEXT pointer back if we fail to parse anything.
6491         (parser_parse_next): Simplify arg code.  Leave state NEXT frobbing
6492         to parser_parse_arg.
6494 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
6496         * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros.
6497         * argp/argp-parse.c (parser_finalize): Do another pass over the
6498         parsers with ARGP_KEY_FINI.
6500 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
6502         * string/Makefile (routines): Add argz-replace.
6504 1997-06-16 00:16  Miles Bader  <miles@gnu.ai.mit.edu>
6506         * manual/string.texi (Argz Functions): Document argz_replace.
6508 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
6510         * string/argz.h (__argz_replace, argz_replace): New declarations.
6511         * string/argz-replace.c: New file.
6513 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
6515         * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS.
6517 1997-06-16 23:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6519         * Makeconfig (libc-map): Remove definition.
6520         * Makerules (libc-map): Define it here, using the full name.
6521         (load-map-file): Remove case for empty $(..).
6522         ($(common-objpfx)libc.so): Revert last change.
6524 1997-06-17 22:18  Mark Kettenis  <kettenis@phys.uva.nl>
6526         * login/programs/utmpd.c (main): Improve signal handling.
6528         * login/programs/request.c (do_setutent, do_updwtmp):
6529         Allow arbitrary length filenames.
6530         * login/programs/utmpd.h (setutent_request, updwtmp_request):
6531         Get rid of fixed length file field.
6532         * login/utmp_daemon.c (do_setutent, do_updwtmp):
6533         Allow arbitrary length filenames.
6535         * login/programs/request.c (do_pututline):
6536         Don't fail if connection->position is -1 on entry.
6538 1997-06-15 16:32  Mark Kettenis  <kettenis@phys.uva.nl>
6540         * login/utmp_file.c (updwtmp_file): Use the same method for
6541         appending an entry as in pututline_file.
6543 1997-06-11 18:59  Mark Kettenis  <kettenis@phys.uva.nl>
6545         * login/utmp_file.c (getutent_r_file):
6546         Use read lock instead of write lock.
6547         (getutline_r_file, internal_getut_r): Lock utmp file.
6548         (updwtmp_file): Use fcntl to lock file instead of flock.
6550 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6552         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
6553         character read in/put back.
6554         * stdio-common/tstscanf.c: Add test case for this.
6556 1997-06-17 22:17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6558         * libc.map: Add more symbols.
6560 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
6562         * manual/Makefile (install): Make sure `dir' file exists if we use
6563         install-info.
6565 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6567         * manual/Makefile (info): Depend on dir-add.info.
6569 1997-06-17 17:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6571         * elf/ldd.bash.in: Fix spacing in message.
6573 1997-06-17 14:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6575         * elf/do-rel.h (elf_dynamic_do_rel): Always use version
6576         information if available.
6578 1997-06-17 11:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6580         * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make
6581         command non-empty to force make to recheck modification time.
6582         ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise.
6584 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6586         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
6587         * sysdeps/stub/e_acosl.c: Likewise.
6588         * sysdeps/stub/e_asinl.c: Likewise.
6589         * sysdeps/stub/e_atan2l.c: Likewise.
6590         * sysdeps/stub/e_expl.c: Likewise.
6591         * sysdeps/stub/e_fmodl.c: Likewise.
6592         * sysdeps/stub/e_j0l.c: Likewise.
6593         * sysdeps/stub/e_j1l.c: Likewise.
6594         * sysdeps/stub/e_jnl.c: Likewise.
6595         * sysdeps/stub/e_lgammal_r.c: Likewise.
6596         * sysdeps/stub/e_log10l.c: Likewise.
6597         * sysdeps/stub/e_logl.c: Likewise.
6598         * sysdeps/stub/e_powl.c: Likewise.
6599         * sysdeps/stub/e_rem_pio2l.c: Likewise.
6600         * sysdeps/stub/e_sqrtl.c: Likewise.
6601         * sysdeps/stub/k_cosl.c: Likewise.
6602         * sysdeps/stub/k_rem_pio2l.c: Likewise.
6603         * sysdeps/stub/k_sinl.c: Likewise.
6604         * sysdeps/stub/k_tanl.c: Likewise.
6605         * sysdeps/stub/s_atanl.c: Likewise.
6606         * sysdeps/stub/s_erfl.c: Likewise.
6607         * sysdeps/stub/s_exp2.c: Likewise.
6608         * sysdeps/stub/s_exp2f.c: Likewise.
6609         * sysdeps/stub/s_exp2l.c: Likewise.
6610         * sysdeps/stub/s_expm1l.c: Likewise.
6611         * sysdeps/stub/s_log1pl.c: Likewise.
6612         * sysdeps/stub/s_log2l.c: Likewise.
6614 1997-06-18 11:46  Ulrich Drepper  <drepper@cygnus.com>
6616         * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute
6617         result as before last change.
6618         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6619         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
6621 1997-06-16 23:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6623         * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing
6624         quotient.
6625         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
6626         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
6628         * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for
6629         quotient.
6631         * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp
6632         function.  Don't use global signgam.
6633         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6634         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
6636         * math/Makefile (libm-calls): Remove w_gamma_r.
6637         * sysdeps/libm-ieee754/w_gamma_r.c: Remove file.
6638         * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file.
6639         * sysdeps/libm-ieee754/w_gammal_r.c: Remove file.
6641         * math/libm-test.c (atanh_test): Declare x only if needed.
6642         (signbit_test): Fix typo.
6643         (gamma_test): Check whether function is implemented.  Add
6644         epsilons.
6645         (lgamma_test): Likewise.
6646         (fmod_test): Add epsilons.
6647         (exp2_test): Use right function for existence test.
6649 1997-06-07 09:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6651         * sysdeps/powerpc/Dist: Add fenv_const.c.
6652         * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h.
6653         * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and
6654         syscall.h.
6655         * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h.
6656         * string/Makefile (distribute): Add tst-svc.expect.
6657         * nis/Makefile (distribute): Add nis_intern.h and Banner.
6658         * elf/Makefile (distribute): Add dl-hash.h.
6659         * Rules (subdir_echo-distinfo): Add headers from $(distribute).
6661         * login/Makefile (others): Add utmpdump.
6662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6663         net/if_slip.h.
6665         * manual/Makefile (dir-add.texi): Also look in indirectly included
6666         files.
6668 1997-06-16 23:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6670         * sysdeps/unix/sysv/linux/configure.in: Remove commands to
6671         generate stdio_lim.h.
6672         * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove.
6673         * sysdeps/unix/sysv/linux/Makefile: Add rules to generate
6674         stdio_lim.h here.
6675         (common-generated): Add generated files.
6676         (inhibit-stdio_lim): Define.
6677         * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules
6678         to generate stdio_lim.h.
6680         * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of
6681         dependecy files if no_deps is set.
6682         ($(objpfx)syscall-%.d): Add header file as target to dependency
6683         generation.
6685 1997-06-14 19:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6687         * sysdeps/unix/sysv/linux/arm/Dist: New file.
6689 1997-06-14 17:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6691         * extra-lib.mk (others): Depend on versioned shared library, not
6692         the unversioned one.
6693         * Makerules (build-shlib): Don't make the version link here.
6694         ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc
6695         version link.
6697 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
6699         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
6700         01:13:56 1996.
6702 1997-06-16 00:54  Ulrich Drepper  <drepper@cygnus.com>
6704         * libc.map: Add more symbols.
6706         * Makerules (load-map-file): Currectly handle missing map file.
6708 1997-06-15 17:00  Philip Blundell  <Philip.Blundell@pobox.com>
6710         * configure.in: Correct detection of generic uname implementation.
6712 1997-06-15 23:19  Ulrich Drepper  <drepper@cygnus.com>
6714         * math/libm-test.c: Fix typos.  Patch by Andreas Jaeger.
6716         * libc.map: Add __nss_configure_lookup.  Reported by Thorsten Kukuk.
6718 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
6720         * Makeconfig: Define libc-map here.
6721         * Makefile: And remove definition here.
6722         * Makerules (load-map-file): Handle case where map file is in
6723         other directory.
6724         (build-shlib): Likewise.
6726         * libc.map: Add more symbols.
6727         * resolv/libresolv.map: Likewise.
6729         * db/libdb.map: Add __dbopen.  Patch by HJ Lu.
6731         * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf.
6733         * locale/programs/localedef.c: Add normalize_codeset function.  We
6734         don't want to use the _nl_normalize_codeset functions from libc.
6736         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
6737         * sysdeps/libm-i387/s_asinhf.S: Likewise.
6738         * sysdeps/libm-i387/s_asinhl.S: Likewise.
6739         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
6740         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
6741         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
6743 1997-06-14 12:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6745         * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent.
6747         * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent.
6749         * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix
6750         _nss_nisplus_gethostbyaddr_r interface.
6752         * nis/libnsl.map: Add all GLOBAL functions.
6754 1997-06-13 18:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6756         * libm-test.c   (main): Call new tests, reorder tests.
6757         (fmod_test): Test function fmod.
6758         (nearbyint_test): Test function nearbyint.
6759         (acos_test): Add more test cases.
6760         (signbit_test): Test macro signbit.
6761         (output_result_bool): Output result if test fails.
6762         (asin_test): Add another test case.
6763         (atan2_test): Add more tests.
6764         (asinh_test): Add more tests.
6765         (atanh_test): Add more tests.
6766         (hypot_test): Add more tests.
6767         (isfinite_test): Test macro isfinite.
6768         (isnormal_test): Test macro isnormal.
6769         (sincos_test): Tests for sincos.
6770         (main): Enable remquo_test since the tests are
6771         correct (according to ANSI/IEEE 754-1985).
6772         (remquo_test): Corrected tests cases and added more tests.
6773         (remainder_test): Tests for remainder.
6774         (check_int): New Function to compare int values.
6775         (check_isnan_exc_ext): New function.
6776         (sqrt_test): Add some extra tests for sqrt.
6777         (erf_test): Tests for erf.
6778         (erfc_test): Tests for erfc.
6779         (gamma_test): Tests for gamma.
6780         (lgamma_test): Tests for lgamma.
6782 1997-06-08 10:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
6784         * sysdeps/unix/sysv/linux/configure.in: Try to generate
6785         stdio_lim.h using the target C preprocessor and mk-stdiolim.c.
6786         * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for
6787         stdio_lim.h.
6788         * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the
6789         target C preprocessor to extract OPEN_MAX and PATH_MAX.
6791 1997-06-14 17:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6793         * math/libm.map: Add inline functions, global variables.
6795 1997-06-14 00:39  Ulrich Drepper  <drepper@cygnus.com>
6797         * libc.map: Add more libio functions which are used in libio.h.
6799         * login/Makefile (libutil-routines): Move updwtmp to ...
6800         (routines): ...here.
6801         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
6803         * sysdeps/stub/s_erfl.c: Add stub definition of erfcl.
6804         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
6806 1997-06-13 21:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6808         * nis/nis_add.c (nis_add): Create object name only if not set.
6810         * nis/nis_clone.c: Use calloc instead of malloc to prevent
6811         RPC encode errors.
6813         * nis/nis_modify.c (nis_modify): Create default object entrys if
6814         given are NULL.
6815         * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise.
6817 1997-06-13 14:17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6820         * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the
6821         define might also replace the expanded macro ASM_SIZE_DIRECTIVE.
6822         * sysdeps/i386/submul_1.S: Likewise.
6824 1997-06-13 12:19  Ulrich Drepper  <drepper@cygnus.com>
6826         * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT
6827         and LD_VERBOSE are given.
6829         * elf/ldd.sh.in: Add -v|--verbose option.  Add author information
6830         as per Coding Standard.
6831         * elf/ldd.bash.in: Likewise.
6833 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
6835         * Makefile (libc-map): Define before including Makerules.
6836         * Makerules (lib%.so): Depend on $(lib%-map).
6837         (build-shlib): Adapt rule for above change.
6838         (libc.so): Depend on $(libc-map).
6839         * db/Makefile (libcdb-map): New definition.
6840         * elf/Makefile (libdl-map): New definition.
6841         * elf/dl-lookup.c: Don't use relative include path.
6842         (undefined_msg): New variable.  Use single string in all functions.
6843         (do_lookup): Correctly recognize default version.
6844         Return -2 if no version information is available.
6845         Stop processing hash entries when string was found.
6846         Don't bark about missing versioned symbol in file with original
6847         reference if it is a weak symbol.
6848         (_dl_lookup_symbol): Use undefined_msg.
6849         (_dl_lookup_versioned_symbol): Likewise.
6850         Give extra information if no verdef info is available.
6851         * elf/dl-version.c (file_needed): Remove first argument.  We must
6852         seek in the whole search list.
6853         (match_symbol): Correct check for available verdef info.
6854         (_dl_check_map_versions): Correct call of find_needed.
6855         * locale/Makefile (libBrokenLocale-map): New definition.
6856         * login/Makefile (libutil-map): New definition.
6857         * math/Makefile (libm-map): New definition.
6858         * md5-crypt/Makefile (libcrypt-map): New definition.
6859         * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map,
6860         libnss_nisplus-map): New definition.
6861         * nss/Makefile (libnss_files-map, libnss_db-map): New definitions.
6862         * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions.
6863         * libc.map: New file.
6864         * db/libdb.map: New file.
6865         * elf/libdl.map: New file.
6866         * locale/libBrokenLocale.map: New file.
6867         * login/libutil.map: New file.
6868         * math/libm.map: New file.
6869         * md5-crypt/libcrypt.map: New file.
6870         * nis/libnss_compat.map: New file.
6871         * nis/libnsl.map: New file.
6872         * nis/libnss_nis.map: New file.
6873         * nis/libnss_nisplus.map: New file.
6874         * nss/libnss_files.map: New file.
6875         * nss/libnss_db.map: New file.
6876         * resolv/libnss_dns.map: New file.
6877         * resolv/libresolv.map: New file.
6879         * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything
6880         for R_386_NONE entries.
6882         * Makefile (manual/dir-add.info): New rule.
6884         * Makerules: Add vpath definition for .x files.
6886         * Makerules (distinfo): Make sure target directory exists.
6888         * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value
6889         since it is used to distinguish filtered strings from unmodifed
6890         strings.
6892         * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition.
6893         * elf/dl-reloc.c: Fix typo.
6895         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
6896         `unsigned short'.
6898         * manual/Makefile (dir-add.texi): Also emit wrapper text for
6899         info/install-info.
6900         (distribute): Add dir-add.texi and dir-add.info.
6901         (mostlyclean): Add dir-add.info.
6902         (realclean): Add dir-add.texi.
6903         (install): Add entries in `dir' file using install-info.
6905         * manual/libc.texinfo: Add @dircategory and @direntry text.
6906         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
6908         * manual/pattern.texi: Correct description of GLOB_MAGCHAR and
6909         GLOB_NOMAGIC.  Changes by Roland McGrath <roland@gnu.ai.mit.edu>.
6911         * nis/nis_addmember.c: Little optimizations.
6912         * nis/nis_call.c: Likewise.
6913         * nis/nis_creategroup.c: Likewise.
6914         * nis/nis_defaults.c: Likewise.
6915         * nis/nis_destroygroup.c: Likewise.
6916         * nis/nis_ismember.c: Likewise.
6917         * nis/nis_local_names.c: Likewise.
6918         * nis/nis_print_group_entry.c: Likewise.
6919         * nis/nis_verifygroup.c: Likewise.
6921         * posix/unistd.h: Fix comment for getcwd.
6923         * stdlib/Makefile (headers): Remove inttypes.h.  It's a system
6924         dependent header.
6925         * sysdeps/wordsize-32/Dist: New file.
6926         * sysdeps/wordsize-32/Makefile: New file.
6927         * sysdeps/wordsize-64/Dist: New file.
6928         * sysdeps/wordsize-64/Makefile: New file.
6930         * sunrpc/Makefile: Adopt comment for real situation.
6932         * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE.
6933         * sysdeps/i386/addmul_1.s: Likewise.
6934         * sysdeps/i386/lshist.s: Likewise.
6935         * sysdeps/i386/rshift.s: Likewise.
6936         * sysdeps/i386/sub_n.s: Likewise.
6937         * sysdeps/i386/submul_1.s: Likewise.
6939         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6940         Add .type and .size.
6942 1997-06-12 13:32  Philip Blundell  <Philip.Blundell@pobox.com>
6944         * libc/sysdeps/unix/arm/brk.S: New file.
6945         * libc/sysdeps/unix/arm/sysdep.S: Likewise.
6946         * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
6948 1997-06-11 11:51  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6950         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
6951         Check if we have shadow information.
6953 1997-06-08 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6955         * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of
6956         malloc, alloc memory for nis_server struct.
6957         * nis/nis_getservlist.c (nis_freeservlist): Give the memory for
6958         the nis_server struct free, too.
6960         * nis/nis_removemember (nis_removemember): Fix for loop.
6962 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
6964         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
6965         cannot rely on M_SQRT2 being defined.
6966         (log1p): Use __M_SQRT2 not M_SQRT2.
6967         * math/math.h (_Mldbl): Define even if M_* constants are not
6968         defined.
6969         Reported by corsepiu@faw.uni-ulm.de.
6971 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
6973         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
6975 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
6977         * misc/regexp.h (compile): Allow use of macro INIT for variable
6978         declaration.  Add documentation for INIT.
6979         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
6981 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
6983         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
6985 1997-06-10 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
6987         * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff
6988         for a signed 16-bit value.
6990 1997-06-07 07:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
6992         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6993         (_dl_sysdep_read_whole_file): Deleted.
6995         * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed
6996         to FE_ALL_INVALID.
6998         * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE):
6999         Changed to FE_INVALID_SOFTWARE.
7000         (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS.
7002         * sysdeps/libm-ieee754/s_fmin.c: Fix a typo.
7004 1997-06-07 18:48  H.J. Lu  <hjl@gnu.ai.mit.edu>
7006         * shlib-versions (.*-.*-linux.*): Set libc to 6.
7008 1997-06-08 15:35  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7010         * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r.
7012         * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors.
7013         * nis/nis_clone.c: Likewise.
7014         * nis/nis_removemember.c (nis_removemember): Likewise.
7015         * nis/nis_table.c: Likewise.
7017         * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call.
7018         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7020         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for
7021         group == NULL.
7023 1997-06-08 21:21  Mark Kettenis  <kettenis@phys.uva.nl>
7025         * login/login.c, login/utmp_daemon.c, login/utmp_file.c,
7026         login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and
7027         `#ifndef _LIBC' fragments.
7029         * login/programs/utmpd.c: Define DEFAULT_USER.
7030         (drop_priviliges): Use it.
7031         (main): Set locale and text domain.
7033         * login/programs/utmpd-private.h: Declare proc_utmp_eq.
7034         * login/programs/database.c (proc_utmp_eq): Removed.
7035         * login/programs/request.c (proc_utmp_eq): Made global.  Only use
7036         ut_id field if valid.
7038         * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles
7039         Bader that was lost when adding the daemon backend; Only use ut_id
7040         field if valid.
7042 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7044         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
7045         netinet/icmp.h, add netatalk/at.h.
7046         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
7047         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
7049 1997-06-04 19:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7051         * stdlib/testsort.c (compare): Fix parameter types.
7053 1997-06-04 19:05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7055         * md5-crypt/Makefile (distribute): Fix name of file.
7057 1997-06-04 19:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7059         * login/Makefile (utmpd-routines): Remove utmpd again, which is
7060         already added implicitly through $(others).
7062 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
7064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
7066 1997-06-05 13:25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7068         * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt.
7070 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
7072         * string/argz-addsep.c: Correct weak alias.
7073         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7075         * locale/setlocale.c (setlocale): Free variable with locale path
7076         before returning.
7077         (setname): Don't test for _nl_current[category] being NULL before
7078         freeing.
7079         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7081 1997-06-04 12:41  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7083         * manual/intro.texi (XPG): Correct some typos.
7085 1997-06-04 05:09  Miles Bader  <miles@gnu.ai.mit.edu>
7087         * argp/argp-help.c (_help): Use uparams.usage_indent instead of
7088         the USAGE_INDENT macro.
7090         * manual/summary.awk: Strip trailing commas from node-names.
7092         * manual/.cvsignore: Ignore chapters-incl[12] rather than
7093         chapters-incl.
7095         * manual/Makefile (%.c.texi): Deal with multiple @-commands on a
7096         single line.
7098         * manual/string.texi (Argz Functions, Envz Functions): Add magic
7099         comments for generating summary.texi.
7101 1997-06-02 22:18  Miles Bader  <miles@gnu.ai.mit.edu>
7103         * manual/argp.texi: New file.
7104         * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c,
7105         manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files.
7106         * manual/Makefile [chapters] (chapters-incl1): New rule & include.
7107         [chapters-incl1] (chapters-incl2): New rule & include.
7108         (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2).
7109         * manual/maint.texi (Contributors): Give myself credit.
7111 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
7113         * manual/getopt.texi: New file.
7114         * manual/startup.texi: Mention argp_parse in places that
7115         previously mentioned only getopt.
7116         Include getopt.texi (now containing all the getopt nodes that used
7117         to be here) and argp.texi.
7118         (Program Arguments): Move parsing bits into the new Parsing
7119         Program Arguments node.
7120         (Parsing Program Arguments): New node.
7121         (Parsing Options, Example of Getopt, Long Options, Long Option
7122         Example): Nodes removed.
7123         * manual/libc.texinfo (Program Arguments): Menu updated.
7124         (Parsing Program Arguments): New menu.
7126 1997-06-04 20:57  Ulrich Drepper  <drepper@cygnus.com>
7128         * manual/string.texi: Add comments to discourage use of index and
7129         rindex.
7130         (strtok, strsep): Apply function on copy of the strings in example.
7131         (l64a): Add example.
7133         * posix/unistd.h: Correct value for _POSIX_VERSION.
7135         * sunrpc/Makefile (defines): Remove definition.
7137         * sysdeps/ieee754/nan.h: Correct typo.
7139 1997-06-04 10:50  Fila Kolodny  <fila@ibi.com>
7141         * posix/unistd.h: Add definition of __fchdir corresponding to fchdir.
7143         * login/utmp_daemon.c: Correct location of utmpd.h.
7145 1997-06-03 19:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7147         * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to
7148         $(objpfx)distinfo.
7149         * rpm/Makefile (distinfo): Adapted.
7151 1997-06-03 18:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7153         * rpm/Makefile (install-slib): Collect shared libraries here
7154         instead of in install-lib, including libc.
7155         (instvars): Add slib.
7157 1997-06-03 18:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7159         * login/Makefile (libutil-routines): Add updwtmp.
7161 1997-06-03 16:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7163         * monetary.h: New file, needed for localedata/tst-fmon.c.
7165 1997-06-02 20:31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7167         * math/libm-test.c (cpow_test): Add epsilon for long double in
7168         test for 2^10.
7169         (identities): Add epsilon for float in second identity test.
7171         * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use
7172         DI and SI mode integers instead of bytes.  Fix value of HUGE_VALL.
7174         * sysdeps/m68k/nan.h: New file.
7176         * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless,
7177         islessequal, islessgreater, isunordered): Fix assembler syntax.
7179         * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't
7180         optimize out the operations.
7182         * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static
7183         constant.
7184         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
7185         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
7187         * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double
7188         function.
7189         * sysdeps/libm-ieee754/s_erf.c: Likewise.
7190         * sysdeps/libm-ieee754/s_fdim.c: Likewise.
7191         * sysdeps/libm-ieee754/s_fmax.c: Likewise.
7192         * sysdeps/libm-ieee754/s_fmin.c: Likewise.
7193         * sysdeps/libm-ieee754/s_log2.c: Likewise.
7194         * sysdeps/libm-ieee754/s_nan.c: Likewise.
7195         * sysdeps/libm-ieee754/s_remquo.c: Likewise.
7197 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
7199         * elf/dl-support.c: Define and initialize _dl_verbose used in
7200         dl-machine.h.
7202         * io/ftw.c: Expand stat/lstat calls.
7204         * manual/intro.texi: Also refer to ISO 9945.
7205         Update info about SVID.
7206         Add description for XPG.
7208         * md5-crypt/md5-crypt.c: Namespace cleanups.
7209         * md5-crypt/md5.c: Likewise.
7210         * md5-crypt/md5.h: Likewise.
7211         * sysdeps/generic/crypt-entry.c: Likewise.
7213         * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L.
7215         * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is
7216         defined.
7218         * sunrpc/rpc_scan.c (findkind): Declare `token' as const.
7219         * sunrpc/rpc_util.c (toktostr): Declare `token' as const.
7221         * time/Makefile: Make tzselect depend on config.make.
7223 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
7225         * manual/string.texi (String and Array Utilities): Add `Argz and
7226         Envz Vectors' to the menu.
7227         (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes.
7229 1997-05-31 20:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7231         * login/Makefile (utmpd-routines): Add utmpd.
7232         (extra-objs): Add utmpd objects to get dependencies.
7233         (distribute): Add sources for utmpd.
7234         (subdir-dirs): Define.
7236 1997-06-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
7238         * sysdeps/wordsize-32/inttypes.h: Include features.h and use
7239         __CONCAT instead of defined __CONCAT__ ourself.
7240         * sysdeps/wordsize-64/inttypes.h: Likewise.
7242 1997-06-01 19:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7244         * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'.
7245         (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST,
7246         SCNoFAST, SCNxFAST): Correct format specifiers.
7248 1997-06-02 04:23  Ulrich Drepper  <drepper@cygnus.com>
7250         * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir.
7252 1997-06-01 19:17  Ulrich Drepper  <drepper@cygnus.com>
7254         * md5-crypt/Makefile: Correct libmd5crypt file to really generate
7255         DES free libcrypt.
7256         * md5-crypt/onlymd5-entry.c: New file.  Wrapper around
7257         sysdeps/generic/crypt-entry.c.
7259 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
7261         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
7262         type to `unsigned long int'.
7263         Patch by Richard Henderson <richard@twiddle.rth.home>.
7265 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7267         * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C
7268         declaration style.
7270         * nss/nss_files/files-hosts.c: Delete inclusion of
7271         "../resolv/mapv4v6hostent.h".
7273 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
7275         * io/ftwtest-sh: More tests.
7277         * misc/tsearch.c: Rewrite tdestroy_recursive.
7279         * libio/libio.h: Define bits for libg++-2.8.
7281 1997-05-30 22:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7283         * nis/nss_nis/nis-hosts.c: Same changes as in
7284         nss/nss_files/files-hosts.c (Always use inet_pton).
7285         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7287 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
7289         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
7290         plan on doing so ever again.  Don't say alpha-linuxecoff is known
7291         to work.
7293         * elf/dl-lookup.c: Include <alloca.h>.
7294         * misc/tsearch.c: Include <string.h>.
7295         * posix/execle.c: Include <alloca.h>.
7296         * posix/execlp.c: Likewise.
7297         * stdio-common/printf_fphex.c: Include <string.h>.
7298         * sunrpc/xdr.c: Include <string.h>.
7299         * sysdeps/generic/memccpy.c: Include only <string.h>.
7301         * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix
7302         parameters to network functions.
7303         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7304         * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'.
7305         (rendezvous_request): Likewise.
7306         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7307         (svcudp_recv): Similar, but go through a local variable.  The old code
7308         used &xprt->xp_addrlen.  Someone should determine if the type of the
7309         structure member should be changed instead.
7310         * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning
7311         and transform a nonsense for-loop to a closed form calculation.
7312         (fill_input_buf): Another ptr->int warning.
7314         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
7315         will last until I figure out how to build a parallel libm_ieee.
7317         * sysdeps/alpha/fpu/fclrexcpt.c,
7318         * sysdeps/alpha/fpu/fegetenv.c,
7319         * sysdeps/alpha/fpu/fegetround.c,
7320         * sysdeps/alpha/fpu/feholdexcpt.c,
7321         * sysdeps/alpha/fpu/fenvbits.h,
7322         * sysdeps/alpha/fpu/fesetenv.c,
7323         * sysdeps/alpha/fpu/fesetround.c,
7324         * sysdeps/alpha/fpu/feupdateenv.c,
7325         * sysdeps/alpha/fpu/fgetexcptflg.c,
7326         * sysdeps/alpha/fpu/fraiseexcpt.c,
7327         * sysdeps/alpha/fpu/fsetexcptflg.c,
7328         * sysdeps/alpha/fpu/ftestexcept.c: New files.  There is, btw, a small
7329         kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for
7330         this to work properly.
7332         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
7333         FP mode to round to nearest, no exceptions as for Intel.
7334         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
7335         (rdfpcr): Use excb rather than trapb.  Be more efficient about
7336         getting at the fpcr.
7337         (wrfpcr): Likewise.
7338         (__setfpucw): Reformat.
7340         * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use
7341         a single DI-mode integer instead of bytes.  This produces better code
7342         on Alpha.  Similar for HUGE_VALF.
7343         * sysdeps/ieee754/nan.h: Similar for NAN.  Add NANF and NANL.
7345         * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias.
7347         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
7348         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
7349         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
7350         sure the stack frame is released the very instruction before the
7351         real jump out.
7352         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
7353         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
7355         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
7356         have gotten from <linux/posix_types.h>.
7358         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
7360 1997-05-30 13:05  Ulrich Drepper  <drepper@cygnus.com>
7362         * misc/tst-tsearch.c (mangle_tree): Update casts to prevent
7363         warnings.
7365 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7367         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
7368         correct value for _POSIX_VDISABLE.
7370 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7372         * Makefile (manual/dir-add.texi): Force execution.
7374 1997-05-29 13:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7376         * sysexits.h: New file.
7378 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7380         * stdlib/strfmon.c: Don't run past EOS after `='.
7382 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
7384         * io/ftw.c: Complete rewrite.  Add implementation of `nftw'.
7385         * io/ftw.h: Update for new implementation and XPG4.2.
7386         * io/Makefile (test-srcs): Add ftwtest.
7387         (distribute): Add ftwtest-sh.
7388         (tests): Call ftwtest-sh for this goal.
7389         * io/ftwtest-sh: New file.  Sets up test environment, calls test
7390         program and compares the result.
7391         * io/ftwtest.c: Test program for ftw.
7393         * misc/search.h: Add comments.  Declare tdestroy.
7394         * misc/tsearch.c (tdestroy): New function.
7396         * login/Makefile: Update for UTMP daemon implementation.
7398         Update resolver code to bind-4.9.6-T1A.
7399         * resolv/Banner: Update.
7400         * nss/digits_dots.c: Adapt text address matching to T1A.
7401         * nss/nss_files/files-hosts.c: Always use inet_pton.
7402         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
7403         it would lead to warnings.
7404         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
7405         at several places.
7406         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
7407         * resolv/res_comp.c (dn_expand): Check for overflow.
7408         (dn_comp): Likewise.
7409         * resolv/res_debug.c (precsize_aton): Better implementation.
7410         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
7411         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
7412         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
7413         length at several places.
7415 1997-05-29 12:51  Mark Kettenis  <kettenis@phys.uva.nl>
7417         * login/utmp-private.h (struct utfuncs): Add one more parameter
7418         to updwtmp function.
7419         Declare all three function jump tables.
7420         * login/utmp.h: Declare __utmpname.
7421         * login/getutent_r.c: Remove db backend and provide support for
7422         utmpd backend.
7423         * login/login.c: Use `updwtmp' function insteead of writing the
7424         record ourself.
7425         * login/logwtmp.c: Move `updwtmp' function to...
7426         * login/updwtmp.c: ...here.  New file.
7427         * login/utmp_db.h: Removed.
7428         * login/utmp_file.c: Add updwtmp function to write to file.
7429         * login/utmp_daemon.c: New file.  Daemon backend.
7430         * login/utmpname.c: New file.  Implementation of utmpname function.
7431         * login/utmpdump.c: New file.  Tool to dump utmp-like files.
7432         * login/utmpd/connection.c: New file.
7433         * login/utmpd/database.c: New file.
7434         * login/utmpd/error.c: New file.
7435         * login/utmpd/request.c: New file.
7436         * login/utmpd/utmpd-private.h: New file.
7437         * login/utmpd/utmpd.c: New file.
7438         * login/utmpd/utmpd.h: New file.
7439         * login/utmpd/xtmp.c: New file.
7440         * login/utmpd/xtmp.h: New file.
7442 1997-05-29 12:28  Jim Meyering  <meyering@eng.ascend.com>
7444         * time/strftime.c: Correct/normalize indentation in cpp directives.
7446 1997-05-28 20:43  Philip Blundell  <pjb27@cam.ac.uk>
7448         * nis/nis_error.c: Include <string.h> to fix warning.
7449         * nis/nis_print.c: Likewise.
7450         * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
7451         is int* not size_t*.
7453 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7455         * math/cmathcalls.h: Correct typo in comment.
7457         * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
7459         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
7460         IFNAMSIZ.
7462         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
7463         time_t.
7465         * login/pty.h: Include <ioctl-types.h> for definition of struct
7466         winsize.
7468         * misc/regexp.h (compile): Correct typo.
7470         * argp/argp.h: Put extern before __const in defintion of
7471         argp_program_bug_address.
7473 1997-05-29 00:20  Ulrich Drepper  <drepper@cygnus.com>
7475         * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
7476         and least types.  Correct names of ?INT_FAST*_{MIN,MAX} macros.
7477         * sysdeps/wordsize-64/inttypes.h: Likewise.
7478         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7480 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
7482         * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
7483         ttydefaults.h file instead of non-existing version in termios/sys.
7484         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7486         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
7487         number to four digits and to representable range for 4 byte time_t
7488         values.
7489         Patch by H.J. Lu <hjl@lucon.org>.
7491 1997-05-28 18:19  Philip Blundell  <pjb27@cam.ac.uk>
7493         * posix/execl.c: Include <alloca.h> to avoid warning.
7495 1997-05-27 18:19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7497         * math/libm-test.c: Implement testing of inlined functions, make
7498         output nicer, update comments.
7500         * math/test-idouble.c: New file.  Frontend for double tests of
7501         inlined functions.
7502         * math/test-ildoubl.c: New file.  Frontend for long double tests of
7503         inlined functions.
7504         * math/test-ifloat.c: New file.  Frontend for float tests of
7505         inlined functions.
7507         * math/test-longdouble.c: Rename to...
7508         * math/test-ldouble.c: ...this.
7510         * math/Makefile: Add rules for new test programs, change rules for
7511         renaming of longdouble test.
7513 1997-05-20 15:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
7515         * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
7516         (svc_register): Use __dispatch_fn_t in prototype.
7518 1997-05-28 17:02  Ulrich Drepper  <drepper@cygnus.com>
7520         * sysdeps/generic/bzero.c (bzero): Fix typo.
7521         Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
7523 1997-05-27 12:00  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7525         * sysdeps/generic/vtimes.c: Use ISO C declaration style.
7527         * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
7529         * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
7531         * signal/tst-signal.c (handler): Correct function declaration to
7532         avoid warning.
7533         * stdlib/testsort.c (compare): Likewise.
7534         * string/tester.c: Likewise.
7536 1997-05-27 14:16  Miles Bader  <miles@gnu.ai.mit.edu>
7538         * argp/argp-help.c (argp_args_usage): Supply correct argp to
7539         filter_doc.
7541 1997-05-27 17:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7543         * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
7544         db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
7545         with libm.
7547 1997-05-27 14:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7549         * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate.  Use __m81_test
7550         instead of explicit comparisons.
7552 1997-05-26 18:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7554         * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
7555         place in a generic header and is no user include file.
7557 1997-05-27 02:20  Ulrich Drepper  <drepper@cygnus.com>
7559         * stdio/obstream.c (obstack_printf): Fix bug in
7560         de-ansidecl-fication.
7561         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7563 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
7565         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
7566         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
7567         environments in which linking is not possible at configure time
7568         (since te libc is just build).
7569         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
7571         * time/scheck.c (scheck): Make 2nd parameter const.
7572         * time/private.h: Likewise.
7574 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
7576         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
7577         state array only at right place.
7578         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
7580         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
7581         [0.5,1.0) but really in [0.0, 1.0).
7582         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
7584 1997-05-22 12:50  Eric Delaunay  <delaunay@lix.polytechnique.fr>
7586         * shlib-versions: Provide Linux/SPARC defaults.
7588 1997-05-26 15:00  Matthias Urlichs  <urlichs@noris.de>
7590         * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
7591         * stdlib/strtof_l.c: Likewise.
7592         * stdlib/strtol_l.c: Likewise.
7593         * stdlib/strtold_l.c: Likewise.
7594         * stdlib/strtoll_l.c: Likewise.
7595         * stdlib/strtoul_l.c: Likewise.
7596         * stdlib/strtoull_l.c: Likewise.
7598 1997-05-26 02:42  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7600         * hurd/dtable.c: De-ansidecl-fy.
7601         * math/test-math.c: Likewise.
7602         * signal/tst-signal.c: Likewise.
7603         * stdio/getc.c: Likewise.
7604         * stdio/obstream.c: Likewise.
7605         * stdio/putc.c: Likewise.
7606         * stdio-common/bug1.c: Likewise.
7607         * stdio-common/bug2.c: Likewise.
7608         * stdio-common/bug6.c: Likewise.
7609         * stdio-common/fscanf.c: Likewise.
7610         * stdlib/testsort.c: Likewise.
7611         * string/tester.c: Likewise.
7612         * sysdeps/am29k/ffs.c: Likewise.
7613         * sysdeps/generic/bb_init_func.c: Likewise.
7614         * sysdeps/generic/bcopy.c: Likewise.
7615         * sysdeps/generic/bzero.c: Likewise.
7616         * sysdeps/generic/div.c: Likewise.
7617         * sysdeps/generic/ffs.c: Likewise.
7618         * sysdeps/generic/memccpy.c: Likewise.
7619         * sysdeps/generic/memcpy.c: Likewise.
7620         * sysdeps/generic/memmove.c: Likewise.
7621         * sysdeps/generic/memset.c: Likewise.
7622         * sysdeps/generic/vfork.c: Likewise.
7623         * sysdeps/generic/vtimes.c: Likewise.
7624         * sysdeps/i386/bzero.c: Likewise.
7625         * sysdeps/i386/ffs.c: Likewise.
7626         * sysdeps/i960/ffs.c: Likewise.
7627         * sysdeps/m68k/ffs.c: Likewise.
7628         * sysdeps/m88k/ffs.c: Likewise.
7629         * sysdeps/mach/hurd/_exit.c: Likewise.
7630         * sysdeps/mach/hurd/accept.c: Likewise.
7631         * sysdeps/mach/hurd/access.c: Likewise.
7632         * sysdeps/mach/hurd/adjtime.c: Likewise.
7633         * sysdeps/mach/hurd/bind.c: Likewise.
7634         * sysdeps/mach/hurd/brk.c: Likewise.
7635         * sysdeps/mach/hurd/chdir.c: Likewise.
7636         * sysdeps/mach/hurd/chflags.c: Likewise.
7637         * sysdeps/mach/hurd/chmod.c: Likewise.
7638         * sysdeps/mach/hurd/chown.c: Likewise.
7639         * sysdeps/mach/hurd/chroot.c: Likewise.
7640         * sysdeps/mach/hurd/close.c: Likewise.
7641         * sysdeps/mach/hurd/connect.c: Likewise.
7642         * sysdeps/mach/hurd/defs.c: Likewise.
7643         * sysdeps/mach/hurd/dup2.c: Likewise.
7644         * sysdeps/mach/hurd/execve.c: Likewise.
7645         * sysdeps/mach/hurd/fchdir.c: Likewise.
7646         * sysdeps/mach/hurd/fchflags.c: Likewise.
7647         * sysdeps/mach/hurd/fchmod.c: Likewise.
7648         * sysdeps/mach/hurd/fchown.c: Likewise.
7649         * sysdeps/mach/hurd/fcntl.c: Likewise.
7650         * sysdeps/mach/hurd/fdopen.c: Likewise.
7651         * sysdeps/mach/hurd/flock.c: Likewise.
7652         * sysdeps/mach/hurd/fsync.c: Likewise.
7653         * sysdeps/mach/hurd/ftruncate.c: Likewise.
7654         * sysdeps/mach/hurd/getdtsz.c: Likewise.
7655         * sysdeps/mach/hurd/getegid.c: Likewise.
7656         * sysdeps/mach/hurd/geteuid.c: Likewise.
7657         * sysdeps/mach/hurd/getgid.c: Likewise.
7658         * sysdeps/mach/hurd/getgroups.c: Likewise.
7659         * sysdeps/mach/hurd/gethostid.c: Likewise.
7660         * sysdeps/mach/hurd/gethostname.c: Likewise.
7661         * sysdeps/mach/hurd/getitimer.c: Likewise.
7662         * sysdeps/mach/hurd/getlogin.c: Likewise.
7663         * sysdeps/mach/hurd/getpeername.c: Likewise.
7664         * sysdeps/mach/hurd/getpgid.c: Likewise.
7665         * sysdeps/mach/hurd/getpid.c: Likewise.
7666         * sysdeps/mach/hurd/getppid.c: Likewise.
7667         * sysdeps/mach/hurd/getsockname.c: Likewise.
7668         * sysdeps/mach/hurd/getsockopt.c: Likewise.
7669         * sysdeps/mach/hurd/getuid.c: Likewise.
7670         * sysdeps/mach/hurd/ioctl.c: Likewise.
7671         * sysdeps/mach/hurd/isatty.c: Likewise.
7672         * sysdeps/mach/hurd/link.c: Likewise.
7673         * sysdeps/mach/hurd/listen.c: Likewise.
7674         * sysdeps/mach/hurd/lseek.c: Likewise.
7675         * sysdeps/mach/hurd/mkdir.c: Likewise.
7676         * sysdeps/mach/hurd/open.c: Likewise.
7677         * sysdeps/mach/hurd/pipe.c: Likewise.
7678         * sysdeps/mach/hurd/read.c: Likewise.
7679         * sysdeps/mach/hurd/readlink.c: Likewise.
7680         * sysdeps/mach/hurd/reboot.c: Likewise.
7681         * sysdeps/mach/hurd/recv.c: Likewise.
7682         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7683         * sysdeps/mach/hurd/rename.c: Likewise.
7684         * sysdeps/mach/hurd/rewinddir.c: Likewise.
7685         * sysdeps/mach/hurd/rmdir.c: Likewise.
7686         * sysdeps/mach/hurd/sbrk.c: Likewise.
7687         * sysdeps/mach/hurd/seekdir.c: Likewise.
7688         * sysdeps/mach/hurd/select.c: Likewise.
7689         * sysdeps/mach/hurd/setegid.c: Likewise.
7690         * sysdeps/mach/hurd/seteuid.c: Likewise.
7691         * sysdeps/mach/hurd/setgid.c: Likewise.
7692         * sysdeps/mach/hurd/setgroups.c: Likewise.
7693         * sysdeps/mach/hurd/sethostid.c: Likewise.
7694         * sysdeps/mach/hurd/sethostname.c: Likewise.
7695         * sysdeps/mach/hurd/setlogin.c: Likewise.
7696         * sysdeps/mach/hurd/setpgid.c: Likewise.
7697         * sysdeps/mach/hurd/setregid.c: Likewise.
7698         * sysdeps/mach/hurd/setreuid.c: Likewise.
7699         * sysdeps/mach/hurd/setrlimit.c: Likewise.
7700         * sysdeps/mach/hurd/setsid.c: Likewise.
7701         * sysdeps/mach/hurd/setsockopt.c: Likewise.
7702         * sysdeps/mach/hurd/settimeofday.c: Likewise.
7703         * sysdeps/mach/hurd/setuid.c: Likewise.
7704         * sysdeps/mach/hurd/shutdown.c: Likewise.
7705         * sysdeps/mach/hurd/sigaction.c: Likewise.
7706         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
7707         * sysdeps/mach/hurd/sigpending.c: Likewise.
7708         * sysdeps/mach/hurd/sigprocmask.c: Likewise.
7709         * sysdeps/mach/hurd/sigstack.c: Likewise.
7710         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
7711         * sysdeps/mach/hurd/socket.c: Likewise.
7712         * sysdeps/mach/hurd/socketpair.c: Likewise.
7713         * sysdeps/mach/hurd/stdio_init.c: Likewise.
7714         * sysdeps/mach/hurd/symlink.c: Likewise.
7715         * sysdeps/mach/hurd/sync.c: Likewise.
7716         * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
7717         * sysdeps/mach/hurd/telldir.c: Likewise.
7718         * sysdeps/mach/hurd/truncate.c: Likewise.
7719         * sysdeps/mach/hurd/umask.c: Likewise.
7720         * sysdeps/mach/hurd/unlink.c: Likewise.
7721         * sysdeps/mach/hurd/wait4.c: Likewise.
7722         * sysdeps/mach/hurd/utimes.c: Likewise.
7723         * sysdeps/mach/hurd/write.c: Likewise.
7724         * sysdeps/mach/adjtime.c: Likewise.
7725         * sysdeps/mach/gettimeofday.c: Likewise.
7726         * sysdeps/mach/usleep.c: Likewise.
7727         * sysdeps/mips/__longjmp.c: Likewise.
7728         * sysdeps/posix/clock.c: Likewise.
7729         * sysdeps/posix/ctermid.c: Likewise.
7730         * sysdeps/posix/defs.c: Likewise.
7731         * sysdeps/posix/dup.c: Likewise.
7732         * sysdeps/posix/libc_fatal.c: Likewise.
7733         * sysdeps/posix/stdio_init.c: Likewise.
7734         * sysdeps/rs6000/ffs.c: Likewise.
7735         * sysdeps/sparc/e_sqrt.c: Likewise.
7736         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
7737         * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
7738         * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
7739         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
7740         * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
7741         * sysdeps/standalone/i960/nindy960/console.c: Likewise.
7742         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
7743         * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
7744         * sysdeps/standalone/brk.c: Likewise.
7745         * sysdeps/stub/_exit.c: Likewise.
7746         * sysdeps/stub/brdinit.c: Likewise.
7747         * sysdeps/stub/console.c: Likewise.
7748         * sysdeps/stub/defs.c: Likewise.
7749         * sysdeps/stub/errlist.c: Likewise.
7750         * sysdeps/stub/libc_fatal.c: Likewise.
7751         * sysdeps/stub/siglist.c: Likewise.
7752         * sysdeps/stub/stdio_init.c: Likewise.
7753         * sysdeps/stub/strtsupp.c: Likewise.
7754         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
7755         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
7756         * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
7757         * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
7758         * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
7759         * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
7760         * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
7761         * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
7762         * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
7763         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7764         * sysdeps/unix/bsd/clock.c: Likewise.
7765         * sysdeps/unix/bsd/gtty.c: Likewise.
7766         * sysdeps/unix/bsd/init-posix.c: Likewise.
7767         * sysdeps/unix/bsd/setgid.c: Likewise.
7768         * sysdeps/unix/bsd/setrgid.c: Likewise.
7769         * sysdeps/unix/bsd/setruid.c: Likewise.
7770         * sysdeps/unix/bsd/setuid.c: Likewise.
7771         * sysdeps/unix/bsd/stty.c: Likewise.
7772         * sysdeps/unix/bsd/telldir.c: Likewise.
7773         * sysdeps/unix/bsd/ualarm.c: Likewise.
7774         * sysdeps/unix/common/glue-ctype.c: Likewise.
7775         * sysdeps/unix/sparc/start.c: Likewise.
7776         * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
7777         * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
7778         * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
7779         * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
7780         * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
7781         * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
7782         * sysdeps/unix/sysv/irix4/start.c: Likewise.
7783         * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
7784         * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
7785         * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
7786         * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
7787         * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
7788         * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
7789         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
7790         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
7791         * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
7792         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
7793         * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
7794         * sysdeps/unix/sysv/gethostname.c: Likewise.
7795         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7796         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7797         * sysdeps/unix/alarm.c: Likewise.
7798         * sysdeps/unix/make_errlist.c: Likewise.
7799         * sysdeps/unix/rewinddir.c: Likewise.
7800         * sysdeps/unix/seekdir.c: Likewise.
7801         * sysdeps/unix/time.c: Likewise.
7802         * sysdeps/unix/utime.c: Likewise.
7803         * sysdeps/vax/__longjmp.c: Likewise.
7804         * sysdeps/vax/memccpy.c: Likewise.
7805         * time/strftime.c: Likewise.
7807 1997-05-25 21:57  Miles Bader  <miles@gnu.ai.mit.edu>
7809         * argp/argp-parse.c (parser_init): For the special case where no
7810         parsing function is supplied for an argp, propagate its input to
7811         its first child, if any.
7813         * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
7814         * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
7815         Replace references to STATE->argp with STATE->root_argp.
7816         * argp/argp-parse.c (parser_init): Likewise.
7818 1997-05-26 14:17  Ulrich Drepper  <drepper@cygnus.com>
7820         * manual/main.texi: Clarify situation for other not supported ports.
7821         Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7822         We recommend binutils 2.8.
7824 1997-05-26 12:17  Ulrich Drepper  <drepper@cygnus.com>
7826         * netinet/in.h: New file.  Wrapper around inet/netinet/in.h.
7828 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
7830         * sysdeps/i386/elf/start.S: Change local label "nofini"
7831         to ".Lnofini".
7833         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
7835 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
7837         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
7839 1997-05-25 03:00  Ulrich Drepper  <drepper@cygnus.com>
7841         * elf/dynamic-link.h (_dl_verbose): New variable, declare.
7842         * elf/rtld.c (_dl_verbose): New variable, define.
7843         (dl_main): Define _dl_verbose based on DL_WARN environment variable.
7844         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
7845         changed size in copy relocation only if symbol in shared object
7846         is larger or _dl_verbose is nonzero.
7847         * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
7848         * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
7849         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
7851         * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
7852         <...>.
7853         * nis/nss_nis/nis-grp.c: Likewise.
7854         * nis/nss_nis/nis-hosts.c: Likewise.
7855         * nis/nss_nis/nis-network.c: Likewise.
7856         * nis/nss_nis/nis-proto.c: Likewise.
7857         * nis/nss_nis/nis-pwd.c: Likewise.
7858         * nis/nss_nis/nis-rpc.c: Likewise.
7859         * nis/nss_nis/nis-spwd.c: Likewise.
7860         * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
7861         * wcsmbs/wcscoll.c: Likewise.
7862         * wcsmbs/wcstod.c: Likewise.
7863         * wcsmbs/wcstof.c: Likewise.
7864         * wcsmbs/wcstol.c: Likewise.
7865         * wcsmbs/wcstold.c: Likewise.
7866         * wcsmbs/wcsxfrm.c: Likewise.
7867         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7869         * time/strftime.c: Implement # flag which changes case of output for
7870         %a, %b, %B, %p, and %Z format.
7871         When printing numbers, the given field width is always respected.
7872         This means that padding happens only up to the given width.
7873         Proposed by Stephen Gildea <gildea@intouchsys.com>.
7875 1997-05-25 00:44  Ulrich Drepper  <drepper@cygnus.com>
7877         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
7878         values.
7879         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7881 1997-05-24 21:03  Philip Blundell  <pjb27@cam.ac.uk>
7883         * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
7884         struct stat) if it exists for this port.
7886 1997-05-24 20:34  Philip Blundell  <pjb27@cam.ac.uk>
7888         * sysdeps/standalone/arm/errnos.h: Add EPERM.
7890 1997-05-23 16:28  Philip Blundell  <phil@kings-cross.london.uk.eu.org>
7892         * linewrap.h: New file, needed to compile argp without libio.
7894 1997-05-24 11:59  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7896         * manual/stdio.texi (Formatted Messages): Corrected some typos.
7898 1997-05-24 11:58  Philip Blundell  <pjb27@cam.ac.uk>
7900         * sysdeps/stub/start.c: Fix typo.
7902 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
7904         * argp/argp-help.c (hol_add_cluster): Initialize CL->depth.
7906 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
7908         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
7909         strtoull_l, strtof_l, strtod_l, and strtold_l.
7910         * stdlib/stdlib.h: Add prototypes for new functions.
7911         * stdlib/strtod.c: Change for compiling as strtoX_l.
7912         * stdlib/strtol.c: Likewise.
7913         * stdlib/strtof.c: Likewise.
7914         * stdlib/strtold.c: Likewise.
7915         * stdlib/strtod_l.c: New file.
7916         * stdlib/strtof_l.c: New file.
7917         * stdlib/strtold_l.c: New file.
7918         * stdlib/strtol_l.c: New file.
7919         * stdlib/strtoul_l.c: New file.
7920         * stdlib/strtoll_l.c: New file.
7921         * stdlib/strtoull_l.c: New file.
7922         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
7923         * string/string.h: Add prototypes for new functions.
7924         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
7925         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
7926         * sysdeps/generic/strcasecmp_l.c: New file.
7927         * sysdeps/generic/strncase_l.c: New file.
7928         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
7929         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
7930         wcsncase_l.
7931         * wcsmbs/wchar.h: Add prototypes for new functions.
7932         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
7933         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
7934         * wcsmbs/wcscasecmp_l.c: New file.
7935         * wcsmbs/wcsncase_l.c: New file.
7936         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
7937         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
7938         * wcsmcs/wcstod_l.c: New file.
7939         * wcsmcs/wcstof_l.c: New file.
7940         * wcsmcs/wcstold_l.c: New file.
7941         * wcsmcs/wcstol_l.c: New file.
7942         * wcsmcs/wcstoul_l.c: New file.
7943         * wcsmcs/wcstoll_l.c: New file.
7944         * wcsmcs/wcstoull_l.c: New file.
7946         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
7947         $(elf) is defined.  More to come later when other binary formats
7948         are supported.
7949         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
7950         Suggested by Philip Blundell.
7952         * stdlib/Makefile (headers): Add fmtmsg.h.
7953         (routines): Add fmtmsg.
7954         * stdlib/fmtmsg.c: New file.
7955         * stdlib/fmtmsg.h: New file.
7956         * manual/stdio.texi: Add description of fmtmsg and addseverity.
7957         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
7958         documentation.
7960 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
7962         * resolv/res_query.c (res_querydomain): Avoid potential buffer
7963         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
7965 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
7967         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
7968         _dl_sysdep_read_whole_file): Moved functions to ...
7969         * elf/dl-misc.c: This new file.
7970         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
7971         * elf/dl-misc.c: ... here.
7972         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
7973         _dl_sysdep_read_whole_file): Delete functions; they now come from
7974         elf/dl-misc.c (dl-support.c had contained identical versions).
7975         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
7976         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
7977         that the regular ones in dl-misc work once we've initialized.
7978         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
7980 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
7982         * inet/Makefile (headers): Add netinet/inbits.h.
7983         * inet/netinet/in.h: New file.
7984         * sysdeps/generic/netinet/inbits.h: Likewise.
7985         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
7986         * sysdeps/generic/netinet/ip6.h: Move to...
7987         * inet/netinet/ip6.h: ... here.
7988         * sysdeps/generic/netinet/icmp6.h: Move to...
7989         * inet/netinet/icmp6.h: ... here.
7990         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
7991         * sysdeps/generic/netinet/in.h: Remove.
7993 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
7995         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
7996         not looking at the new thread-safe .plt, don't be lazy about relocs.
7997         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
7998         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
7999         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
8000         elf_machine_runtime_setup() decide if we can actually be lazy.
8001         * elf/rtld.c (_dl_start): So don't call it.
8002         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8003         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
8004         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8005         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
8006         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
8007         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
8008         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
8009         skeleton definition.
8011 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
8013         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
8014         stack by fxtract.
8016 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8018         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
8019         add cast to (xdrproc_t) where necessary to prevent warnings.
8021 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
8023         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
8025 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
8027         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
8028         to size_t to prevent warning.
8029         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
8030         instead of numeric values.
8031         Various cleanups.
8032         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
8033         for xdrmem_putbytes.
8034         * sunrpc/xdr_rec.c: Likewise.
8035         * sunrpc/xdr_stdio.c: Likewise.
8036         * sunrpc/rpc/xdr.h: Likewise.
8038         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
8039         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8040         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8042 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
8044         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
8045         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
8046         * sysdeps/generic/netinet/icmp6.h: Likewise.
8047         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
8048         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
8049         glob.c).
8050         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
8051         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
8052         * sysdeps/stub/accept.c (accept): Make args match prototype.
8053         * sysdeps/stub/bind.c (bind): Likewise.
8054         * sysdeps/stub/connect.c (connect): Likewise.
8055         * sysdeps/stub/getpeername.c (getpeername): Likewise.
8056         * sysdeps/stub/getsockname.c (getsockname): Likewise.
8057         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
8058         * sysdeps/stub/send.c (send): Likewise.
8059         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
8060         * sysdeps/stub/readv.c (readv): Likewise.
8061         * sysdeps/stub/writev.c (writev): Likewise.
8062         * sysdeps/stub/sendto.c (sendto): Likewise.
8063         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
8065 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
8067         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
8068         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
8070 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8072         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
8074         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
8075         functions, include <rpc/xdr.h>.
8077         * string/strverscmp.c: Correct typos in comment.
8079         * sunrpc/rpc/xdr.h: Add more `const'.
8080         * sunrpc/xdr_stdio.c: Likewise.
8081         * sunrpc/xdr_rec.c: Likewise.
8083 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
8085         * elf/Makefile (dl-routines): Add dl-sysdepio.
8086         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
8087         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
8088         _dl_sysdep_error and _dl_sysdep_warning to ...
8089         * sysdeps/generic/dl-sysdepio.c: ...here.
8090         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
8091         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
8092         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
8093         of functions.
8094         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8096         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
8097         and for Linux ld.so.
8098         * login/Makefile (libutil.so): Likewise.
8099         * math/Makefile (libm.so): Likewise.
8100         * md5-crypt/Makefile (libcrypt.so): Likewise.
8101         * nis/Makefile (libnss_%.so): Likewise.
8102         * resolv/Makefile (libnss_dns.so): Likewise.
8104 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
8106         * argp/argp-help.c (_help): Supply STATE to argp_args_usage.
8107         (argp_args_usage): Add filtering of the args doc string.
8108         (comma): Print cluster headers for the first entry too.
8109         * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
8111 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
8113         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
8114         interface was changed with addition of _obstack_memory_used.
8115         Suggested by Ian Taylor <ian@cygnus.com>.
8117         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
8118         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
8119         Reported by Ian Taylor <ian@cygnus.com>.
8121         * dirent/Makefile (routines): Add versionsort.
8122         * dirent/dirent.h: Add prototype for versionsort.
8123         * dirent/versionsort.c: New file.
8124         * manual/filesys.texi: Add documentation for versionsort.
8125         * manual/string.texi: Add documentation for strverscmp.
8126         * string/Makefile (routines): Add strverscmp.
8127         (tests): Add tst-svc.
8128         * string/string.h: Add prototype for strverscmp.
8129         * string/strverscmp.c: New file.
8130         * string/tst-svc.c: New file.  Test for strverscmp.
8131         * string/tst-svc.input: New file.  Input data for tst-svc.
8132         * string/tst-svc.expect: New file.  Expected out from tst-svc.
8133         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
8135         * math/Makefile (calls): Add s_signbit.
8137         * po/sv.po: Update.
8139         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
8140         * sunrpc/pmap_rmt.c: Likewise.
8142         * string/basename.c: Don't use ISO C definition style.
8143         Include <config.h> if HAVE_CONFIG_H is defined.
8145         * sunrpc/proto.h: Add `const' wherever possible.
8146         * sunrpc/rpc_cout.c: Likewise.
8147         * sunrpc/rpc_svcout.c: Likewise.
8148         * sunrpc/xdr_mem.c: Likewise.
8149         * sunrpc/xdr_rec.c: Likewise.
8150         * sunrpc/xdr_stdio.c: Likewise.
8151         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
8152         * sunrpc/xdr.c: Little code cleanups.
8153         * sunrpc/xdr_float.c: Likewise.
8154         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
8156         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
8158         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
8160         * time/europe: Update from tzdata1997f.
8161         * time/zic.c: Update from tzcode1997e.
8163 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
8165         * sysdeps/sparc/setjmp.S: Flush windows.
8166         Bug found by Richard Henderson.
8168 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8170         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
8172 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
8174         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
8175         atol instead of atoi.
8177 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
8179         * inet/Makefile (routines): Add if_index.
8180         * sysdeps/unix/sysv/linux/if_index.c: New file.
8181         * sysdeps/stub/if_index.c: New file.
8182         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
8183         if_index.c (required by IPv6 basic API).
8184         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
8186 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
8188         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
8189         for new advanced API draft.
8191 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8193         * stdio-common/printf_fp.c: Only use the field width for deciding
8194         on padding when printing special values.
8195         * stdio-common/printf_fphex.c: Likewise.
8197 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
8199         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
8200         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
8202 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8204         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
8205         msg_add_auth was overflowing it.
8207 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
8209         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
8210         when we can't find the symbol.
8212 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
8214         * posix/regex.c: Fix handling of 32-bit Windog environments.
8215         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
8217 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8219         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
8221 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8223         * elf/ldd.bash.in: Remove spurious quote character from version
8224         message.
8226 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8228         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
8229         loop if the file ends in a long line without newline.
8230         * locale/programs/charmap.c (charmap_read): Likewise.
8232 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
8234         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
8235         * sunrpc/rpc/svc_auth.h: Likewise.
8236         * sunrpc/rpc/svc.h: Likewise.
8237         * sunrpc/rpc/rpc_msg.h: Likewise.
8238         * sunrpc/rpc/pmap_rmt.h: Likewise.
8239         * sunrpc/rpc/pmap_clnt.h: Likewise.
8240         * sunrpc/rpc/clnt.h: Likewise.
8241         * sunrpc/rpc/auth_unix.h: Likewise.
8242         * sysdeps/generic/rpc/auth.h: Likewise.
8243         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8245 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
8247         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
8248         * sysdeps/standalone/arm/errnos.h: New file.
8249         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
8250         * sysdeps/unix/arm/fork.S: New file.
8251         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
8252         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
8253         `streamptr' argument.
8254         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
8255         <stdarg.h> to get va_list defined, return 0 not NULL.
8256         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
8257         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
8258         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
8259         * sysdeps/stub/seekdir.c (seekdir): Likewise.
8260         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
8261         * sysdeps/standalone/dirstream.h: Define struct __dirstream
8262         not DIR; <dirent.h> provides typedef.
8263         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
8264         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
8265         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
8267 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
8269         * sysdeps/powerpc/Dist: New file.
8270         * sysdeps/powerpc/Makefile: New file.
8271         * sysdeps/powerpc/fclrexcpt.c: New file.
8272         * sysdeps/powerpc/fegetenv.c: New file.
8273         * sysdeps/powerpc/fegetround.c: New file.
8274         * sysdeps/powerpc/feholdexcpt.c: New file.
8275         * sysdeps/powerpc/fenvbits.h: New file.
8276         * sysdeps/powerpc/fenv_const.c: New file.
8277         * sysdeps/powerpc/fenv_libc.h: New file.
8278         * sysdeps/powerpc/fesetenv.c: New file.
8279         * sysdeps/powerpc/fesetround.c: New file.
8280         * sysdeps/powerpc/feupdateenv.c: New file.
8281         * sysdeps/powerpc/fgetexcptflg.c: New file.
8282         * sysdeps/powerpc/fraiseexcpt.c: New file.
8283         * sysdeps/powerpc/fsetexcptflg.c: New file.
8284         * sysdeps/powerpc/ftestexcept.c: New file.
8285         * sysdeps/powerpc/mathbits.h: New file.
8287         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
8288         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
8289         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
8291         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
8293         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
8295         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
8296         instead .section ".text".
8298 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
8300         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
8301         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
8302         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
8303         * sysdeps/powerpc/setjmp.S: Likewise.
8305         * sysdeps/unix/sysv/linux/clone.S: Likewise.
8306         * sysdeps/unix/sysv/linux/socket.S: Likewise.
8307         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
8309 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
8311         * sysdeps/powerpc/strchr.s: New file.
8312         * sysdeps/powerpc/strcmp.s: New (ugly) file.
8313         * sysdeps/powerpc/memset.s: New file.
8314         * string/tester.c: Include prototype and _GNU_SOURCE to make
8315         standalone compilation possible. Give strcmp a better
8316         test. Give memset a better test.
8318 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
8320         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
8321         tests before?). Changed to symbolic register numbering as an
8322         experiment.
8323         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
8324         exist.
8325         * sysdeps/rs6000/ffs.c: Likewise.
8327 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
8329         * time/sys/time.h: Make second argument of setitimer const.
8330         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8331         * sysdeps/stub/setitimer.c: Likewise.
8332         * sysdeps/mach/hurd/setitimer.c: Likewise.
8334 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8336         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
8338         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
8339         namespace hierachy.
8340         * nis/nis_intern.h: Add new __nis_docall function prototypes.
8341         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
8342         rewritten functions.
8343         * nis/nis_checkpoint.c: Likewise.
8344         * nis/nis_lookup.c: Likewise.
8345         * nis/nis_mkdir.c: Likewise.
8346         * nis/nis_modify.c: Likewise.
8347         * nis/nis_ping.c: Likewise.
8348         * nis/nis_remove.c: Likewise.
8349         * nis/nis_rmdir.c: Likewise.
8350         * nis/nis_server.c: Likewise.
8351         * nis/nis_table.c: Likewise.
8353 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
8355         * argp/argp-eexst.c: Include <sysexits.h>.
8356         (argp_err_exit_status): Initialize to EX_USAGE.
8357         * argp/argp.h, argp/argp-help.c: Doc fixes.
8359 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
8361         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
8362         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
8364 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
8366         * sysdeps/unix/sysv/linux/poll.c: Save errno.
8368 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
8370         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
8372 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
8374         * sys/ttydefaults.h: Removed.
8376 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8378         * termios/sys/ttydefaults.h: Delete file.
8379         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
8380         TTYDEF_OFLAG.
8381         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
8382         XTABS in TTYDEF_OFLAG.
8383         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
8384         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
8386 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8388         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
8389         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
8391 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
8393         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
8394         _NL_CTYPE_MAP_NAMES field to stringlist.
8395         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
8396         * locale/localeinfo.h (enum value_type): Add stringlist.
8397         * locale/programs/locale.c (show_info): Handle stringlist.
8399         * locale/programs/charmap.c (charmap_read): If charmap file is not
8400         using the given name try to find it by looking through all available
8401         charmap files and compare the code set name.
8402         * locale/programs/locale.c (write_charmaps): Also print names of
8403         charset in <code_set_name> fields in the files.
8405         * elf/ldd.bash.in: Correct translatable strings.
8407         * posix/TESTS: Add some more tests for character class matching.
8408         * posix/regex.c: Merge with GNU awk version.
8409         (regex_compile): Use ISO C/amend 1 functions for character class
8410         handling.
8411         * posix/regex.h: Merge with GNU awk version.
8413         * posix/getopt.c: Declare as master copies.
8414         * posix/getopt1.c: Likewise.
8415         * posix/getopt.h: Likewise.
8417         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
8418         value to mount functions.
8419         Patch by a sun <asun@zoology.washington.edu>.
8421         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
8422         in size for copy relocation.
8423         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8424         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
8425         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
8426         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
8428 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
8430         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
8431         with other tests.
8432         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
8433         with other tests.
8435         * sunrpc/svc_run.c (svc_exit): New, defined.
8436         (svc_run): Test for svc_stop variable.
8437         * sunrpc/rpc/svc.h (svc_exit): New, declared.
8439 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8441         * math/libm-test.c (test_not_exception): Don't mix the internal
8442         exception flags with the host defined FE_* values.  All (indirect)
8443         callers of this and test_exceptions changed to pass the internal
8444         flag values.
8445         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
8446         in test names.
8447         (csinh_test): Allow invalid exception for NaN +- i Inf.
8449 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8451         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
8452         exception on infinite value.
8453         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
8454         __M81_COND_ZERO): New definitions.
8456         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
8457         Use __m81_test.
8459         * sysdeps/m68k/s_ccosh.c: Rewritten.
8460         * sysdeps/m68k/s_csinh.c: Rewritten.
8461         * sysdeps/m68k/s_cexp.c: Rewritten.
8462         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
8463         * sysdeps/m68k/s_ccoshl.c: Likewise.
8464         * sysdeps/m68k/s_csinhf.c: Likewise.
8465         * sysdeps/m68k/s_csinhl.c: Likewise.
8466         * sysdeps/m68k/s_cexpf.c: Likewise.
8467         * sysdeps/m68k/s_cexpl.c: Likewise.
8469         * sysdeps/m68k/s_ccos.c: New file.
8470         * sysdeps/m68k/s_ccosf.c: New file.
8471         * sysdeps/m68k/s_ccosl.c: New file.
8472         * sysdeps/m68k/s_csin.c: New file.
8473         * sysdeps/m68k/s_csinf.c: New file.
8474         * sysdeps/m68k/s_csinl.c: New file.
8476 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8478         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
8479         stamp files to avoid problems with long file names.
8481 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8483         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
8485         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
8486         NaN.  Fix test for sign of infinite y.
8488         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
8490         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
8492 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8494         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
8495         dependencies.
8497         * csu/abi-note.S: Replace undefined macro ALIGNARG.
8498         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
8499         character.
8501 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8503         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
8504         for local label.
8506 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8508         * nis/Makefile (libnsl-routines): Add a lot of new file names.
8510         * nis/nis_names.c (nis_add): Moved from here ...
8511         * nis/nis_add.c: ... to here and fix parameter flags.
8512         * nis/nis_names.c (nis_lookup): Moved from here ...
8513         * nis/nis_lookup.c: ... to here.
8514         * nis/nis_names.c (nis_modify): Moved from here ...
8515         * nis/nis_modify.c: ... to here and fix parameter flags.
8516         * nis/nis_names.c (nis_remove): Moved from here ...
8517         * nis/nis_remove.c: ... to here and fix parameter flags.
8518         * nis/nis_names.c: Removed.
8520         * nis/nis_subr.c (nis_domain_of): Moved from here ...
8521         * nis/nis_domain_of.c: .. to here.
8522         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
8523         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
8525         * nis/nis_addmember.c: New.
8526         * nis/nis_checkpoint.c: New.
8527         * nis/nis_creategroup.c: New.
8528         * nis/nis_defaults.c: New.
8529         * nis/nis_destroygroup.c: New.
8530         * nis/nis_getservlist.c: New.
8531         * nis/nis_ismember.c: New.
8532         * nis/nis_ping.c: New.
8533         * nis/nis_print_group_entry.c: New.
8534         * nis/nis_removemember.c: New.
8535         * nis/nis_mkdir.c: New.
8536         * nis/nis_rmdir.c: New.
8537         * nis/nis_verifygroup.c: New.
8539         * nis/rpcsvc/nislib.h: Fix internal function declarations.
8541         * nis/nis_server (nis_servstate): New.
8542         * nis/nis_server (nis_stats): New.
8544         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
8546         * nis/nis_call.c: Remove debug output.
8548         * nis/nis_intern.c (__nis_finddirectory): Remove.
8550 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
8552         * posix/TESTS2C.sed: Recognize only digits in first field.  This
8553         enables us to use colons in the pattern.
8555 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
8557         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
8558         will preserve non-call-saved registers; save and restore a0 across
8559         the system call.
8560         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
8561         data onto the new thread's stack.
8563 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
8565         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
8566         kernel can return negative values.  Only fail when return value is
8567         in range in range which is never returned as valid address.
8568         Patch by Bruno Haible <haible@ilog.fr>.
8570 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
8572         * math/libm-test.c: Implement test for exceptions.
8573         Partly due to Andreas Jaeger.
8574         (csin_test): New function.
8575         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
8576         * sysdeps/libm-i387/s_cexpf.S: Likewise.
8577         * sysdeps/libm-i387/s_cexpl.S: Likewise.
8578         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
8579         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
8580         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
8581         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
8582         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8583         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8584         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
8585         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
8586         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
8587         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
8588         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8589         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8590         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
8591         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8592         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8594         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
8595         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8596         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8597         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
8598         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8599         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8601         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
8602         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
8603         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
8605         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
8606         case.
8608         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
8609         for local label.
8611         * time/strftime.c (add): Respect `0' padding flag.
8612         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
8614 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
8616         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
8617         Use in +link macro.
8618         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
8619         (start-installed-name): Don't define here.
8620         When ELF generate file named by start-installed-name from start.o
8621         and abi-note.o.
8622         * csu/abi-note.S: New file.
8623         * sysdeps/stub/abi-tag.h: New file.
8624         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
8625         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
8627 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
8629         * manual/stdio.texi: Use @vtable where possible.
8630         Add TeX version of @multitable since texi2dvi cannot handle them
8631         correct in the moment.
8633         * po/de.po: Update.
8635 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
8637         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
8638         * config.make.in: Set cross-compiling from configure result.
8639         * configure.in: Emit definition of `cross_compiling'.
8640         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8642 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
8644         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
8645         correct `int' sizes for struct members.
8647 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
8649         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
8650         * sysdeps/libm-i387/e_pow.S: Likewise.
8651         * sysdeps/libm-i387/e_powl.S: Likewise.
8653 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8655         * math/fenv.h: Correct typos.
8657 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
8659         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
8660         in t0 rather than a4 to avoid it being clobbered.
8662 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8664         * manual/summary.awk: Recognize @defmumblex.
8666         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
8667         second description header.
8669 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8671         * manual/arith.texi (Floating-Point Classes): Don't indent text,
8672         makeinfo doesn't like that.
8674 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8676         * malloc/obstack.h (obstack_specify_allocation_with_arg,
8677         obstack_chunkfun, obstack_freefun): Fix casts.
8679 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8681         * manual/xtract-typefun.awk: Allow names with only one character.
8683 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
8685         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
8686         not <netinet/icmp.h>.
8687         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8689 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
8691         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
8692         to command line of compiler.
8693         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
8695         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
8696         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
8698         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
8699         in declaration.
8700         Patch by Michael Widenius <monty@tcx.se>.
8702         * time/strptime.c (strptime_internal): Fix %I format specifier
8703         being off by one.
8704         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
8706 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8708         * stdlib/lcong48_r.c: Include <limits.h>.
8709         * stdlib/seed48_r.c: Likewise.
8711         * stdio-common/printf_size.c (printf_size): Correct type of
8712         `units' and make robust against future changes.
8714 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8716         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
8717         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
8718         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
8720 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8722         * manual/arith.texi, manual/math.texi: Use @defmumblex for
8723         additional description headers.
8724         * manual/xtract-typefun.awk: Recognize them.
8726 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8728         * stdio-common/printf_size.c (printf_size): Correct size of array
8729         units.
8731 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
8733         * libgen.h: New file.
8735 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
8737         * stdlib/drand48.c: Cleanup namespace.
8738         * stdlib/drand48_r.c: Cleanup namespace.
8739         * stdlib/erand48.c: Cleanup namespace.
8740         * stdlib/erand48_r.c: Cleanup namespace.
8741         * stdlib/jrand48.c: Cleanup namespace.
8742         * stdlib/jrand48_r.c: Cleanup namespace.
8743         * stdlib/lrand48.c: Cleanup namespace.
8744         * stdlib/lrand48_r.c: Cleanup namespace.
8745         * stdlib/mrand48.c: Cleanup namespace.
8746         * stdlib/mrand48_r.c: Cleanup namespace.
8747         * stdlib/nrand48.c: Cleanup namespace.
8748         * stdlib/nrand48_r.c: Cleanup namespace.
8749         * stdlib/lcong48.c: Cleanup namespace.
8750         * stdlib/lcong48_r.c: Cleanup namespace.
8751         * stdlib/srand48.c: Cleanup namespace.
8752         * stdlib/srand48_r.c: Cleanup namespace.
8753         * stdlib/seed48.c: Cleanup namespace.
8754         * stdlib/seed48_r.c: Cleanup namespace.
8756         * stdlib/stdlib.h: Provide new prototypes.
8758 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
8760         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
8761         fpclassify & friends, and complex number operations.
8762         Update various other math functions for ISO C 9X.
8763         * manual/math.texi: Update various entries for ISO C 9X.
8764         Add description for complex number functions.
8765         Add description of rand48 function family.
8766         * manual/string.h: Add description of a64l and l64a.
8768         * math/cmathcalls.h: Fix typo.
8770         * stdlib/a64l.c: Pretty printing.
8772         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
8773         * stdlib/srand48_r.c: Likewise.
8774         * stdlib/stdlib.h: Pretty printing.
8776         * sysdeps/i386/fpu/__math.h: Fix typo.
8778         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
8779         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
8781 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8783         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
8785 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8787         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
8788         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
8789         isunordered.
8791 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
8793         * rellns-sh: Handle files in the same directory correctly.
8795 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
8797         * csu/initfini.c: Place ALIGN instruction at correct positions.
8798         Patch by Richard Henderson <richard@twiddle.rth.home>.
8800 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
8802         * Make-dist: Don't automatically ignore .c files if the .S or .s file
8803         is ignored.
8805         * csu/Makefile (distribute): Add defs.awk.
8807 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
8809         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
8810         * sysdeps/stub/shmdt.c: Likewise.
8811         Reported by Thomas Bushnell, n/BSG.
8813 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
8815         * manual/stdio.texi: Add description of printf_size and
8816         printf_size_info.  Partly based on the documentation by Larry McVoy.
8818 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
8820         * stdio-common/printf_size.c (printf_size): Correct values for
8821         `units'.
8822         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
8823         * stdio-common/tst-printfsz.c: New file.
8824         * stdio-common/Makefile (tests): Add tst-printfsz.c.
8825         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
8826         strings.
8828 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
8830         * login/utmp.h: Add prototype for updwtmp.
8831         * login/logwtmp.c: Add new function updwtmp which allows to write
8832         a complete record to the wtmp file.
8833         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
8835 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8837         * math/Makefile (headers): Add mathbits.h.
8839 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8841         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
8842         * sysdeps/m68k/fpu/s_sincos.c: New file.
8843         * sysdeps/m68k/fpu/s_sincosf.c: New file.
8844         * sysdeps/m68k/fpu/s_sincosl.c: New file.
8846         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
8847         functions.
8848         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
8850         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
8851         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8852         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8853         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
8854         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
8855         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
8857 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
8859         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
8860         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
8862 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
8864         * csu/initfini.c: Rewrite by Zack Weinberg
8865         <zack@rabi.phys.columbia.edu>.
8866         * csu/Makefile: Add rules for rewrite.
8867         * csu/defs.awk: Helper script to generate derived header.
8869 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
8871         * misc/libgen.h: Change prototype for of basename to XPG variant.
8872         * stdlib/Makefile (routines): Add xpg_basename.
8873         * stdlib/basename.c: New file.
8874         * string/string.h: Don't declare basename function if basename
8875         macro is available.
8877 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
8879         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
8881 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8883         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
8884         * sysdeps/m68k/fpu/fenvbits.h: New file.
8885         * sysdeps/m68k/fpu/fegetenv.c: New file.
8886         * sysdeps/m68k/fpu/fegetround.c: New file.
8887         * sysdeps/m68k/fpu/fesetenv.c: New file.
8888         * sysdeps/m68k/fpu/fesetround.c: New file.
8889         * sysdeps/m68k/fpu/feupdateenv.c: New file.
8890         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
8891         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
8892         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
8893         * sysdeps/m68k/fpu/ftestexcept.c: New file.
8894         * sysdeps/m68k/fpu/mathbits.h: New file.
8896         * sysdeps/m68k/fpu/s_remquo.c: New file.
8897         * sysdeps/m68k/fpu/s_remquol.c: New file.
8898         * sysdeps/m68k/fpu/s_remquof.c: New file.
8900         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
8901         mantissa overflows into exponent.  Fix priority of >> vs +.
8903         * math/libm-test.c (basic_tests): Use the appropriate isnan and
8904         isinf function to test the value of the nan function.
8906 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
8908         * sysdeps/libm-i387/s_finite.S: Fix typo.
8910         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
8911         isgreaterequal, isless, islessequal, islessgreater, and
8912         isunordered.
8914 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
8916         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
8918         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
8919         * math/mathcalls.h: Add prototype for sincos.
8920         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
8921         inlined sin and cos function.
8922         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
8923         Add optimized version of finite.
8924         Rewrite sincos function to handle too large arguments.
8925         * sysdeps/libm-i387/s_cos.S: Better code alignment.
8926         * sysdeps/libm-i387/s_cosl.S: Likewise.
8927         * sysdeps/libm-i387/s_sin.S: Likewise.
8928         * sysdeps/libm-i387/s_sinl.S: Likewise.
8929         * sysdeps/libm-i387/s_finite.S: Yet better code.
8930         * sysdeps/libm-i387/s_finitef.S: Likewise.
8931         * sysdeps/libm-i387/s_sincos.S: New file.
8932         * sysdeps/libm-i387/s_sincosf.S: New file.
8933         * sysdeps/libm-i387/s_sincosl.S: New file.
8934         * sysdeps/libm-ieee754/s_sincos.c: New file.
8935         * sysdeps/libm-ieee754/s_sincosf.c: New file.
8936         * sysdeps/libm-ieee754/s_sincosl.c: New file.
8938         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
8939         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
8940         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
8941         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
8942         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
8943         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
8944         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
8945         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
8946         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
8947         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
8948         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
8949         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
8950         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
8951         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
8952         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
8954         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
8955         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
8957         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
8958         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
8960         * nis/Makefile (services): Mention nisplus before compat.
8961         * nis/nis_call.c (__do_niscall): Change type of variable server_len
8962         to prevent warning.
8963         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
8964         cast to prevent warning.
8965         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
8966         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
8967         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
8968         type of variable `i' to prevent warning.
8969         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
8970         Likewise.
8971         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
8972         Likewise.
8973         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
8974         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
8975         Likewise.
8977         * sysdeps/generic/Dist: Remove old math implementation files.
8978         * sysdeps/generic/mathimpl.h: Removed.
8979         * sysdeps/generic/trig.h: Removed.
8980         * sysdeps/generic/sincos.c: Removed.
8981         * sysdeps/generic/asincos.c: Removed.
8982         * sysdeps/generic/exp__E.c: Removed.
8983         * sysdeps/generic/log__L.c: Removed.
8985 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8987         * malloc/malloc.c (fREe): Small optimization.  Before returning,
8988         add fast check whether the heap containing top can go away.
8990 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8992         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
8993         failing to allocate a new chunk, also try the main_arena.  It may
8994         be that we are only running out of mmapped regions, and other
8995         arenas cannot be enlarged sufficiently.
8996         (new_heap, malloc_extend_top): Handle top_pad more consistently,
8997         i.e. only in new_heap().
8999 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
9001         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
9002         if cross-compiling.
9004         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
9006         * configure.in: Add ARM support.
9007         * sysdeps/arm/Implies: New file.
9008         * sysdeps/arm/__longjmp.S: New file.
9009         * sysdeps/arm/bsd-_setjmp: New file.
9010         * sysdeps/arm/bsd-setjmp: New file.
9011         * sysdeps/arm/bytesex.h: New file.
9012         * sysdeps/arm/fpu_control.h: New file.
9013         * sysdeps/arm/jmp_buf.h: New file.
9014         * sysdeps/arm/setjmp.h: New file.
9015         * sysdeps/arm/sysdep.h: New file.
9016         * sysdeps/unix/arm/config.h: New file.
9018 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
9020         * sysdeps/libm-ieee754/s_cproj.c: New file.
9021         * sysdeps/libm-ieee754/s_cprojf.c: New file.
9022         * sysdeps/libm-ieee754/s_cprojl.c: New file.
9024 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
9026         * isomac.c: Improve messages.
9028         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
9029         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
9030         s_catanh, s_csqrt, and s_cpow.
9031         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
9032         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
9033         csqrt_test, cpow_test, rint_test.
9034         * math/math.h: Include new header mathbits.h which defines some
9035         more (system dependent) types and some macros.
9036         (isfinite): Use __finite instead of fpclassify.
9037         * sysdeps/generic/mathbits.h: New file.
9038         * sysdeps/i386/fpu/mathbits.h: New file.
9039         * sysdeps/i386/huge_val.h: Don't define INFINITY.
9040         * sysdeps/ieee754/huge_val.h: Likewise.
9041         * sysdeps/m68k/huge_val.h: Likewise.
9043         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
9044         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
9046         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
9047         standard first.
9049         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
9050         * sysdeps/libm-i387/s_finitef.S: Likewise.
9051         * sysdeps/libm-i387/s_finitel.S: Likewise.
9052         Provided by Joe Keane <jgk@jgk.org>.
9054         * sysdeps/libm-i387/s_nearbyint.S: New file.
9055         * sysdeps/libm-i387/s_nearbyintf.S: New file.
9056         * sysdeps/libm-i387/s_nearbyintl.S: New file.
9057         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
9058         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
9059         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
9061         * sysdeps/libm-ieee754/s_cacos.c: New file.
9062         * sysdeps/libm-ieee754/s_cacosf.c: New file.
9063         * sysdeps/libm-ieee754/s_cacosl.c: New file.
9064         * sysdeps/libm-ieee754/s_cacosh.c: New file.
9065         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
9066         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
9067         * sysdeps/libm-ieee754/s_casin.c: New file.
9068         * sysdeps/libm-ieee754/s_casinf.c: New file.
9069         * sysdeps/libm-ieee754/s_casinl.c: New file.
9070         * sysdeps/libm-ieee754/s_casinh.c: New file.
9071         * sysdeps/libm-ieee754/s_casinhf.c: New file.
9072         * sysdeps/libm-ieee754/s_casinhl.c: New file.
9073         * sysdeps/libm-ieee754/s_catan.c: New file.
9074         * sysdeps/libm-ieee754/s_catanf.c: New file.
9075         * sysdeps/libm-ieee754/s_catanl.c: New file.
9076         * sysdeps/libm-ieee754/s_catanh.c: New file.
9077         * sysdeps/libm-ieee754/s_catanhf.c: New file.
9078         * sysdeps/libm-ieee754/s_catanhl.c: New file.
9079         * sysdeps/libm-ieee754/s_ccos.c: New file.
9080         * sysdeps/libm-ieee754/s_ccosf.c: New file.
9081         * sysdeps/libm-ieee754/s_ccosl.c: New file.
9082         * sysdeps/libm-ieee754/s_cpow.c: New file.
9083         * sysdeps/libm-ieee754/s_cpowf.c: New file.
9084         * sysdeps/libm-ieee754/s_cpowl.c: New file.
9085         * sysdeps/libm-ieee754/s_csin.c: New file.
9086         * sysdeps/libm-ieee754/s_csinf.c: New file.
9087         * sysdeps/libm-ieee754/s_csinl.c: New file.
9088         * sysdeps/libm-ieee754/s_csqrt.c: New file.
9089         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
9090         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
9091         * sysdeps/libm-ieee754/s_ctan.c: New file.
9092         * sysdeps/libm-ieee754/s_ctanf.c: New file.
9093         * sysdeps/libm-ieee754/s_ctanl.c: New file.
9094         * sysdeps/libm-ieee754/s_ctanh.c: New file.
9095         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
9096         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
9098         * time/strftime.c (memset_space): Increment pointer.
9099         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
9100         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
9102 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
9104         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
9105         pipe, syscall.
9107 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9109         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9110         probably still wrong.
9111         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9112         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9114         * math/libm-test.c (remquo_test): Corrected.
9116 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9118         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
9119         * sysdeps/m68k/fpu/s_rinttol.c: New file.
9120         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
9122         * math/libm-test.c (remquo_test): Use check_long to test the
9123         quotient.
9124         (cbrt_test): Add epsilons for long double.
9126 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9128         * locale/localeinfo.h: Update declaration of _nl_current.
9130 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
9132         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
9134         * math/Makefile (headers): Add fenv.h and fenvbits.h.
9135         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
9136         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
9137         fegetenv, feholdexcpt, fesetenv, feupdateenv.
9138         (libm-calls): Add s_round.
9139         * math/fenv.h: New file.
9140         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
9141         Add roundtol_check and roundtoll_check.
9142         * math/math.h: Pretty printing.
9143         * sysdeps/i386/fpu/fclrexcpt.c: New file.
9144         * sysdeps/i386/fpu/fegetenv.c: New file.
9145         * sysdeps/i386/fpu/fegetround.c: New file.
9146         * sysdeps/i386/fpu/feholdexcpt.c: New file.
9147         * sysdeps/i386/fpu/fenvbits.h: New file.
9148         * sysdeps/i386/fpu/fesetenv.c: New file.
9149         * sysdeps/i386/fpu/fesetround.c: New file.
9150         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
9151         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
9152         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
9153         * sysdeps/i386/fpu/ftestexcept.c: New file.
9154         * sysdeps/stub/fclrexcpt.c: New file.
9155         * sysdeps/stub/fegetenv.c: New file.
9156         * sysdeps/stub/fegetround.c: New file.
9157         * sysdeps/stub/feholdexcpt.c: New file.
9158         * sysdeps/stub/fenvbits.h: New file.
9159         * sysdeps/stub/fesetenv.c: New file.
9160         * sysdeps/stub/fesetround.c: New file.
9161         * sysdeps/stub/fgetexcptflg.c: New file.
9162         * sysdeps/stub/fraiseexcpt.c: New file.
9163         * sysdeps/stub/fsetexcptflg.c: New file.
9164         * sysdeps/stub/ftestexcept.c: New file.
9166         * sysdeps/libm-i387/s_trunc.S: New file.
9167         * sysdeps/libm-i387/s_truncf.S: New file.
9168         * sysdeps/libm-i387/s_truncl.S: New file.
9170         * sysdeps/libm-ieee754/s_round.c: New file.
9171         * sysdeps/libm-ieee754/s_roundf.c: New file.
9172         * sysdeps/libm-ieee754/s_roundl.c: New file.
9174         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
9175         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9176         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9177         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9178         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9179         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9180         * sysdeps/libm-ieee754/s_clog.c: Likewise.
9181         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
9182         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
9183         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
9184         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
9185         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
9187         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
9188         63 bits.
9189         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
9191         * po/pl.po: Updated.
9193         * string/swab.c: Correctly handle array of odd length.
9195         * sysdeps/generic/memmem.c: Update copyright.
9196         * manual/string.texi: Correct prototype in memmem documentation.
9198 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
9200         * hurd/Makefile (sunrpc-headers): Add clnt.h.
9201         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
9203 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
9205         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
9206         the proper value from the GOT.  Pass argument block to
9207         init function.
9209         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
9210         _init ().
9212         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
9213         wrong the first time.
9215         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
9216         register.
9218         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
9220         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
9221         SYSDEP_CALL_INIT.
9223         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
9224         NSIG and duplicated SIGIOT.
9226 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9228         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9229         probably still wrong.
9230         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9231         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9233         * math/libm-test.c (remquo_test): Corrected.
9235 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9237         * Makefile (parent-tests): New target to run the tests to that
9238         they are executed even if some subdir tests have failed.
9239         (tests): Depend on parent-tests instead of running the tests
9240         directly.
9242 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9244         Clean up name space pollution in libnss_*.so:
9245         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
9246         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
9247         memcpy and bcmp by memcmp to clean up namespace.
9248         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
9249         dbopen.
9250         * nss/nss_db/db-alias.c (internal_setent): Likewise.
9251         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
9252         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
9253         the latter a weak alias.
9254         * db/db.h: Declare __dbopen.
9255         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
9256         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
9257         prefix and make the old names weak aliases.
9258         * db/mpool.h: Declare the new internal names.
9260 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9262         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
9263         * stdio-common/tstscanf.c: Add test case for this.
9265 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9267         * math/libm-test.c: Fix more typos.
9269 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9271         * math/libm-test.c (csinh_test): Fix test names.
9272         (ccosh_test): Likewise.
9274         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
9275         computing it directly.
9276         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9277         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9279         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
9280         computing it directly.
9281         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9282         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9284         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
9285         of wrapper.
9286         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9287         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9288         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
9289         special values.  Avoid use of fsincos if all that is needed is the
9290         quadrant.
9292         * sysdeps/m68k/fpu/s_ccosh.c: New file.
9293         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
9294         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
9295         * sysdeps/m68k/fpu/s_csinh.c: New file.
9296         * sysdeps/m68k/fpu/s_csinhl.c: New file.
9297         * sysdeps/m68k/fpu/s_csinhf.c: New file.
9299 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9301         * manual/Makefile (dir-add.texi): Simplify.
9303 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
9305         * rellns-sh: Rewrite to work also in presence of symlinks.
9307         * argp/argp-fmtstream.c: Add casts to prevent warnings.
9308         * argp/argp-fmtstream.h: Likewise.
9309         * argp/argp-help.c: Likewise.
9311         * elf/dl-minimal.c: Add definition of calloc.
9312         * elf/version.c: Add casts to prevent warnings.
9313         (_dl_check_map_versions): Use calloc instead of malloc+memset.
9315         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
9316         Reported by Greg McGary <gkm@eng.ascend.com>.
9318         * manual/libc.texinfo: Update malloc documentation for new malloc.
9319         * manual/memory.texi: Likewise.
9320         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
9322         * math/libm-test.c (check_long): New function.
9323         (check_longlong): New function.
9324         (rinttol_test): New function.
9325         (rinttoll_test): New function.
9327         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
9328         * nis/nss_compat/compat-pwd.c: Likewise.
9329         * nis/nss_compat/compat-spwd.c: Likewise.
9331         * stdlib/erand48_r.c (erand48_r): Build double value using
9332         ieee754_double union and use random bits in different order to
9333         increase effect of seed.
9334         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
9336         * sunrpc/svc_auth.c: Moved to ...
9337         * sysdeps/generic/svc_auth.c: ...here.
9339         * time/time.h: Pretty print.
9341 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
9343         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
9344         a read-only stream.
9346 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
9348         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
9349         in correct place.
9350         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9352 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
9354         * stdio-common/Makefile (tests): Add tst-ferror.
9355         * stdio-common/tst-ferror.c: New file.  Some tests for error
9356         indicator of streams.
9357         * stdio-common/tst-ferror.input: New file.
9359         * isomac.c: Let tests not fail because the compiler defines itself
9360         symbols which violate the name space rules.  gcc defines symbols
9361         for the architecture which are not protected by an underscore
9362         character.
9364         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
9365         (libm-calls): Add s_clog.
9366         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
9367         logarithm of complex value.
9368         * sysdeps/libm-ieee754/s_clogf.c: New file.
9369         * sysdeps/libm-ieee754/s_clogl.c: New file.
9370         * math/libm-test.c (clog_test): Compile this function.  Fix a few
9371         typos.
9372         (main): Call clog_test.
9374         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
9375         value to long int.
9376         * sysdeps/libm-i387/s_rinttol.S: New file.
9377         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
9378         value to long long int.
9379         * sysdeps/libm-i387/s_rinttoll.S: New file.
9381         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
9382         version was full of errors.
9384         * math/math.h (rinttol): Argument is of type `long double' not
9385         `double'.
9386         (rinttoll): Likewise.
9387         (roundtol): Likewise.
9388         (roundtoll): Likewise.
9390 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
9392         * posix/getopt.c (_getopt_initialize): Preserve optind.
9393         (_getopt_internal): Set optind to 1 if optind == 0 before
9394         calling _getopt_initialize ().
9396 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9398         * nis/rpcsvc/nislib.h: Change const nis_name to new type
9399         const_nis_name.
9400         * nis/nis_intern.c: Likewise.
9401         * nis/nis_intern.h: Likewise.
9402         * nis/nis_server.c: Likewise.
9403         * nis/nis_subr.c: Likewise.
9404         * nis/nis_table.c: Likewise.
9405         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
9406         nis_add().
9408         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
9409         * nis/nss_compat/compat-spwd.c: Likewise.
9411 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
9413         * libio/fileops.c (_IO_file_overflow): Set error when try to write
9414         on a read-only stream.
9416         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
9417         (ut_time): Define it only if _NO_UT_TIME is not defined.
9419 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
9421         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
9422         if not already defined.
9424 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
9426         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
9427         get definition of sa_family_t for <linux/atalk.h>.
9428         Reported by a sun <asun@zoology.washington.edu>.
9430         * malloc/malloc.c (cALLOc): Little optimization.
9432 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
9434         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
9435         headers but instead add comments and parameter names.
9436         Don't use BSD specific types in prototypes.
9438         * manual/nss.texi: Correct a few typos and errors.
9440         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
9441         algorithm.
9442         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
9443         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
9445         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
9446         with new algorithm.
9447         * sysdeps/libm-i387/s_cbrtf.S: New file.
9448         * sysdeps/libm-i387/s_cbrtl.S: New file.
9450         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
9451         * sysdeps/libm-i387/s_frexpf.S: Likewise.
9452         * sysdeps/libm-i387/s_frexpl.S: Likewise.
9454 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9456         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
9458         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
9459         DES part only with secure RPC add-on.
9461         * nis/nis_names.c (nis_modify): Fix rpc function number.
9463         * nis/nis_server.c: Fix typos.
9465         * nis/nss_compat/compat-grp.c: Add NIS+ support.
9466         * nis/nss_compat/compat-pwd.c: Likewise.
9467         * nis/nss_compat/compat-spwd.c: Likewise.
9469         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
9470         signals success.
9472         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
9473         secure RPC.
9474         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9475         * nis/ypclnt.c: Likewise.
9476         * nis/nis_intern.h: Likewise.
9478         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
9479         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9480         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9481         * nis/nss_nisplus/nisplus-network.c: Likewise.
9482         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9483         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9484         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9485         * nis/nss_nisplus/nisplus-service.c: Likewise.
9486         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9488         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
9489         and speedup.
9490         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9492 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
9494         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
9495         arguments.
9497 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
9499         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
9500         typo.
9502 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
9504         * sysdeps/libm-ieee754/s_nanf.c:
9505         * sysdeps/libm-ieee754/s_nan.c:
9506         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
9507         declaration of sprintf.
9509 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
9511         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
9512         strong_alias.
9513         Reported by sun <asun@zoology.washington.edu>.
9515         * rpc/auth.h: Removed.
9516         * rpc/auth_des.h: Removed.
9517         * sunrpc/rpc/auth.h: Moved to ...
9518         * sysdeps/generic/rpc/auth.h: ...here.
9519         * sunrpc/rpc/auth_des.h: Moved to ...
9520         * sysdeps/generic/rpc/auth_des.h: ...here.
9522 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
9524         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
9525         * sysdeps/libm-i387/s_frexpf.S: New file.
9526         * sysdeps/libm-i387/s_frexpl.S: New file.
9528 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
9530         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
9531         (sysdep_headers): Remove netinet/icmp.h.
9533 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
9535         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
9536         threaded programs.
9537         * manual/stdio.texi: Change wording for snprintf description a bit.
9538         Correct typo in example.
9539         * manual/lang.texi: Add documentation of __va_copy.
9541         * Makefile: Add rule to easily generate dir-add.texi file.
9542         * manual/Makefile: Likewise.
9544         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
9545         Change description of strtoll and strtoull to make clear these
9546         are the preferred names.
9547         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
9548         and friends.
9549         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
9550         HUGE_VALL.
9552 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
9554         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
9555         adjustment if the underlying function say it is too small.
9556         * pwd/fgetpwent.c: Likewise.
9557         * shadow/fgetspent.c: Likewise.
9558         * shadow/sgetspent.c: Likewise.
9560         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
9561         this means there was not enough room for the gr_mem array.
9563         * nss/nss_files/files-XXX.c: Leave loop and return error if
9564         `parse_result' returns -1.
9566         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
9567         of trailing list fails because of low memory.
9568         (parse_list): Rewrite.  The logic was completly incorrect since
9569         the checks for overflowing the array were not executed when
9570         needed.
9572         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
9573         signals success.
9575         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
9576         * nss/getXXent.c: Likewise.
9578         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
9579         is set in mantissa.
9580         * stdlib/strtof.c: Likewise.
9581         * stdlib/strtold.c: Likewise.
9582         * wcsmbs/wcstof.c: Likewise.
9583         * wcsmbs/wcstold.c: Likewise.
9585         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
9586         string.
9587         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
9588         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
9590 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
9592         * manual/errno.texi: Add description of strerror_r.
9594 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
9596         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
9598 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
9600         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
9602 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9604         * sysdeps/m68k/fpu/s_cexp.c: New file.
9605         * sysdeps/m68k/fpu/s_cexpf.c: New file.
9606         * sysdeps/m68k/fpu/s_cexpl.c: New file.
9607         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
9608         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
9609         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
9610         * sysdeps/m68k/fpu/s_trunc.c: New file.
9611         * sysdeps/m68k/fpu/s_truncf.c: New file.
9612         * sysdeps/m68k/fpu/s_truncl.c: New file.
9614         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
9615         * sysdeps/m68k/fpu/s_modff.c: Adapted.
9616         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
9618         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
9619         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
9620         typo in test for `y = 0.5'.
9622         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
9623         __nearbyint.  Remove __modf.
9625         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
9626         Define for gcc bug workaround.
9628         * math/libm-test.c (log2_test): Add epsilon for long double to
9629         "log2 (e)" and "log2 (16)".
9630         (modf_test): Fix test name.
9631         (sqrt_test): Add missing FUNC.
9633 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9635         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
9637 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9639         * stdlib/stdlib.h: Declare __clearenv.
9641 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9643         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
9644         the last change.
9646 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9648         * configure.in: Call AC_CANONICAL_BUILD before referencing
9649         $build.  Fix test for BUILD_CC.
9651 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
9653         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
9655 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
9657         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
9659 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
9661         * sysdeps/i386/memset.c: Fix typo.
9662         * sysdeps/stub/fchmod.c: Fix typo.
9663         * sysdeps/stub/fchdir.c: Fix typo.
9664         Reported by Fila Kolodny <fila@ibi.com>.
9666 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
9668         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
9669         * math/libm-test.c (initialize): Make strings unique and force
9670         values to memory.
9672         * posix/regex.c: Debug debugging code.
9674         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
9675         syntax for local label.
9676         * sysdeps/i386/add_n.S: Use correct local label syntax for the
9677         binary format.
9678         * sysdeps/i386/addmul_1.S: Likewise.
9679         * sysdeps/i386/lshift.S: Likewise.
9680         * sysdeps/i386/memchr.S: Likewise.
9681         * sysdeps/i386/memcmp.S: Likewise.
9682         * sysdeps/i386/mul_1.S: Likewise.
9683         * sysdeps/i386/rshift.S: Likewise.
9684         * sysdeps/i386/stpcpy.S: Likewise.
9685         * sysdeps/i386/stpncpy.S: Likewise.
9686         * sysdeps/i386/strchr.S: Likewise.
9687         * sysdeps/i386/strcspn.S: Likewise.
9688         * sysdeps/i386/strlen.S: Likewise.
9689         * sysdeps/i386/strpbrk.S: Likewise.
9690         * sysdeps/i386/strrchr.S: Likewise.
9691         * sysdeps/i386/strspn.S: Likewise.
9692         * sysdeps/i386/strtok.S: Likewise.
9693         * sysdeps/i386/sub_n.S: Likewise.
9694         * sysdeps/i386/submul_1.S: Likewise.
9695         * sysdeps/i386/i486/strcat.S: Likewise.
9696         * sysdeps/i386/i486/strlen.S: Likewise.
9697         * sysdeps/i386/i586/add_n.S: Likewise.
9698         * sysdeps/i386/i586/addmul_1.S: Likewise.
9699         * sysdeps/i386/i586/lshift.S: Likewise.
9700         * sysdeps/i386/i586/memset.S: Likewise.
9701         * sysdeps/i386/i586/mul_1.S: Likewise.
9702         * sysdeps/i386/i586/rshift.S: Likewise.
9703         * sysdeps/i386/i586/strchr.S: Likewise.
9704         * sysdeps/i386/i586/strlen.S: Likewise.
9705         * sysdeps/i386/i586/sub_n.S: Likewise.
9706         * sysdeps/i386/i586/submul_1.S: Likewise.
9708         * sysdeps/stub/s_log2l.c: Correct function name.
9710         * time/africa: Updated from ADO tzdata1997e.
9711         * time/antarctica: Likewise.
9712         * time/asia: Likewise.
9713         * time/australasia: Likewise.
9714         * time/europe: Likewise.
9715         * time/northamerica: Likewise.
9716         * time/southamerica: Likewise.
9717         * time/private.h: Updated from ADO tzcode1997d.
9718         * time/scheck.c: Likewise.
9720 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
9722         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
9724 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
9726         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
9727         * string/tst-strlen.c: Also test various string alignments.
9729 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
9731         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
9732         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
9734         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
9735         program base address is 0x01800000 if we can't otherwise tell what
9736         it is.
9737         (elf_machine_rela): Replace `assertion failed' with real error
9738         messages.
9740         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
9741         Put in extra parentheses to make explicit the relative precedence
9742         of + and >>.
9744         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
9745         pass.
9746         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
9748         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
9749         instead of .text.
9751 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
9753         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
9754         instead.
9756         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
9757         thread-specific memory in multi-threaded programs.
9759         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
9760         * sysdeps/stub/s_exp2f.c: New file.
9761         * sysdeps/stub/s_exp2l.c: New file.
9762         Reported by a sun <asun@zoology.washington.edu>.
9764         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
9765         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
9766         Suggested by a sun <asun@zoology.washington.edu>.
9768 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
9770         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
9771         of <netinet/icmp.h>.
9772         Patch by a sun <asun@zoology.washington.edu>.
9774 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
9776         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
9777         csqrt_test.
9779 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
9781         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
9783         * math/complex.h: Add C++ protection.
9785         * math/libm-test.c (cexp_test): Correct a few bugs.
9786         (csinh_test): New function.
9787         (ccosh_test): New function.
9788         (cacos_test): New function.
9789         (cacosh_test): New function.
9790         (casinh_test): New function.
9791         (catanh_test): New function.
9792         (main): Add calls to csinh_test and ccosh_test.
9794         * misc/Makefile (tests): Add tst-tsearch.
9795         Add rule to link tst-tsearch against libm.
9796         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
9797         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
9798         * misc/tst-tsearch.c: New file.
9800         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
9801         before using system.
9802         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
9803         before using popen.
9805         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
9806         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9807         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9809         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
9810         of complex exponential function.
9811         * sysdeps/libm-i387/s_cexpf.S: New file.
9812         * sysdeps/libm-i387/s_cexpl.S: New file.
9814         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
9815         complex cosh function.
9816         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
9817         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
9818         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
9819         complex sinh function.
9820         * sysdeps/libm-ieee754/s_csinhf.c: New file.
9821         * sysdeps/libm-ieee754/s_csinhl.c: New file.
9823         * math/carg.c: New file.  Generic implementatio of carg function.
9824         * math/cargf.c: New file.
9825         * math/cargl.c: New file.
9827 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
9829         * sysdeps/posix/system.c: Update copyright.
9831 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
9833         * elf/dl-error.c (_dl_catch_error): Add another argument which is
9834         passed to OPERATE.
9835         (_dl_receive_error): Likewise.
9836         * elf/link.h: Change prototypes for _dl_catch_error and
9837         _dl_receive_error to reflect above change.
9838         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
9839         with additional argument with pointer to data.
9840         * elf/dlclose.c: Likewise.
9841         * elf/dlerror.c: Likewise.
9842         * elf/dlopen.c: Likewise.
9843         * elf/dlsym.c: Likewise.
9844         * elf/dlvsym.c: Likewise.
9845         * elf/rtld.c: Likewise.
9846         * nss/nsswitch.c: Likewise.
9847         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
9849 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
9851         * elf/dl-error.c: Manually set up the values of "c", this avoids a
9852         call to memcpy and a zero 152 bytes structure.
9854         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
9855         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
9856         pass.
9858         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
9860         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
9861         kernel_sigaction.h
9863         Add Linux/SPARC specific definitions.
9864         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
9865         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
9866         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
9867         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
9868         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
9869         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
9870         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
9872 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
9874         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
9875         __getservbyname_r() not getservbyname().
9876         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
9878 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
9880         * gmon/gmon.c (monstartup): Mark all messages.
9881         (write_call_graph): Rewrite to use larger I/O vector for writev
9882         call to reduce syscall overhead.
9883         (write_bb_counts): Simplify writev handling.
9885         * inet/rexec.c: Make string parameters `const'.
9886         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
9887         rresvport.
9889         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
9890         in libm-test.
9891         * math/libm-test.c (this_does_nothing): Remove functions.  It's
9892         notuseful on any platform but ix86.
9893         (inverse_func_pair_test): Don't use this_does_nothing.  Use
9894         memory reference.
9895         (identities1_test): Likewise.
9896         (identities2_test): Likewise.
9897         (identities3_test): Likewise.
9898         (basic_test): Likewise.
9899         Patch by Andreas Schwab.
9900         (BUILD_COMPLEX): New macro.  Create complex number from real and
9901         imaginary parts.  This works around bugs/inefficiencies in current
9902         gcc.
9903         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
9905         * nss/nsswitch.c: Fix typo.
9907         * posix/glob.h: Add declaration for glob_pattern_p.
9908         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
9909         make glob_pattern_p a weak alias.  This function is used in other
9910         packages (e.g. bash).
9912         * signal/Makefile (routines): Add sigisempty, sigandset, and
9913         sigorset.
9914         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
9915         sigorset.
9916         * signal/sigisempty.c: New file.
9917         * signal/sigandset.c: New file.
9918         * signal/sigorset.c: New file.
9919         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
9920         and __sigorset.
9921         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
9923         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
9924         determines the bits in the mantissa part of the NaN.
9925         * stdlib/strtof.c: Define SET_MANTISSA for float type.
9926         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
9927         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
9928         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
9930         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
9931         complex number components.  Some more corrects for special cases.
9932         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9933         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9935         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
9937         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
9938         ip_icmp.h.  Reported by HJ Lu.
9940 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9942         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
9944         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
9945         i386.
9946         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
9947         ELF_MACHINE_RELOC_NOPLT): Define.
9949 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9951         * grp/grp.h: Include <stddef.h> only once.
9953 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9955         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
9956         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
9958         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
9959         TAB3, if one of them is defined.
9961 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
9963         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
9964         is found.
9965         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
9967 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9969         * sunrpc/Makefile: Comment gccwarn out.
9970         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
9971         with enabled warnings.
9972         * sunrpc/auth_unix.c: Likewise.
9973         * sunrpc/authuxprot.c: Likewise.
9974         * sunrpc/bindrsvprt.c: Likewise.
9975         * sunrpc/clnt_gen.c: Likewise.
9976         * sunrpc/clnt_perr.c: Likewise.
9977         * sunrpc/clnt_raw.c: Likewise.
9978         * sunrpc/clnt_simp.c: Likewise.
9979         * sunrpc/clnt_tcp.c: Likewise.
9980         * sunrpc/clnt_udp.c: Likewise.
9981         * sunrpc/get_myaddr.c: Likewise.
9982         * sunrpc/getrpcport.c: Likewise.
9983         * sunrpc/pm_getmaps.c: Likewise.
9984         * sunrpc/pm_getport.c: Likewise.
9985         * sunrpc/pmap_clnt.c: Likewise.
9986         * sunrpc/pmap_prot.c: Likewise.
9987         * sunrpc/pmap_prot2.c: Likewise.
9988         * sunrpc/pmap_rmt.c: Likewise.
9989         * sunrpc/rpc/auth.h: Likewise.
9990         * sunrpc/rpc/clnt.h: Likewise.
9991         * sunrpc/rpc/pmap_clnt.h: Likewise.
9992         * sunrpc/rpc/svc.h: Likewise.
9993         * sunrpc/rpc/svc_auth.h: Likewise.
9994         * sunrpc/rpc/types.h: Likewise.
9995         * sunrpc/rpc/xdr.h: Likewise.
9996         * sunrpc/rpc_clntout.c: Likewise.
9997         * sunrpc/rpc_cmsg.c: Likewise.
9998         * sunrpc/rpc_dtable.c: Likewise.
9999         * sunrpc/rpc_prot.c: Likewise.
10000         * sunrpc/svc.c: Likewise.
10001         * sunrpc/svc_auth.c: Likewise.
10002         * sunrpc/svc_authux.c: Likewise.
10003         * sunrpc/svc_raw.c: Likewise.
10004         * sunrpc/svc_run.c: Likewise.
10005         * sunrpc/svc_simple.c: Likewise.
10006         * sunrpc/svc_tcp.c: Likewise.
10007         * sunrpc/svc_udp.c: Likewise.
10008         * sunrpc/xdr.c: Likewise.
10009         * sunrpc/xdr_array.c: Likewise.
10010         * sunrpc/xdr_mem.c: Likewise.
10011         * sunrpc/xdr_rec.c: Likewise.
10012         * sunrpc/xdr_ref.c: Likewise.
10013         * sunrpc/xdr_stdio.c: Likewise.
10015 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
10017         * math/libm-test.c (log2_test): Compile this function and call it.
10018         (exp2_test): Likewise, but check whether function really exists
10019         before testing.
10021         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
10023 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
10025         Implement exp2 function.
10026         * sysdeps/libm-i387/s_exp2.S: New file.
10027         * sysdeps/libm-i387/s_exp2f.S: New file.
10028         * sysdeps/libm-i387/s_exp2l.S: New file.
10030         Implement log2 function.
10031         * sysdeps/libm-i387/s_log2.S: New file.
10032         * sysdeps/libm-i387/s_log2f.S: New file.
10033         * sysdeps/libm-i387/s_log2l.S: New file.
10034         * sysdeps/libm-ieee754/s_log2.c: New file.
10035         * sysdeps/libm-ieee754/s_log2f.c: New file.
10036         * sysdeps/stub/s_log2.c: New file.  Stub version.
10038 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
10040         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
10042         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
10043         change to tst-setjmp.c.
10045         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
10046         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
10047         * sysdeps/sparc/dl-machine.h: Likewise.
10049         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
10050         Add missing qs variable.
10051         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
10053 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
10055         * gmon/gmon.c: Optimize a bit by using more sets of records to
10056         write in a single writev call.
10058         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
10059         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
10060         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
10061         `const'.
10062         Use __MATHDECLX for isinf and finite.
10064         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
10065         clearenv a weak alias.
10067         Implement complex exponential function.
10068         * sysdeps/libm-ieee754/s_cexp.c: New file.
10069         * sysdeps/libm-ieee754/s_cexpf.c: New file.
10070         * sysdeps/libm-ieee754/s_cexpl.c: New file.
10072         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
10073         nan a weak alias.
10074         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
10075         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
10077         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
10078         of type clashes.  Add all definitions here.
10080         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
10081         to XPG4.2.
10082         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
10083         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10085         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
10087         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
10088         use of kernel types.
10090 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
10092         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
10093         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
10095 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10097         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
10099 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10101         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
10103 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10105         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
10106         * sysdeps/m68k/fpu/s_logb.c: Removed.
10107         * sysdeps/m68k/fpu/s_logbf.c: Removed.
10108         * sysdeps/m68k/fpu/s_logbl.c: Removed.
10110         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
10111         Don't define here.
10112         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
10113         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10114         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
10115         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
10116         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
10117         * sysdeps/m68k/fpu/e_powl.c: Likewise.
10119         * sysdeps/m68k/fpu/s_log2.c: New file.
10120         * sysdeps/m68k/fpu/s_log2f.c: New file.
10121         * sysdeps/m68k/fpu/s_log2l.c: New file.
10122         * sysdeps/m68k/fpu/s_exp2.c: New file.
10123         * sysdeps/m68k/fpu/s_exp2f.c: New file.
10124         * sysdeps/m68k/fpu/s_exp2l.c: New file.
10126 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10128         * Makeconfig (all): Make sure this is always the default goal.
10130 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10132         * math/libm-test.c: Increase epsilon in many places.  Fix many
10133         typos.  Allow optinal argument also for short option.
10135 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10137         * math/Makefile ($(objpfx)$(tests)): Link against libm.
10139 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
10141         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
10142         denormalized numbers.
10144         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
10145         Don't include <endian.h>.
10147 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10148         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
10149         Don't include <endian.h>.
10151 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
10153         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
10155 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10157         * math/cmathcalls.h: Remove whitespace before function name in use
10158         of __MATHDECL macro, to make it compilable with a traditional
10159         preprocessor.
10161 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
10163         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
10164         compiler.
10166 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
10168         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
10169         by 31 positions to get 0/1 result.
10170         Patch by Joe Keane <jgk@jgk.org>.
10172 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
10174         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
10175         to prevent from ld linking in getopt.o even if there is another
10176         incompatible one.
10178         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
10180 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10182         * nis/nis_call.c (__do_niscall): Print message if cold start file
10183         does not exist.
10184         * nis/nis_file.c: Don't print error messages.
10185         * nis/nis_local_names.c (nis_local_host): Fix pointer errors.
10186         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
10187         * nis/rpcsvc/nis.h: Likewise.
10188         * nis/ypclnt.c: Fix prototypes.
10190 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
10192         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
10193         returning.
10194         * sysdeps/libm-i387/e_scalbf.S: Likewise.
10195         * sysdeps/libm-i387/e_scalbl.S: Likewise.
10196         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
10198         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
10199         dynamic linker was called implicitly by the kernel.
10200         Reported by Eric Youngdale <eric@andante.jic.com>.
10202         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
10203         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
10204         prevent clever optimizations which corrupt the tests.
10206 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
10208         * math/libm-test.c (scalb_test): New function.
10209         (sqrt_test): New function.
10210         (scalbn_test): New function.
10211         (ilogb_test): New function.
10212         (main): Added calls for new test functions.
10213         (ldexp_test): Add another test for ldexp(x,0).
10215 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
10217         * math/libm-test.c (remquo_test): Correct messages so that they
10218         match the tests.
10219         (copysign_test): Likewise.
10221 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
10223         * stdio-common/Makefile (routines): Add printf_size.
10225         * stdio-common/printf.h: Add declarations for printf_size and
10226         printf_size_info.
10228         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
10229         declaration.
10230         (parse_one_spec): Test whether __printf_function_table is not NULL
10231         before using registered handlers and don't test
10232         __printf_arginfo_table.  Update nargs also when handler is
10233         registered.
10235         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
10236         processed in fast loop.
10238         * stdio-common/printf_size: New file.
10240 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
10242         * time/sys/time.h: Make values ITIMER_* also available as macros.
10244         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
10245         __fstat but instead __fxstat directly to avoid dependency on
10246         libc.a when inline failed.
10247         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
10249         * math/Makefile (libm-routines): Add s_remquo.
10250         * sysdeps/libm-i387/s_remquo.S: New file.
10251         * sysdeps/libm-i387/s_remquof.S: New file.
10252         * sysdeps/libm-i387/s_remquol.S: New file.
10253         * sysdeps/libm-ieee754/s_remquo.c: New file.
10254         * sysdeps/libm-ieee754/s_remquof.c: New file.
10255         * sysdeps/libm-ieee754/s_remquol.c: New file.
10257         * math/libm-test.c (remquo_test): New function.
10259         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
10260         correctly.
10262 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
10264         * math/Makefile (libm-calls): Add s_nan.
10265         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
10266         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
10267         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
10269         * math/libm-test.c (basic_tests): Add tests for `nan' function.
10271         * math/libm-test.c (copysign_test): New function.
10272         (main): Call copysign_test.
10274 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
10276         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
10277         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
10278         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
10279         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
10281         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
10282         New functions.  Test these functions.
10283         (main): Call above new functions.
10285 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
10287         * Net release 2.0.2.
10289 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
10291         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
10292         XTABS.
10293         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
10294         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
10295         of Sun Dec 15 16:33:44 1996.
10296         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
10298 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
10300         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
10301         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
10302         consult their values.
10303         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
10304         ELF_MACHINE_RELOC_NOPLT): New macros.
10306         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
10307         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
10308         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
10310         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
10311         symbol lookup before checking reloc type except for R_386_RELATIVE.
10312         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
10314         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
10315         per-machine since it supposedly can't happen on i386.
10317         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
10318         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
10319         indirection from REF arg; change callers.
10320         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
10321         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
10322         FLAGS arg altogether.
10323         * elf/dlsym.c: Remove argument of FLAGS parameter.
10324         * elf/dlvsym.c: Likewise.
10325         * elf/link.h: Update decls.
10327 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
10329         * Makefile (distribute): Add BUGS.
10331         * sysdeps/generic/machine-gmon.h: Update copyright.
10333         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
10334         i386-mcount.
10335         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
10336         use regparam mechanism for call of `fixup' call.
10337         * sysdeps/i386/Dist: New file.
10338         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
10339         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
10340         of gmon definitions.
10342 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
10344         * stdlib/tst-strtol.c (main): Save the value of errno since printf
10345         may modify it, use the saved errno everywhere.
10346         * stdlib/tst-strtod.c (main): Likewise.
10348 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
10350         * posix/glob.c (glob): Fix completely broken handling of
10351         GLOB_BRACE and partly broken handling of GLOB_TILDE.
10352         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
10354 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
10356         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
10357         UIO_FASTIOV value by multiple readv calls since we need atomicity.
10358         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10359         Reported by Matthis Urlichs.
10361 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
10363         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
10364         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
10365         which clobbers %eax.
10367         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
10368         crtbegin.o/crtend.o, using gcc to find them.
10369         (+link): Use them.
10371 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
10373         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
10374         affect the alignment, and therefore the end padding of the structs.
10375         Reported by David Mosberger <davidm@azstarnet.com>.
10376         * gmon.c: Declare the variables with aligned tags to compensate.
10377         Use __writev instead of write for the I/O.
10379         * misc/sys/uio.h: Declare __writev and __readv.
10380         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
10381         * sysdeps/posix/writev.c: Likewise for writev.
10382         * sysdeps/stub/readv.c: Likewise.
10383         * sysdeps/stub/writev.c: Likewise.
10384         * sysdeps/unix/syscalls.list: Likewise.
10385         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10386         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10388         * stdlib/testdiv.c: Exit with error status when we have an error.
10389         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
10390         * sysdeps/alpha/ldiv.S: Likewise.
10392         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
10394 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
10396         * nis/nis_file.c: Unify error handling.
10398 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10400         * nis/nis_file.c (writeColdStartFile): Fix typo.
10401         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
10402         * nis/nis_free.c (nis_free_servers): Likewise.
10403         * nis/rpcsvc/nislib.h: Likewise.
10405         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
10407 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
10409         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
10411         * sysdeps/unix/sparc/sysdep.h: Update copyright.
10413 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10415         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
10416         it.
10418         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
10419         macro on ELF systems.
10421         * sysdeps/sparc/configure.in: Fix.
10423         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
10425         * sysdeps/sparc/setjmp.S: Fix my bugs.
10427         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
10428         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
10429         as-FLAGS-.so.
10430         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
10431         syscall.
10432         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
10433         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
10434         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
10435         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
10437         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
10438         symbol.
10439         (_dl_lookup_symbol): Test against the symbol being global not
10440         against the symbol being not weak (fixes important problem with
10441         the SPARC linker)
10443         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
10445         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
10446         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
10448 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
10450         * Makeconfig: (rpath-link): Add math/ directory.
10451         (math-objdir): New variable.
10452         (link-extra-lib): Define to special version when
10453         $(common-objpfx)!=$(objpfx) to allow libraries outside
10454         $(common-objpfx) be linked to the application.
10456         * math/Makefile: Add rules to build and run test programs.
10457         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
10458         (check_equal): Correct check for error.
10459         (ceil_test): Fix typo.
10460         (log_test): Fix typo.
10461         (floor_test): Fix typo.
10462         (pow_test): Fix typos.
10463         (log10_test): Allow slight incorrectness for `log10(e)'.
10464         (modf_test): New functions to test `modf' et.al.
10465         (hypot_test): Rewrite test completely.
10466         Patch partly by Andreas Jaeger.
10467         * math/test-double.h (__NO_MATH_INLINES): Define only if not
10468         already defined.
10469         * math/test-float.h: Likewise.
10470         * math/test-logdouble.h: Likewise.
10472         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
10473         * setjmp/tst-setjmp.c: Correct and extend test suite.
10474         * sysdeps/i386/__longjmp.S: Update copyright.
10475         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
10476         `__sigsetjmp' in PIC code.
10477         * sysdeps/i386/bsd-setjmp.S: Likewise.
10479         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
10480         overflow.
10481         * sysdeps/libm-i387/e_powf.S: Likewise.
10482         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
10483         case since expm1(-0) == -0.
10484         * sysdeps/libm-i387/s_expm1f.S: Likewise.
10485         * sysdeps/libm-i387/s_expm1l.S: Likewise.
10486         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
10487         access to FP number.
10488         * sysdeps/libm-ieee754/s_modff.c: Likewise.
10489         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
10490         code.  It never worked correctly.
10491         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
10492         case since tanh(-0) == -0.
10493         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
10494         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
10496 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
10498         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
10499         `thousands' to support systems with sizeof(wchar_t) !=
10500         sizeof(wint_t).  Blargh.
10502         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
10503         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
10504         appropriate headers.
10506         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
10507         UIO_FASTIOV and set to 8 if not available.
10508         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10509         Patch by HJ Lu.
10511         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
10512         "kernel_stat.h".
10513         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
10514         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
10515         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
10517 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
10519         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
10521         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
10523         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
10525         * sysdeps/unix/sysv/Dist: Add direct.h.
10527         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
10529         * Make-dist ($(tardir).tar): Prefer writing temporary file to
10530         $TMPDIR is available.  The default is /tmp.
10532         * sysdeps/generic/ip.h: Move to...
10533         * sysdeps/generic/netinet/ip.h: ...here.
10535         * Makefile (tests): Quote $(CC) argument to isomac program.
10536         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
10538         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
10539         is placed in wrong place on the stack.
10540         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
10541         * sysdeps/tst-setjmp.c: Add new test for above problem.
10543         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
10544         * sysdeps/libm-i387/e_powf.S: Likewise.
10545         * sysdeps/libm-i387/e_powl.S: Likewise.
10547 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
10549         * time/offtime.c (__offtime): Change type of `yg' to long int.
10550         Reported by a sun <asun@zoology.washington.edu>.
10552 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
10554         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
10555         2.2.0 to prevent version mismatch.
10557 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
10559         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
10560         already defined.
10562 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
10564         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
10565         in ioctls.h.
10567         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
10568         loader first relocates itself.
10569         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
10570         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
10571         jump slot relocation. Prefer relative branches (some PowerPC chips
10572         don't predict absolute branches).
10573         (elf_machine_runtime_setup): Simplify and correct expressions.
10574         (RTLD_START): Fix bug changing _dl_starting_up.
10575         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
10576         strange Linux/PPC padding of initial stack.
10578 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
10580         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
10581         for future expansion.
10582         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
10583         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
10584         can't have a switch statement.
10585         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
10586         static.
10588         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
10589         confusing gcc's idea of the current section.
10590         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
10591         RTLD_START): Likewise.
10593 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
10595         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
10596         elf_machine_runtime_setup): Flush data & instruction caches when
10597         necessary, for 603/604 support. Add better support for large PLTs.
10598         (elf_machine_rela): Remove relocations that wouldn't work if
10599         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
10600         Never target branch relocations at a PLT entry.
10602         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
10603         generating PIC.
10604         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
10605         * sysdeps/powerpc/setjmp.S: Likewise.
10606         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
10607         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
10608         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
10609         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
10611         * sysdeps/powerpc/elf/start.c: Clean up.
10613         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
10614         setjmp call.
10616         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
10618 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
10620         * Make-dist (srcs): Add $(test-srcs).
10621         * MakeTAGS (all-sources): Likewise.
10622         * Makerules (depfiles, common-mostlyclean): Likewise.
10623         * Rules (tests): Likewise.
10625 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
10627         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
10629 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
10631         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
10632         protocol=NULL to match any protocol rather than returning an
10633         error.
10635 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
10637         * nss/nss_files/files-service.c (servbyname): Match any protocol
10638         if proto==NULL.
10640 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
10642         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
10643         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
10644         Proposed by Thomas Bushnell, n/BSG.
10646 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
10648         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
10649         the buffer for replacement.
10651 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
10653         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
10654         sys_lstat and sys_stat.
10656 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10658         Add NIS+ functions
10659         * shlib-versions: Add libnss_nisplus.
10660         * nis/Makefile: Add NIS+ source files.
10661         * nis/nis_call.c: New file.
10662         * nis/nis_clone.c: New file.
10663         * nis/nis_error.c: New file.
10664         * nis/nis_file.c: New file.
10665         * nis/nis_free.c: New file.
10666         * nis/nis_intern.c: New file.
10667         * nis/nis_intern.h: New file.
10668         * nis/nis_local_names.c: New file.
10669         * nis/nis_names.c: New file.
10670         * nis/nis_print.c: New file.
10671         * nis/nis_server.c: New file.
10672         * nis/nis_subr.c: New file.
10673         * nis/nis_table.c: New file.
10674         * nis/nis_xdr.c: New file.
10675         * nis/nss-nisplus.h: New file.
10676         * nis/nss_nisplus/nisplus-alias.c: New file.
10677         * nis/nss_nisplus/nisplus-ethers.c: New file.
10678         * nis/nss_nisplus/nisplus-grp.c: New file.
10679         * nis/nss_nisplus/nisplus-hosts.c: New file.
10680         * nis/nss_nisplus/nisplus-netgrp.c: New file.
10681         * nis/nss_nisplus/nisplus-network.c: New file.
10682         * nis/nss_nisplus/nisplus-proto.c: New file.
10683         * nis/nss_nisplus/nisplus-publickey.c: New file.
10684         * nis/nss_nisplus/nisplus-pwd.c: New file.
10685         * nis/nss_nisplus/nisplus-rpc.c: New file.
10686         * nis/nss_nisplus/nisplus-service.c: New file.
10687         * nis/nss_nisplus/nisplus-spwd.c: New file.
10688         * nis/rpcsvc/nis.h: New file.
10689         * nis/rpcsvc/nis.x: New file.
10690         * nis/rpcsvc/nis_object.x: New file.
10691         * nis/rpcsvc/nis_tags.h: New file.
10692         * nis/rpcsvc/nislib.h: New file.
10694 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10696         * mach/devstream.c (output/write_some): Don't try and write more
10697         than IO_INBAND_MAX in a single call to device_write_inband.
10699 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
10701         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
10702         type is SVID.
10703         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
10704         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
10706         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
10707         FLAGS parameter.
10709 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
10711         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
10712         Change msg_iovlen and msg_controllen (in struct msghdr) to
10713         `size_t' to keep in step with kernel.
10715 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
10717         * manual/filesys.texi: Add documentation for scandir and alphasort.
10718         * manual/examples/dir2.c: New example for scandir.
10720         * math/math.c (fpclassify): Correct stupid typos.
10722         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
10723         * math/test/float.c: New file.  Frontend for float tests.
10724         * math/test/double.c: New file.  Frontend for double tests.
10725         * math/test/longdouble.c: New file.  Frontend for long double  tests.
10727         * posix/Makefile (routines): Add bsd-getpgrp.
10728         * posix/bsd-getpgrp.c: New file.
10729         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
10730         calls to __bsd_getpgrp.
10732         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
10734         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
10735         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
10736         * sysdeps/ieee754/huge_val.h: Remove definition of long double
10737         definition.  Make it the same as the double definition.
10739         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
10740         * sysdeps/libm-i387/e_acosf.S: Likewise.
10741         * sysdeps/libm-i387/e_acosl.S: Likewise.
10742         * sysdeps/libm-i387/e_asin.S: Likewise.
10743         * sysdeps/libm-i387/e_asinf.S: Likewise.
10744         * sysdeps/libm-i387/e_asinl.S: Likewise.
10745         * sysdeps/libm-i387/e_exp.S: Likewise.
10746         * sysdeps/libm-i387/e_expf.S: Likewise.
10747         * sysdeps/libm-i387/e_expl.S: Likewise.
10748         * sysdeps/libm-i387/s_scalbn.S: Likewise.
10749         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
10750         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
10752         * sysdeps/libm-i387/e_log.S: Optimize branch code.
10753         * sysdeps/libm-i387/e_logf.S: Likewise.
10754         * sysdeps/libm-i387/e_logl.S: Likewise.
10755         * sysdeps/libm-i387/e_log10.S: Likewise.
10756         * sysdeps/libm-i387/e_log10f.S: Likewise.
10757         * sysdeps/libm-i387/e_log10l.S: Likewise.
10759         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
10760         * sysdeps/libm-i387/e_powf.S: Likewise.
10761         * sysdeps/libm-i387/e_powl.S: Likewise.
10763         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
10764         argument to -1.0.
10765         * sysdeps/libm-i387/s_expm1f.S: Likewise.
10766         * sysdeps/libm-i387/s_expm1l.S: Likewise.
10768         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
10770         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
10771         stack element after fxtract.
10773         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
10774         implementation for atan2 function.
10776         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
10777         _SVID_ mode when acos, asin, atan2, log, log10 is called with
10778         argument out of range.
10779         Add new error case for pow(+0,neg).
10781         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
10782         NaN and +-inf.
10783         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
10784         digit in stupid 80 bit formats.
10786         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
10787         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
10788         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
10790         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
10791         long double type.
10793         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
10794         in SVID mode.
10795         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
10796         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
10798         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
10799         or -0.
10800         * sysdeps/libm-ieee754/w_powf.c: Likewise.
10801         * sysdeps/libm-ieee754/w_powl.c: Likewise.
10803         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
10805         * sysdeps/stub/fcntlbits.h: Update copyright.
10806         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
10807         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
10808         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
10809         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
10810         * sysdeps/unix/common/fcntlbits.h: Likewise.
10811         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
10812         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
10813         and FNDELAY.
10814         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
10816         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
10817         only reclen bytes.
10819         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
10820         and O_NORW.
10821         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
10823         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
10825         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
10826         struct stat to user-level form.
10827         * sysdeps/unix/sysv/linux/lxstat: New file.
10828         * sysdeps/unix/sysv/linux/xstat: New file.
10829         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
10830         kernel.
10831         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
10832         to use prescribed types for elements.
10833         (_STAT_VER): Change to value 3.
10834         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
10835         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
10836         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
10838         * time/Makefile: Correct dependencies for test-tz.
10840 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
10842         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
10843         (needed for IPv6 basic sockets API).
10845 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
10847         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
10848         kernel header.
10849         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
10851 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
10853         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
10854         without testing for last_bfp to be NULL.
10855         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
10857 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
10859         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
10861 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
10863         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
10864         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
10866 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
10868         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
10869         functions.  Compare result for correct address type.
10870         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
10871         * nss/nss_files/files-hosts.c: Likewise.
10872         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
10874 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
10876         * time/strptime.c (recursive): Return rp to caller.
10877         (strptime_internal): First check for long names, then abbreviated
10878         (month & weekday).
10880 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10882         * Makeconfig: Remove useless definitions of ASFLAGS-%.
10883         * config.make.in (ASFLAGS-.so): Remove.
10884         * configure.in: Don't substitute ASFLAGS_SO.
10885         * sysdeps/sparc/configure.in: Remove file.
10886         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
10888 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10890         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
10891         1900 from year, regardless of century.
10893 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
10895         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
10896         all numbers unsigned to make buggy gccs happy.
10897         Patch by Bryan W. Headley <bheadley@interaccess.com>.
10899         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
10900         definitions.  Patch by a sun <asun@zoology.washington.edu>.
10901         Pretty print header.
10903         * Makerules (build-shlib): Also create symlink if library is versioned.
10904         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
10905         Remove special rule to libc.so symlink.
10907 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
10909         * manual/math.texi (Domain and Range Errors): Change descriptions
10910         according to recent changes for ISO C 9X.
10912 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
10914         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
10915         return values for acos, asin, and atan2.
10916         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
10918 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10920         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
10922 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
10924         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
10925         to pointers to directory entries so that alphasort really can be
10926         used as argument for scandir.
10928 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
10930         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
10931         instead of strcpy.
10933 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
10935         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
10936         catalogs, not only if the envvar NLSPATH is not available.
10937         Reported by Andries.Brouwer@cwi.nl.
10939 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
10941         * Makeconfig (localtime-file): Don't define using installation
10942         directory.
10943         (inst_localtime-file): New variable.
10944         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
10945         Reported by Edward Seidl <seidl@janed.com>.
10947 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
10949         * time/Makefile: Add source files to dependencies for test data.
10951 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
10953         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
10954         * nis/nss_nis/nis-proto.c: Likewise.
10955         * nis/nss_nis/nis-rpc.c: Likewise.
10956         * nis/nss_nis/nis-service.c: Likewise.
10958 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10960         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
10961         versioning;  Added missing R_SPARC_WDISP30 handling.
10962         (RTLD_START): Implement it.
10964         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
10966         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
10967         Linux/SPARC.
10969 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10971         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
10972         the dynamic linker instead of having a new conditional define.
10973         Thanks to Richard Henderson for pointing this out.
10974         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
10976 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10978         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
10979         euidaccess weak alias.
10981 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10983         * stdio-common/printf_fphex.c (MIN): New macro.
10985         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
10987         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
10989         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
10990         API.  (See change by Philip Blundell on Feb 16, 1997.)
10992 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
10994         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
10996         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
10997         __file_name_split.
10999         * mach/mach_error.c (mach_error_string_int): Give full prototype.
11000         * mach/errstring.c (mach_error_string_int): Likewise.
11001         * mach/error_compat.c (__mach_error_map_compat): Likewise.
11002         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
11003         * stdio/vasprintf.c (vasprintf): Likewise.
11005         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
11007         * mach/spin-solid.c: Include <mach/mach_traps.h>.
11008         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
11009         swtch_pri.
11011         * mach/mach_init.c: Include <mach/mig_support.h>.
11013         * mach/mach_error.h (mach_error_string, mach_error,
11014         mach_error_type): Always provide prototypes.
11016         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
11017         appears to be entirely unused dead code.
11019 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
11021         * string/argz.h (__need_error_t): New macro, before including <errno.h>
11022         [!__const] (__const): New macro.
11023         [!__error_t_defined] (error_t): New typedef.
11025 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
11027         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
11028         -fPIC.
11029         * Makerules (compile.S): Use ASFLAGS-%.
11030         (COMPILE.S): Likewise.
11031         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
11032         * configure.in: Substitute ASFLAGS_SO.
11033         * sysdeps/sparc/configure.in: New file.
11035         * posix/unistd.h: Add prototype for __euidaccess.
11036         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
11037         euidaccess weak alias.
11038         * sysdeps/stub/euidaccess.c: Likewise.
11039         * inet/rcmd.c: Use __ protected versions of non-standard functions.
11041         * locale/setlocale.c (setlocale): Don't set usage_count to
11042         MAX_USAGE_COUNT if it already has this value.
11044         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
11045         binary locale files.  Use LOCALEDIR only.
11046         * locale/programs/locfile.c: When named file not found and not
11047         absolute use path in I18NPATH.
11049         * stdlib/Makefile (headers): Add inttypes.h.
11050         * sysdeps/wordsize-32/inttypes.h: New file.
11051         * sysdeps/wordsize-64/inttypes.h: New file.
11053         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
11054         and AF_FILE as synonym for AF_LOCAL.
11055         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
11057         * time/Makefile: Rewrite rules for test to handle parallel builds.
11059 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
11061         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
11062         robbe@orcus.priv.at.
11064 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
11066         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
11067         8-byte boundary.
11069 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
11071         * elf/link.h: Define __need_NULL to get definition.  Include
11072         <features.h>.
11073         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
11075 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
11077         Rewrite NIS code to allow empty keys.
11078         * nis/nss_nis/nis-ethers.c: Rewritten.
11079         * nis/nss_nis/nis-proto.c: Rewritten.
11080         * nis/nss_nis/nis-publickey.c: Rewritten.
11081         * nis/nss_nis/nis-rpc.c: Rewritten.
11082         * nis/nss_nis/nis-service.c: Rewritten.
11084 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
11086         * time/scheck.c (scheck): Add extra const to second argument.
11088         * time/private.h: Correct prototypes to match definition.
11090 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
11092         * sysdeps/alpha/__math.h: Remove cabs inline definition.
11093         Reported by Philip Blundell <pjb27@cam.ac.uk>.
11095 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
11097         * argp/Makefile (routines): Add argp-eexst.
11098         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
11099         * argp/argp-eexst.c: New file.  Define exit status variable.
11100         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
11101         variable instead of always exiting with value 1.
11102         * argp/argp-pv.c (argp_program_version): Make `const'.
11103         * argp/argp.h: Declare argp_err_exit_status.
11104         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
11106         * locale/programs/localedef.c: Use argp_err_exit_status to
11107         terminate with correct value.
11109         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
11110         switching of UID before opening .rhosts.
11112         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
11113         proposal.  The return value now is always the number of characters
11114         which would be written if enough space is available.
11115         * manual/stdio.texi: Update description for new behaviour.
11117         * locale/locale.h (__locale_t): Don't use __locale_t for struct
11118         name and pointer to struct since old gccs cannot keep the namespaces
11119         apart.  Rename struct to __locale_struct.
11120         * locale/duplocale.h: Likewise.
11121         * locale/newlocale.h: Likewise.
11123         * math/Makefile (headers): Add complex.h and cmathcalls.h.
11124         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
11125         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
11126         after use.
11127         (signgam): Move declaration to here from mathcalls.h.
11128         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
11129         Correct comment for fmin and fmax.
11130         Start implementing complex math function from ISO C 9X.
11131         * math/complex.h: New file.
11132         * math/cmathcalls.h: New file.
11133         * math/cabs.c: New file.
11134         * math/cabsf.c: New file.
11135         * math/cabsl.c: New file.
11136         * math/cimag.c: New file.
11137         * math/cimagf.c: New file.
11138         * math/cimagl.c: New file.
11139         * math/conj.c: New file.
11140         * math/conjf.c: New file.
11141         * math/conjl.c: New file.
11142         * math/creal.c: New file.
11143         * math/crealf.c: New file.
11144         * math/creall.c: New file.
11145         * sysdeps/libm-ieee754/w_cabs.c: Removed.
11146         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
11147         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
11149         * posix/regex.c: Merge with regex sources from Arnold Robbins'
11150         version in GNU awk.
11151         * posix/regex.h: Likewise.
11153         Add regex test suite by Tom Lord.
11154         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
11155         (tests): Add runtests.
11156         (before-compile): Add testcases.h.
11157         (testcases.h): New rule to generate header with tests.
11158         * posix/TESTS: New file.
11159         * posix/TESTS2C.sed.: New file.
11160         * posix/runtests.c: New file.
11161         * posix/testcases.h: New file.
11163         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
11164         available and use fall-back implementation if not.
11166         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
11168         * time/ialloc.c: Update from tzcode1997c.
11169         * time/private.h: Likewise.
11170         * time/scheck.c: Likewise.
11171         * time/tzselect.ksh: Likewise.
11172         * time/zdump.c: Likewise.
11173         * time/zic.c: Likewise.
11175         * time/tzfile.c: Pretty print.
11177 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
11179         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
11180         on a 601.
11182         * sysdeps/powerpc/Implies: Added.
11183         * sysdeps/powerpc/__longjmp.S: Added.
11184         * sysdeps/powerpc/__math.h: Added.
11185         * sysdeps/powerpc/bsd-_setjmp.S: Added.
11186         * sysdeps/powerpc/bsd-setjmp.S: Added.
11187         * sysdeps/powerpc/dl-machine.h: Added.
11188         * sysdeps/powerpc/ffs.c: Added.
11189         * sysdeps/powerpc/fpu_control.h: Added.
11190         * sysdeps/powerpc/jmp_buf.h: Added.
11191         * sysdeps/powerpc/setjmp.S: Added.
11192         * sysdeps/powerpc/strlen.S: Added.
11193         * sysdeps/powerpc/elf/start.c: Added.
11194         * sysdeps/powerpc/fpu_control.h: Added.
11195         * sysdeps/powerpc/jmp_buf.h: Added.
11197         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
11198         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
11199         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
11200         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
11201         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
11202         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
11203         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
11204         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
11205         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
11206         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
11207         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
11208         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
11209         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
11210         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
11212 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
11214         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
11215         because knowing the first instruction of a PowerPC PLT trampoline
11216         is not very helpful.
11218 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
11220         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
11221         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
11222         a preference as to where executables should be loaded.
11224 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
11226         * elf/elf.h: Add in all those PowerPC reloc types.
11228 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
11230         * stdio-common/vfscanf.c: Use __va_copy if available.
11232 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11234         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
11235         clean up namespace.
11237 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
11239         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
11240         non-existing GET_WORDS macro, use EXTRACT_WORDS.
11241         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
11243 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
11245         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
11246         kernel-level sigaction structure is different.  handle this
11247         correctly.
11248         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
11250 1997-03-06 05:55  David Engel  <david@sw.ods.com>
11252         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
11253         recognize cache entries with flag == 3.
11255 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
11257         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
11258         (INADDR_LOOPBACK): Likewise.
11259         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11261         * manual/socket.texi: Correct types of INADDR_* constants from
11262         unsigned long to unsigned.
11264 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
11266         * time/antarctica: Update from tzdata1997c.
11267         * time/asia: Likewise.
11268         * time/zone.tab: Likewise.
11270 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11272         * configure.in (libc_cv_asm_symver_directive,
11273         libc_cv_ld_version_script_option): Remove unknown instruction from
11274         assembler test file.
11276 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11278         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
11279         __USE_ISOC9X.
11280         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
11281         (fabs): Remove defininition, it is a gcc builtin.
11282         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
11284 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
11286         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
11287         generating file.
11289 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
11291         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
11292         instead to avoid namespace problems.
11293         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
11295 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11297         * login/utmp_file.c: Fix previous change.  Make portable by
11298         checking the _HAVE_UT_* feature macros.
11300 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
11302         * Makerules: Add rules to handle versioning.
11303         * config.h.in (DO_VERSIONING): New macro.
11304         * config.make.in (versioning): New variable.
11305         * configure.in: Add checks for .symver directive in gas and
11306         --version-script option to ld.  Define DO_VERSIONING and
11307         versioning if appropriate.
11309         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
11310         s_fmin, and s_fdim.
11311         * math/math.h: Define ISO C 9X constants, macros and functions.
11312         * math/mathcalls.h: Likewise.
11313         * sysdeps/libm-ieee754/s_fdim.c: New file.
11314         * sysdeps/libm-ieee754/s_fdimf.c: New file.
11315         * sysdeps/libm-ieee754/s_fdiml.c: New file.
11316         * sysdeps/libm-ieee754/s_fmax.c: New file.
11317         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
11318         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
11319         * sysdeps/libm-ieee754/s_fmin.c: New file.
11320         * sysdeps/libm-ieee754/s_fminf.c: New file.
11321         * sysdeps/libm-ieee754/s_fminl.c: New file.
11322         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
11323         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
11324         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
11325         * sysdeps/libm-ieee754/s_signbit.c: New file.
11326         * sysdeps/libm-ieee754/s_signbitf.c: New file.
11327         * sysdeps/libm-ieee754/s_signbitl.c: New file.
11329         * stdio-common/printf_fphex.c: Correct printing of decimal point
11330         character.
11331         Simplify conversion of mantissa to string.
11332         * stdio-common/vfscanf.c: Handle %A format.
11333         Optimize termination of floating-point scanning.
11334         * stdio-common/tstscanf.c (main): Add new test to scanf to test
11335         scanning float values with given width.
11336         * stdlib/strtod.c: Add handling of floating-point numbers in
11337         hexadecimal notation.
11339         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
11340         functions.
11341         Pretty print #if directives.
11342         * string/string.h: Pretty print #if directives.
11344         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
11345         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
11346         * sysdeps/ieee754/mpn2dbl.c: Likewise.
11347         * sysdeps/ieee754/mpn2flt.c: Likewise.
11348         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
11350         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
11351         falling back to select-based implementation if syscall isn't
11352         available.
11353         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
11355         * time/leapseconds: Update from tzdata1997b.
11356         * time/zic.c: Update from tzcode1997b.
11358 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11360         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
11361         depedencies between installed $(tzlinks) and $(tzbases) files.
11363 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11365         * math/math.h: Make compatible with traditional preprocessor;
11366         requires carefull placement of whitespace in macro arguments.
11367         Use __CONCAT instead of ##.
11368         Declare long double functions only if __STDC__ or __GNUC__.
11369         * math/mathcall.h: Avoid whitespace before argument of macro call
11370         that is used as function name.
11372         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
11373         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
11374         of __NO_M81_MATH_INLINES.
11375         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
11376         starting with __ieee754.
11377         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
11378         functions as inlines.
11379         (__m81_defun): Put __attribute__ between return type and function
11380         name.
11381         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
11382         is defined.
11383         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
11384         instead of __NO_M81_MATH_INLINES.
11385         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11386         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11387         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11388         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11389         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
11390         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11391         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11392         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11393         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11394         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11396 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11398         * Makefile (tests): Cope with $PATH not including the current
11399         directory.
11401 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11403         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
11404         $(common-objdir-compile).
11405         ($(common-objpfx)make-ioctls): Likewise.
11406         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
11407         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
11408         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
11409         Likewise.
11410         ($(common-objpfx)sys/syscall.h): Likewise.
11411         ($(common-objpfx)local_lim.h): Let make deal with command
11412         failure.
11413         ($(common-objpfx)param.h.dep): Use temporary file and update
11414         target atomically.
11415         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
11416         (include $(common-objpfx)param.h.dep): Ignore error.
11418         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
11419         $(common-objdir-compile).
11420         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
11421         $(shell pwd) instead of $$cwd.
11423         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
11424         $(common-objdir-compile).
11425         ($(objpfx)make_siglist): Use $(native-compile).
11426         (make_siglist-CFLAGS): New variable.
11428         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
11429         the old name for the user to pass additional flags to the host
11430         compiler.  Fix reference to config header.
11431         (native-compile, common-objdir-compile): Rewritten to make more
11432         generally usable.
11433         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
11434         instead of BUILD_CFLAGS.
11436         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
11437         defined.
11439 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11441         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
11442         New rules to generate dependencies for the RPC service objects.
11444 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11446         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
11447         supplied.
11449 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
11451         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
11452         so that clearing second word is necessary.
11454         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
11455         header since it is wrong for 64 bit systems.
11456         Patch by a sun <asun@zoology.washington.edu>.
11458 1997-02-27 10:34  Richard Henderson  <rth@tamu.edu>
11460         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
11461         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
11462         for the benefit of running foreign binaries.
11464 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
11466         * login/utmp_file.c (pututline_file): Correctly decide whether
11467         LAST_ENTRY matches DATA.
11468         Don't depend on ut_id ever being set.
11469         (proc_utmp_eq): New function.
11470         (internal_getut_r): Renamed from internal_getutid_r.
11471         Use proc_utmp_eq.
11473         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
11475 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
11477         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
11479 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
11481         * manual/Makefile: Add rules to run and distribute xtract-typefun.
11482         * manual/xtract-typefun.awk: New file.  Script to extract function,
11483         variable, macro anchor to put into the `dir' file.
11484         * manual/signal.texi: Document difference between SysV and BSD
11485         signal(3) function and add documentation for sysv_signal.
11487         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
11488         exponent before comparing.
11490 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
11492         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
11493         prototypes to use types with explicit width.  `unsigned long' is
11494         different on 64 bit systems.
11495         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11496         * sysdeps/generic/htonl.c: Likewise.
11497         * sysdeps/generic/htons.c: Likewise.
11498         * sysdeps/generic/ntohl.c: Likewise.
11499         * sysdeps/generic/ntohs.c: Likewise.
11500         Suggested by a sun <asun@zoology.washington.edu>.
11502 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
11504         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
11505         defined and we want optimization.
11507 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11509         * misc/getpass.c: Don't disable canonical input.
11510         Reverted patch of Mon Jan  6 01:35:29 1997.
11512 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11514         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
11515         match the hidden __in_chrg parameter of the destructor.
11516         (_IO_FINISH): Pass zero for it.
11517         * libio/genops.c (_IO_default_finish): Add second parameter, which
11518         is ignored.
11519         * libio/memstream.c (_IO_mem_finish): Likewise.
11520         * libio/fileops.c (_IO_file_finish): Likewise.
11521         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
11523 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
11525         * time/Makefile: Avoid using patterns in dependencies.
11527 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11529         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
11530         SPARC will convert the call _dl_start into a call into the PLT.
11532         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
11533         of arg to make it point to the actual values.
11535         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
11536         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
11538         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
11539         them PIC aware.
11541         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
11542         Implemented.
11543         (elf_machine_rela): Make it compile; fix existing relocation
11544         types; add unhandled relocation types.
11545         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
11546         (RTLD_START): Initial implementation, not yet finished.
11548         * sysdeps/sparc/elf/start.S: Fix.
11550         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
11551         __setfpucw.
11553         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
11554         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
11555         sysdeps/sparc/urem.S : Regenerated.
11557         * sysdeps/sparc/setjmp.S: Make it PIC aware.
11559         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
11560         __ASSEMBLY__ before using kernel header.
11562         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
11563         rtld.c.
11565         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
11566         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
11567         to handle old signals.
11568         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
11569         for all Linux/SPARC kernels.
11570         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
11571         errno using __errno_location.
11572         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
11573         macros for assembler sources.
11574         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
11576 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11578         * elf/rtld.c (dl_main): Remove dead code that is never executed.
11579         Rename local variable l to main_map where it is used to point to
11580         the load_map for the executable.
11582 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11584         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
11585         could not be found.
11587 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11589         * Makerules: Generate implicit object suffix rules automagically.
11590         (o-iterator): Move before first use.
11592         * Makeconfig (all-object-suffixes): Add .bo suffix.
11594 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
11596         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
11597         word on stack for overflow.
11599 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
11601         * malloc/malloc.c (malloc_get_state): New function.
11602         Saves global malloc state to an opaque data structure which
11603         is dynamically allocated in the heap.
11604         * malloc/malloc.c (malloc_set_state): New function.
11605         Restore previously obtained state.
11606         * malloc/malloc.h: Add declaration of malloc_get_state()
11607         and malloc_set_state().
11609 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
11611         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
11612         position.
11614 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
11616         * misc/error.c: Make error and error_at_line weak aliases of
11617         __error and __error_at_line respectively.
11618         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
11620         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
11622 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11624         * elf/ldd.bash.in: Run the program directly, not as argument
11625         to the dynamic linker, if it contains an interpreter segment.
11626         * elf/ldd.sh.in: Likewise.
11628         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
11629         object contains an interpreter segment and exit with 2 if not.
11631 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11633         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
11634         and xlocale.h.  Make-dist adds them automagically.
11636 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11638         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
11639         time-era-num-entries.
11641 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11643         * rellns-sh: No need to check for existance of first parameter.
11645 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
11647         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
11648         to avoid duplicate mail.
11650 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
11652         * Makefile (distribute): Add isomac.c.
11653         (tests): Run isomac test.
11655         * features.h (__USE_ISOC9X): New macro.
11657         * catgets/catgets.c: Don't use global variable `optind'.  Instead
11658         use result computed by argp_parse.
11659         * db/makedb: Likewise.
11660         * locale/programs/locale.c: Likewise.
11661         * locale/programs/localedef.c: Likewise.
11663         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
11665         * libio/clearerr.c: Remove clearerr_locked alias.
11666         * libio/feof.c: Remove feof_locked alias.
11667         * libio/ferror.c: Remove feof_locked alias.
11668         * libio/fileno.c: Remove fileno_locked alias.
11669         * libio/fputc.c: Remove fputc_locked alias.
11670         * libio/getc.c: Remove getc_locked alias.
11671         * libio/getchar.c: Remove getchar_locked alias.
11672         * libio/iofflush.c: Remove fflush_locked alias.
11673         * libio/putc.c: Remove putc_locked alias.
11674         * libio/putc.c: Remove putchar_locked alias.
11676         * stdio-common/printf_fp.c: When number is inifinity print INF
11677         or inf depending on case of specifier.  Same for NaN where NAN
11678         or nan is printed.  Specified in ISO C 9X.
11680         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
11681         * stdio/stdio.h: Add __restrict to prototypes where necessary.
11682         * libio/stdio.h: Likewise.
11683         * stdlib/stdlib.h: Likewise.
11684         * string/string.h: Likewise.
11685         * time/time.h: Likewise.
11686         * wcsmbs/wchar.h: Likewise.
11688         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
11689         NAN(...).
11691         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
11692         of HUGE_VALf and HUGE_VALL.
11693         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
11694         instead of HUGE_VALf.
11695         * wcsmbs/wcstof.c: Likewise.
11696         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
11697         instead of HUGE_VALl.
11698         * wcsmbs/wcstold.c: Likewise.
11700         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
11701         avoid warning.
11703         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
11704         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
11705         * wcsmbs/wcscasecmp.c: New file.
11706         * wcsmbs/wcsncase.c: New file.
11708         * stdlib/strtol.c: Define wide character quad word functions as
11709         wcstoll and wcstoull and normal versions as strtoll and strtoull.
11710         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
11711         * wcsmbs/wcstoq: Renamed to wcstoll.c.
11712         * wcsmbs/wcstouq: Renamed to wcstoull.c.
11713         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
11714         alias of wcstoll.
11715         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
11716         alias of wcstoull.
11717         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
11718         wcstoll and wcstoull respectively.
11719         * stdlib/strtoq.c: Rename to strtoll.c.
11720         * stdlib/strtouq.c: Rename to strtoull.c.
11721         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
11722         alias of strtoll.
11723         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
11724         alias of strtoull.
11725         * stdlib/Makefile (routines): Replace strtoq and strtouq by
11726         strtoll and strtoull respectively.
11727         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
11728         __strtouq_internal but instead __strtoll_internal and
11729         __strtoull_internal respectively.
11730         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
11731         (strtouq): Similar with __internal_strtoull.
11732         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
11733         (wcstouq): Similar with __internal_wcstoull.
11735 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
11737         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
11738         sign in the strtouXX functions.  The results gets simply negated.
11739         * stdio-common/tstscanf.c: Add testcase for above case.
11740         * stdlib/tst-strtol.c: Correct tests.
11742         * manual/stdio-fp.c: New file.  Generate output for example program
11743         in stdio.texi.
11745         * stdio-common/Makefile (routines): Add printf_fphex.
11746         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
11747         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
11748         specifier.
11750 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
11752         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
11753         __STRICT_ANSI__.
11755         * math/math.h: Prevent definition of struct exception when using
11756         C++.  Use __exception instead.
11758 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
11760         * sysdeps/unix/syscalls.list: Dup takes only one argument.
11761         Reported by Greg McGary.
11763 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
11765         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
11766         than file_get_translator.
11768         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
11769         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
11771 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
11773         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
11774         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11776 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
11778         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
11779         but ADDR also == 0.
11781         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
11782         now instead of a weak extern, as some old programs expect it to be
11783         defined by ld.so.
11785 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
11787         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
11789         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
11790         __hurd_threadvar_stack_offset): Restore initialized versions, so
11791         startup works correctly.
11793         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
11795 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
11797         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
11798         not __mutex_try_lock.
11799         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
11800         (tsd_getspecific): Case variable to (void *) before returning.
11802         * hurd/hurdinit.c (__libc_argv): Remove extern.
11803         (__libc_argc): New variable.
11805 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
11807         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
11808         _HURD_THREADVAR_MALLOC.
11809         * malloc/thread-m.h
11810         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
11811         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
11812         __mutex_*.
11813         (mutex_t): Type removed & replaced by new macro.
11814         (tsd_key_t): Typedef to int instead of pthread_key_t.
11815         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
11816         (__pthread_initialize): New macro, work around assumption of pthreads.
11817         (tsd_keys_alloced): New static variable.
11818         <hurd/threadvar.h>: New include.
11820         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
11821         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
11822         defined before using it.
11824         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
11825         Make extern.
11826         * hurd/hurdinit.c (__libc_argv): Make extern.
11828         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
11829         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
11831         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
11832         __hurd_threadvar_stack_offset,
11833         __hurd_threadvar_stack_mask): New variables.
11834         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
11835         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
11836         New variables (moved here from hurdstartup.c).
11837         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
11838         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
11839         Variables removed (moved to hurdsig.c).
11840         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
11841         __hurd_threadvar_stack_mask): Variables removed.
11842         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
11843         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
11844         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
11845         __hurd_threadvar_stack_mask): Variables removed.
11847 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
11849         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
11850         Declare extern.
11852         * malloc/thread-m.h
11853         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
11854         (mutex_t): Type removed.
11855         (mutex_t): New macro.
11856         (mutex_trylock): New macro.
11857         (__x_mutex_lock, __x_mutex_unlock): New functions.
11858         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
11859         the cthread definitions.
11860         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
11861         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
11862         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
11863         (__pthread_initialize): New macro, work around assumption of pthreads.
11865 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
11867         * locale/weight.h (collate_rules): It's an u_int32_t array.
11868         (get_weight): Compute initial SLOT value correctly.
11870 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
11872         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
11873         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
11874         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11875         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11876         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11877         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11878         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11879         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11880         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11881         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11882         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11883         * sysdeps/unix/sysv/linux/send.S: Likewise.
11884         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11885         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11886         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11887         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11888         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11890 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
11892         * catgets/gencat.c: Change to use argp.
11893         * db/makedb: Likewise.
11894         * locale/programs/localedef.c: Likewise.
11896         * locale/programs/locale.c: Little adjustment for better usage of
11897         argp.
11899 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
11901         * Makeconfig: Add rules for libc with bounded pointers.
11902         * Makerules: Likewise.
11903         * config.make.in: Likewise.
11904         * configure.in: Likewise.
11906 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
11908         * argp/argp.h (OPTION_NO_USAGE): New macro.
11909         * argp/argp-help.c (usage_long_opt, usage_argful_short_opt,
11910         add_argless_short_opt): Implement OPTION_NO_USAGE.
11912 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11914         * malloc/obstack.h: Fix typo.
11916 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
11918         * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case
11919         where NEXTLINE points one past the end of the active buffer.
11921         * argp/argp-help.c <stddef.h>: New include.
11922         (__argp_failure): Only exit if STATE says it's ok.
11923         (print_header, hol_entry_help): Use UPARAMS fields rather than
11924         constants.
11925         (_help): Call fill_in_uparams if necessary.
11926         (struct hol_help_state): New type.
11927         (struct pentry_state): Add hhstate field.  Remove prev_entry &
11928         sep_groups fields.
11929         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
11930         sep_groups parameters.
11931         Suppress duplicate arguments if requested, and note the fact.
11932         (print_header, comma): Use PEST->hhstate fields.
11933         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
11934         Remove LAST_ENTRY & SEP_GROUPS variables.
11935         If any suplicate arguments were suppressed, print explanatory note.
11936         (filter_doc): Replace PEST parameter with STATE.
11937         (struct uparams): New type.
11938         (uparams): New variable.
11939         (struct uparam_name): New type.
11940         (uparam_names): New variable.
11941         (fill_in_uparams): New function.
11942         (__argp_failure, __argp_error, __argp_state_help): Make STATE
11943         parameter const.
11944         * argp/argp.h (argp_state_help, __argp_state_help, argp_usage,
11945         __argp_usage, argp_error, __argp_error, argp_failure,
11946         __argp_failure): Make STATE parameter const.
11947         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
11949         * argp/argp.h (argp_program_bug_address): Make const.
11951 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
11953         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
11955 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
11957         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
11959 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
11961         * stdio-common/test-fseek.c: Remove temporary file, add
11962         copyright.
11964 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
11966         * sysdeps/generic/netinet/in.h: Protect contents using
11967         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
11969         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
11970         * inet/Makefile (headers): Remove net/ethernet.h.
11971         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
11972         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
11974 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
11976         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
11977         searching in sorted array.
11979 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
11981         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
11982         and protect modification of global data.
11984 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
11986         * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
11987         (parser_init): Use the basename for PARSER->state.name.
11988         * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help):
11989         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
11991         * argp/argp-parse.c (parser_init): Set PARSER->state.flags.
11992         Make check whether PARSER has the prog name in argv[0] at the
11993         proper place.
11995 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
11997         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
11998         Use default value instead of printing a warning.
12000         * nss/XXX-lookup.c: Add missing explanation.
12002 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
12004         * inet/in6_addr.c: Add missing braces.
12006         * inet/getnameinfo.c: Include <arpa/inet.h>.
12008         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
12010 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
12012         * string/strxfrm.c (STRCOLL): Correct handling of `position'
12013         levels with no non-IGNOREd element and handling of NUL byte.
12014         * string/strcoll.c (STRXFRM): Likewise.
12015         * locale/weight.h: Likewise.
12017         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
12019 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
12021         * argp/argp-help.c: Add support for user provided filter of help
12022         messages.
12023         * argp/argp-parse.c: Likewise.
12024         * argp/argp.h: Likewise.
12025         * argp/argp-namefrob.h: Define __argp_input.
12027         * argp/argp-test.c: Add example for filter.
12029 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
12031         * argp.h: New file.
12032         * locale/programs/locale.c: Switch to use argp.
12034         * errno.h: Make it possible to get definition of error_t even
12035         after having errno.h already.
12037         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
12038         from dl-lookup.c.
12039         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
12041         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
12042         * elf/dl-version.c: Likewise.
12044         * elf/dl-lookup.c: Implement new versioning lookup scheme.
12045         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
12046         in l_versions member.
12048         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
12049         and _dl_lookup_versioned_symbol.
12051         * elf/link.h: Rename hash_name_pair to struct r_found_version.
12052         * sysdeps/alpha/dl-machine.h: Likewise.
12053         * sysdeps/i386/dl-machine.h: Likewise.
12054         * sysdeps/m68k/dl-machine.h: Likewise.
12055         * sysdeps/mips/dl-machine.h: Likewise.
12057         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
12058         length of abs_filename.
12060         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
12062         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
12063         in mon_grouping information.  This means no more grouping.
12064         * locale/programs/ld-numeric.c (numeric_add): Write value \377
12065         when seein value 0 in grouping information.
12066         * locale/programs/linereader.c (lr_close): Don't free fname since
12067         it might be used in error messages.
12069         * locale/programs/locale.c: Check whether output of `locale -a'
12070         really is locale directory.  Also print locale aliases.
12072         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
12073         be const.
12075 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
12077         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
12078         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
12080 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
12082         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
12084 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
12086         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
12087         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
12089         * sysdeps/stub/msync.c (msync): Add missing third parameter.
12091 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
12093         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
12094         additional argument.
12096 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
12098         * inet/net/ethernet.h: New file.
12099         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
12100         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
12101         Contributed by a sun <asun@zoology.washington.edu>.
12103         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
12104         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
12105         Reported by a sun <asun@zoology.washington.edu>.
12107 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12109         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
12110         makefiles which may change the distinfo variables.
12112 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12115         [$(subdir)=misc]: Add sys/quota.h.
12116         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
12118 1997-02-17 13:12  aleph1@dfw.net
12120         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
12121         strncpy.
12123 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
12125         * stdio-common/bug10.c (main): Correct parameter.
12127 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
12129         * malloc/obstack.h: Add `extern "C"' protection.
12130         * posix/regex.h: Likewise.
12131         * io/ftw.h: Likewise.
12132         * misc/libgen.h: Likewise.
12133         * login/utmp.h: Likewise.
12134         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
12135         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
12136         * sunrpc/rpc/pmap_rmt.h: Likewise.
12137         * sunrpc/rpc/auth_des.h: Likewise.
12138         * elf/link.h: Likewise.
12139         Reported by HJ Lu.
12141 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
12143         Linux specific network headers.
12144         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
12145         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
12146         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
12147         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
12148         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
12149         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
12150         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
12151         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
12152         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
12153         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
12154         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
12155         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
12156         Add sys/quota.h.
12157         [$(subdir)=inet] (sysdep_headers): Add new network header.
12159         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
12161         * inet/netinet/ip.h: Move to sysdeps/generic.
12162         * inet/netinet/tcp.h: Likewise.
12163         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
12164         * sysdeps/generic/netinet/tcp.h: Likewise.
12166 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
12168         * misc/sys/syslog.h (prioritynames): Correct definition to use
12169         braces where necessary.
12170         (facilitynames): Likewise.
12171         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
12172         Comment and beautify declarations.
12174 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
12176         * inet/Makefile (routines): Add in6_addr, getnameinfo.
12177         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
12178         by Craig Metz.
12179         * inet/in6_addr.c: New file.  IPv6 addressing constants.
12180         * posix/Makefile (routines): Add gai_strerror.
12181         * resolv/netdb.h: Add more constants for IPv6 basic API.
12182         * sysdeps/posix/gai_strerror.c: New file.
12183         * sysdeps/stub/gai_strerror.c New file.
12184         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
12185         basic API.
12187         * sysdeps/posix/getaddrinfo.c: Update from latest version by
12188         Craig Metz and use reentrant getXXbyYY functions.
12190 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
12192         * argp/argp.h: Declare argp_program_version as const char.
12193         * argp/argp-test.c: Likewise
12195         * stdlib/testrand.c (main): Declare main prototype.
12196         * stdlib/testdiv.c (main): Likewise.
12197         * string/testcopy.c (main): Likewise.
12198         * string/test-ffs.c (main): Likewise.
12199         * time/test_time.c (main): Likewise.
12201         * locale/duplocale.c (__duplocale): Return result.
12203 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
12205         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
12206         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
12208         * nss/nss.h: Remove declaration of __nss_shlib_revision.
12209         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
12211 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12213         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
12214         _nss_nis_gethostton_r.
12215         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
12217 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
12219         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
12220         trying to resolv name as numeric IPv6 address.
12221         * nss/digits_dots.c: Likewise.
12223 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
12225         * locale/setlocale.c (setlocale): Don't try to be clever about
12226         unused locales.  When the existence of the locale files isn't
12227         tested the result of setlocale might be different.
12229 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
12231         * locale/setlocale.c (setlocale): Don't increment usage_count of
12232         new locale if it already has the value MAX_USAGE_COUNT (it might
12233         be the C locale data which is read-only).
12235 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
12237         * argp/argp-help.c: Gettextize sources.
12238         * argp/argp-parse.c: Likewise.
12240 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
12242         * features.h (__GLIBC_MINOR__): Bump to 1.
12244         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
12245         * Makefile (distribute): Add xlocale.h.
12246         * locale/Makefile (routines): Add ctype_l.
12247         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
12248         Add __isblank_l, __toascii_l and __isascii_l.
12249         * ctype/ctype.h: Add definitions and declarations for *_l functions.
12250         * locale/Makefile (headers): Add xlocale.h.
12251         (routines): Add newlocale, duplocale, and freelocale.
12252         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
12253         (struct locale_data): Add new fields mmaped and usage_count.
12254         Correct various declarations.
12255         * locale/C-collate.c: Define value for new fields mmaped and
12256         usage_count.
12257         * locale/C-ctype.c: Likewise.
12258         * locale/C-messages.c: Likewise.
12259         * locale/C-monetary.c: Likewise.
12260         * locale/C-numeric.c: Likewise.
12261         * locale/C-time.c: Likewise.
12262         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
12263         usage_count fields.
12264         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
12265         Correct prototypes for __newlocale and __freelocale.
12266         Add prototype for __duplocale.
12267         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
12268         (_nl_remove_locale): New function.
12269         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
12270         * locale/setlocale.c: Likewise.
12271         * locale/weight.h: Change for use with locale objects.
12272         * locale/xlocale.h: New file.  Define __locale_t type.
12273         * locale/newlocale.c: New file.  Create new locale object.
12274         * locale/freelocale.c: New file.  Destroy locale object.
12275         * locale/duplocale.c: New file.  Create copy of locale object.
12276         * stdlib/Makefile (routines): Add strfmon_l.
12277         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
12278         * stdlib/strfmon.c: Add support for use in extended locale model.
12279         * stdlib/strfmon_l.c: New file.
12280         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
12281         * string/strcoll.c: Change for use in extended locale model.
12282         * string/strxfrm.c: Likewise.
12283         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
12284         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
12285         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
12286         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
12287         * wcsmbs/wcscoll.c: Change for use in extended locale model.
12288         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
12289         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
12290         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
12291         and towctrans_l.
12292         * wctype/cname-lookup.h: Prepare for use in extended locale model.
12293         * wctype/iswctype_l.c: New file.  Implement character classification
12294         functions for use with locale objects.
12295         * wctype/wctype.h: Declare functions for use with locale objects.
12296         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
12297         for use with locale objects.
12298         * wctype/wcfuncs_l.c: New file.  Implement wide character
12299         classification functions for use with locale objects.
12300         * wctype/wcextra.c: New file.  Implement real functions for
12301         non-standard classification functions.
12303         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
12304         parameters to ld.so.  Use environment variables.
12305         * elf/ldd.sh.in: Likewise.
12306         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
12307         options.  Instead read environment variables.
12309         * elf/link.h (receiver_fct): Add new argument to take error code.
12310         * elf/dl-error.c (_dl_signal_error): Call receiver function with
12311         another argument.
12313         * elf/dl-object.c (_dl_new_object): Create new object with list of
12314         names in l_libname member.
12315         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
12316         find to object to the list in the link_map variable.
12317         (_dl_map_object): Use _dl_does_name_match_p to compare with all
12318         available names of the object.
12319         Optimize handling of LD_LIBRARY_PATH a bit.
12320         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
12322         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
12324         * elf/Makefile (routines): Add dl-version.
12325         * elf/link.h (hash_name_pair): New type.  Group pointer to string
12326         and its hash value.
12327         (struct link_map): Change l_libname member to be a list of names,
12328         not a single pointer to a name.
12329         Add new members l_nversions and l_versions.
12330         (_dl_does_name_match_p): New function to test for all names of an
12331         object.
12332         Add prototypes for new lookup and versioning functions.
12333         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
12334         when versioned symbol is requested.
12335         (_dl_lookup_symbol): Call do_lookup with another argument.
12336         (_dl_lookup_symbol_skip): Likewise.
12337         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
12338         versioned symbol.
12339         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
12340         _dl_lookup_symbol_skip.
12341         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
12342         _dl_lookup_symbol depending on availability of version information.
12343         * elf/dl-runtime.c (RESOLVE): Likewise.
12344         (fixup): Call elf_machine_relplt with additional argument to point
12345         to versioning information if available.
12346         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12347         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
12348         for correct versions.
12349         * elf/dl-version.c: New file.  Check library versions and extract
12350         version information for easier access.
12351         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
12352         * elf/dlvsym.c: New file.  Implementation of function similar to
12353         dlsym, but looks for versioned symbol.
12354         * elf/elf.h: Add types and macros for versioning.
12355         * elf/rtld.c (dl_main): Check availability of needed versions.
12356         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
12357         argument for version information.  Call RESOLVE with additional
12358         argument.
12359         * sysdeps/i386/dl-machine.h: Likewise.
12360         * sysdeps/m68k/dl-machine.h: Likewise.
12361         * sysdeps/mips/dl-machine.h: Likewise.
12363         * elf/dlerror.c: Change comment to align with guidelines.
12364         * elf/dlopen.c: Likewise.
12365         * elf/dlsym.c: Likewise.
12367         * locale/programs/localedef.c: Implement --quiet option.
12368         * locale/programs/charset.h: Declare be_quiet variable.
12369         * locale/programs/locfile.h: Likewise.
12370         * locale/programs/charmap.c: Don't print warnings if quiet option
12371         was given.
12372         * locale/programs/ld-collate.c: Likewise.
12373         * locale/programs/ld-ctype.c: Likewise.
12374         * locale/programs/ld-messages.c: Likewise.
12375         * locale/programs/ld-monetary.c: Likewise.
12376         * locale/programs/ld-numeric.c: Likewise.
12377         * locale/programs/ld-time.c: Likewise.
12378         * locale/programs/locfile.c: Likewise.
12380         * Makefile (subdirs): Add argp.
12382         * catgets/catgets.c (catopen): Little code improvement.
12384         * posix/execl.c: Remove restriction to 1024 arguments.
12385         * posix/execle.c: Likewise.
12386         * posix/execlp.c: Likewise.
12388         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
12389         and make regular names weak aliases.
12390         * posix/getopt1.c: Likewise.
12391         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
12392         __ protected forms.
12394         * posix/unistd.h: Add prototype for __sleep.
12395         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
12396         * sysdeps/posix/sleep.c: Likewise.
12397         * sysdeps/stub/sleep.c: Likewise.
12398         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12400         * ctype/ctype-info.c: Update copyright.
12401         * ctype/ctype.c: Likewise.
12402         * ctype/test_ctype.c: Likewise.
12403         * dirent/alphasort.c: Likewise.
12404         * dirent/list.c: Likewise.
12405         * gmon/bb_exit_func.c: Likewise.
12406         * grp/fgetgrent.c: Likewise.
12407         * grp/getgrent.c: Likewise.
12408         * grp/getgrent_r.c: Likewise.
12409         * grp/getgrgid.c: Likewise.
12410         * grp/getgrgid_r.c: Likewise.
12411         * grp/getgrnam.c: Likewise.
12412         * grp/getgrnam_r.c: Likewise.
12413         * hurd/alloc-fd.c: Likewise.
12414         * hurd/catch-exc.c: Likewise.
12415         * hurd/ctty-input.c: Likewise.
12416         * hurd/ctty-output.c: Likewise.
12417         * hurd/dtable.c: Likewise.
12418         * hurd/fchroot.c: Likewise.
12419         * hurd/fd-close.c: Likewise.
12420         * hurd/fd-read.c: Likewise.
12421         * hurd/fd-write.c: Likewise.
12422         * hurd/fopenport.c: Likewise.
12423         * hurd/get-host.c: Likewise.
12424         * hurd/getdport.c: Likewise.
12425         * hurd/getuids.c: Likewise.
12426         * hurd/getumask.c: Likewise.
12427         * hurd/hurd-raise.c: Likewise.
12428         * hurd/hurd.h: Likewise.
12429         * hurd/hurdauth.c: Likewise.
12430         * hurd/hurdexec.c: Likewise.
12431         * hurd/hurdhost.h: Likewise.
12432         * hurd/hurdid.c: Likewise.
12433         * hurd/hurdinit.c: Likewise.
12434         * hurd/hurdioctl.c: Likewise.
12435         * hurd/hurdkill.c: Likewise.
12436         * hurd/hurdlookup.c: Likewise.
12437         * hurd/hurdmsg.c: Likewise.
12438         * hurd/hurdpid.c: Likewise.
12439         * hurd/hurdports.c: Likewise.
12440         * hurd/hurdprio.c: Likewise.
12441         * hurd/hurdrlimit.c: Likewise.
12442         * hurd/hurdsock.c: Likewise.
12443         * hurd/hurdstartup.c: Likewise.
12444         * hurd/hurdstartup.h: Likewise.
12445         * hurd/intern-fd.c: Likewise.
12446         * hurd/intr-msg.c: Likewise.
12447         * hurd/intr-rpc.defs: Likewise.
12448         * hurd/intr-rpc.h: Likewise.
12449         * hurd/msgportdemux.c: Likewise.
12450         * hurd/new-fd.c: Likewise.
12451         * hurd/openport.c: Likewise.
12452         * hurd/pid2task.c: Likewise.
12453         * hurd/port-cleanup.c: Likewise.
12454         * hurd/port2fd.c: Likewise.
12455         * hurd/ports-get.c: Likewise.
12456         * hurd/ports-set.c: Likewise.
12457         * hurd/privports.c: Likewise.
12458         * hurd/report-wait.c: Likewise.
12459         * hurd/set-host.c: Likewise.
12460         * hurd/setauth.c: Likewise.
12461         * hurd/setuids.c: Likewise.
12462         * hurd/siginfo.c: Likewise.
12463         * hurd/sigunwind.c: Likewise.
12464         * hurd/task2pid.c: Likewise.
12465         * hurd/thread-cancel.c: Likewise.
12466         * hurd/thread-self.c: Likewise.
12467         * hurd/vpprintf.c: Likewise.
12468         * hurd/hurd/fd.h: Likewise.
12469         * hurd/hurd/id.h: Likewise.
12470         * hurd/hurd/ioctl.h: Likewise.
12471         * hurd/hurd/lookup.h: Likewise.
12472         * hurd/hurd/port.h: Likewise.
12473         * hurd/hurd/resource.h: Likewise.
12474         * hurd/hurd/threadvar.h: Likewise.
12475         * hurd/hurd/userlink.h: Likewise.
12476         * inet/ether_aton.c: Likewise.
12477         * inet/ether_aton_r.c: Likewise.
12478         * inet/ether_ntoa.c: Likewise.
12479         * inet/ether_ntoa_r.c: Likewise.
12480         * inet/gethstbyad.c: Likewise.
12481         * inet/gethstbyad_r.c: Likewise.
12482         * inet/gethstent.c: Likewise.
12483         * inet/getnetbyad.c: Likewise.
12484         * inet/getnetbyad_r.c: Likewise.
12485         * inet/getnetbynm.c: Likewise.
12486         * inet/getnetbynm_r.c: Likewise.
12487         * inet/getnetent.c: Likewise.
12488         * inet/getnetent_r.c: Likewise.
12489         * inet/getproto.c: Likewise.
12490         * inet/getproto_r.c: Likewise.
12491         * inet/getprtent.c: Likewise.
12492         * inet/getprtent_r.c: Likewise.
12493         * inet/getprtname.c: Likewise.
12494         * inet/getrpcbyname.c: Likewise.
12495         * inet/getrpcbyname_r.c: Likewise.
12496         * inet/getrpcbynumber.c: Likewise.
12497         * inet/getrpcbynumber_r.c: Likewise.
12498         * inet/getrpcent.c: Likewise.
12499         * inet/getrpcent_r.c: Likewise.
12500         * inet/getservent.c: Likewise.
12501         * inet/getservent_r.c: Likewise.
12502         * inet/getsrvbynm.c: Likewise.
12503         * inet/getsrvbynm_r.c: Likewise.
12504         * inet/getsrvbypt.c: Likewise.
12505         * inet/getsrvbypt_r.c: Likewise.
12506         * inet/herrno.c: Likewise.
12507         * inet/netgroup.h: Likewise.
12508         * ient/netinet/ether.h: Likewise.
12509         * intl/bindtextdom.c: Likewise.
12510         * intl/dcgettext.c: Likewise.
12511         * intl/dgettext.c: Likewise.
12512         * intl/gettext.c: Likewise.
12513         * intl/gettext.h: Likewise.
12514         * intl/gettextP.h: Likewise.
12515         * intl/hash-string.h: Likewise.
12516         * intl/loadmsgcat.c: Likewise.
12517         * intl/localealias.c: Likewise.
12518         * intl/textdomain.c: Likewise.
12519         * io/creat.c: Likewise.
12520         * io/getdirname.c: Likewise.
12521         * io/lockf.c: Likewise.
12522         * io/pwd.c: Likewise.
12523         * io/test-utime.c: Likewise.
12524         * locale/categories.def: Likewise.
12525         * locale/codeset_name.c: Likewise.
12526         * locale/lc-collate.c: Likewise.
12527         * locale/lc-ctype.c: Likewise.
12528         * locale/lc-messages.c: Likewise.
12529         * locale/lc-monetary.c: Likewise.
12530         * locale/lc-numeric.c: Likewise.
12531         * locale/lc-time.c: Likewise.
12532         * locale/loadlocale.c: Likewise.
12533         * locale/localeconv.c: Likewise.
12534         * locale/nl_langinfo.c: Likewise.
12535         * locale/setlocale.c: Likewise.
12536         * locale/strlen-hash.h: Likewise.
12537         * locale/programs/charmap-kw.gperf: Likewise.
12538         * locale/programs/charmap-kw.h: Likewise.
12539         * locale/programs/charset.c: Likewise.
12540         * locale/programs/ld-ctype.c: Likewise.
12541         * locale/programs/ld-messages.c: Likewise.
12542         * locale/programs/ld-monetary.c: Likewise.
12543         * locale/programs/linereader.h: Likewise.
12544         * locale/programs/locale-spec.c: Likewise.
12545         * locale/programs/locales.h: Likewise.
12546         * locale/programs/locfile-kw.gperf: Likewise.
12547         * locale/programs/locfile-kw.h: Likewise.
12548         * locale/programs/locfile-token.h: Likewise.
12549         * locale/programs/simple-hash.h: Likewise.
12550         * locale/programs/stringtrans.c: Likewise.
12551         * locale/programs/stringtrans.h: Likewise.
12552         * login/logout.c: Likewise.
12553         * mach/bootprivport.c: Likewise.
12554         * mach/devstream.c: Likewise.
12555         * mach/hello.c: Likewise.
12556         * mach/mach.h: Likewise.
12557         * mach/mach_init.c: Likewise.
12558         * mach/mach_init.h: Likewise.
12559         * mach/mig-alloc.c: Likewise.
12560         * mach/mig-dealloc.c: Likewise.
12561         * mach/mutex-init.c: Likewise.
12562         * mach/mutex-solid.c: Likewise.
12563         * mach/setup-thread.c: Likewise.
12564         * mach/spin-lock.h: Likewise.
12565         * mach/spin-solid.c: Likewise.
12566         * mach/mach/mig_support.h: Likewise.
12567         * md5-crypt/md5-crypt.c: Likewise.
12568         * misc/nlist.h: Likewise.
12569         * nss/nss_files/files-ether.c: Likewise.
12570         * posix/confstr.c: Likewise.
12571         * posix/execl.c: Likewise.
12572         * posix/execle.c: Likewise.
12573         * posix/execlp.c: Likewise.
12574         * posix/execv.c: Likewise.
12575         * posix/execvp.c: Likewise.
12576         * posix/fnmatch.c: Likewise.
12577         * posix/getopt.c: Likewise.
12578         * posix/getopt.h: Likewise.
12579         * posix/getopt1.c: Likewise.
12580         * posix/id.c: Likewise.
12581         * posix/regex.c: Likewise.
12582         * posix/setpgrp.c: Likewise.
12583         * posix/unistd.h: Likewise.
12584         * posix/wordexp.c: Likewise.
12585         * pwd/fgetpwent.c: Likewise.
12586         * pwd/getpwent.c: Likewise.
12587         * pwd/getpwent_r.c: Likewise.
12588         * pwd/getpwnam.c: Likewise.
12589         * pwd/getpwnam_r.c: Likewise.
12590         * pwd/getpwuid.c: Likewise.
12591         * pwd/getpwuid_r.c: Likewise.
12592         * pwd/putpwent.c: Likewise.
12593         * resolv/gethnamaddr.c: Likewise.
12594         * resolv/res_hconf.c: Likewise.
12595         * resolv/res_hconf.h: Likewise.
12596         * setjmp/longjmp.c: Likewise.
12597         * setjmp/sigjmp.c: Likewise.
12598         * setjmp/tst-setjmp.c: Likewise.
12599         * stdio/clearerr.c: Likewise.
12600         * stdio/ferror.c: Likewise.
12601         * stdio/fgetc.c: Likewise.
12602         * stdio/fgetpos.c: Likewise.
12603         * stdio/fgets.c: Likewise.
12604         * stdio/fileno.c: Likewise.
12605         * stdio/fmemopen.c: Likewise.
12606         * stdio/fopen.c: Likewise.
12607         * stdio/fopncook.c: Likewise.
12608         * stdio/fputc.c: Likewise.
12609         * stdio/fputs.c: Likewise.
12610         * stdio/fread.c: Likewise.
12611         * stdio/freopen.c: Likewise.
12612         * stdio/fseek.c: Likewise.
12613         * stdio/fsetpos.c: Likewise.
12614         * stdio/ftell.c: Likewise.
12615         * stdio/fwrite.c: Likewise.
12616         * stdio/getchar.c: Likewise.
12617         * stdio/getdelim.c: Likewise.
12618         * stdio/gets.c: Likewise.
12619         * stdio/glue.c: Likewise.
12620         * stdio/internals.c: Likewise.
12621         * stdio/linewrap.c: Likewise.
12622         * stdio/linewrap.h: Likewise.
12623         * stdio/memstream.c: Likewise.
12624         * stdio/newstream.c: Likewise.
12625         * stdio/putchar.c: Likewise.
12626         * stdio/puts.c: Likewise.
12627         * stdio/rewind.c: Likewise.
12628         * stdio/setbuf.c: Likewise.
12629         * stdio/setbuffer.c: Likewise.
12630         * stdio/setlinebuf.c: Likewise.
12631         * stdio/setvbuf.c: Likewise.
12632         * stdio/ungetc.c: Likewise.
12633         * stdio/vasprintf.c: Likewise.
12634         * stdio/vscanf.c: Likewise.
12635         * stdio/vsnprintf.c: Likewise.
12636         * stdio/vsprintf.c: Likewise.
12637         * stdio/vsscanf.c: Likewise.
12638         * stdio-common/asprintf.c: Likewise.
12639         * stdio-common/dprintf.c: Likewise.
12640         * stdio-common/errnobug.c: Likewise.
12641         * stdio-common/fprintf.c: Likewise.
12642         * stdio-common/getline.c: Likewise.
12643         * stdio-common/getw.c: Likewise.
12644         * stdio-common/perror.c: Likewise.
12645         * stdio-common/psignal.c: Likewise.
12646         * stdio-common/putw.c: Likewise.
12647         * stdio-common/reg-printf.c: Likewise.
12648         * stdio-common/scanf.c: Likewise.
12649         * stdio-common/snprintf.c: Likewise.
12650         * stdio-common/sprintf.c: Likewise.
12651         * stdio-common/tempnam.c: Likewise.
12652         * stdio-common/test_rdwr.c: Likewise.
12653         * stdio-common/tst-fileno.c: Likewise.
12654         * stdio-common/tst-printf.c: Likewise.
12655         * stdio-common/tstgetln.c: Likewise.
12656         * stdio-common/vprintf.c: Likewise.
12657         * stdlib/drand48.c: Likewise.
12658         * stdlib/drand48_r.c: Likewise.
12659         * stdlib/erand48.c: Likewise.
12660         * stdlib/erand48_r.c: Likewise.
12661         * stdlib/exit.h: Likewise.
12662         * stdlib/strtoq.c: Likewise.
12663         * stdlib/strtoul.c: Likewise.
12664         * stdlib/strtouq.c: Likewise.
12665         * stdlib/test-canon.c: Likewise.
12666         * stdlib/testdiv.c: Likewise.
12667         * stdlib/testrand.c: Likewise.
12668         * string/argz-append.c: Likewise.
12669         * string/argz-count.c: Likewise.
12670         * string/argz-create.c: Likewise.
12671         * string/argz-ctsep.c: Likewise.
12672         * string/argz-delete.c: Likewise.
12673         * string/argz-extract.c: Likewise.
12674         * string/argz-insert.c: Likewise.
12675         * string/argz-next.c: Likewise.
12676         * string/argz-stringify.c: Likewise.
12677         * string/basename.c: Likewise.
12678         * string/envz.c: Likewise.
12679         * string/memfrob.c: Likewise.
12680         * string/strcoll.c: Likewise.
12681         * string/strdup.c: Likewise.
12682         * string/string.h: Likewise.
12683         * string/strndup.c: Likewise.
12684         * string/strnlen.c: Likewise.
12685         * string/strsignal.c: Likewise.
12686         * string/strxfrm.c: Likewise.
12687         * string/test-ffs.c: Likewise.
12688         * string/testcopy.c: Likewise.
12689         * sysdeps/generic/enbl-secure.c: Likewise.
12690         * sysdeps/generic/memcopy.h: Likewise.
12691         * sysdeps/generic/stpncpy.c: Likewise.
12692         * sysdeps/generic/strcasecmp.c: Likewise.
12693         * sysdeps/generic/strcat.c: Likewise.
12694         * sysdeps/generic/strchr.c: Likewise.
12695         * sysdeps/generic/strcpy.c: Likewise.
12696         * sysdeps/generic/strcspn.c: Likewise.
12697         * sysdeps/generic/strlen.c: Likewise.
12698         * sysdeps/generic/strncase.c: Likewise.
12699         * sysdeps/generic/strncat.c: Likewise.
12700         * sysdeps/generic/strncpy.c: Likewise.
12701         * sysdeps/generic/strpbrk.c: Likewise.
12702         * sysdeps/generic/strsep.c: Likewise.
12703         * sysdeps/generic/strspn.c: Likewise.
12704         * sysdeps/generic/strstr.c: Likewise.
12705         * sysdeps/generic/strtok.c: Likewise.
12706         * sysdeps/generic/strtok_r.c: Likewise.
12707         * sysdeps/mach/sleep.c: Likewise.
12708         * sysdeps/posix/sleep.c: Likewise.
12709         * sysdeps/stub/sleep.c: Likewise.
12710         * time/date.c: Likewise.
12711         * time/test_time.c: Likewise.
12712         * wcsmbs/wmemcpy.c: Likewise.
12713         * wctye/test_wctype.c: Likewise.
12714         * wctye/towctrans.c: Likewise.
12715         * wctye/wcfuncs.c: Likewise.
12716         * wctye/wctrans.c: Likewise.
12718 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
12720         * argp/Makefile: New file.
12721         * argp/argp.h: Likewise.
12722         * argp/argp-ba.c: Likewise.
12723         * argp/argp-fmtstream.c: Likewise.
12724         * argp/argp-fmtstream.h: Likewise.
12725         * argp/argp-fs-xinl.c: Likewise.
12726         * argp/argp-help.c: Likewise.
12727         * argp/argp-namefrob.h: Likewise.
12728         * argp/argp-parse.c: Likewise.
12729         * argp/argp-pv.c: Likewise.
12730         * argp/argp-pvh.c: Likewise.
12731         * argp/argp-test.c: Likewise.
12732         * argp/argp-xinl.c: Likewise.
12734 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
12736         * stdlib/qsort.c: Add prototype for _quicksort.
12738         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
12740         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
12741         from dl-machine.h.
12743 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
12745         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
12746         Allow user to overwrite it.
12748 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
12750         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
12751         versions.  Reported by Andreas Jaeger.
12753 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
12755         * time/tzfile.c (__tzfile_read): Change comment to follow
12756         change of 1997-02-12.
12758 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
12760         * time/time.h (__nanosleep): Define only when struct timespec is
12761         also available.
12762         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
12764 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
12766         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
12767         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
12769 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
12771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
12772         of 1997-02-09 in resolv/gethnamaddr.c.
12774 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
12776         * libio/_G_config.h (_G_wint_t): New.
12778 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
12780         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
12781         to sizeof (buf.buf) while calling res_search ().
12783 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
12785         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
12786         val to keydat, stat to status.
12788 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
12790         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
12792 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
12794         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
12795         by Keith Bostic.
12797 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
12799         * stdlib/atoll.c: Undefine atoll, not atol.
12801 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12803         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
12804         unused arguments of shell script.
12806         * Makeconfig (all-object-suffixes): New variable.
12807         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
12808         of $(object-suffixes).
12809         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
12811 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
12813         * string/argz-ctsep.c: Initialize *LEN when successful.
12815 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
12817         * stdio-common/_itoa.h: Update copyright.
12819 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
12821         * version.h (VERSION): Bump to 2.0.2.
12823         * posix/Makefile (routines): Add getopt_init.
12824         * posix/getopt.c: Don't get environment variable with nonoption
12825         flags here.  Depend on __getopt_nonoption_flags variable filled
12826         somewhere else.  This is necessary since the variable must be
12827         removed even when getopt isn't used in case exec(2) gets called.
12828         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
12829         and remove environment variable.
12830         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
12831         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12832         * sysdeps/stub/init-first.c: Likewise.
12833         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12835         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
12836         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
12838         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
12839         encryption is wanted.
12841         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
12842         * stdio/vsnprintf.c: Likewise.
12843         Reported by Philip Blundell <pjb27@cam.ac.uk>.
12845         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
12846         * stdio/vsnprintf.c: Likewise.
12847         Reported by Philip Blundell <pjb27@cam.ac.uk>.
12849 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
12851         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
12852         Change PTR to void *.
12853         * sysdeps/posix/vdprintf.c: Change PTR to void *.
12854         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
12856 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
12858         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
12860 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12862         * rellns-sh: No need to check for existance of first parameter.
12864 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12866         * rellns-sh: No need to check for existance of first parameter.
12868 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12870         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
12871         by David Holland <dholland@eecs.harvard.edu>.
12873 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12875         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
12876         select, in case it is modified by the latter.
12877         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12878         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12879         * sunrpc/svc_tcp.c (readtcp): Likewise.
12881         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
12882         array.
12884         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
12885         and gid_t.
12887         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
12888         argument.
12890 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12892         * elf/Makefile (extra-objs): Don't zap previous value.
12893         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
12894         twice.
12896 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12898         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
12899         braindamage (sigh!).
12901 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
12903         * manual/memory.texi: Correct `copystring' example for obstacks.
12905 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
12907         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
12908         GNU tr don't grok it.
12910 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12912         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
12913         Don't use GNU C extensions.
12914         (CMSG_DATA): Use portable definition.
12916 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
12918         * elf/ldd.bash.in: Add test for read permission and print appropriate
12919         message.  Change warning and error messages to print "ldd: " at start.
12920         * elf/ldd.sh.in: Likewise.
12922         * stdlib/Makefile (routines): Add atoll.
12923         * stdlib/atoll.c: New file.
12924         * stdlib/stdlib.h: Add prototype and optimization for atoll.
12926         * stdlib/a64l.c: Update copyright.
12927         * stdlib/abs.c: Likewise.
12928         * stdlib/atof.c: Likewise.
12929         * stdlib/atoi.c: Likewise.
12930         * stdlib/atol.c: Likewise.
12931         * stdlib/bsearch.c: Likewise.
12932         * stdlib/exit.c: Likewise.
12933         * stdlib/fpioconst.c: Likewise.
12934         * stdlib/fpioconst.h: Likewise.
12935         * stdlib/jrand48.c: Likewise.
12936         * stdlib/jrand48_r.c: Likewise.
12937         * stdlib/labs.c: Likewise.
12938         * stdlib/lcong48.c: Likewise.
12939         * stdlib/lcong48_r.c: Likewise.
12940         * stdlib/llabs.c: Likewise.
12941         * stdlib/lrand48.c: Likewise.
12942         * stdlib/lrand48_r.c: Likewise.
12943         * stdlib/mblen.c: Likewise.
12944         * stdlib/mbstowcs.c: Likewise.
12945         * stdlib/mbtowc.c: Likewise.
12946         * stdlib/mp_clz_tab.c: Likewise.
12947         * stdlib/mrand48.c: Likewise.
12948         * stdlib/mrand48_r.c: Likewise.
12949         * stdlib/msort.c: Likewise.
12950         * stdlib/nrand48.c: Likewise.
12951         * stdlib/nrand48_r.c: Likewise.
12952         * stdlib/qsort.c: Likewise.
12953         * stdlib/rpmatch.c: Likewise.
12954         * stdlib/seed48.c: Likewise.
12955         * stdlib/seed48_r.c: Likewise.
12956         * stdlib/srand48.c: Likewise.
12957         * stdlib/srand48_r.c: Likewise.
12958         * stdlib/strtod.c: Likewise.
12959         * stdlib/wcstombs.c: Likewise.
12960         * stdlib/wctomb.c: Likewise.
12962 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
12964         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
12965         as const.
12967 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
12969         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
12970         including <stddef.h>.
12972 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
12974         * time/Makefile (tzbases, tzlinks): New.
12975         (tzfiles): Changed to $(tzbases) $(tzlinks).
12976         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
12978 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
12980         * Makefile (install): Ignore error from ldconfig.
12982         * time/zic.c (mkdirs): Double check the error return of mkdir ().
12984 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
12986         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
12987         like PPC where va_list is no integral type.
12989 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
12991         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
12992         if nonoption_flags_len == -1.
12994 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
12996         * Version 2.0.1 net release.
12998 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
13000         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
13002 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
13004         * stdlib/getsubopt.c: Don't return `=' for suboption which has
13005         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
13007 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
13009         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
13010         values as in yp.x and yp.h.
13012 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
13014         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
13015         1997-02-03 02:17.  Sun's implementation internally corrects
13016         this bug but we don't want to hide this from the user.
13017         * nis/rpcsvc/yp.h: Likewise.
13019 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13021         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
13022         inclusion.
13024 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13026         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
13027         fixes.
13029 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13031         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
13032         (all-sources, all-headers): Use them instead of $(sources) and
13033         $(headers) when searching in sysdep directories.
13035 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13037         * Makerules (REAL_MAKE_VERSION): Use internal make function
13038         instead of shelling out.
13040 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13042         * time/Makefile (install-test-data): Remove mkdir command, zic can
13043         handle that gracefully.
13045 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13047         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
13048         somehow.
13050 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13052         * sunrpc/Makefile: Check $(cross-compiling) only after including
13053         ../Makeconfig.
13054         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
13055         being considered as a rule.
13056         (generated): Add stamp files before the inclusion of Makerules to
13057         magically mark them as not being intermediate via the `generated'
13058         target.
13060 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
13062         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
13063         entries.  This is still no complete implementation since AUXILIARY
13064         entries in other shared objects are not yet handled.
13066         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
13067         place.
13069         * po/es.po: Update.
13070         * po/fr.po: Update.
13071         * po/nl.po: Update.
13073         * time/Makefile: Better cross-compile support.  Avoid test which
13074         cannot be run.
13075         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
13076         tzfile.h file.
13077         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
13078         in SUID programs.
13079         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
13080         default values as in tzfile.c.
13082         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
13083         tags.
13084         * elf/link.h: Likewise.
13085         * elf/elf.h: Add tag definitions and data structures for versioning.
13087 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
13089         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
13090         "Sun bug".  This is the order of elements also used by 4.4BSD.
13091         * nis/rpcsvc/yp.h: Likewise.
13092         Reported by HJ Lu.
13094 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
13096         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
13097         action.
13099         * Makefile (install): Pass installation directories as arguments
13100         to ldconfig.
13102 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
13104         * malloc/malloc.c (__after_morecore_hook): New variable.
13105         (malloc_extend_top): Call __after_morecore_hook if set.
13106         (main_trim): Likewise.
13107         * malloc/malloc.h: Add declaration of __after_morecore_hook.
13108         Suggested by Marcus Daniels.
13110 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
13112         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
13113         #ifndef NO_THREADS.
13114         (mallinfo): Likewise.
13116         * malloc/malloc.c (__morecore): Make external since it is used in
13117         programs.
13119 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
13121         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
13122         unsigned.
13124 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
13126         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
13127         use t6 as a temporary; it contains bits we still need in $u_head.
13129 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
13131         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
13132         using __ prefix.  Add prototype for log1p.
13134 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
13136         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
13138 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
13140         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
13142 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
13144         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
13145         structure plus related macros.
13146         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
13147         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
13148         (sysdep_routines): Add cmsg_nxthdr.
13149         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
13150         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
13152 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
13154         * time/strftime.c: Define _strftime_copytm without protecting arguments
13155         which breaks the definition.
13157 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
13159         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
13160         definition of type for element.
13162 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
13164         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
13165         constants.
13167 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
13169         * Makefile: Pass PARALLELMFLAGS to sub-makes.
13170         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
13172 1997-01-31  Paul Eggert  <eggert@twinsun.com>
13174         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
13175         Define if _LIBC is defined.
13176         <limits.h>: Include if HAVE_LIMITS_H instead of if
13177         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
13178         <stdlib.h>: Similarly, include if STDC_HEADERS.
13179         (localtime_r): Redo #ifdef to make it clear that glibc has
13180         localtime_r now.
13182 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13184         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
13185         file to avoid unnecessary recompilation.
13187 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13189         * Makefile: Set install-others, not install_others.
13190         (before-compile): Use += to preserve previous value.
13191         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
13192         fix dependency name.
13193         ($(objpfx)lib-names.h): Remove rule.
13194         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
13195         with correct name, using an intermediate stamp file.
13196         (common-generated): Add gnu/lib-names.h.
13197         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
13199 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
13201         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
13202         to prevent warnings on 64 bit systems.
13203         Reported by Paul Wouters <paul@xtdnet.nl>.
13205         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
13206         we assume it works.
13208 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
13210         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
13211         double word boundary before pushing args for main.  This way we
13212         don't get penalties for misaligned memory accesses.  Reported by
13213         Edward Seidl <seidl@janed.com>.
13215         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
13216         Patch by HJ Lu.
13218         * misc/bsd-compat.c: Update copyright.
13219         * misc/efgcvt.c: Likewise.
13220         * misc/efgcvt_r.c: Likewise.
13221         * misc/error.c: Likewise.
13222         * misc/error.h: Likewise.
13223         * misc/fstab.c: Likewise.
13224         * misc/init-misc.c: Likewise.
13225         * misc/lsearch.c: Likewise.
13226         * misc/mntent.c: Likewise.
13227         * misc/qefgcvt.c: Likewise.
13228         * misc/qefgcvt_r.c: Likewise.
13229         * nss/databases.def: Likewise.
13230         * nss/db-Makefile: Likewise.
13231         * nss/ethers-lookup.c: Likewise.
13232         * nss/hosts-lookup.c: Likewise.
13233         * nss/netgrp-lookup.c: Likewise.
13234         * nss/nsswitch.h: Likewise.
13235         * nss/proto-lookup.c: Likewise.
13236         * nss/rpc-lookup.c: Likewise.
13237         * nss/service-lookup.c: Likewise.
13238         * nss/nss_db/db-netgrp.c: Likewise.
13239         * nss/nss_files/files-grp.c: Likewise.
13240         * nss/nss_files/files-hosts.c: Likewise.
13241         * nss/nss_files/files-network.c: Likewise.
13242         * nss/nss_files/files-proto.c: Likewise.
13243         * nss/nss_files/files-pwd.c: Likewise.
13244         * nss/nss_files/files-rpc.c: Likewise.
13245         * nss/nss_files/files-service.c: Likewise.
13246         * nss/nss_files/files-spwd.c: Likewise.
13247         * shadow/fgetspent.c: Likewise.
13248         * shadow/fgetspent_r.c: Likewise.
13249         * shadow/getspent.c: Likewise.
13250         * shadow/getspent_r.c: Likewise.
13251         * shadow/getspnam.c: Likewise.
13252         * shadow/getspnam_r.c: Likewise.
13253         * shadow/putspent.c: Likewise.
13254         * shadow/sgetspent.c: Likewise.
13255         * shadow/sgetspent_r.c: Likewise.
13256         * sysdeps/i386/init-first.c: Likewise.
13257         * sysdeps/unix/i386/sysdep.S: Likewise.
13259         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
13260         prepared to be running in a multi-threaded environment.  Change
13261         to __USE_MISC unless the function is defined in POSIX.1 (in this
13262         case also test for __USE_POSIX).
13263         * dirent/dirent.h: Likewise.
13264         * grp/grp.h: Likewise.
13265         * inet/aliases.h: Likewise.
13266         * libio/libio.h: Likewise.
13267         * libio/stdio.h: Likewise.
13268         * login/utmp.h: Likewise.
13269         * math/mathcalls.h: Likewise.
13270         * misc/mntent.h: Likewise.
13271         * pwd/pwd.h: Likewise.
13272         * resolv/netdb.h: Likewise.
13273         * stdlib/stdlib.h: Likewise.
13274         * string/string.h: Likewise.
13275         * sunrpc/rpc/netdb.h: Likewise.
13276         * sysdeps/generic/crypt.h: Likewise.
13277         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
13278         * time/time.h: Likewise.
13280 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
13282         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
13283         only if not cross compiling.
13285 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
13287         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
13288         NULL.
13289         * sysdeps/posix/sigwait.c: Likewise.
13291 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13293         * Makeconfig ($(common-objpfx)config.make): Depend on
13294         $(..)config.make.in.
13296 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
13298         * sunrpc/Makefile: Don't generate headers derived from .x files when
13299         crosscompiling.
13301 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
13303         * Makefile: Generate gnu/lib-names.h in before-compile.
13304         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
13305         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
13306         to the revision found for LIBNSS_FILES_SO.
13307         (nss_initilized): Removed.  It was tested but never set.
13308         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
13310         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
13311         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
13313         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
13315 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
13317         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
13318         override the definition.
13320 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
13322         * config.make.in (malloc): Remove.
13324 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
13326         * version.h (VERSION): Bump to 2.0.1.
13328         * posix/getopt.c: Handle another problem introduced by the
13329         nonoption_flags array.  We must be able to work with reordered
13330         argv arrays.  Reported by Andreas Schwab.
13332 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
13334         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
13335         stack.
13337 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
13339         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
13340         that it works with yp.h.
13342 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
13344         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
13345         __libc_malloc_initialized so that this variable is not shared with
13346         other users of GNU malloc.
13347         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
13349         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
13351         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
13352         variables to prevent warnings.
13353         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
13354         using attribute regparm.
13355         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
13356         is changed by the resolver code.
13358 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13360         * malloc/malloc.c (weak_variable): Define.
13361         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
13362         __memalign_hook): Make them weak definitions.
13364 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13366         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
13367         limits, correctly take structure padding into account, use correct
13368         offset when resetting the stream, change heuristic to assume an
13369         average name length of 14 characters.
13371 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13373         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
13374         inclusion.
13377 See ChangeLog.6 for earlier changes.