Update.
[platform/upstream/glibc.git] / ChangeLog
1 1997-10-29 21:20  Ulrich Drepper  <drepper@cygnus.com>
2
3         * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write
4         pointers are tied set mode according to current stream mode.
5
6         * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
7         199506L.
8         Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined.
9         * manual/creature.texi: Describe this.
10
11         * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto,
12         recv, recvfrom, and recvmsg as cancelation points.
13         * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these
14         functions.
15
16 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
17
18         * Make-dist (try-sysdeps): Don't look for stub files anymore.
19
20         * manual/maint.texi (Porting): Remove another reference to stub
21         directory.
22
23         * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from
24         generic subdir.
25         * sysdeps/unix/sysv/irix4/reboot.c: Likewise.
26         * sysdeps/unix/sysv/irix4/swapon.c: Likewise
27
28 1997-10-29 03:54  Ulrich Drepper  <drepper@cygnus.com>
29
30         * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
31         in all error cases (PR 244).
32
33 1997-10-29 00:56  Ulrich Drepper  <drepper@cygnus.com>
34
35         * posix/glob.c: Fix handling of expressions like "*/" (PR 325).
36         Optimize by using mempcpy.
37
38 1997-10-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
39
40         * po/Makefile ($(mo-installed)): Don't fail during installation if
41         files don't exist (might happen if msgfmt doesn't exist) (PR 328).
42         Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
43
44 1997-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
45
46         * sysdeps/generic/bits/errno.h (ENOMSG): Define it.
47         Pointed out by Klaus Espenlaub
48         <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259).
49
50 1997-10-28 17:40  Ulrich Drepper  <drepper@cygnus.com>
51
52         * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
53         zero isn't enough to determine illegal arguments.
54         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
55         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
56
57 1997-10-28 17:14  Ulrich Drepper  <drepper@cygnus.com>
58
59         * manual/filesys.texi (S_ISVTX): Describe that it is available with
60         _BSD_SOURCE only.
61         Reported by Jochen Hein <jochen.hein@delphi.central.de>.
62
63 1997-10-28 04:26  Ulrich Drepper  <drepper@cygnus.com>
64
65         * time/tzfile.c (__tzfile_compute): Use negated value of offset for
66         timezone variable.
67         * time/tzset.c (tz_compute): Likewise.
68         Reported by Erik Troan <ewt@redhat.com>.
69
70 1997-10-28 02:51  Ulrich Drepper  <drepper@cygnus.com>
71
72         * manual/filesys.texi: Correct prototype in readdir_r description.
73         Reported by Jim Meyering <meyering@eng.ascend.com>.
74
75 1997-10-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
76
77         * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299).
78
79 1997-10-26 19:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
80
81         * stdlib/l64a.c: Produce a useful result for n < 0.
82         * stdlib/a64l.c: Use unsigned type for working variable.
83         * manual/string.texi (general): Grammar, typo, overfull fixes.
84         (strlen): Insert warning about sizeof(char *).
85         (a64l, l64a): Make documentation agree with implementation.
86
87 1997-10-26 18:12  Ulrich Drepper  <drepper@cygnus.com>
88
89         * libio/genops.c: Partial undo of last patch.
90         * libio/stdfiles.c: Likewise.
91         * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus.
92         * libio/iopopen.c: Likewise.
93         * libio/iovdprintf.c: Likewise.
94         * libio/libio.h: Remove duplicated `;'.
95         * libio/stdio.c: Remove misleading comment.
96         * libio/stdio.h: Declare standard streams as variables.
97
98         * login/Makefile (distribute): Add README.utmpd.
99         * login/README.utmpd: New file.
100         Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
101
102         * manual/job.texi: Document tcgetsid.
103         * manual/pattern.texi: Document globfree.
104         * manual/terminal.texi: Document B38400 ... B460800.
105
106         * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS.
107
108         * posix/unistd.h: Add explanation of _POSIX_* constants.
109
110         * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite
111         and __pwrite64.
112         * sysdeps/generic/pread.c: Define as __pread and make pread weak alias.
113         * sysdeps/generic/pread64.c: Likewise.
114         * sysdeps/generic/pwrite.c: Likewise.
115         * sysdeps/generic/pwrite64.c: Likewise.
116         * sysdeps/posix/pread.c: Likewise.
117         * sysdeps/posix/pwrite.c: Likewise.
118         * sysdeps/posix/pread64.c: New file.
119         * sysdeps/posix/pwrite64.c: Likewise.
120         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines):
121         Add s_pread64 and s_pwrite64.
122         * sysdeps/unix/sysv/linux/pread.c: New file.
123         * sysdeps/unix/sysv/linux/pread64.c: New file.
124         * sysdeps/unix/sysv/linux/pwrite.c: New file.
125         * sysdeps/unix/sysv/linux/pwrite64.c: New file.
126         * sysdeps/unix/sysv/linux/s_pread64.c: New file.
127         * sysdeps/unix/sysv/linux/s_pwrite64.c: New file.
128         * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite.
129         * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file.
130         * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file.
131         * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file.
132         * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file.
133         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite
134         with weak aliases for *64 functions.
135         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
136
137         * string/bits/string2.h: Add casts to allow void * arguments.
138
139         * sysdeps/i386/i486/bits/string.h: Define index and rindex only if
140         __USE_BSD or __USE_XOPEN_EXTENDED.
141
142         * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other
143         SCM_* constants from kernel header.
144
145         * termios/termios.h: Add prototype for tcgetsid.
146
147 1997-10-26 13:26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
148
149         * sunrpc/clnt_perr.c: Add trailing '\0' to strings.
150
151         * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes.
152
153         * sunrpc/pmap_clnt.c: Use get_myaddress from header file.
154
155 1997-10-26 05:26  Ulrich Drepper  <drepper@cygnus.com>
156
157         * configure.in: Punt if any directory mentioned in the
158         enable-add-on parameter does not exist.
159
160 1997-10-25 19:25  Ulrich Drepper  <drepper@cygnus.com>
161
162         * termios/Makefile (routines): Add tcgetsid.
163         * termios/tcgetsid.c: New file.
164         Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
165
166 1997-10-25 18:56  Ulrich Drepper  <drepper@cygnus.com>
167
168         * stdlib/stdlib.h: Remove mblen optimization.
169         * stdlib/mblen.c: Rewrite to make sure global state is not changed.
170         Reported by anderson@metrolink.com.
171
172 1997-10-19 21:51  Wolfram Gloger  <wg@wolfram.dent.med.uni-muenchen.de>
173
174         * malloc/thread-m.h [_LIBC]:  Use new __libc_internal_tsd_{set,get}
175         interface for thread-specific data.
176
177 1997-10-25 06:51  Ulrich Drepper  <drepper@cygnus.com>
178
179         * elf/dl-addr.c: Use braces for correct logical grouping.
180         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
181
182 1997-10-18 09:15  Geoff Keating  <geoffk@ozemail.com.au>
183
184         * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more
185         convenient; that caused this test to break.
186
187         * sysdeps/powerpc/dl-machine.h: Fix typo.
188
189         * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers
190         when -msoft-float is in effect, because this causes compilation to
191         stop.
192         * sysdeps/powerpc/bits/mathinlines.h: Likewise.
193
194         * rpm/template: Add description, use RPM flags rather than the ones
195         used to build the spec.  Build in a temporary directory, not /.
196
197         * elf/dl-lookup.c: Don't include _itoa.h, it's not used.
198         * elf/dl-minimal.c: Use _itoa_word rather than _itoa.  It seems that
199         _itoa is the only routine that ld.so uses that requires something
200         from libgcc.a on powerpc, so it would be best to avoid it in ld.so.
201         * elf/rtld.c: Likewise.
202         * sysdeps/generic/_strerror.c: Likewise.
203         * stdio-common/_itoa.c: Split out digits strings.
204         * stdio-common/itoa-digits.c: New file.
205         * stdio-common/Makefile: Add itoa-digits.
206
207 1997-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
208
209         * manual/filesys.texi (Scanning Directory Content): Document error
210         case more.
211
212         * dirent/scandir.c (scandir): Ignore errors from select function.
213         Suggested by urbanw@cs.umu.se (closes PR libc/316).
214
215 1997-10-25 06:18  Ulrich Drepper  <drepper@cygnus.com>
216
217         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections.
218         Patch by Erik Troan <ewt@redhat.com>.
219
220 1997-10-25 04:00  Ulrich Drepper  <drepper@cygnus.com>
221
222         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
223         matching of version function if both the general (1) and
224         glibc-specific (3) entry are present.
225
226 1997-10-22 18:47  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
227
228         * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
229
230         * nis/libnsl.map: Fix typo.
231
232         * nis/nis_call.c: Fix memory leak.
233
234 1997-10-22 19:29  Ulrich Drepper  <drepper@cygnus.com>
235
236         * sysdeps/generic/memcmp.c: Define __P if not defined before.
237         Patch by Jim Meyering <meyering@eng.ascend.com>.
238
239 1997-10-21 22:09  Ulrich Drepper  <drepper@cygnus.com>
240
241         * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch
242         <rgooch@atnf.csiro.au>.
243
244 1997-10-21 21:50  Ulrich Drepper  <drepper@cygnus.com>
245
246         * misc/syslog.c (vsyslog): Open console with O_NOCTTY.
247         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
248
249 1997-10-21 18:07  Ulrich Drepper  <drepper@cygnus.com>
250
251         * posix/wordexp.c: Improve handling of $... expressions.
252         Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
253
254 1997-10-21 16:12  Ulrich Drepper  <drepper@cygnus.com>
255
256         * manual/string.texi: Correct return values of bcopy and bzero.
257         Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>.
258
259 1997-10-18 15:03  Philip Blundell  <Philip.Blundell@pobox.com>
260
261         * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
262         elements in struct msghdr and struct cmsghdr, to keep in step with
263         the kernel.
264
265 1997-10-17 22:29  Ulrich Drepper  <drepper@cygnus.com>
266
267         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another
268         bug in startup code.
269         Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
270
271 1997-10-16 20:17  Richard Henderson  <rth@cygnus.com>
272
273         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the
274         stack and give the kernel a pointer.  Use the sysdep.h macros.
275
276 1997-10-17 04:07  Ulrich Drepper  <drepper@cygnus.com>
277
278         * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly.
279         Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
280
281 1997-10-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
282
283         * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo.
284
285 1997-10-16 14:50  Ulrich Drepper  <drepper@cygnus.com>
286
287         * manual/pattern.texi: Document globfree.
288
289 1997-10-15 21:11  Philip Blundell  <Philip.Blundell@pobox.com>
290
291         * sysdeps/unix/sysv/linux/net/if_packet.h: New file.
292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
293         net/if_packet.h.
294
295         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for
296         64Mbps ASH.
297         (ARPHRD_ETHER): This is used for 100Mbps networks too.
298
299 1997-10-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
300
301         * Makerules (install): Use full pathnames for linker script.
302         This is to work around a limitation in `ld' while no better solution
303         is possible.
304
305 1997-10-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
306
307         * malloc/malloc.c (mmap_chunk): Put inline before static in
308         function definition to avoid compiler warning.
309         (malloc_extend): Likewise.
310
311         * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning.
312
313 1997-10-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
314
315         * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org.
316         * README.template: Likewise.
317         * db/makedb.c: Likewise.
318         * elf/ldd.bash.in: Likewise.
319         * elf/ldd.sh.in: Likewise.
320         * intl/locale.alias: Likewise.
321         * login/programs/utmpd.c: Likewise.
322         * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list.
323
324 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
325
326         * Rules: Remove all empty.* files.
327         (shared-only-routines): Correct implementation.
328
329 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
330
331         * sysdeps/libm-ieee754/s_lrintl.c: Make compilable.
332         * sysdeps/libm-ieee754/s_llrintl.c: Likewise.  Optimized.
333
334 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
335
336         * elf/ldd.bash.in: Only prepend ./ if the file contains no slash
337         at all.
338         * elf/ldd.sh.in: Likewise.
339
340 1997-10-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
341
342         * sysdeps/m68k/sys/ucontext.h: New file.
343
344 1997-10-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
345
346         * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file.
347         * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file.
348         * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file.
349
350         * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias.
351         * sysdeps/m68k/fpu/s_scalbnf.c: Adapted.
352         * sysdeps/m68k/fpu/s_scalbnl.c: Adapted.
353
354         * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff.
355         * sysdeps/m68k/fpu/s_lrintf.c: New file.
356         * sysdeps/m68k/fpu/s_lrintl.c: New file.
357
358         * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln.  Update
359         lrint and scalbn.
360         (__m81_inline) [__cplusplus]: Define to __inline.
361
362         * math/bits/mathcalls.h: Remove whitespace before second argument
363         of __MATHDECL.  Add note explaining this.
364
365 1997-10-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
366
367         * manual/arith.texi (Absolute Value): Spelling fix.
368
369 1997-10-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
370
371         * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly
372         parenthesize the macro parameter.
373
374 1997-10-15 06:56  Ulrich Drepper  <drepper@cygnus.com>
375
376         * Rules: Remove rules to magically install <subdir>.h headers.
377         Reported by Mark Kettenis <kettenis@phys.uva.nl>.
378
379         * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
380         * version.c: Likewise.
381         * catgets/gencat.c: Likewise.
382         * db2/makedb.c: Likewise.
383         * locale/programs/locale.c: Likewise.
384         * locale/programs/localedef.c: Likewise.
385
386         * libc.map: Move _IO_list_all back to GLIBC_2.0.
387
388         * elf/rtld.c: Provide name of running program to _dl_new_object.
389
390         * Rules: Implement shared-only-sources.
391         * include/libc-symbols.h: Define default_symbol_version.
392         * libio/Makefile (shared-only-sources): Define.
393         * libio/freopen.c: Define as default version.
394         * libio/iofopen.c: Likewise.
395         * libio/genops.c: Define _IO_list_all here.
396         * libio/stdfiles.c: Create linked list with public names.
397         * libio/oldstdfiles.c: Likewise.
398
399         * stdio-common/printf.c: Optimize.
400         * stdio-common/scanf.c: Optimize.
401
402         * sysdeps/generic/setfpucw.c: Include #include <...> not "...".
403
404         * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
405         rindex.
406
407 1997-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
408
409         * manual/arith.texi: Spelling fixes.
410         * manual/conf.texi: Likewise.
411         * manual/creature.texi: Likewise.
412         * manual/filesys.texi: Likewise.
413         * manual/intro.texi: Likewise.
414         * manual/llio.texi: Likewise.
415         * manual/math.texi: Likewise.
416         * manual/message.texi: Likewise.
417         * manual/pattern.texi: Likewise.
418         * manual/search.texi: Likewise.
419         * manual/signal.texi: Likewise.
420         * manual/socket.texi: Likewise.
421         * manual/startup.texi: Likewise.
422         * manual/stdio.texi: Likewise.
423         * manual/string.texi: Likewise.
424         * manual/time.texi: Likewise.
425         * manual/users.texi: Likewise.
426
427 1997-10-13 05:25  Ulrich Drepper  <drepper@cygnus.com>
428
429         * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
430         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
431         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
432         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
433         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
434         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
435         * sysdeps/mach/hurd/mmap.c: Likewise.
436         * sysdeps/generic/mmap.c: Likewise.
437         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
438         * sysdeps/mach/munmap.c: Likewise.
439         * sysdeps/generic/munmap.c: Likewise.
440         * sysdeps/mach/mprotect.c: Likewise.
441         * sysdeps/generic/mprotect.c: Likewise.
442         * sysdeps/generic/msync.c: Likewise.
443         * sysdeps/generic/madvise.c: Likewise.
444
445         * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
446         subdir.
447
448 1997-10-12 20:27  Zack Weinberg  <zack@rabi.phys.columbia.edu>
449
450         * sysdeps/stub (all files):  Moved to sysdeps/generic.
451         * all files using stub_warning: Include <stub-tag.h>.
452         * include/stub-tag.h: New file, marks stubs in .d files.
453         * Makerules: Look for stub-tag.h, not sysdeps/stub, when building
454         <gnu/stubs.h>.
455         * configure.in: Don't add sysdeps/stub to $sysnames.
456         * sysdeps/unix/Makefile: Look for generic headers, not stub
457         headers.
458         * sysdeps/generic/Makefile: Likewise.
459         * manual/maint.texi: Delete references to sysdeps/stub.
460         * INSTALL: Rebuilt.
461         * configure: Rebuilt.
462
463 1997-10-13 03:14  Ulrich Drepper  <drepper@cygnus.com>
464
465         * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
466         _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version.
467         * include/libc-symbol.h: Define define_symbol.
468         * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and
469         oldfreopen.
470         [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles.
471         * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field.
472         * libio/freopen.c: Use versioning.
473         * libio/iofopen.c: Likewise.  Generate object of type
474         _IO_FILE_complete.
475         * libio/iofopen64.c: Generate object of type _IO_FILE_complete.
476         * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen.
477         Define _IO_old_freopen.
478         * libio/libio.h: Remove _offset field from _IO_FILE.  Rename _unused2
479         field to _old_offset.  Declare _IO_std*_ streams as of type
480         _IO_FILE_complete.
481         * libio/libioP.h: Define _IO_FILE_complete.
482         Declare callbacks for old fileops implementation.
483         * libio/stdfile.c: Define standard stream of type _IO_FILE_complete.
484         * libio/stdio.c: Correctly address FILE part of standard streams.
485         * libio/oldfileops.c: New file.
486         * libio/oldfreopen.c: New file.
487         * libio/oldiofopen.c: New file.
488         * libio/oldstdfiles.c: New file.
489
490         * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization.
491
492         * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section.
493         * sysdeps/libm-i387/e_scalbl.S: Likewise.
494         * sysdeps/libm-i387/s_fma.S: Fix typo.
495         * sysdeps/libm-i387/s_fmaf.S: Likewise.
496         * sysdeps/libm-i387/s_fmal.S: Likewise.
497
498 1997-10-12 20:14  Zack Weinberg  <zack@rabi.phys.columbia.edu>
499
500         * sysdeps/stub/getsid.c: Add a stub_warning.
501         * sysdeps/stub/mmap.c: Likewise.
502         * sysdeps/stub/munmap.c: Likewise.
503
504 1997-10-12 05:09  Ulrich Drepper  <drepper@cygnus.com>
505
506         * libio/Makefile (routines): Remove iofprintf.
507         * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
508         * libio/filedoalloc.c: Use _G_stat64 instead of stat.
509         * libio/fileops.c (_IO_file_open): Change to take extra argument
510         indicating whether 32 or 64 bit mode is wanted.
511         * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
512         * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
513         * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
514         * libio/iofgetpos.c: Pretty print.
515         * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
516
517         * manual/conf.texi: Document all the _SC_ and _CS_ constants.
518         * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
519         and _FILE_OFFSET_BITS.
520         * manual/llio.texi: Document truncate and ftruncate.
521         * manual/stdio.texi: Document positional parameters for printf.
522
523         * math/Makefile (headers): Add tgmath.h.
524         (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
525         move to ...
526         (libm-calls): ... here.  Add scalbln, s_nextafterx and s_fma.
527         * math/libm-test.c (lround_test, llround_test): Test for all FP formats
528         by using FUNC().
529         * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
530         nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
531         llrintl, lroundf, lroundl, llroundf, and llroundl.
532         * math/math.h: Document new platform specific macros from mathdef.h.
533         Remove declaration of lrint, llrint, lround, and llround.
534         * math/test-double.c: Define TEST_DOUBLE.
535         * math/test-idouble.c: Likewise.
536         * math/test-float.c: Define TEST_FLOAT.
537         * math/test-ifloat.c: Likewise.
538         * math/tgmath.h: New file.
539         * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
540         lround, and llround.
541         Change second argument of scalbn to `int'.
542         * sysdeps/libm-ieee754/s_fma.c: New file.
543         * sysdeps/libm-ieee754/s_fmaf.c: New file.
544         * sysdeps/libm-ieee754/s_fmal.c: New file.
545         * sysdeps/libm-i387/s_fma.S: New file.
546         * sysdeps/libm-i387/s_fmaf.S: New file.
547         * sysdeps/libm-i387/s_fmal.S: New file.
548         * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
549         * sysdeps/libm-i387/s_lrint.S: Likewise.
550         * sysdeps/libm-i387/s_llrintf.S: New file.
551         * sysdeps/libm-i387/s_llrintl.S: New file.
552         * sysdeps/libm-i387/s_lrintf.S: New file.
553         * sysdeps/libm-i387/s_lrintl.S: New file.
554         * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
555         80bit double.
556         * sysdeps/libm-ieee754/s_lrint.c: Likewise.
557         * sysdeps/libm-ieee754/s_llrintf.c: New file.
558         * sysdeps/libm-ieee754/s_llrintl.c: New file.
559         * sysdeps/libm-ieee754/s_lrintf.c: New file.
560         * sysdeps/libm-ieee754/s_lrintl.c: New file.
561         * sysdeps/libm-i387/s_scalbln.c: New file.  Empty file.
562         * sysdeps/libm-i387/s_scalblnf.c: New file.  Empty file.
563         * sysdeps/libm-i387/s_scalblnl.c: New file.  Empty file.
564         * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
565         * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
566         * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
567         * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
568         80bit double.
569         * sysdeps/libm-ieee754/s_lround.c: Likewise.
570         * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
571         * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
572         * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
573         * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
574         * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
575         * sysdeps/libm-ieee754/s_nextafterx.c: New file.
576         * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
577         * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
578         * sysdeps/libm-ieee754/s_scalbln.c: New file.
579         * sysdeps/libm-ieee754/s_scalblnf.c: New file.
580         * sysdeps/libm-ieee754/s_scalblnl.c: New file.
581         * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
582         * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
583         * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
584
585         * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
586         by #ifdefs since they are duplicated in inttypes.h.
587         * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
588         strtoumax plus needed declarations.
589
590         * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
591
592 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
593
594         * locale/programs/locfile.c (locfile_read): Correct while loop.
595
596         * db2/makedb.c (main): Add missing parameter for error output.
597         (process_input): Likewise.
598
599         * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
600
601 1997-10-12 05:05  Ulrich Drepper  <drepper@cygnus.com>
602
603         * libc-map: Add __bzero, __mempcpy.
604
605 1997-10-10 18:51  David S. Miller  <davem@tanya.rutgers.edu>
606
607         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
608         on kernel_termios.h
609
610 1997-10-09  10:24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
611
612         Add the changes from the Solaris 2.6 header files, use the new public
613         defines/functions.
614         * nis/nis_addmember.c: Updated.
615         * nis/nis_checkpoint.c: Updated.
616         * nis/nis_creategroup.c: updated.
617         * nis/nis_destroygroup.c: Updated.
618         * nis/nis_getservlist.c: Updated.
619         * nis/nis_ismember.c: Updated.
620         * nis/nis_lookup.c: Updated.
621         * nis/nis_modify.c: Updated.
622         * nis/nis_ping.c: Updated.
623         * nis/nis_print.c: Updated.
624         * nis/nis_print_group_entry.c: Updated.
625         * nis/nis_remove.c: Updated.
626         * nis/nis_removemember.c: Updated.
627         * nis/nis_xdr.c: Updated.
628         * nis/nss_nisplus/nisplus-alias.c: Updated.
629         * nis/nss_nisplus/nisplus-ethers.c: Updated.
630         * nis/nss_nisplus/nisplus-hosts.c: Updated.
631         * nis/nss_nisplus/nisplus-network.c: Updated.
632         * nis/nss_nisplus/nisplus-parser.c: Updated.
633         * nis/nss_nisplus/nisplus-proto.c: Updated.
634         * nis/nss_nisplus/nisplus-rpc.c: Updated.
635         * nis/nss_nisplus/nisplus-service.c: Updated.
636         * nis/rpcsvc/nis.h: Updated.
637         * nis/rpcsvc/nis.x: Updated.
638         * nis/rpcsvc/nis_object.x: Updated.
639         * nis/rpcsvc/nis_tags.h: Updated.
640         * nis/rpcsvc/nislib.h: Updated.
641
642         * nis/lckcache.c: Removed, since Sun has dropped the directory
643         signatures.  The old cache version is now a security risk and not
644         longer supported by Sun.
645         * nis/nis_cache.c: Likewise.
646         * nis/rpcsvc/nis_cache.h: Likewise.
647         * nis/rpcsvc/nis_cache.x: Likewise.
648
649         * nis/nis_call.c: Remove calls to the cache functions.
650
651         * nis/libnsl.map: Remove cache and depending functions.
652         * nis/nis_intern.h: Likewise.
653
654         * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
655         * nis/nis_domain_of.c: Likewise.
656         * nis/nis_domain_of_r.c: Likewise.
657         * nis/nis_error.c: Likewise.
658         * nis/nis_file.c: Likewise.
659         * nis/nis_local_names.c: Likewise.
660         * nis/nis_mkdir.c: Likewise.
661         * nis/nis_rmdir.c: Likewise.
662         * nis/nis_subr.c: Likewise.
663         * nis/nis_verifygroup.c: Likewise.
664
665         * nis/nis_clone.c: Removed, replaced by ...
666         * nis/nis_clone_dir.c: New.
667         * nis/nis_clone_obj.c: New.
668         * nis/nis_clone_res.c: New.
669         * nis/nis_table.c: Fixed bugs shown through the new clone functions.
670
671         * nis/nis_defaults.c: Fixed a lot of race conditions.
672
673         * nis/nis_free.c: Rewritten.
674
675         * sunrpc/auth_des.c: Fix use of free'ed pointer.
676
677         * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
678         lckcache.  Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
679
680 1997-10-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
681
682         * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
683
684 1997-10-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
685
686         * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
687         be empty.
688
689 1997-10-09 05:54  Ulrich Drepper  <drepper@cygnus.com>
690
691         * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
692         * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
693         struct and not a pointer.  Little optimizations.
694
695 1997-10-09 05:00  Ulrich Drepper  <drepper@cygnus.com>
696
697         * sysdeps/stub/getenv.c: Remove unused file.
698         * sysdeps/stub/lxstat.c: Likewise.
699         * sysdeps/stub/morecore.c: Likewise.
700         * sysdeps/stub/putenv.c: Likewise.
701         * sysdeps/stub/sbrk.c: Likewise.
702         * sysdeps/stub/setenv.c: Likewise.
703         * sysdeps/stub/sysd-stdio.c: Likewise.
704         * sysdeps/stub/sysdep.h: Likewise.
705         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
706
707 1997-10-09 04:58  Ulrich Drepper  <drepper@cygnus.com>
708
709         * configure.in: Add __bzero definition to DWARF2 unwind test.
710         Reported by David S. Miller <davem@caip.rutgers.edu>.
711
712 1997-10-07  Paul Eggert  <eggert@twinsun.com>
713
714         * intl/loadmsgcat.c (_nl_load_domain):
715         Fix &&/|| typo when checking file size.
716         Check for overflow when stuffing off_t into size_t.
717
718 1997-10-07 18:11  Ulrich Drepper  <drepper@cygnus.com>
719
720         * time/africa: Update from tzdata1997i.
721
722 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
723
724         * posix/globtest.sh: Add arguments for name of dynamic linker and
725         call dynamic linker to execute globtest.
726
727         * posix/Makefile (tests): Supply arguments to globtest.sh.
728
729 1997-10-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
730
731         * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
732
733 1997-10-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
734
735         * libc.map: Add mempcpy, prctl.
736
737 1997-09-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
738
739         * sysdeps/generic/memcmp.c: Avoid warnings.
740         * sysdeps/generic/memset.c: Likewise.
741         * sysdeps/generic/strchr.c: Likewise.
742         * sysdeps/generic/strlen.c: Likewise.
743
744 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
745
746         * malloc/Makefile ($(objpfx)mtrace): Fix typo.
747
748 1997-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
749
750         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
751         The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
752         the addend, Richard.
753         (elf_machine_fixup_plt): Don't add the addend.
754         (elf_machine_plt_value): New function.
755
756         * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
757         function.
758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
759         function.
760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
761         function.
762         * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
763         function.
764         * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
765         function.
766
767         * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
768         addend, instead let the machine dependent setup decide.
769
770 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
771
772         * sysdeps/m68k/m68020/bits/string.h: New file.
773
774 1997-10-07 04:27  Richard Henderson  <rth@cygnus.com>
775
776         * Makeconfig (+includes): Add -I$(objpfx).
777
778         * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
779
780         * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp.  Make
781         the former a strong symbol and the later a weak alias.
782         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
783         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
784
785 1997-10-06 21:01  David S. Miller  <davem@tanya.rutgers.edu>
786
787         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
788         64-bits.
789         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
790         member 64-bits as well, to match the kernel.
791
792 1997-10-06 19:35  Ulrich Drepper  <drepper@cygnus.com>
793
794         * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
795         Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
796
797 1997-10-06 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
798
799         * time/README: Correct list of files from tzcode package.  Add
800         contact information for tzcode/tzdata maintainers.  Correct
801         spelling of author's name.  Compact lists.
802
803 1997-10-06 01:48  Ulrich Drepper  <drepper@cygnus.com>
804
805         * malloc/malloc.h: Remove hook definition without caller argument.
806         * malloc/malloc.c: Likewise.
807
808         * string/tester.c: Correct strsep test.
809
810         * string/bits/string2.h: Define __string2_1bptr_p and use it.
811         Patch by David S. Miller <davem@tanya.rutgers.edu>.
812
813         * math/Makefile (routines): Add s_clog10.
814         * math/libm-test.c: Add test for clog10.
815         * math/libm.map: Add clog10{,f,l}.
816         * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
817         * sysdeps/libm-ieee754/s_clog10.c: New file.
818         * sysdeps/libm-ieee754/s_clog10f.c: New file.
819         * sysdeps/libm-ieee754/s_clog10l.c: New file.
820         * manual/math.texi: Describe clog10.
821
822         * config.h.in: Add USE_REGPARMS and define internal_function based on
823         this.
824         * configure.in: Define USE_REGPARMS for ix86 machines.
825         * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
826         as internal functions.
827         * inet/getnameinfo.c: Likewise for  nrl_domainname.
828         * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
829         * inet/rcmd.c: Likewise for __icheckhost.
830         * intl/dcgettext.c: Likewise for category_to_name and
831         guess_category_value.
832         * intl/localealias.c: Likewise for read_alias_file.
833         * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
834         fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
835         * libio/genops.c: Likewise for save_for_backup.
836         * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
837         main_trim, heap_trim): Likewise.
838         * malloc/mtrace.c (tr_where): Likewise.
839         * misc/fstab.c (mnt2fs): Likewise.
840         * misc/getttyent.c (skip, value): Likewise.
841         * misc/syslog.c (openlog_internal): Likewise.
842         * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
843         * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
844         nss_parse_service_list, nss_new_service): Likewise.
845         * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
846         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
847         * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
848         * resolv/res_init.c (res_setoptions): Likewise.
849         * stdio-common/printf_fp.c (group_number): Likewise.
850         * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
851         * stdlib/fmtmsg.c (internal_addseverity): Likewise.
852         * sunrpc/auth_des.c (synchronize): Likewise.
853         * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
854         * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
855         * sunrpc/key_call.c (key_call): Likewise.
856         * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
857         * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
858         * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
859         Likewise.
860         * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
861         set_input_fragment, get_input_bytes): Likewise.
862         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
863         phys_pages_info): Likewise.
864         * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
865         * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
866         * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
867         Likewise.
868         * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
869         Likewise.
870         * time/strptime.c (strptime_internal): Likewise.
871         * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
872         * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
873
874         * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
875
876         * ctype/ctype.h: Pretty print.
877         * grp/grp.h: Likewise.
878         * include/libc-symbols.h: Likewise.
879         * include/limits.h: Likewise.
880         * include/values.h: Likewise.
881         * io/fcntl.h: Likewise.
882         * io/sys/stat.h: Likewise.
883         * libio/stdio.h: Likewise.
884         * malloc/malloc.h: Likewise.
885         * misc/err.h: Likewise.
886         * misc/regexp.h: Likewise.
887         * misc/sys/cdefs.h: Likewise.
888         * misc/sys/file.h: Likewise.
889         * posix/sys/utsname.h: Likewise.
890         * posix/sys/wait.h: Likewise.
891         * pwd/pwd.h: Likewise.
892         * resolv/netdb.h: Likewise.
893         * signal/signal.h: Likewise.
894         * stdlib/stdlib.h: Likewise.
895         * string/endian.h: Likewise.
896         * string/memory.h: Likewise.
897         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
898         * sysdeps/mach/hurd/sys/param.h: Likewise.
899         * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
900         * termios/termios.h: Likewise.
901         * wcsmbs/wchar.h: Likewise.
902         * wctype/wctype.h: Likewise.
903
904         * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
905
906         Implement Large File Support API.
907         * include/features.h: Add suuport for _LARGEFILE_SOURCE,
908         _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
909         * libc.map: Add new functions for LFS.
910         * dirent/Makefile (routines): Add readdir64 and readdir64_r.
911         * dirent/dirent.h: Update readdir prototype for LFS and add new
912         prototypes for above functions.
913         * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
914         statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
915         * io/creat64.c: New file.
916         * io/fstat64.c: New file.
917         * io/lstat64.c: New file.
918         * io/stat64.c: New file.
919         * io/ftw64.c: New file.
920         * io/ftw.c: Rewrite to allow easy definition of ftw64.
921         * io/ftw.h: Add LFS interface.
922         * io/fcntl.h: Likewise.
923         * io/sys/stat.h: Likewise.
924         * io/sys/statfs.h: Likewise.
925         * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
926         freopen64, fseeko64, and ftello64.
927         * libcio/fseeko64.c: New file.
928         * libio/ftello64.c: New file.
929         * libio/iofgetpos64.c: New file.
930         * libio/iofopen64.c: New file.
931         * libio/iofsetpos64.c: New file.
932         * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
933         (_IO_file_attach): Likewise.
934         (_IO_do_write): Likewise.
935         (_IO_file_sync): Likewise.
936         (_IO_file_seek): Likewise.
937         (_IO_file_seekoff): Likewise.  Use _G_stat64.
938         (_IO_file_fopen64): New function.
939         (_IO_file_jumps): Initialize showmanyc and imbue.
940         * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
941         (_IO_default_seekoff): Likewise.
942         (_IO_default_seek): Likewise.
943         (_IO_default_showmanyc, _IO_default_imbue): New functions.
944         * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
945         * libio/iolibio.h: Add prototypes for LFS functions.
946         * libio/ioseekoff.c: Change to use _IO_fpos64_t.
947         * libio/ioseekpos.c: Likewise.
948         * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
949         (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
950         (_IO_seekoff, _IO_seekpos): Change prototype.
951         * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
952         to use _IO_off64_t.
953         Change prototypes for function from the *ops.c files.
954         * libio/stdio.h: Add LFS interface definition.
955         * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
956         * posix/Makefile (routines): Add pread64 and pwrite64.
957         * posix/confstr.c: Handle _CS_LFS* requests.
958         * posix/getconf.c: Handle LFS* requests.
959         * sysdeps/generic/confname.h: Add _CS_LFS* constants.
960         * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
961         Define off_t and off64_t appropriately.  Change prototypes of
962         LFS functions.
963         * posix/sys/types.h: Add LFS types.
964         * resources/Makefile (routines): Add getrlimit64 and setlimit64.
965         * resource/sys/resource.h: Change prototypes of LFS functions.
966         * stdio-common/Makefile (routines): Add tmpfile64.
967         * stdio-common/tmpfile64.c: New file.
968         * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
969         Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
970         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
971         * sysdeps/generic/bits/resource.h: Add LFS definitions.
972         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
973         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
974         * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
975         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
976         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
977         * sysdeps/generic/types.h: Define LFS types.
978         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
979         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
980         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
981         * sysdeps/generic/sys/mman.h: Add LFS definitions.
982         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
983         * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
984         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
985         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
986         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
987         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
988         * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
989         * sysdeps/unix/bsd/bits/stat.h: Likewise.
990         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
991         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
992         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
993         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
994         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
995         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
996         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
997         * sysdeps/posix/open64.c: New file.
998         * sysdeps/stub/fstatfs64.c: New file.
999         * sysdeps/stub/fxstat64.c: New file.
1000         * sysdeps/stub/getrlimit64.c: New file.
1001         * sysdeps/stub/lseek64.c: New file.
1002         * sysdeps/stub/lxstat64.c: New file.
1003         * sysdeps/stub/open64.c: New file.
1004         * sysdeps/stub/pread64.c: New file.
1005         * sysdeps/stub/pwrite64.c: New file.
1006         * sysdeps/stub/readdir64.c: New file.
1007         * sysdeps/stub/readdir64_r.c: New file.
1008         * sysdeps/stub/setrlimit64.c: New file.
1009         * sysdeps/stub/statfs64.c: New file.
1010         * sysdeps/stub/xstat64.c: New file.
1011         * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
1012         llseek and lseek64 weak aliases.
1013         * sysdeps/unix/sysv/linux/lseek64.c: New file.  Empty.
1014         * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
1015         * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
1016
1017         * sysdeps/posix/tempname.c: Add extra argument to trigger use of
1018         open64.
1019         * sysdeps/stub/tempname.c: Likewise.
1020         * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
1021         argument.
1022         * stdio-common/tmpfile.c: Likewise.
1023         * stdio-common/tmpnam.c: Likewise.
1024         * stdio-common/tmpnam_r.c: Likewise.
1025
1026         * libio/libioP.h: Add definition ofr showmanyc and imbue callbacks.
1027         * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
1028         * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
1029         * libio/iopopen.c (_IO_proc_jumps): Likewise.
1030         * libio/memstream.c (_IO_mem_jumps): Likewise.
1031         * libio/obprintf.c (_IO_obstack_jumps): Likewise.
1032         * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
1033         * libio/strops.c (_IO_str_jumps): Likewise.
1034
1035         * manual/arith.texi: Add a few words why cabs should be used.
1036         * manual/llio.texi: Describe sync, fsync, fdatasync.
1037         Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
1038         * manual/process.texi: Tell about cleanup handlers & system,waitpid,
1039         wait.
1040         * manual/signal.texi: Likewise for pause.
1041         * manual/terminal.texi: Likewise for tcdrain.
1042         * manual/time.texi: Document nanosleep.
1043
1044         * posix/exevp.c: Don't use nested function.
1045
1046         * stdlib/ucontext.h: New file.
1047         * sysdeps/i386/sys/ucontext.h: New file.  SysV/i386 API definitions.
1048
1049         * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
1050
1051         * sysdeps/i386/setjmp.h: Make `here` label local.
1052
1053         * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
1054
1055         * sysdeps/stub/fstatfs.c: Correct warning.
1056         * sysdeps/stub/fxstat.c: Likewise.
1057         * sysdeps/stub/lxstat.c: Likewise.
1058
1059         * sysdeps/unix/sysv/i386/i686/time.S: New file.
1060
1061 1997-10-03 20:56  Jason Merrill  <jason@yorick.cygnus.com>
1062
1063         * malloc/obstack.h (obstack_empty_p): New macro.
1064
1065 1997-10-04 17:41  Philip Blundell  <Philip.Blundell@pobox.com>
1066
1067         * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
1068
1069 1997-09-30  Zack Weinberg <zack@rabi.phys.columbia.edu>
1070
1071         * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
1072         Document new --with-binutils switch; delete reference to
1073         --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
1074         Add to description of --without-fp: a kernel FPU emulator
1075         is adequate (from FAQ)
1076         * INSTALL: Regenerated.
1077
1078 1997-09-30 17:29  Richard Henderson  <rth@cygnus.com>
1079
1080         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
1081         _dl_hwcap declaration to ...
1082         (elf_machine_fixup_plt): ... here.
1083
1084 1997-09-30 18:03  Ulrich Drepper  <drepper@cygnus.com>
1085
1086         * Makerules: Undo last change.
1087         * csu/Makefile: Define before-compile at the right place.
1088
1089         * aclocal.m4: Remove a.out file created by assembler test.
1090
1091         * set-init.c: Find set-hooks.h using <...>.
1092
1093         Update to db 2.3.10.
1094         * db2/Makefile: Update.
1095         * db2/db.h: Likewise.
1096         * db2/db_185.h: Likewise.
1097         * db2/db_int.h: Likewise.
1098         * db2/btree/bt_close.c: Likewise.
1099         * db2/btree/bt_conv.c: Likewise.
1100         * db2/btree/bt_cursor.c: Likewise.
1101         * db2/btree/bt_put.c: Likewise.
1102         * db2/btree/bt_rec.c: Likewise.
1103         * db2/btree/bt_recno.c: Likewise.
1104         * db2/btree/btree.src: Likewise.
1105         * db2/btree/btree_auto.c: Likewise.
1106         * db2/clib/getlong.c: Likewise.
1107         * db2/db/db.c: Likewise.
1108         * db2/db/db_auto.c: Likewise.
1109         * db2/db/db_conv.c: Likewise.
1110         * db2/db/db_pr.c: Likewise.
1111         * db2/db/db_ret.c: Likewise.
1112         * db2/db/db_thread.c: Likewise.
1113         * db2/hash/hash.c: Likewise.
1114         * db2/hash/hash_auto.c: Likewise.
1115         * db2/hash/hash_conv.c: Likewise.
1116         * db2/hash/hash_dup.c: Likewise.
1117         * db2/hash/hash_func.c: Likewise.
1118         * db2/hash/hash_page.c: Likewise.
1119         * db2/hash/hash_rec.c: Likewise.
1120         * db2/include/btree.h: Likewise.
1121         * db2/include/btree_ext.h: Likewise.
1122         * db2/include/db.h.src: Likewise.
1123         * db2/include/db_185.h.src: Likewise.
1124         * db2/include/db_cxx.h: Likewise.
1125         * db2/include/db_ext.h: Likewise.
1126         * db2/include/db_int.h.src: Likewise.
1127         * db2/include/db_page.h: Likewise.
1128         * db2/include/db_shash.h: Likewise.
1129         * db2/include/lock.h: Likewise.
1130         * db2/include/log.h: Likewise.
1131         * db2/include/log_ext.h: Likewise.
1132         * db2/include/mp.h: Likewise.
1133         * db2/include/shqueue.h: Likewise.
1134         * db2/include/txn.h: Likewise.
1135         * db2/lock/lock.c: Likewise.
1136         * db2/lock/lock_deadlock.c: Likewise.
1137         * db2/log/log.c: Likewise.
1138         * db2/log/log_archive.c: Likewise.
1139         * db2/log/log_auto.c: Likewise.
1140         * db2/log/log_get.c: Likewise.
1141         * db2/log/log_put.c: Likewise.
1142         * db2/log/log_register.c: Likewise.
1143         * db2/mp/mp_bh.c: Likewise.
1144         * db2/mp/mp_fget.c: Likewise.
1145         * db2/mp/mp_fopen.c: Likewise.
1146         * db2/mp/mp_fput.c: Likewise.
1147         * db2/mp/mp_fset.c: Likewise.
1148         * db2/mp/mp_open.c: Likewise.
1149         * db2/mutex/mutex.c: Likewise.
1150         * db2/os/db_os_dir.c: Likewise.
1151         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1152         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1153         * db2/progs/db_dump185/db_dump185.c: Likewise.
1154         * db2/progs/db_load/db_load.c: Likewise.
1155         * db2/progs/db_recover/db_recover.c: Likewise.
1156         * db2/txn/txn.c: Likewise.
1157         * db2/txn/txn_auto.c: Likewise.
1158
1159         * elf/link.h: Define struct libname_list outside struct link_map
1160         to not confuse C++ compilers.
1161
1162         * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
1163         __USE_UNIX98.
1164         * manual/creature.texi: Explain this.
1165
1166         * libc.map: Add new functions.
1167
1168         * libio/Makefile (routines): Add fseeko and ftello.
1169         * libio/ftello.c: New file.
1170         * libio/fseeko.c: New file.
1171         * libio/stdio.h: Add prototypes for new functions.
1172         * manual/stdio.texi: Document fseeko and ftello.
1173
1174         * posix/Makefile (routines): Add pread and pwrite.
1175         * sysdeps/posix/pread.c: New file.
1176         * sysdeps/posix/pwrite.c: New file.
1177         * sysdeps/stub/pread.c: New file.
1178         * sysdeps/stub/pwrite.c: New file.
1179         * posix/unistd.h: Add prototypes for pread and pwrite.
1180         Pretty print header.
1181         Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
1182         Declare ctermid and cuserid if __USE_UNIX98.
1183         (swab): Change to take void * arguments.
1184         * string/swab.c: Change parameter to void *.
1185         * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
1186         already happened.
1187         * manual/llio.texi: Document pread and pwrite.
1188
1189         * string/strings.h: Don't simply include string.h.  Define BSD
1190         functions according to Unix98.
1191         * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
1192         * sunrpc/clnt_simp.c: Likewise.
1193
1194         * malloc/Makefile (aux): Add set-freeres.
1195         * malloc/mtrace.c: Define function release_libc_mem which calls the
1196         __libc_subfreeres handler.
1197         (mtrace): Register release_libc_mem.
1198         * malloc/set-freeres.c: New file.
1199
1200         * intl/dcgettext.c: Define free_mem function and add to
1201         __libc_subfreeres list.
1202         * intl/finddomain.c: Likewise.
1203         * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
1204         and mmap_size.  Add prototype for _nl_unloaded_domain.
1205         * intl/loadmsgcat.c: Define new function _nl_unload_domain.
1206         (_nl_load_domain): Store informaiton about mmap use and file size.
1207         * intl/localealias.c (read_alias_file): Optimize locale alias file
1208         reading by avoid frequen mallocs.
1209         Define free_mem function and add to __libc_subfreeres list.
1210
1211         * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
1212         undeletable.
1213         Add prototype for _nl_unload_locale.
1214         * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
1215         * locale/C-ctype: Likewise.
1216         * locale/C-messages: Likewise.
1217         * locale/C-monetary: Likewise.
1218         * locale/C-numeric: Likewise.
1219         * locale/C-time: Likewise.
1220         * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
1221         MAX_USAGE_COUNT and UNDELETABLE.
1222         (free_mem): New function.  Add it to __libc_subfreeres list.
1223         * locale/loadlocale.c: Define _nl_unload_locale function.
1224
1225         * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
1226
1227         * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
1228         correctly
1229         Define free_mem function and add to __libc_subfreeres list.
1230
1231         * locale/programs/localedef.c (options): short form os verbose is v.
1232         Reported by Andreas Jaeger.
1233
1234         * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1235         header is used in some others as well for historical reasons.
1236
1237         * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
1238
1239         * string/bits/string2.h: Add missing braces and optimize strcmp a
1240         bit more.
1241         * sysdeps/i386/i486/bits/string.h: Likewise.
1242
1243         * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
1244         Pretty print.
1245
1246         * sysdeps/mach/hurd/cthreads.c: Add copyright text.
1247
1248         * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
1249
1250         * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
1251
1252         * time/time.h: Pretty print.
1253
1254 1997-09-29  Paul Eggert  <eggert@twinsun.com>
1255
1256         * time/strftime.c: Synchronize with GNU Emacs strftime.c.
1257         (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
1258         (gmtime_r, localtime_r): Undef before defining.
1259         (iso_week_days): Use __inline__, not inline.
1260
1261 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1262
1263         * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
1264         __ieee754_exp2{,l,f}.
1265         * sysdeps/m68k/fpu/s_exp2.c: Likewise.
1266         * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
1267         * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
1268
1269 1997-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1270
1271         * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
1272         section read-only, it contains relocations.
1273         * elf/sofini.c (__FRAME_END__): Likewise.
1274
1275 1997-09-29 03:08  Ulrich Drepper  <drepper@cygnus.com>
1276
1277         * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
1278         __strpbrk_cg, __strstr_cg): Optimize even more.  No spill register
1279         needed.  Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1280
1281 1997-09-28 08:27  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1282
1283         * nis/nis_call.c (__do_niscall2): Fix return code, add missing
1284           break in switch case.
1285
1286         * nis/nis_mkdir.c: Fix return codes to match Solaris version.
1287         * nis/nis_rmdir.c: Likewise.
1288
1289         * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1290         for C++.
1291
1292 1997-09-28 04:32  Ulrich Drepper  <drepper@cygnus.com>
1293
1294         * configure.in: Fix typo.
1295         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1296
1297 1997-09-25 20:14  Philip Blundell  <Philip.Blundell@pobox.com>
1298
1299         * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
1300         * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
1301
1302 1997-09-27 01:14  Ulrich Drepper  <drepper@cygnus.com>
1303
1304         * Makeconfig (extra-objs): Depend in before-compile.
1305
1306         * configure.in: Locate Perl and substitute with complete path.
1307         * config.make.in: Add PERL for substitution.
1308         * elf/Makefile (routines): Add dl-addr.
1309         * elf/dladdr.c: Move the real code into ...
1310         * elf/dl-addr.c: New file.
1311         * elf/link.h: Add prototype for _dl_addr.
1312
1313         * elf/dladdr.c (dladdr): Change address argument to be const.
1314         * elf/dlfcn.h: Likewise.
1315
1316         * locale/C_name.c: Add _nl_POSIX_name.
1317         * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
1318         * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
1319         (_nl_remove_locale): Free name of data set.
1320         * locale/setlocale.c (clever_copy): Remove.
1321         (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
1322         (setname): Only remove old name when it is for category LC_ALL.
1323
1324         Change malloc, free, realloc, and memalign hooks for glibc to take
1325         another parameter indicating the location of the caller.
1326         * malloc/malloc.c: Change hook functions and variables.
1327         * malloc/malloc.h: Likewise.
1328         * malloc/mcheck.c: Likewise.  Make sure later hooked function also
1329         get the original caller address.
1330         * malloc/mtrace.c: Likewise.
1331         (tr_where): If no information in _mtrace_file is given use the
1332         information about the caller.
1333         * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
1334         Add rules to install mtrace.pl after rewriting.
1335         * malloc/mtrace.pl: New file.  Based on the old AWK script but
1336         with extended functionality.
1337         * malloc/mtrace.awk: Removed.
1338
1339         * po/fr.po: New version.
1340
1341         * string/Makefile: Do use builtins for tester.c and inl-tester.c.
1342         * string/tester.c: Rewrite.  Split in many small functions to not
1343         exceed gcc's limits.
1344
1345         * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1346
1347 1997-09-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1348
1349         * string/bits/string2.h (__stpcpy_small): Don't use casts as
1350         lvalues.
1351
1352 1997-09-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1353
1354         * manual/time.texi (Formatting Date and Time): Clarify
1355         explanation of strftime flags a bit.
1356         Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
1357
1358 1997-09-25 00:13  David S. Miller  <davem@tanya.rutgers.edu>
1359
1360         * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
1361         Fix typo, it is FLT_MANT_DIG.
1362
1363 1997-09-24 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
1364
1365         * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
1366
1367 1997-08-27 08:10  H.J. Lu  <hjl@gnu.ai.mit.edu>
1368
1369         * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
1370
1371         * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
1372         _IO_MTSAFE_IO is undefined.
1373
1374 1997-09-24 23:27  Richard Henderson  <rth@cygnus.com>
1375
1376         * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
1377         lookup the value of the target symbol ourselves and call the new
1378         elf_machine_fixup_plt.  This kills the ELF_FIXUP_RETURN_VALUE hack.
1379         (profile_fixup): Likewise, but don't fix up the plt.
1380         * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
1381         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
1382         (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
1383         * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
1384         (ELF_MACHINE_JMP_SLOT): Renamed.
1385         (elf_machine_fixup_plt): New function.
1386         * sysdeps/m68k/dl-machine.h: Likewise.
1387         * sysdeps/powerpc/dl-machine.h: Likewise.
1388         (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
1389         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1390         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1391         * sysdeps/stub/dl-machine.h: Update, sorta.
1392
1393         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
1394         (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
1395         both normal and profile code.
1396         (elf_machine_rela): Handle r_addend for .got and .plt too.
1397
1398 1997-09-25 00:23  Ulrich Drepper  <drepper@cygnus.com>
1399
1400         * elf/dl-profile.c: Correct implementation.
1401
1402         * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
1403
1404         * locale/setlocale.c: Rewrite a bit for more clarity.
1405
1406         * math/Makefile (libm-calls): Add w_exp2.
1407         * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
1408         * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
1409         * sysdeps/libm-i387/s_exp2f.S: Likewise.
1410         * sysdeps/libm-i387/s_exp2l.S: Likewise.
1411         * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
1412
1413         * string/bits/string2.h (__strcpy_small): Optimize.
1414         (__stpcpy_small): Likewise.
1415         (strncpy): Use variable for dest argument since it's used more than
1416         once.
1417         (strncat): Likewise.
1418         (strcmp): Add optimization for this function.
1419         * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
1420         (__strcpy_small): Optimize.
1421         (__stpcpy_small): Likewise.
1422         (__stpcpy_c): Correctly use __mempcpy_* macros.
1423         (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
1424         byte following last copied.
1425         (strncat): Use variable for dest argument since it's used more than
1426         once.
1427         (strcmp): Add optimization for this function.
1428
1429         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
1430         .text and .previous to select correct section.
1431
1432 1997-09-23 19:56  Philip Blundell  <Philip.Blundell@pobox.com>
1433
1434         * configure.in: Add `--disable-versioning' option to suppress the
1435         use of symbol versions even if binutils claims to support it.
1436
1437 1997-09-24 20:10  Philip Blundell  <Philip.Blundell@pobox.com>
1438
1439         * csu/Makefile (before-compile): Don't try to build abi-tags.h if
1440         not using ELF.
1441
1442 1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1443
1444         * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
1445         the frame unwind info section.
1446
1447         * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
1448         the frame unwind info.
1449
1450         * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
1451
1452         * configure.in: Check whether gcc supports DWARF2 unwind info.
1453
1454         * libc.map: Export frame handling tables.
1455
1456 1997-09-10 06:56  Geoff Keating  <geoffk@ozemail.com.au>
1457
1458         * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
1459         Use the size of the kernel's termios structure for ioctls.
1460
1461         * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
1462
1463         * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
1464         of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
1465         routines, because gcc has them as internals.
1466
1467         * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
1468         CFLAGS-.os.
1469
1470         * sysdeps/powerpc/bzero.S: New file.
1471         * sysdeps/powerpc/strcat.c: New file.
1472         * sysdeps/powerpc/strcpy.S: New file.
1473         * sysdeps/powerpc/stpcpy.S: New file.
1474
1475         * math/Makefile: Add atest_exp2, test-reduce.
1476         * math/atest_exp2.c: New file.
1477         * math/test-reduce.c: New file.
1478         * sysdeps/libm-ieee754/Dist: New file.
1479         * sysdeps/libm-ieee754/s_exp2.c: New file.
1480         * sysdeps/libm-ieee754/s_exp2f.c: New file.
1481         * sysdeps/libm-ieee754/t_exp2.h: New file.
1482         * sysdeps/libm-ieee754/t_exp2f.h: New file.
1483         * math/libm-test.c (exp2_test): Add some more tests.
1484
1485         * Rules: Use empty.os instead of empty.o, since it gets linked into
1486         libc.so...
1487         * configure.in: Add --disable-static to disable building .a files.
1488         * config.make.in: Substitute the new variable.
1489         * Makeconfig: Don't build .o files if not building .a files.
1490
1491         * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
1492         (profile_fixup): Likewise.
1493
1494 1997-09-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1495
1496         * posix/globtest.c (main): Change to directory passed as first
1497         argument.
1498
1499         * posix/globtest.sh: Don't cd before running the program, instead
1500         pass testdir as argument, so that $common_objpfx remains valid.
1501
1502 1997-09-23 18:01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1503
1504         * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
1505
1506         * nis/nis_findserver.c: Save latest working sockaddr_in.
1507
1508 1997-09-17 22:07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1509
1510         * configure.in: Automatically determine whether as and ld are the
1511         GNU versions.
1512         (options):  --with-gnu-{as,ld,binutils} replaced by
1513         single option --with-binutils=PATH specifying a -B option to gcc.
1514         * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
1515         LIBC_PROG_BINUTILS.
1516
1517         * configure.in: Allow the user to force configuration for
1518         unsupported platforms with an undocumented option.
1519
1520 1997-09-22 16:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1521
1522         * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
1523         return loopback address only if there is no other interface.
1524
1525         * nis/Makefile: Add nis_callback libnsl-routines.
1526
1527         * nis/nis_add.c: Use new __do_niscall* interface.
1528         * nis/nis_cache.c: Likewise.
1529         * nis/nis_checkpoint.c: Likewise.
1530         * nis/nis_lookup.c: Likewise.
1531         * nis/nis_mkdir.c: Likewise.
1532         * nis/nis_modify.c: Likewise.
1533         * nis/nis_ping.c: Likewise.
1534         * nis/nis_remove.c: Likewise.
1535         * nis/nis_rmdir.c: Likewise.
1536         * nis/nis_server.c: Likewise.
1537         * nis/nis_util.c: Likewise.
1538
1539         * nis/rpcsvc/nis.h: Make C++ safe.
1540
1541         * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
1542         of variables.
1543
1544         * nis/nis_findserv.c: Make thread safe.
1545
1546         * nis/nis_call.c: Add support for callback, Fix use of variables.
1547         * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
1548         ALL_RESULTS.
1549         * nis/nis_callback.c: New, callback functions.
1550         * nis/nis_intern.h: Add callback declarations.
1551
1552 1997-09-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1553
1554         * string/bits/string2.h: Fix logic in preprocessor directive.
1555         (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
1556         const, to save a cast and a possible warning.
1557
1558 1997-09-22 04:12  Ulrich Drepper  <drepper@cygnus.com>
1559
1560         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
1561         memory in xadd not %1.
1562
1563 1997-09-21 13:56  Ulrich Drepper  <drepper@cygnus.com>
1564
1565         * manual/maint.texi (Supported Configurations): Add SPARC64 to
1566         list of supported platforms.
1567
1568 1997-09-21 03:19  Ulrich Drepper  <drepper@cygnus.com>
1569
1570         * libio/libio.h: More libstdc++ cleanups.  Define _IO_USE_DTOA if
1571         _G_HAVE_PRINTF_FP is not defined.
1572         * libio/strops.c: Undo patch of 1997-07-08 02:18.  Must find a
1573         different solution for the problem.
1574
1575         * misc/search.h [__USE_GNU]: Define comparison_fn_t.
1576         * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
1577         not defined.
1578         Fix typo.  Pretty print inline functions.
1579
1580         * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
1581         Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1582
1583 1997-09-20 16:45  Ulrich Drepper  <drepper@cygnus.com>
1584
1585         * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
1586         HES_DOMAIN environment variable.
1587         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
1588
1589         * hesiod/README.hesiod: A bit of information about Hesiod and how
1590         to use it.  Written by Mark Kettenis <kettenis@phys.uva.nl>.
1591
1592 1997-09-20 05:15  Ulrich Drepper  <drepper@cygnus.com>
1593
1594         * manual/maint.texi: Update requirement list.
1595
1596         * io/ftw.h: Don't use parameter names from global namespace in
1597         prototypes.
1598
1599         * stdlib/strtol.c: If used outside glibc handle broken systems
1600         which have character classification functions which are not 8-bit
1601         clean gracefully.  Patch by Bruno Haible <haible@ilog.fr>.
1602
1603 1997-09-19 21:42  David S. Miller  <davem@tanya.rutgers.edu>
1604
1605         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
1606         a long long int.
1607
1608 1997-09-19 15:12  H.J. Lu  <hjl@gnu.ai.mit.edu>
1609
1610         * posix/Makefile (test-srcs): New, set to globtest.
1611
1612 1997-09-20 00:24  Ulrich Drepper  <drepper@cygnus.com>
1613
1614         * manual/filesys.texi: Document ftw, nftw and needed data types.
1615
1616 1997-09-19 12:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
1617
1618         * sysdeps/i386/i486/bits/string.h: Fix typo.
1619
1620 1997-09-19 14:11  Ulrich Drepper  <drepper@cygnus.com>
1621
1622         * io/ftwtest.c (cb): Print level.
1623         * io/ftwtest-sh: Updated for ftwtest.c change.
1624
1625         * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1626         compilers.
1627         Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1628
1629         * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1630         Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1631
1632 1997-09-18 13:30  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
1633
1634         * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
1635         additional argument.
1636         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1637         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1638         * sysdeps/stub/init-first.c: Likewise.
1639
1640 1997-09-18 03:16  Ulrich Drepper  <drepper@cygnus.com>
1641
1642         * manual/search.texi: Document lsearch, lfind, the hsearch and
1643         tsearch functions.
1644
1645 1997-09-18 00:04  Ulrich Drepper  <drepper@cygnus.com>
1646
1647         * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
1648         if the table is full and we *really* have to enter a new entry.
1649
1650 1997-09-17 19:44  Ulrich Drepper  <drepper@cygnus.com>
1651
1652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
1653         of hack for handling flush opcode.
1654         Patch by Richard Henderson <rth@cygnus.com>.
1655
1656 1997-09-16 23:48  Ulrich Drepper  <drepper@cygnus.com>
1657
1658         * libio/fileops.c: Define __set_errno if necessary.
1659         * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
1660
1661 1997-09-16 22:03  Ulrich Drepper  <drepper@cygnus.com>
1662
1663         * string/Makefile (headers): Instead bits/string2.h.
1664         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1665
1666 1997-09-16 13:31  David S. Miller  <davem@tanya.rutgers.edu>
1667
1668         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
1669
1670 1997-09-16 17:42  Ulrich Drepper  <drepper@cygnus.com>
1671
1672         * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
1673         as of type __fdset *.
1674         * sysdeps/i386/bits/select.h: Likewise.
1675         Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1676
1677 1997-09-16 04:32  Ulrich Drepper  <drepper@cygnus.com>
1678
1679         * hesiod/hesiod.c: Don't use and define cistrcmp.  We have
1680         strcasecmp.
1681         (hesiod_init): Use of HES_DOMAIN need not be protected by
1682         __secure_getenv.
1683         (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
1684         stpcpy.
1685
1686         * string/Makefile (noinl-tester-ENV): New variable to make
1687         strerror test pass.
1688         (CFLAGS-noinl-tester): Make sure we test the correct functions.
1689
1690         * sysdeps/stub/atomicity.h: Fix typo.
1691         Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
1692
1693         * manual/string.texi: Document strnlen and mempcpy.
1694         Tell a bit more about the locale dependence of strcasecmp and
1695         strncasecmp.
1696
1697         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
1698         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1699         value type to long int.
1700         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.  Adopt local variable
1701         types.
1702         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
1703         Patches by David S. Miller <davem@jenolan.rutgers.edu>.
1704
1705 1997-09-16 02:14  Ulrich Drepper  <drepper@cygnus.com>
1706
1707         Implementation of Hesiod NSS module by Mark Kettenis.
1708         * hesiod/Makefile: New file.
1709         * hesiod/hesiod.c: New file.
1710         * hesiod/hesiod.h: New file.
1711         * hesiod/hesiod_p.h: New file.
1712         * hesiod/libnss_hesiod.map: New file.
1713         * hesiod/nss_hesiod/hesiod-grp.c: New file.
1714         * hesiod/nss_hesiod/hesiod-pwd.c: New file.
1715         * hesiod/nss_hesiod/hesiod-service.c: New file.
1716         * sysdeps/unix/inet/Subdirs: Add hesiod.
1717
1718         * shlib-versions: Add version number for libnss_hesiod.
1719
1720         * libio/iolibio.h: Remove definition of _IO_* macros.
1721         * libio/fileops.c: Define close, fstat, lseek, read, and write as
1722         macros to use __ protected versions.  Use those functions instead
1723         of _IO_* functions.
1724         * libio/iopopen.c: Define _IO_close to close.
1725
1726         * manual/math.texi: Explain the use of the optimizing inline
1727         functions.
1728         Describe rand_r function and tell about SysV RNGs in introduction.
1729
1730         * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
1731         variable.
1732
1733         * string/Makefile (tests): Add noinl-tester.
1734         * string/noinl-tester.c: New file.
1735         * string/tester.c: Add more stpcpy tests for constant arguments for
1736         all short lengths.
1737
1738         * string/string.h: Always declare __bzero.
1739         Describe __NO_STRING_INLINES.
1740         Always include <bits/string.h>.
1741         * string/bits/string2.h: Add warning about direct use.
1742         Change __strcpy_small and __stpcpy_small implementation to use
1743         macros and provide alternative for platforms which cannot do
1744         unaligned stores.
1745         * sysdeps/i386/bits/string.h: Don't define anything is
1746         __NO_STRING_INLINES is defined.
1747         * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
1748         __stpcpy_small implementation to use macros and provide
1749         alternative for platforms which cannot do unaligned stores.
1750         * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
1751         * sysdeps/generic/bzero.c: Likewise.
1752         * sysdeps/i386/bzero.c: Likewise.
1753         * sysdeps/i386/i586/bzero.S: Likewise.
1754         * sysdeps/vax/bzero.s: Likewise.
1755
1756         * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
1757         * sysdeps/i386/bits/select.h: Likewise.
1758
1759         * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
1760         constraints a bit.
1761         Don't define and test for _BITS_MATHINLINE_H.  Emit warning if used
1762         directly and not through math.h.
1763
1764         * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
1765         to char to get better code.  Fix typo.
1766         * sysdeps/stub/atomicity.h: Fix typo.
1767
1768 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1769
1770         * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
1771
1772 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1773
1774         * string/bits/string2.h: Add prototypes to avoid warning.
1775
1776 1997-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1777
1778         * string/bits/string2.h (strsep): Fix handling of empty REJECT.
1779         (__strsep_1c): Handle NULL and empty string.
1780         (__strsep_g): Likewise.
1781
1782 1997-09-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1783
1784         * catgets/Makefile (extra-objs): Set this instead of generated.
1785
1786         * md5-crypt/Makefile (extra-objs): Add all object file variants of
1787         onlymd5-entry.
1788
1789 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1790
1791         * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
1792         change.
1793
1794 1997-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1795
1796         * sysdeps/m68k/m68020/atomicity.h: New file.
1797
1798 1997-09-15 05:11  Ulrich Drepper  <drepper@cygnus.com>
1799
1800         * posix/Makefile (distribute): Add globtest.c and globtest.sh.
1801         Compile and run globtest if not cross-compiling.
1802         * posix/globtest.c: New file.
1803         * posix/globtest.sh: New file.
1804         * posix/glob.c: Pretty print preprocessor stuff.
1805         (glob_in_dir): If PATTERN is not really a pattern still check
1806         whether it is a real file in the current directory and return
1807         error if not.
1808         Reported by Eugene Mamchits <eugin@ips.ras.ru>.
1809
1810         * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
1811         * libio/ioseekoff.c (_IO_seekoff): Likewise.
1812         * libio/ioseekpos.c (_IO_seekpos): Likewise.
1813
1814 1997-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
1815
1816         * configure.in: Prevent configuration for unsupported platforms.
1817
1818 1997-09-13 04:07  Ulrich Drepper  <drepper@cygnus.com>
1819
1820         * elf/rtld.c (dl_main): Make sure we always have a file argument by
1821         testing for < 2 arguments after recognizing the options.
1822
1823 1997-09-12 11:47  Fila Kolodny  <fila@ibi.com>
1824
1825         * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
1826         (__strsep_g): Likewise.
1827
1828 1997-09-11 17:32  Ulrich Drepper  <drepper@cygnus.com>
1829
1830         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
1831         Patch by David S. Miller <davem@jenolan.rutgers.edu>.
1832
1833 1997-09-11 04:36  Ulrich Drepper  <drepper@cygnus.com>
1834
1835         * db2/db_int.h: Define __set_errno if not yet available.
1836         * db2/btree/bt_rec.c: Use __set_errno to set errno value.
1837         * db2/clib/getlong.c: Likewise.
1838         * db2/db185/db185.c: Likewise.
1839         * db2/db185/db185_int.h: Likewise.
1840         * db2/dbm/dbm.c: Likewise.
1841         * db2/lock/lock_deadlock.c: Likewise.
1842         * db2/log/log_archive.c: Likewise.
1843
1844         * elf/dl-profile.c: Implement mcount function.
1845
1846         * gmon/gmon.c: Use __profil not profil because of namespace pollution.
1847         * gmon/mcount.c: Remove BSD kernel code.
1848         Use compare&swap instruction if possible to change state variable.
1849         Optimize frompc folding.
1850         * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
1851         * sysdeps/i386/i486/atomicity.h: New file.
1852         * sysdeps/stub/atomicity.h: New file.
1853         * sysdeps/mach/hurd/profil.c: Define function as __profil and make
1854         profil weak alias.
1855         * sysdeps/posix/profil.c: Likewise.
1856
1857         * string/bits/string2.h: New file.
1858         * include/bits/string2.h: New file.
1859         * string/Makefile (routines): Add mempcpy.
1860         (tests): Add inl-tester.
1861         Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
1862         * sysdeps/generic/mempcpy.c: New file.
1863         * sysdeps/generic/memccpy.c: Undef function name to enable definition
1864         as macro.
1865         * sysdeps/generic/memchr.c: Likewise.
1866         * sysdeps/generic/memcmp.c: Likewise.
1867         * sysdeps/generic/memmem.c: Likewise.
1868         * sysdeps/generic/memmove.c: Likewise.
1869         * sysdeps/generic/strcat.c: Likewise.
1870         * sysdeps/generic/strchr.c: Likewise.
1871         * sysdeps/generic/strcmp.c: Likewise.
1872         * sysdeps/generic/strcpy.c: Likewise.
1873         * sysdeps/generic/strcspn.c: Likewise.
1874         * sysdeps/generic/strlen.c: Likewise.
1875         * sysdeps/generic/strncat.c: Likewise.
1876         * sysdeps/generic/strncmp.c: Likewise.
1877         * sysdeps/generic/strncpy.c: Likewise.
1878         * sysdeps/generic/strpbrk.c: Likewise.
1879         * sysdeps/generic/strrchr.c: Likewise.
1880         * sysdeps/generic/strsep.c: Likewise.
1881         * sysdeps/generic/strspn.c: Likewise.
1882         * sysdeps/generic/strstr.c: Likewise.
1883         * sysdeps/generic/strtok.c: Likewise.
1884         * sysdeps/generic/strtok_r.c: Likewise.
1885         * sysdeps/i386/memset.c: Likewise.
1886         * sysdeps/i386/bits/string.h: Correct a few types and constraints.
1887         * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
1888         * string/stratcliff.c: Undefine __USE_STRING_INLINES.
1889         * string/tst-strlen.c: Likewise.
1890         * string/string.h: Add prototype for mempcpy.  Include bits/string2.h
1891         header always if optimizing.
1892         * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
1893         yet defined.
1894         * intl/l10nflist.c: Likewise.
1895
1896         * string/tester.c: Add copyright and make little cleanups.
1897
1898         * inet/test_ifindex.c: Change type of ni variable to unsigned int.
1899
1900         * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
1901         of fields map_collection_max and map_collection_act to size_t.
1902
1903         * nss/libnss_files.map: Group entries.
1904
1905         * posix/unistd.h: Add prototype for __setpgid and __profil.
1906
1907         * sysdeps/generic/crypt.h: Declare __crypt_r.
1908
1909         * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
1910
1911         * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
1912         isless, islessequal, islessgreater, isunordered): Optimize a bit.
1913
1914         * sysdeps/stub/ftruncate.c: Include missing header for prototype.
1915         * sysdeps/stub/getdents.c: Likewise.
1916         * sysdeps/stub/reboot.c: Likewise.
1917         * sysdeps/stub/swapon.c: Likewise.
1918         * sysdeps/stub/syscall.c: Likewise.
1919         * sysdeps/stub/ualarm.c: Likewise.
1920         * sysdeps/stub/usleep.c: Likewise.
1921
1922         * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
1923         if SIOGIFINDEX and SIOGIFNAME are not defined.
1924
1925         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
1926         according to recent kernel changes.
1927
1928 1997-09-10 21:32  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
1929
1930         * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
1931         the installed name of the startup code.
1932         (common-generated): Add version.mk.
1933         * Makefile (distclean-1): Add glibcbug.
1934         * Makerules: Replace -lgcc by $(gnulib).
1935         * catgets/Makefile (generated): Add xmalloc.o.
1936         * csu/Makefile (generated): Replace align.h and end.h by defs.h to
1937         match the generated file.
1938         * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
1939         (realclean): Changed to remove chapters-incl[12].
1940         * po/Makefile (realclean): New rule to remove the generated .mo files.
1941         * time/Makefile: Only include zonefile dependencies if $(no_deps) is
1942         not true to avoid make clean failure when directory time doesn't exist
1943         yet.
1944         (generated): Add tzselect.
1945
1946         * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
1947         * stdio/internals.c (flushbuf): Likewise.
1948         * stdio/linewrap.c (lwupdate): Likewise.
1949         * stdio/memstream.c (enlarge_buffer): Likewise.
1950         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1951         * time/tzset.c (compute_change): Likewise.
1952         * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
1953         is defined.
1954         * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
1955         functions.
1956         * sysdeps/stub/init-posix.c: Likewise.
1957         * sysdeps/stub/profil.c: Likewise.
1958         * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
1959         reduce gcc warning noise.
1960         * stdio/glue.c (_filbuf, _flsbuf): Likewise.
1961         * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
1962         * stdio/vasprintf.c (enlarge_buffer): Likewise.
1963         * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
1964         __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
1965         __stdio_reopen): Likewise.
1966         * sysdeps/posix/defs.c (_cleanup): Likewise.
1967         * time/offtime.c (__offtime): Add cast.
1968
1969         * posix/getopt.c: Don't use text_set_element if not defined.
1970
1971         * configure.in: Provide a check for underscores before user labels
1972         that works even when the compiler used for building doesn't work
1973         (like when there is no C library).  Use the old way if the compiler
1974         works.
1975
1976 1997-09-10 05:08  David S. Miller  <davem@caip.rutgers.edu>
1977
1978         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
1979         'T' not 't' on SparcLinux.
1980         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
1981
1982         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
1983         _longjmp and siglongjmp.
1984
1985 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1986
1987         * libio/stdio.h: Add format attributes to the extra printf and
1988         scanf like functions.
1989         * stdio/stdio.h: Likewise.
1990
1991 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1992
1993         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
1994         Print tablename_val, not tablename_len.
1995
1996         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
1997         Use sprintf instead of sprintf, the string always fits.
1998         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
1999         Likewise.
2000         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2001         Likewise.
2002         * nis/nss_nisplus/nisplus-proto.c
2003         (_nss_nisplus_getprotobynumber_r): Likewise.
2004         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
2005         Likewise.
2006         * nis/nss_nisplus/nisplus-service.c
2007         (_nss_nisplus_getservbynumber_r): Likewise.
2008
2009         * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
2010         __stpcpy, __stpncpy and __strdup instead of public names.
2011         * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
2012         Likewise.
2013         * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
2014         * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
2015         Likewise.
2016         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
2017         Likewise.
2018         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
2019         Likewise.
2020         (_nss_create_tablename): Likewise.
2021         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
2022         Likewise.
2023         (_nss_create_tablename): Likewise.
2024         * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
2025         Likewise.
2026         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
2027         Likewise.
2028         (_nss_create_tablename): Likewise.
2029         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
2030         Likewise.
2031         (_nss_create_tablename): Likewise.
2032         * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
2033         Likewise.
2034
2035         * libc.map: Export __stpcpy and __strdup.
2036
2037 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2038
2039         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
2040         CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
2041         precision.
2042
2043 1997-09-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2044
2045         * include/rpc/auth_des.h: New file.
2046
2047 1997-09-09  Paul Eggert  <eggert@twinsun.com>
2048
2049         * time/mktime.c (__mktime_internal): Declare sec_requested even if
2050         !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
2051         for time_t overflow.
2052
2053 1997-09-09 22:11  Ulrich Drepper  <drepper@cygnus.com>
2054
2055         * sysdeps/posix/getcwd.c: Correct test for too small buffer.
2056         Reported by Erik Troan <ewt@redhat.com>.
2057
2058         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2059         * elf/dl-open.c: Likewise.
2060
2061 1997-09-07 17:09  Richard Henderson  <rth@cygnus.com>
2062
2063         * sysdeps/alpha/Makefile: Kill setjmp_aux.
2064         * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
2065         * sysdeps/alpha/__longjmp.c: Remove.
2066         * sysdeps/alpha/setjmp_aux.c: Remove.
2067         * sysdeps/alpha/__longjmp.S: New file.
2068         * sysdeps/alpha/bsd-_setjmp.S: Stub out.
2069         * sysdeps/alpha/bsd-setjmp.S: Likewise.
2070         * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
2071         Move _setjmp and setjmp from bsd-*.S.
2072
2073 1997-09-06  20:20  Ulrich Drepper  <drepper@cygnus.com>
2074
2075         * include/rpc/auth.h: New file.
2076         * include/rpc/auth_unix.h: New file.
2077
2078 1997-09-06  Paul Eggert  <eggert@twinsun.com>
2079
2080         Fix gmtime so that it reports leap seconds when TZ
2081         indicates that leap seconds are desired.
2082
2083         * time/gmtime.c (<stddef.h>): Remove unnecessary include.
2084         (gmtime): Put after gmtime_r, to help the compiler inline.
2085         (__tz_convert): New decl.
2086         (gmtime_r): Use __tz_convert instead of __offtime,
2087         so that leap seconds are handled correctly.
2088
2089         * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
2090         are now unnecessary.
2091         (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
2092         __tzset_lock): Remove extern decls that are now unnecessary.
2093         (localtime_internal): Moved to __tz_convert in tzset.c.
2094         so that localtime and gmtime can both use it easily.
2095         (localtime): Put after localtime_r, to help the compiler inline.
2096         (localtime_r): Use __tz_convert instead of localtime_internal.
2097
2098         * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
2099         decl.
2100
2101         * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
2102
2103         * time/tzset.c (<errno.h>): Include.
2104         (_tmbuf): New decl.
2105         (__tzfile_compute): New function.
2106         (tz_compute): Renamed from __tz_compute.  No longer extern.
2107         Remove redundant call to tzset_internal.
2108         (tzset_internal): Renamed from __tzset_internal.  No longer extern.
2109         (tzset_lock): Renamed from __tzset_lock.  No longer extern.
2110         (__tz_convert): New function, containing functionality of old
2111         localtime_internal function, plus locking and optional UTC.
2112
2113 1997-09-06  Paul Eggert  <eggert@twinsun.com>
2114
2115         * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
2116         string, just use UTC without leap seconds.  This is for compatibility
2117         with the Olson code.
2118
2119 1997-09-06  Paul Eggert  <eggert@twinsun.com>
2120
2121         * time/tzset.c (__tzname_max): Lock tz data structures before
2122         invoking tzset_internal.
2123
2124         * time/tzfile.c: Define compute_tzname_max statically.
2125
2126 1997-09-07 10:57  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2127
2128         * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
2129         * nis/nis_intern.h: Likewise.
2130         * nis/nss_nis/nis-publickey.c: Likewise.
2131         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2132         * nis/ypclnt.c: Likewise.
2133
2134         * sunrpc/auth_des.c: Don't dereference NULL pointer,
2135         initialize ad->ad_timediff.
2136
2137         * sunrpc/auth_none.c: Don't define our own prototypes, use the one
2138         from the header files.
2139         * sunrpc/auth_unix.c: Likewise.
2140         * sunrpc/clnt_raw.c: Likewise.
2141         * sunrpc/clnt_tcp.c: Likewise.
2142         * sunrpc/rpc_cmsg.c: Likewise.
2143
2144         * sunrpc/key_call.c: Fix signal handling.
2145
2146         * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
2147         or we will get a deadlock with NIS+.
2148
2149         * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
2150         HAVE_SECURE_RPC.
2151
2152 1997-09-07 15:51  Ulrich Drepper  <drepper@cygnus.com>
2153
2154         * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
2155         __FD_ISSET): Use correct casts to address array correctly.
2156         Reported by urbanw@cs.umu.se.
2157
2158 1997-09-07 05:07  Ulrich Drepper  <drepper@cygnus.com>
2159
2160         * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2161         * elf/dl-open.c: Likewise.
2162         * sysdeps/i386/memset.c: Undefine memset in case the header with the
2163         optimized functions is included.
2164         Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
2165
2166         * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
2167         strsep): Use register for second parameter.
2168         * sysdeps/i386/i486/bits/string.h: Likewise.
2169         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2170
2171 1997-09-03 09:48  Geoff Keating  <geoffk@ozemail.com.au>
2172
2173         * math/libm-test.c: Change various tolerances to match what the
2174         tested routines can actually provide.
2175
2176         * math/Makefile: Add new tests.
2177         * math/atest-sincos.c: New file.
2178         * math/atest-exp.c: New file.
2179
2180         * csu/Makefile: Give initfini.s and initfiniS.s their own
2181         CFLAGS-* macros so they can be overridden.
2182         * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
2183         initfiniS.s to use -fpic instead of -fPIC, because the sed script
2184         breaks otherwise.
2185
2186         * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
2187         efficiency.
2188
2189         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2190         Don't use register 0, to let _mcount be in a shared object.
2191
2192         * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
2193         Generally clean up.  Suppress some code we don't need when relocating
2194         ld.so.
2195         * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
2196         appropriate to suppress gcc warning.
2197         * resolv/res_send.c: Suppress warning.
2198         * sunrpc/xdr_sizeof.c: Suppress warning.
2199
2200         * FAQ: Add ppc-linux.
2201         * manual/maint.texi: Add ppc-linux.  Explain that gcc can't build it
2202         yet.
2203
2204         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
2205         current kernels.
2206
2207 1997-08-15 07:45  Geoff Keating  <geoffk@ozemail.com.au>
2208
2209         * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
2210         * sysdeps/i386/machine-gmon.h: Correct typo.
2211
2212         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
2213         kernel.
2214
2215         * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
2216         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
2217         sysdeps/linux/dl-sysdep.c.
2218
2219         * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
2220         * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
2221         * sysdeps/powerpc/ppc-mcount: New file.
2222
2223         The following are mostly changes to allow profiling:
2224         * sysdeps/powerpc/add_n.S: Added.
2225         * sysdeps/powerpc/add_n.s: Removed.
2226         * sysdeps/powerpc/addmul_1.S: Added.
2227         * sysdeps/powerpc/addmul_1.s: Removed.
2228         * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
2229         * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
2230         * sysdeps/powerpc/lshift.S: Added.
2231         * sysdeps/powerpc/lshift.s: Removed.
2232         * sysdeps/powerpc/memset.S: Added.
2233         * sysdeps/powerpc/memset.s: Removed.
2234         * sysdeps/powerpc/mul_1.S: Added.
2235         * sysdeps/powerpc/mul_1.s: Removed.
2236         * sysdeps/powerpc/rshift.S: Added.
2237         * sysdeps/powerpc/rshift.s: Removed.
2238         * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
2239         * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
2240         * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
2241         * sysdeps/powerpc/strchr.S: Added.
2242         * sysdeps/powerpc/strchr.s: Removed.
2243         * sysdeps/powerpc/strcmp.S: Added.
2244         * sysdeps/powerpc/strcmp.s: Removed.
2245         * sysdeps/powerpc/strlen.S: Added.
2246         * sysdeps/powerpc/strlen.s: Removed.
2247         * sysdeps/powerpc/sub_n.S: Added.
2248         * sysdeps/powerpc/sub_n.s: Removed.
2249         * sysdeps/powerpc/submul_1.S: Added.
2250         * sysdeps/powerpc/submul_1.s: Removed.
2251         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
2252         * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
2253         * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
2254         * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
2255         various bugs. Document that it isn't tested.
2256         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
2257         sysdeps/unix/_exit.S.
2258         * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
2259         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
2260         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
2261         to make assembler (possibly) more portable, allow profiling, etc.
2262
2263 1997-09-05 03:15  Ulrich Drepper  <drepper@cygnus.com>
2264
2265         * Makefile (subdirs): Reorganize order so that nss follows add-ons.
2266         * config.make.in (LDAP): Add.
2267         * configure.in: Prepare for ldap add-on.
2268         * shlib-versions: Add version numbers for ldap NSS module.
2269         * nss/Makefile: Add rules to build ldap NSS module.
2270
2271         * db/btree/bt_page.c (__bt_free): Update meta data information.
2272
2273         Update db from db-2.3.6.
2274         * db2/db.h: Updated.
2275         * db2/btree/bt_close.c: Updated.
2276         * db2/btree/bt_compare.c: Updated.
2277         * db2/btree/bt_conv.c: Updated.
2278         * db2/btree/bt_cursor.c: Updated.
2279         * db2/btree/bt_delete.c: Updated.
2280         * db2/btree/bt_put.c: Updated.
2281         * db2/btree/bt_rec.c: Updated.
2282         * db2/btree/bt_recno.c: Updated.
2283         * db2/btree/bt_search.c: Updated.
2284         * db2/btree/bt_split.c: Updated.
2285         * db2/btree/bt_stat.c: Updated.
2286         * db2/common/db_appinit.c: Updated.
2287         * db2/common/db_apprec.c: Updated.
2288         * db2/common/db_byteorder.c: Updated.
2289         * db2/common/db_err.c: Updated.
2290         * db2/common/db_region.c: Updated.
2291         * db2/db/db.c: Updated.
2292         * db2/db/db_conv.c: Updated.
2293         * db2/db/db_dup.c: Updated.
2294         * db2/db/db_pr.c: Updated.
2295         * db2/db/db_ret.c: Updated.
2296         * db2/db185/db185.c: Updated.
2297         * db2/dbm/dbm.c: Updated.
2298         * db2/hash/hash_dup.c: Updated.
2299         * db2/include/db_am.h: Updated.
2300         * db2/include/db_page.h: Updated.
2301         * db2/include/mp.h: Updated.
2302         * db2/include/queue.h: Updated.
2303         * db2/log/log.c: Updated.
2304         * db2/log/log_findckp.c: Updated.
2305         * db2/log/log_get.c: Updated.
2306         * db2/log/log_rec.c: Updated.
2307         * db2/mp/mp_bh.c: Updated.
2308         * db2/mp/mp_fopen.c: Updated.
2309         * db2/mp/mp_pr.c: Updated.
2310         * db2/mp/mp_sync.c: Updated.
2311         * db2/mutex/x86.gcc: Updated.
2312         * db2/os/db_os_dir.c: Updated.
2313         * db2/os/db_os_fid.c: Updated.
2314         * db2/progs/db_archive/db_archive.c: Updated.
2315         * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
2316         * db2/progs/db_deadlock/db_deadlock.c: Updated.
2317         * db2/progs/db_dump/db_dump.c: Updated.
2318         * db2/progs/db_dump185/db_dump185.c: Updated.
2319         * db2/progs/db_load/db_load.c: Updated.
2320         * db2/progs/db_printlog/db_printlog.c: Updated.
2321         * db2/progs/db_recover/db_recover.c: Updated.
2322         * db2/progs/db_stat/db_stat.c: Updated.
2323         * db2/txn/txn.c: Updated.
2324         * db2/txn/txn_rec.c: Updated.
2325
2326         * db2/Makefile: Add rule to build db_printlog.
2327         * db2/config.h: Don't include endian.h and don't define
2328         WORDS_BIGENDIAN.  Only define HAVE_ENDIAN_H.
2329
2330         * elf/dl-open.c (_dl_open): Make thread-safe.
2331         * elf/dl-close.c (_dl_close): Likewise.
2332         * elf/dlclose.c: Pretty print.
2333         * elf/dl-version.c (make_string): Use __strdup not strdup.
2334         (find_needed): Don't use l_searchlist of _dl_loaded, use the
2335         l_next list.
2336         * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
2337
2338         * manual/math.texi: Add note about == and != for FP values.
2339         * manual/message.texi: Mention problems with relative paths and
2340         binstextdomain.
2341         * manual/string.texi: Mark strdupa and strndupa correctly as macros.
2342
2343         * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
2344         * sunrpc/rpc_cout.c: Avoid needless races around return value.
2345
2346         * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
2347
2348         Update from tzdata-1997h.
2349         * time/africa: Updated.
2350         * time/europe: Updated.
2351         * time/iso3166.tab: Updated.
2352         * time/northamerica: Updated.
2353         * time/southamerica: Updated.
2354         * time/zone.tab: Updated.
2355
2356 1997-09-04 13:19  Richard Henderson  <rth@cygnus.com>
2357
2358         * sysdeps/alpha/w_sqrt.S: Removed.
2359         * sysdeps/alpha/fpu/e_sqrt.c: New.  Obey -mieee and -mieee-with-inexact
2360         and build a version that is as fast as possible given the constraint.
2361
2362 1997-08-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2363
2364         * manual/maint.texi: Document some defaults for configuration
2365         parameters.
2366
2367 1997-09-04 15:57  Ulrich Drepper  <drepper@cygnus.com>
2368
2369         * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
2370         * termios/termios.h: Change prototype accordingly.
2371         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2372
2373 1997-07-26 14:42  H.J. Lu  <hjl@gnu.ai.mit.edu>
2374
2375         * libio/stdfiles.c (_libio_using_thunks): Define if
2376         _G_USING_THUNKS is defined.
2377
2378         * libio/_G_config.h: Moved to ...
2379         * sysdeps/generic/_G_config.h: ...here.
2380
2381         * sysdeps/unix/sysv/linux/_G_config.h: New,
2382         Add vtable thunks support.
2383
2384 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2385
2386         * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
2387         efficient code (together with a change in gcc).
2388
2389         * Makeconfig (pic-ccflag): New variable.
2390         (CFLAGS-.os): Use it instead of hardcoding -fPIC.
2391
2392 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2393
2394         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2395         _dl_start instead of a local label, to avoid getting an unreadable
2396         label name.
2397
2398 1997-09-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2399
2400         * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
2401         libdb.so.
2402
2403         * Makeconfig (dbobjdir): Use db2.
2404
2405 1997-08-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2406
2407         * manual/maint.texi (Porting to Unix): Update description of the
2408         implementation of Unix system calls.
2409         (Contributors): Use real umlaut in tege's name.
2410
2411 1997-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2412
2413         * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
2414         _IEEE_LIBM.
2415         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2416         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2417
2418 1997-08-29 21:45  Ulrich Drepper  <drepper@cygnus.com>
2419
2420         * sunrpc/auth_des.c: New file.  Copied from former secure_rpc add-on.
2421         * sunrpc/authdes_prot.c: New file.  Likewise.
2422         * sunrpc/des.h: New file.  Likewise.
2423         * sunrpc/des_crypt.c: New file.  Likewise.
2424         * sunrpc/des_soft.c: New file.  Likewise.
2425         * sunrpc/key_call.c: New file.  Likewise.
2426         * sunrpc/key_prot.c: New file.  Likewise.
2427         * sunrpc/netname.c: New file.  Likewise.
2428         * sunrpc/openchild.c: New file.  Likewise.
2429         * sunrpc/rtime.c: New file.  Likewise.
2430         * sunrpc/svc_auth.c: New file.  Likewise.
2431         * sunrpc/svcauth_des.c: New file.  Likewise.
2432         * sunrpc/xcrypt.c: New file.  Likewise.
2433         * sunrpc/rpc/auth.h: New file.  Likewise.
2434         * sunrpc/rpc/auth_des.h: New file.  Likewise.
2435         * sunrpc/rpc/des_crypt.h: New file.  Likewise.
2436         * sunrpc/rpc/key_prot.h: New file.  Likewise.
2437         * sunrpc/rpcsvc/key_prot.x: New file.  Likewise.
2438         * sysdeps/generic/svc_auth.h: Removed.
2439         * sysdeps/generic/rpc/auth.h: Removed.
2440         * sysdeps/generic/rpc/auth_des.h: Removed.
2441         * sysdeps/stub/des_impl.c: New file.  Stub version for DES.
2442         * sunrpc/Makefile (rpcsvc): Add keyprot.x.
2443         (headers): Add des_crypt.h and key_prot.h.
2444         (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
2445         key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
2446         (distribute): Add des.h.
2447
2448         * db2/Makefile: Add all headers and other files to distribute.
2449         (others): Add db_printlog.
2450
2451         * sysdeps/mach/hurd/Dist: Add net/* headers.
2452         * sysdeps/mach/hurd/mips/Dist: New file.
2453         * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
2454         * sysdeps/sparc/Dist: Add sys/trap.h.
2455         * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
2456         * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
2457         * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
2458         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
2459         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
2460
2461         Add previously missing assembler files for PPC.
2462         * sysdeps/powerpc/add_n.s: New file.
2463         * sysdeps/powerpc/addmul_1.s: New file.
2464         * sysdeps/powerpc/lshift.s: New file.
2465         * sysdeps/powerpc/memset.s: New file.
2466         * sysdeps/powerpc/mul_1.s: New file.
2467         * sysdeps/powerpc/rshift.s: New file.
2468         * sysdeps/powerpc/strchr.s: New file.
2469         * sysdeps/powerpc/strcmp.s: New file.
2470         * sysdeps/powerpc/sub_n.s: New file.
2471         * sysdeps/powerpc/submul_1.s: New file.
2472
2473 1997-08-28 18:42  Thorsten Kukuk  <kukuk@uni-paderborn.de>
2474
2475         * nis/nis_server.c: Rewritten to fix a lot of bugs.
2476
2477 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2478
2479         * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
2480         variables.
2481
2482 1997-08-29 02:36  Ulrich Drepper  <drepper@cygnus.com>
2483
2484         * Makefile (version-info.h): Use ISO form for the date.
2485
2486         * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
2487         (struct catalog_obj): Add lock field.
2488         (__open_catalog): Remove second parameter from prototype.
2489         * catgets/catgets.c (catopen): Initialize lock field.
2490         (catgets): Don't pass second parameter to __open_catalog.
2491         * catgets/gencat.c: Initialize lock field and don't pass second
2492         parameter to __open_catalog.
2493         * catgets/open_catalog.c (__open_catalog): Decide about use of
2494         path by examining path in struct, not based on extra argument.
2495         Acquire a the lock before trying to load the catalog and release
2496         it before returning.
2497
2498         * csu/Makefile (abi-tag.h): Make sure target directory exists.
2499
2500         * io/Makefile (headers): Add bits/poll.h.
2501         * io/sys/poll.h: Remove definitions of POLL* constants.
2502         Include <bits/poll.h>.
2503         * sysdeps/generic/bits/poll.h: New file.
2504         * sysdeps/unix/sysv/linux/bits/poll.h: New file.
2505         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
2506         * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
2507         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
2508
2509         * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
2510
2511         * malloc/obstack.c: Add casts to keep very verbose compilers on
2512         64bit machine quiet.
2513
2514         * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
2515
2516 1997-08-28 17:30  Ulrich Drepper  <drepper@cygnus.com>
2517
2518         * catgets/catgets.c (catopen): Correctly determine length of string
2519         in NLSPATH environment variable.  Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
2520
2521 1997-08-27 23:19  Richard Henderson  <rth@cygnus.com>
2522
2523         * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
2524         default macro to track down arguments from stack start.
2525         (_dl_sysdep_start): Use it.
2526         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
2527         providing a special DL_FIND_ARG_COMPONENTS and including the next
2528         file up the line.
2529
2530         * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
2531         * sysdeps/powerpc/e_sqrtf.c: Likewise.
2532         * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
2533         the double precision version.
2534         * sysdeps/powerpc/s_fabsf.S: Likewise.
2535         * sysdeps/powerpc/s_isnanf.S: Likewise.
2536
2537 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
2538
2539         * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>.  Somebody
2540         should update this to use the new db API.
2541         * nss/nss_db/db-netgrp.c: Likewise.
2542         * nss/nss_db/db-alias.c: Likewise.
2543         * db2/Makefile: Makefile for db-2.x in glibc.
2544
2545 1997-08-27 21:20  Ulrich Drepper  <drepper@cygnus.com>
2546
2547         * csu/Makefile (before-compile): New goal.  Make sure abi-tag.h
2548         is generated.
2549         [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
2550
2551         * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
2552         -D__USE_STRING_INLINES.
2553         * string/string.f: Move strnlen optimization after inclusion of
2554         <bits/string.h>.  Include <bits/string.h> only if __USE_STRING_INLINES
2555         is defined.
2556         * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
2557         in <bits/string.h>.
2558         * sysdeps/generic/memset.c: Likewise.
2559         * sysdeps/i386/string.h: i386 optimized string functions.
2560         * sysdeps/i386/i486string.h: i486+ optimized string functions.
2561
2562         * Makefile (subdirs): Change db to db2.
2563         * shlib-versions: Bump libdb verion number to 3.
2564         * include/db.h: Include from db2 directory.
2565         * include/db_185.h: New file.
2566         * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
2567         to provide spinlock information for db2.
2568         * sysdeps/m68k/m68020/Makefile: New file.  Likewise.
2569         * sysdeps/sparc/Makefile: New file.  Likewise.
2570         * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
2571         Add -DHAVE_LLSEEK.
2572         * db2/config.h: Hand-edited config file for db2 in glibc.
2573         * db2/compat.h: New file from db-2.3.4.
2574         * db2/db.h: Likewise.
2575         * db2/db_185.h: Likewise.
2576         * db2/db_int.h: Likewise.
2577         * db2/makedb.c: Likewise.
2578         * db2/btree/bt_close.c: Likewise.
2579         * db2/btree/bt_compare.c: Likewise.
2580         * db2/btree/bt_conv.c: Likewise.
2581         * db2/btree/bt_cursor.c: Likewise.
2582         * db2/btree/bt_delete.c: Likewise.
2583         * db2/btree/bt_open.c: Likewise.
2584         * db2/btree/bt_page.c: Likewise.
2585         * db2/btree/bt_put.c: Likewise.
2586         * db2/btree/bt_rec.c: Likewise.
2587         * db2/btree/bt_recno.c: Likewise.
2588         * db2/btree/btree_auto.c: Likewise.
2589         * db2/btree/bt_rsearch.c: Likewise.
2590         * db2/btree/bt_search.c: Likewise.
2591         * db2/btree/bt_split.c: Likewise.
2592         * db2/btree/bt_stat.c: Likewise.
2593         * db2/btree/btree.src: Likewise.
2594         * db2/common/db_appinit.c: Likewise.
2595         * db2/common/db_err.c: Likewise.
2596         * db2/common/db_byteorder.c: Likewise.
2597         * db2/common/db_apprec.c: Likewise.
2598         * db2/common/db_salloc.c: Likewise.
2599         * db2/common/db_log2.c: Likewise.
2600         * db2/common/db_region.c: Likewise.
2601         * db2/common/db_shash.c: Likewise.
2602         * db2/db/db.c: Likewise.
2603         * db2/db/db.src: Likewise.
2604         * db2/db/db_conv.c: Likewise.
2605         * db2/db/db_dispatch.c: Likewise.
2606         * db2/db/db_dup.c: Likewise.
2607         * db2/db/db_overflow.c: Likewise.
2608         * db2/db/db_pr.c: Likewise.
2609         * db2/db/db_rec.c: Likewise.
2610         * db2/db/db_ret.c: Likewise.
2611         * db2/db/db_thread.c: Likewise.
2612         * db2/db/db_auto.c: Likewise.
2613         * db2/db185/db185.c: Likewise.
2614         * db2/db185/db185_int.h: Likewise.
2615         * db2/dbm/dbm.c: Likewise.
2616         * db2/hash/hash.c: Likewise.
2617         * db2/hash/hash.src: Likewise.
2618         * db2/hash/hash_page.c: Likewise.
2619         * db2/hash/hash_conv.c: Likewise.
2620         * db2/hash/hash_debug.c: Likewise.
2621         * db2/hash/hash_stat.c: Likewise.
2622         * db2/hash/hash_rec.c: Likewise.
2623         * db2/hash/hash_dup.c: Likewise.
2624         * db2/hash/hash_func.c: Likewise.
2625         * db2/hash/hash_auto.c: Likewise.
2626         * db2/include/mp.h: Likewise.
2627         * db2/include/btree.h: Likewise.
2628         * db2/include/db.h.src: Likewise.
2629         * db2/include/db_int.h.src: Likewise.
2630         * db2/include/db_shash.h: Likewise.
2631         * db2/include/db_swap.h: Likewise.
2632         * db2/include/db_185.h.src: Likewise.
2633         * db2/include/txn.h: Likewise.
2634         * db2/include/db_am.h: Likewise.
2635         * db2/include/shqueue.h: Likewise.
2636         * db2/include/hash.h: Likewise.
2637         * db2/include/db_dispatch.h: Likewise.
2638         * db2/include/lock.h: Likewise.
2639         * db2/include/db_page.h: Likewise.
2640         * db2/include/log.h: Likewise.
2641         * db2/include/db_auto.h: Likewise.
2642         * db2/include/btree_auto.h: Likewise.
2643         * db2/include/hash_auto.h: Likewise.
2644         * db2/include/log_auto.h: Likewise.
2645         * db2/include/txn_auto.h: Likewise.
2646         * db2/include/db_ext.h: Likewise.
2647         * db2/include/btree_ext.h: Likewise.
2648         * db2/include/clib_ext.h: Likewise.
2649         * db2/include/common_ext.h: Likewise.
2650         * db2/include/hash_ext.h: Likewise.
2651         * db2/include/lock_ext.h: Likewise.
2652         * db2/include/log_ext.h: Likewise.
2653         * db2/include/mp_ext.h: Likewise.
2654         * db2/include/mutex_ext.h: Likewise.
2655         * db2/include/os_ext.h: Likewise.
2656         * db2/include/txn_ext.h: Likewise.
2657         * db2/include/cxx_int.h: Likewise.
2658         * db2/include/db_cxx.h: Likewise.
2659         * db2/include/queue.h: Likewise.
2660         * db2/lock/lock.c: Likewise.
2661         * db2/lock/lock_conflict.c: Likewise.
2662         * db2/lock/lock_util.c: Likewise.
2663         * db2/lock/lock_deadlock.c: Likewise.
2664         * db2/log/log.c: Likewise.
2665         * db2/log/log_get.c: Likewise.
2666         * db2/log/log.src: Likewise.
2667         * db2/log/log_compare.c: Likewise.
2668         * db2/log/log_put.c: Likewise.
2669         * db2/log/log_rec.c: Likewise.
2670         * db2/log/log_archive.c: Likewise.
2671         * db2/log/log_register.c: Likewise.
2672         * db2/log/log_auto.c: Likewise.
2673         * db2/log/log_findckp.c: Likewise.
2674         * db2/mp/mp_bh.c: Likewise.
2675         * db2/mp/mp_fget.c: Likewise.
2676         * db2/mp/mp_fopen.c: Likewise.
2677         * db2/mp/mp_fput.c: Likewise.
2678         * db2/mp/mp_fset.c: Likewise.
2679         * db2/mp/mp_open.c: Likewise.
2680         * db2/mp/mp_region.c: Likewise.
2681         * db2/mp/mp_pr.c: Likewise.
2682         * db2/mp/mp_sync.c: Likewise.
2683         * db2/mutex/68020.gcc: Likewise.
2684         * db2/mutex/mutex.c: Likewise.
2685         * db2/mutex/README: Likewise.
2686         * db2/mutex/x86.gcc: Likewise.
2687         * db2/mutex/sparc.gcc: Likewise.
2688         * db2/mutex/uts4.cc.s: Likewise.
2689         * db2/mutex/alpha.dec: Likewise.
2690         * db2/mutex/alpha.gcc: Likewise.
2691         * db2/mutex/parisc.gcc: Likewise.
2692         * db2/mutex/parisc.hp: Likewise.
2693         * db2/os/db_os_abs.c: Likewise.
2694         * db2/os/db_os_dir.c: Likewise.
2695         * db2/os/db_os_fid.c: Likewise.
2696         * db2/os/db_os_lseek.c: Likewise.
2697         * db2/os/db_os_mmap.c: Likewise.
2698         * db2/os/db_os_open.c: Likewise.
2699         * db2/os/db_os_rw.c: Likewise.
2700         * db2/os/db_os_sleep.c: Likewise.
2701         * db2/os/db_os_stat.c: Likewise.
2702         * db2/os/db_os_unlink.c: Likewise.
2703         * db2/txn/txn.c: Likewise.
2704         * db2/txn/txn.src: Likewise.
2705         * db2/txn/txn_rec.c: Likewise.
2706         * db2/txn/txn_auto.c: Likewise.
2707         * db2/clib/getlong.c: Likewise.
2708         * db2/progs/db_archive/db_archive.c: Likewise.
2709         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2710         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2711         * db2/progs/db_dump/db_dump.c: Likewise.
2712         * db2/progs/db_dump185/db_dump185.c: Likewise.
2713         * db2/progs/db_load/db_load.c: Likewise.
2714         * db2/progs/db_printlog/db_printlog.c: Likewise.
2715         * db2/progs/db_recover/db_recover.c: Likewise.
2716         * db2/progs/db_stat/db_stat.c: Likewise.
2717
2718         * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
2719
2720         * po/de.po, po/sv.po: Update from 2.0.5 translations.
2721
2722         * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
2723
2724         * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
2725         as const.
2726         * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
2727         * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
2728         * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
2729
2730 1997-08-27 18:47  Ulrich Drepper  <drepper@cygnus.com>
2731
2732         * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
2733         Reported by Benjamin Kosnik <bkoz@cygnus.com>.
2734
2735 1997-08-27 02:27  Roland McGrath  <roland@baalperazim.frob.com>
2736
2737         * abi-tags: New file.
2738         * csu/Makefile (distribute): Remove abi-tag.h.
2739         ($(objpfx)abi-tag.h): New target.
2740         * Makefile (distribute): Add abi-tags.
2741         * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
2742         * sysdeps/mach/hurd/abi-tag.h: File removed.
2743         * sysdeps/stub/abi-tag.h: File removed.
2744
2745 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2746
2747         * sysdeps/unix/make-syscalls.sh: Change output so that it
2748         generates compilation rules only for the currently selected object
2749         suffixes.
2750
2751 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2752
2753         * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
2754         section to avoid confusing the compiler.
2755         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2756         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2757         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2758         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
2759         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2760
2761         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
2762         relocation instead of a constant to avoid text relocation.
2763         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2764         (RTLD_START): Declare global labels as functions and add size
2765         directive.
2766
2767 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
2768
2769         * sysdeps/i386/bits/select.h: Correct assembler versions to work even
2770         for descriptors >= 32.
2771
2772         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
2773         is used __alloca is not defined to __builtin_alloca and so might
2774         not be available.
2775         Reported by Uwe Ohse <uwe@ohse.de>.
2776
2777         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
2778         way if gcc is not used and so dev_t is an array.
2779         Reported by Uwe Ohse <uwe@ohse.de>.
2780
2781 1997-08-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2782
2783         * manual/libc.texinfo: Reorder chapters to match logical order.
2784
2785 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
2786
2787         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
2788         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
2789         with g++ internal symbols.
2790         Patch by Sudish Joseph <sj@eng.mindspring.net>.
2791
2792 1997-08-24  Miles Bader  <miles@gnu.ai.mit.edu>
2793
2794         * string/argz.h: Add missing __END_DECLS.
2795
2796 1997-08-24 12:24  Ulrich Drepper  <drepper@cygnus.com>
2797
2798         * configure.in (INSTALL): Quote `$'.
2799
2800         * libc.map: Add __xpg_basename.
2801
2802         * csu/Makefile (initfini.s): Disable optimization.
2803
2804         * elf/dl-deps.c: Implement handling of DT_FILTER.
2805
2806         * elf/dl-load.c (_dl_init_paths): Add error check.
2807
2808         * intl/finddomain.c (_nl_find_domain): Correct comment.
2809         * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
2810
2811         * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
2812         Change extern inline functions to work correctly in C++.
2813
2814         * locale/iso-4217.def: Update for more recent ISO 4217 version.
2815
2816         * locale/loadlocale.c (_nl_load_locale): Add cast.
2817
2818         * manual/message.texi: Finish gettext section.
2819
2820         * posix/getopt_init.c: Don't use relative #include path.
2821         (__getopt_clean_environment): Change function to take pointer to
2822         environment as argument.  Optimize generation of test string a bit.
2823         * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
2824         with additional argument.
2825
2826         * poisx/glob.c: Add prototype for next_brace_sub.
2827
2828         * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
2829         vector.
2830
2831         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
2832         to not generate relocation entry.  Suggested by Richard Henderson.
2833         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2834         (elf_machine_runtime_setup): Add .aligns.
2835
2836         * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
2837
2838         * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
2839         1997-08-14 03:14.  gcc 2.7.2* is really broken in some aspects.
2840
2841         * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
2842         * sysdeps/standalone/i960/i960ca.h: Likewise.
2843
2844 1997-08-22 19:04  Richard Henderson  <rth@cygnus.com>
2845
2846         * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
2847         undocumented test addition in _dl_map_object.
2848
2849         Support ET_EXEC versions of ld.so, for debugging at least:
2850
2851         * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
2852         called despite the DT_SONAME != NULL test, segfaulting.  Simplify
2853         the code here as well.
2854         * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
2855         (_dl_setup_hash): Likewise for hash tables.
2856         * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
2857         * elf/rtld.c (_dl_start): Likewise for rpath.
2858         (_dl_rtld_libname2): New variable.
2859         (dl_main): Use it to add an soname for ourselves when we don't have
2860         one of our own.  Base it on the target's .interp.
2861         (dl_main): Again, skip printing of objects that don't have strtabs.
2862
2863         Sparc 32 merge:
2864
2865         * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
2866         (fixup): Simplify code.  Use ELF_FIXUP_RETURN_VALUE.
2867         (profile_fixup): Likewise, though this still needs fixing for
2868         Sparc32 and PPC.
2869         * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
2870         to ELF_FIXUP_RETURN_VALUE.
2871
2872         * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
2873         Fix up _dl_start_user to handle _dl_skip_args properly.
2874         Use _dl_hwcap to determine if "flush" is available/needed.
2875
2876         * sysdeps/sparc/configure.in: Remove.  It doesn't actually do
2877         anything anymore, and what it did do is done somewhere else.
2878         * sysdeps/sparc/configure: Likewise.
2879
2880         * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
2881
2882         * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
2883
2884         * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
2885         in divrem expansions.
2886
2887         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
2888         definitions for assembly syntax differences.
2889
2890         * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
2891         "system".  Use %g2,%g3 instead.  Use new local label macro.
2892         * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
2893         and LOC for proper assembly headers/footers.
2894         * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
2895         * sysdeps/sparc/sparc32/alloca.S: Likewise.
2896         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2897         * sysdeps/sparc/sparc32/lshift.S: Likewise.
2898         * sysdeps/sparc/sparc32/mul_1.S: Likewise.
2899         * sysdeps/sparc/sparc32/rshift.S: Likewise.
2900         * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
2901         * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
2902         * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
2903         * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
2904         * sysdeps/sparc/sparc32/sub_n.S: Likewise.
2905         * sysdeps/sparc/sparc32/submul_1.S: Likewise.
2906         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
2907         * sysdeps/sparc/sparc32/umul.S: Likewise.
2908         * sysdeps/sparc/sparc32/divrem.m4: Likewise.
2909         * sysdeps/sparc/sparc32/rem.S: Regenerate.
2910         * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
2911         * sysdeps/sparc/sparc32/udiv.S: Regenerate.
2912         * sysdeps/sparc/sparc32/urem.S: Regenerate.
2913
2914         * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
2915         * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
2916         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
2917         * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
2918         * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
2919         * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
2920
2921         * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
2922         * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
2923         * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
2924
2925         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
2926         Clean up PIC code.
2927
2928         * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
2929         from the sparc64 version.
2930         * sysdeps/sparc/sparc32/elf/start.c: Removed.
2931
2932         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
2933         assembly based on the sparc64 version.
2934
2935         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh.  Use proper syntax
2936         for manipulating %fsr.
2937         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
2938         be the default.
2939
2940         * elf/elf.h (HWCAP_SPARC_*): New definitions.
2941         * elf/rtld.c (_dl_hwcap): New variable.
2942         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
2943
2944         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
2945         Attempt to get hold of the page size based on what we might have
2946         been told at startup time in _dl_pagesize.  This will be obsolete
2947         when I finish the kernel hooks for a proper sysconf(), stay tuned.
2948
2949         Sparc 64 merge:
2950
2951         * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
2952         Figure out the right thing to return based on the .plt format.
2953
2954         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
2955
2956         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
2957         Should have been 64-bits wide.
2958
2959         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
2960         optimize for branch delay slot usage.
2961
2962 1997-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2963
2964         * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
2965         change.
2966
2967 1997-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2968
2969         * math/libm-test.c (identities): Change epsilon.
2970
2971         * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
2972         fabsf, fabsl, __fabsl.
2973
2974 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
2975
2976         * catgets/catgets.c (catclose): Use __munmap instead of munmap.
2977         * catgets/gencat.c (read_input_file): Fix typo.
2978
2979         * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
2980
2981         * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
2982         executed (e.g., when it is a static binary).
2983
2984         * intl/bindtextdomain.c: Use strdup in glibc.  Correct comment.
2985         * intl/dcgettext.c: Likewise.
2986         * intl/dgettext.c: Likewise.
2987         * intl/explodename.c: Likewise.
2988         * intl/finddomain.c: Likewise.
2989         * intl/gettext.c: Likewise.
2990         * intl/gettext.h: Likewise.
2991         * intl/hash-string.h: Likewise.
2992         * intl/l10nflist.c: Likewise.
2993         * intl/libintl.h: Likewise.
2994         * intl/loadinfo.h: Likewise.
2995         * intl/loadmsgcat.c: Likewise.
2996         * intl/localealias.c: Likewise.
2997         * intl/textdomain.c: Likewise.
2998
2999         Unify libio sources with code in libg++.
3000         * libio/fcloseall.c: Update and reformat copyright.  Protect use
3001         of weak_alias.  Use _IO_* thread macros instead of __libc_*.
3002         * libio/feof.c: Likewise.
3003         * libio/feof_u.c: Likewise.
3004         * libio/ferror.c: Likewise.
3005         * libio/ferror_u.c: Likewise.
3006         * libio/fgetc.c: Likewise.
3007         * libio/filedoalloc.c: Likewise.
3008         * libio/fileno.c: Likewise.
3009         * libio/fileops.c: Likewise.
3010         * libio/fputc.c: Likewise.
3011         * libio/fputc_u.c: Likewise.
3012         * libio/freopen.c: Likewise.
3013         * libio/fseek.c: Likewise.
3014         * libio/genops.c: Likewise.
3015         * libio/getc.c: Likewise.
3016         * libio/getc_u.c: Likewise.
3017         * libio/getchar.c: Likewise.
3018         * libio/getchar_u.c: Likewise.
3019         * libio/iofclose.c: Likewise.
3020         * libio/iofdopen.c: Likewise.
3021         * libio/iofflush.c: Likewise.
3022         * libio/iofflush_u.c: Likewise.
3023         * libio/iofgetpos.c: Likewise.
3024         * libio/iofgets.c: Likewise.
3025         * libio/iofopen.c: Likewise.
3026         * libio/iofopncook.c: Likewise.
3027         * libio/iofprintf.c: Likewise.
3028         * libio/iofputs.c: Likewise.
3029         * libio/iofread.c: Likewise.
3030         * libio/iofsetpos.c: Likewise.
3031         * libio/ioftell.c: Likewise.
3032         * libio/iofwrite.c: Likewise.
3033         * libio/iogetdelim.c: Likewise.
3034         * libio/iogetline.c: Likewise.
3035         * libio/iogets.c: Likewise.
3036         * libio/iopadn.c: Likewise.
3037         * libio/iopopen.c: Likewise.
3038         * libio/ioputs.c: Likewise.
3039         * libio/ioseekoff.c: Likewise.
3040         * libio/ioseekpos.c: Likewise.
3041         * libio/iosetbuffer.c: Likewise.
3042         * libio/iosetvbuf.c: Likewise.
3043         * libio/iosprintf.c: Likewise.
3044         * libio/ioungetc.c: Likewise.
3045         * libio/iovdprintf.c: Likewise.
3046         * libio/iovsprintf.c: Likewise.
3047         * libio/iovsscanf.c: Likewise.
3048         * libio/libio.h: Likewise.
3049         * libio/libioP.h: Likewise.
3050         * libio/obprintf.c: Likewise.
3051         * libio/pclose.c: Likewise.
3052         * libio/peekc.c: Likewise.
3053         * libio/putc.c: Likewise.
3054         * libio/putchar.c: Likewise.
3055         * libio/rewind.c: Likewise.
3056         * libio/setbuf.c: Likewise.
3057         * libio/setlinebuf.c: Likewise.
3058         * libio/stdfiles.c: Likewise.
3059         * libio/stdio.c: Likewise.
3060         * libio/strfile.h: Likewise.
3061         * libio/strops.c: Likewise.
3062         * libio/vasprintf.c: Likewise.
3063         * libio/vscanf.c: Likewise.
3064         * libio/vsnprintf.c: Likewise.
3065
3066         * manual/libc.texinfo: Add menu entries for chapter on message
3067         translation.
3068         * manual/locale.texi: Correct next entry in @node for new chapter.
3069         * manual/search.texi: Likewise for previous link.
3070         * manual/message.texi: New file.
3071         * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
3072         setenv, unsetenv, and clearenv.
3073         * manual/string.texi: Fix typos.  Patch by Jim Meyering.
3074
3075         * math/Makefile (test-longdouble-yes): Enable.  We want long double
3076         tests now.
3077
3078         Crusade against strcat.
3079         * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
3080         * stdlib/canonicalize.c: Likewise.
3081
3082         * posix/glob.h: Define __const if necessary.  Use __const in all
3083         prototypes.
3084
3085         * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
3086         GNU packages.
3087
3088         * posix/wordexp.c: Completely reworked buffer handling for much
3089         better performance.  Patch by Tim Waugh.
3090
3091         * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
3092         it must be socklen_t.
3093
3094         * sysdeps/libm-i387/e_remainder.S: Pretty print.
3095         * sysdeps/libm-i387/e_remainderf.S: Likewise.
3096         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
3097         * sysdeps/libm-i387/s_cexp.S: Little optimization.
3098         * sysdeps/libm-i387/s_cexpl.S: Likewise.
3099         * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
3100
3101 1997-08-18 15:21  Ulrich Drepper  <drepper@cygnus.com>
3102
3103         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
3104         in cleanup code.
3105
3106 1997-08-17  Paul Eggert  <eggert@twinsun.com>
3107
3108         * tzset.c (__tzset_internal): Fix memory leak when the user
3109         specifies a TZ value that uses a default rule file.
3110         Do not assume US DST rules when the user specifies
3111         that there is no DST.
3112
3113 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
3114
3115         * inet/getnameinfo.c: Tidy up.
3116         * sysdeps/posix/getaddrinfo.c: Likewise.
3117
3118         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
3119         using stub code.
3120         (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
3121         (if_nameindex): Use alloca() rather than malloc(); use
3122         SIOCGIFCOUNT ioctl if the kernel supports it.
3123
3124 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3125
3126         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
3127         they operate on internal kernel structures and have no place in a
3128         user header.
3129
3130 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3131
3132         * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
3133         (build-shlib): Filter them out of $^.
3134
3135 1997-08-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3136
3137         * elf/dl-error.c (_dl_signal_error): Fix error message.
3138
3139 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
3140
3141         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
3142         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
3143
3144 1997-08-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3145
3146         * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
3147         to avoid conflict with PO files.
3148         * Makerules: Likewise.
3149         * Rules: Likewise.
3150         * elf/Makefile: Likewise.
3151         * extra-lib.mk: Likewise.
3152         * gmon/Makefile: Likewise.
3153         * nis/Makefile: Likewise.
3154         * nss/Makefile: Likewise.
3155         * resolv/Makefile: Likewise.
3156         * rpm/Makefile: Likewise.
3157         * sunrpc/Makefile: Likewise.
3158         * sysdeps/sparc/elf/Makefile: Likewise.
3159         * sysdeps/sparc64/elf/Makefile: Likewise.
3160         * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
3161         (ASFLAGS-.os): Renamed from as-FLAGS.os.
3162
3163 1997-08-14 03:14  Ulrich Drepper  <drepper@cygnus.com>
3164
3165         * elf/dl-minimal.c: Don't use relative #include paths.
3166         (malloc): Don't try to initialize _dl_pagesize, it already is.
3167         (__sigjmp_save, longjmp): Reformat.
3168
3169         * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
3170         show content of auxiliary array.
3171         (_dl_sysdep_start): Remember start of auxiliary vector.
3172         * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
3173         * elf/link.h: Add prototype for _dl_show_auxv.
3174         * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
3175         is present.
3176
3177         * libio/iofdopen.c: Better prepare for use in libstdc++.
3178         * libio/iofflush.c: Likewise.
3179         * libio/iofgetpos.c: Likewise.
3180         * libio/iofgets.c: Likewise.
3181         * libio/iofopen.c: Likewise.
3182         * libio/iofputs.c: Likewise.
3183         * libio/iofread.c: Likewise.
3184         * libio/iofsetpos.c: Likewise.
3185         * libio/ioftell.c: Likewise.
3186         * libio/iofwrite.c: Likewise.
3187         * libio/iogetdelim.c: Likewise.
3188         * libio/iogets.c: Likewise.
3189         * libio/iopopen.c: Likewise.
3190         * libio/ioputs.c: Likewise.
3191         * libio/iosetbuffer.c: Likewise.
3192         * libio/iosetvbuf.c: Likewise.
3193         * libio/ioungetc.c: Likewise.
3194         * libio/iovsprintf.c: Likewise.
3195         * libio/iovsscanf.c: Likewise.
3196
3197         * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
3198         place.
3199
3200         * manual/math.texi: Add comment to sincos decsription to say it's a
3201         GNU extension.
3202         Fix description of random function.
3203
3204         * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
3205         * posix/glob.c: Likewise.  Handle stupid system headers on SunOS.
3206         Add casts for all __alloca calls.
3207         * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
3208         Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
3209         Patches by Paul D. Smith <psmith@BayNetworks.COM>.
3210
3211         * stdio-common/_itoa.c: Don't use relateive #include paths.
3212
3213         * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
3214         gcc 2.7.
3215         (atan): Loading 1.0 from memory does not pay off.
3216         (asinh): Fix typo.
3217
3218 1997-08-13 09:44  Philip Blundell  <Philip.Blundell@pobox.com>
3219
3220         * sysdeps/stub/accept.c: Use socklen_t where necessary.
3221         * sysdeps/stub/bind.c: Likewise.
3222         * sysdeps/stub/connect.c: Likewise.
3223         * sysdeps/stub/getsockname.c: Likewise.
3224         * sysdeps/stub/getsockopt.c: Likewise.
3225         * sysdeps/stub/recvfrom.c: Likewise.
3226         * sysdeps/stub/sendto.c: Likewise.
3227         * sysdeps/stub/setsockopt.c: Likewise.
3228
3229 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3230
3231         * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
3232         types.
3233
3234 1997-08-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3235
3236         * math/libm-test.c (cbrt_test): Add epsilon for long double to
3237         `cbrt (-0.001)'.
3238
3239 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3240
3241         * sysdeps/stub/bits/string.h: Fix comment.
3242
3243 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3244
3245         * elf/Makefile (routines): Remove dl-version.
3246         (dl-routines): Add it here instead.  This removes dead code from
3247         libc.so.
3248
3249 1997-08-12 17:17  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3250
3251         * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
3252         macros to encapsulate pthread_atfork's functionality.
3253         * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
3254         functions, registered via thread_atfork in the initialization
3255         routine or via thread_atfork_static in global scope.  This
3256         ensures a consistent state of all locks across fork().
3257
3258 1997-08-11 23:00:32 1997  Mark Kettenis  <kettenis@phys.uva.nl>
3259
3260         * login/programs/xtmp.c (compare_entry):
3261         Partially undo patch made by Klaus Espenlaub.  There
3262         was no xtmp/utmp typo.  Added comment to cclarify this.
3263         * login/programs/xtmp.h: Likewise.
3264
3265         * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
3266         Patch by Paul D. Smith <psmith@BayNetworks.COM>.
3267
3268 1997-08-12 13:51  Ulrich Drepper  <drepper@cygnus.com>
3269
3270         * login/getutid.c: Rename to __getutid and make getutid and getutxid
3271         weak aliases.
3272         Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
3273
3274 1997-08-11 23:55  Ulrich Drepper  <drepper@cygnus.com>
3275
3276         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3277         Add bits/mman.h.
3278
3279 1997-08-11 08:51:21 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
3280
3281         * stdlib/fmtmsg.c (fmtmsg): Add static to
3282         __libc_once_define macro.
3283
3284         * libc.map (__progname_full, __progname): Added.
3285
3286 1997-08-04 08:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
3287
3288         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
3289         if SIOGIFINDEX is not defined.
3290         (if_indextoname): Initialize "result" to NULL.
3291         (if_nametoindex, if_nameindex): Fix ENOSYS setting.
3292
3293 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
3294
3295         Sparc ISO C 9x exception handling:
3296         * sysdeps/sparc/fpu/bits/mathdef.h: New file.
3297         * sysdeps/sparc/fpu/fclrexcpt.c: New file.
3298         * sysdeps/sparc/fpu/fegetenv.c: New file.
3299         * sysdeps/sparc/fpu/fegetround.c: New file.
3300         * sysdeps/sparc/fpu/feholdexcpt.c: New file.
3301         * sysdeps/sparc/fpu/fesetenv.c: New file.
3302         * sysdeps/sparc/fpu/fesetround.c: New file.
3303         * sysdeps/sparc/fpu/feupdateenv.c: New file.
3304         * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
3305         * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
3306         * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
3307         * sysdeps/sparc/fpu/ftestexcept.c: New file.
3308         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
3309         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
3310
3311 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
3312
3313         Sparc64 merge:
3314         * configure.in: Change up subdirectories, rename sparc8->sparcv8.
3315
3316         * csu/Makefile: Nuke need-nopic-initfini bits.  The problem was
3317         that sparc64 ld did not recognize pic relocs at all.
3318
3319         * elf/dl-deps.c: Include <string.h>.
3320         * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
3321         directly instead of the DT names to get them from.
3322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
3323         from ELF_DYNAMIC_DO_REL{,A}.  Define a second version that accounts
3324         for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
3325         the case on the Sparc.
3326
3327         * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
3328         Elf32_Ver* bits.  The linker does not even know to differentiate
3329         between the word sizes.  Someone should examine this and figure
3330         out what the proper sizes of things should be for 64-bit hosts
3331         before the sparc64 libraries are distributed.
3332
3333         * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
3334         on the same machine.
3335
3336         Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
3337         rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
3338         sysdeps/sparc/sparc64.  Same for sysdeps/unix/sysv/linux/sparc.
3339
3340         * sysdeps/sparc/Implies: Do ieee754 here.
3341         * sysdeps/sparc/configure.in: Move from sparc32/.
3342         * sysdeps/sparc/sparc32/Implies: Do wordsize here.
3343         * sysdeps/sparc/sparc64/Implies: Likewise.
3344
3345         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
3346         Use uninitialized .got to find load address instead of AT_BASE, as
3347         the later does not exist when running ld.so directly.
3348
3349         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
3350         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3351
3352         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
3353
3354         * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
3355         and s_signbitl for stdio.
3356         * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
3357         nopic_initfini.
3358
3359         * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
3360         * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
3361         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
3362         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
3363         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
3364         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
3365         and setjmp entry points.
3366
3367         * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
3368
3369         * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
3370         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
3371
3372         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
3373         Fix sa_flags size for sparc64; add sa_restorer for kernel.
3374
3375         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
3376         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3377         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3378         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3379
3380         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
3381
3382 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
3383
3384         * login/login.c (login): Check for correct return value of
3385         utmpname.
3386
3387 1997-08-11 16:49  Ulrich Drepper  <drepper@cygnus.com>
3388
3389         * time/tzset.c (__tzset_internal): Correctly handle TZ strings
3390         following incorrect old POSIX specs.
3391         Patch by Paul Eggert <eggert@twinsun.com>.
3392
3393         * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
3394         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
3395         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
3396         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
3397         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3398         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3399         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
3400         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
3401         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
3402
3403 1997-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3404
3405         * manual/math.texi: Define the macros @mul and @infinity and use
3406         them to format the multiplication and infinity signs.
3407         (FP Comparison Functions): Use @code, not @math, for C code
3408         examples.
3409
3410 1997-08-10 18:48  Ulrich Drepper  <drepper@cygnus.com>
3411
3412         * Makeconfig: Define build-programs to no if not set and $(config-os)
3413         is none.
3414         * Makerules (+depfiles): Don't add $(others) if not build-programs.
3415         * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
3416         and $(install-sbin) if not build-programs.
3417         * Makefile (subdirs): Remove login.
3418         * sysdeps/mach/hurd/Subdirs: Add login.
3419         * sysdeps/unix/Subdirs: Add login.
3420
3421         * sysdeps/generic/sys/mman.h: Test feature macros before defining
3422         non-POSIX things.  Add MAP_FAILED.
3423         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
3424         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
3425         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
3426         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
3427         * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
3428         but bits/mman.h.  Test feature macros before definitions non-POSIX
3429         functions.
3430         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
3431         * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
3432         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
3433         * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
3434         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
3435         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
3436         * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
3437         * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
3438         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3439         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3440         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3441         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3442         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3443         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.  Likewise.
3444
3445         * catgets/open_catalog.c (__open_catalog): Compare result of mmap
3446         with MAP_FAILED and not -1.
3447         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3448         * elf/dl-minimal.c (malloc): Likewise.
3449         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
3450         * locale/loadlocale.c (_nl_load_locale): Likewise.
3451         * locale/programs/localedef.c: Likewise.
3452         * malloc/malloc.c (mmap_chunk): Likewise.
3453         (new_heap): Likewise.
3454         * string/stratcliff.c: Likewise.
3455         * string/tester.c: Add tests for stpcpy.
3456
3457         * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
3458
3459         * gmon/sys/gmon.h: Add prototype for write_profiling.
3460
3461         * elf/dl-profile.c: Add descriptions and implement reading of
3462         existing data in profiling file.
3463         * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
3464         lib profiling data.
3465
3466         * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
3467         parameter for class.
3468
3469         * inet/inet_ntoa.c: Make once control variable static.
3470         Correctly handle case where key cannot be retrieved.
3471         * inet/Makefile (tests): Add tst-ntoa.
3472         * inet/tst-ntoa.c: New file.
3473
3474         * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
3475         ctime_r.
3476         Mention that tzname values must not be changed.
3477
3478         * manual/users.texi: Document UTMP/WTMP handling functions.
3479         Mainly written by Mark Kettenis.
3480
3481         * math/libm-test.c (cbrt_test): Add test for number with aboslute
3482         value < 1.0.
3483
3484         * nss/nss_files/files-XXX.c (internal_setent): If opening of file
3485         failed with EGAIN return NSS_STATUS_TRYAGAIN.
3486         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3487
3488         * sysdeps/generic/bits/utmp.h: Pretty print.
3489
3490         * sysdeps/i386/i586/strcpy.S: New file.  Much faster implementation.
3491         * sysdeps/i386/i586/stpcpy.S: New file.
3492         * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
3493         these are less efficient than i486/i386 versions.
3494
3495         * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
3496         version from libm-ieee754 be compiled since the later is not needed.
3497         * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
3498         * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
3499         * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
3500         * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
3501         * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
3502         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
3503         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
3504         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
3505         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
3506         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
3507         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
3508
3509         * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
3510         * sysdeps/libm-i387/s_cbrtf.S: Likewise.
3511         * sysdeps/libm-i387/s_cbrtl.S: Likewise.
3512
3513         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
3514         little bug.
3515
3516         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
3517         msg_iovlen of type int.
3518
3519         * time/tzfile.c: Change return type of __tzstring to char *.
3520         * time/tzset.c: Likewise.  Change definition of __tzstring.
3521
3522         * time/tzset.c: Interpret no DST information in user provided time
3523         zone specification as it is meant: no DST.
3524         Patch by Paul Eggert <eggert@twinsun.com>.
3525
3526 1997-07-20 03:01  Geoff Keating  <geoffk@ozemail.com.au>
3527
3528         * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
3529         (_dl_map_object_from_fd): Use add_name_to_object.
3530         (_dl_map_object): If an object's SONAME is used to resolve a
3531         dependency, add it to the list of the object's names.
3532
3533         * inet/getnameinfo.c: Make `domain' non-const.
3534
3535         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
3536
3537         * math/test-fenv.c (feenv_nomask_test): Don't execute if
3538         FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
3539         sets errno to ENOSYS.
3540
3541         * sysdeps/powerpc/dl-machine.h: Print proper error message on
3542         unknown reloc type (rather than using assert).
3543
3544         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
3545         * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
3546
3547 1997-07-16 12:47  Geoff Keating  <geoffk@ozemail.com.au>
3548
3549         * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
3550         (feclearexcept): New optimising macro.
3551         (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
3552         (FE_ENABLED_ENV): Add.
3553         (FE_NONIEEE_ENV): Add.
3554         * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
3555         __fe_nonieee_env; delete __fe_nomask_env.
3556         * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
3557         gets implemented in the kernel).
3558
3559         * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
3560         FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
3561         * sysdeps/powerpc/fsetexcptflag.c: Likewise.
3562
3563         * io/ftw.c: Don't compare holes in structures.
3564         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
3565         macros to `int', because otherwise it might be `long long' which
3566         the calling code is probably not expecting.
3567
3568         * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
3569         document the existence of some more.
3570
3571         * sysdeps/powerpc/s_llrint.c: New file.
3572         * sysdeps/powerpc/s_lrint.c: New file.
3573         * sysdeps/powerpc/s_llround.c: New file.
3574         * sysdeps/powerpc/s_lround.c: New file.
3575
3576         * sysdeps/powerpc/s_sqrt.c: New file.
3577         * sysdeps/powerpc/s_sqrtf.c: New file.
3578         * sysdeps/powerpc/w_sqrt.s: New empty file.
3579         * sysdeps/powerpc/w_sqrtf.s: New empty file.
3580         * sysdeps/powerpc/t_sqrt.c: New file.
3581         * sysdeps/powerpc/test-arithf.c: New file.
3582         * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
3583         routines.  Add test-arithf to test programs.
3584
3585         * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
3586
3587         * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
3588         and possibly faster (or possibly slower, depending on input).
3589
3590 1997-06-08 22:55  Geoff Keating  <geoffk@ozemail.com.au>
3591
3592         * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
3593         macros.
3594         * sysdeps/powerpc/s_rint.c: New file.
3595
3596 1997-05-22 08:47  Geoff Keating  <geoffk@ozemail.com.au>
3597
3598         * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
3599         * sysdeps/powerpc/Dist: Add quad_float.h.
3600         * sysdeps/powerpc/q_dtoq.c: New file.
3601         * sysdeps/powerpc/q_itoq.c: New file.
3602         * sysdeps/powerpc/q_lltoq.c: New file.
3603         * sysdeps/powerpc/q_neg.c: New file.
3604         * sysdeps/powerpc/q_qtoi.c: New file.
3605         * sysdeps/powerpc/q_qtoll.c: New file.
3606         * sysdeps/powerpc/q_qtos.c: New file.
3607         * sysdeps/powerpc/q_qtou.c: New file.
3608         * sysdeps/powerpc/q_qtoull.c: New file.
3609         * sysdeps/powerpc/q_stoq.c: New file.
3610         * sysdeps/powerpc/q_ulltoq.c: New file.
3611         * sysdeps/powerpc/q_utoq.c: New file.
3612         * sysdeps/powerpc/quad_float.h: New file.
3613         * sysdeps/powerpc/test-arith.c: New file.
3614
3615         * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
3616         * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
3617         require a stack frame.
3618         * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
3619
3620 1997-05-18 05:55  Geoff Keating  <geoffk@ozemail.com.au>
3621
3622         * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
3623         fesetenv_register): Add 'volatile'.
3624         (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
3625         constants to use with them.
3626         * sysdeps/powerpc/s_copysign.S: New file.
3627         * sysdeps/powerpc/s_copysignf.s: New file.
3628         * sysdeps/powerpc/s_fabs.S: New file.
3629         * sysdeps/powerpc/s_fabsf.s: New file.
3630         * sysdeps/powerpc/s_isnan.c: New file.
3631         * sysdeps/powerpc/s_isnanf.s: New file.
3632         * sysdeps/powerpc/s_rintf.c: New file.
3633
3634         * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
3635         bit in the FPSCR, not the enable bit.
3636         * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
3637         * sysdeps/powerpc/fclrexcpt.c: Correct.
3638         * sysdeps/powerpc/fsetexcptflag.c: Correct.
3639         * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
3640         * sysdeps/powerpc/fgetexcptflg.c: Simplify.
3641
3642         * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
3643
3644         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
3645         explaining some reentrancy issues with lazy PLT entries.
3646
3647 1997-08-09 13:04  Mark Kettenis  <kettenis@phys.uva.nl>
3648
3649         * login/logout.c (logout): utmpname returns -1 on error.
3650
3651         * login/libutil.map: Remove updwtmp.
3652
3653         * login/getutline.c: Rename getutline to __getutline and make
3654         getutline a weak alias.  Make getutxline a weak alias for
3655         __getutline.
3656         * login/getutid.c: Rename getutid to __getutid and make getutid a
3657         weak alias.  Make getutxid a weak alias for __getutid.
3658         * libc.map: Add getutxid, getutxline.
3659
3660         * login/utmpname.c (__utmpname): Reset backend right after backend
3661         endutent call.
3662         * login/utmp_file.c: Reordered functions.  Remove unecessary
3663         header files.
3664         (getutent_r_file, pututline_file): Do not call setutent_file.  At this
3665         point the file is guaranteed to be open (assert!).
3666         (getutid_r_file, getutline_r_file): Remove check for validity of file
3667         descriptor.  At this point the file is guaranteed to be open.
3668         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
3669         updwtmp_file): Do not wait when unlocking file.
3670         * login/utmp_daemon.c: General cleanup and a bit of reordering.
3671         (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
3672         At this point the socket is guaranteed to be open (assert!).
3673         (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
3674         valid.  At this point the socket is guaranteed to be open (assert!).
3675         * login/getutline_r.c: Remove unnecessary header files.
3676         (__getutline_r): Do not call backend setutent.
3677         * login/getutid_r.c: Remove unnecessary header files.
3678         (__getutid_r): Do not call backend setutent.
3679         * login/getutent_r.c: Remove unneccesary header files.
3680         (__libc_utmp_unknown_functions): Added getutid_r_unknown,
3681         getutline_r_unknown.
3682         (setutent_unknown): Only set file backend if setutent for the file
3683         backend was successful.
3684         (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
3685         of __setutent.  Report failure if no backend was selected.
3686         (getutid_r_unknown): New function.
3687         (getutline_r_unknown): New function.
3688         (__endutent): Reset backend.  This makes sure all backends are checked
3689         on the next setutent call.
3690
3691 1997-08-08 20:20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3692
3693         * nis_cache.c: Replace dummy functions.
3694
3695         * libc.map: Add xdr_sizeof symbol.
3696
3697         * sunrpc/Makefile: Add xdr_sizeof to routines.
3698         * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
3699         * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
3700
3701 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3702
3703         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
3704
3705 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3706
3707         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
3708         right place.
3709
3710 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3711
3712         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
3713         PC's in long long to avoid overflow.
3714
3715 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3716
3717         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
3718         New macros.
3719
3720 1997-08-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3721
3722         * nis/Makefile (headers): Remove bits/nislib.h.
3723
3724 1997-08-06 14:54  Ulrich Drepper  <drepper@cygnus.com>
3725
3726         * sysdeps/mach/hurd/Subdirs: Add login.
3727
3728 1997-08-06 14:23  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
3729
3730         * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
3731         the preferred block size.
3732
3733         * login/programs/database.c (store_state_entry): Don't compile if
3734         there is no ut_type field.
3735         (store_state_entry, store_process_entry): Use the ut_tv field
3736         for timestamps if supported.
3737
3738         * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
3739
3740         * login/programs/xtmp.c: Fix numerous xtmp/utmp typos.  Use the ut_tv
3741         field for timestamps if supported.
3742
3743         * login/programs/xtmp.h: Fix xtmp/utmp typo.
3744
3745         * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
3746
3747         * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
3748         * sysdeps/stub/send.c (send): Likewise.
3749         * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
3750         * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
3751         * sysdeps/stub/init-first.c: Add definition of __libc_pid.
3752
3753 1997-08-05 13:28  Philip Blundell  <pb@spring.nexus.co.uk>
3754
3755         * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
3756         tidy up formatting.
3757
3758         * Makefile (subdirs): Remove `login'.
3759         * sysdeps/unix/Subdirs: New file; build `login' subdirectory
3760         for Unix systems.
3761
3762 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3763
3764         * sysdeps/generic/bits/utmpx.h: New file.
3765
3766         * sysdeps/mach/hurd/Dist: Add some files.
3767         * sysdeps/mips/Dist: Likewise.
3768         * sysdeps/mips/mips64/Dist: Likewise.
3769         * sysdeps/sparc/Dist: Likewise.
3770         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3771         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3772         * sysdeps/mips/mipsel/Dist: New file.
3773         * sysdeps/sparc64/elf/Dist: New file.
3774         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
3775
3776 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3777
3778         * libc.map: Add missing symbols.
3779
3780 1997-08-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3781
3782         * manual/socket.texi: Correct typos.
3783
3784         * manual/math.texi: Correct typos.
3785
3786         * manual/time.texi (Formatting Date and Time): Likewise.
3787
3788 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3789
3790         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
3791         (_mcleanup): Use write_gmon.
3792         (write_profiling): This function can be safely called at any time
3793         to write a current histogram without interfering with ongoing
3794         profiling.
3795
3796         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
3797
3798 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3799
3800         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
3801         not be vm_deallocated; it's a stack buffer.
3802         (profil_vm_deallocate): Delete prototype.
3803         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
3804         inclusion.
3805         * sysdeps/mach/hurd/Makefile
3806         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
3807         this rule.
3808
3809         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
3810         from profile_waiter.
3811         (profile_waiter): Use fetch_samples.
3812         (profil): When turning off profiling, fetch the last bunch of
3813         samples before disabling PC sampling.
3814         (fetch_samples): Add prototype.
3815
3816 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3817
3818         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
3819         source included by profil.c instead of trying to use
3820         before-compile grot.
3821
3822 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
3823
3824         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
3825         after releasing lock.  Use special RPC stubs and avoid assert,
3826         thus making this function entirely independent of the threadvar
3827         mechanism and of cthreads.
3828         (lock): Convert to be a spin lock instead of a mutex, so that the
3829         waiter thread need not use cthreads.  Use a fork prepare hook
3830         instead of _hurd_fork_locks to make sure we are clean before
3831         forking.
3832         (fork_profil_child): Renamed from fork_profil.
3833         (profil_reply_port): New variable.
3834         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
3835         stubs made by special hacks.
3836         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
3837         source files that profil.c needs if we are in the gmon directory.
3838
3839         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
3840         cthreads bug that hasn't existed for two years.
3841
3842 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
3843
3844         * locale/programs/localedef.c (main): Set bit in avail for those
3845         categories which are successfully read.
3846         * locale/programs/locfile.c (check_all_categories): Don't check
3847         categories if they are not available.
3848         (write_all_categories): Don't write categories if they are not
3849         available.
3850
3851         * login/setutent_r.c (setutent_unknown): Change return type to
3852         int and return result of called function.
3853
3854         * manual/arith.texi: Mark floating-point test macro from ISO C 9X
3855         as macros (not functions).
3856         * manual/libc.texinfo (UPDATED): Update.
3857         * manual/math.texi: Document exceptions, functions to handle
3858         exceptions, mathematical constants, FP comparison functions
3859         and several new functions from ISO C 9X.
3860         Change parameter of drand48, lrand48, and mrand48 to void (not
3861         empty).
3862         * manual/pattern.texi: Remove paragraph which explained that wordexp
3863         is executed by running a shell.
3864         * manual/time.texi: Explain difficulties with strftime if the
3865         functions returns 0 and no error occurred.
3866
3867         * math/math.h: Correct comment for some M_* constants.
3868         (isgreater, isgreaterequal, isless, islessequal, islessgreater,
3869         inunordered): Rewrite to make sure the arguments are evaluated
3870         exactly once.
3871
3872         * nis/rpcsvc/nis.x: Undo last change.
3873         * nis/rpcsvc/nis.h: Likewise.
3874         * nis/rpcsvc/nislib.h: File moved back to here.
3875
3876         * posix/sys/types.h: Don't define socklen_t.  Pretty print.
3877         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
3878         getsockopt, setsockopt, accept): Change size argument to type
3879         socklen_t.
3880         Pretty print.
3881         * manual/socket.texi: Describe socklen_t and change prototypes of
3882         socket functions to use socklen_t.
3883         * sysdeps/generic/bits/socket.h: Define socklen_t.
3884         (struct msghdr): Correct types to use socklen_t.
3885         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3886         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3887
3888         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
3889         1.0 < x < 8.0.
3890         * stdio-common/tfformat.c: Add new tests for above bug.
3891
3892         * stdlib/strtod.c: Fix typo.
3893
3894         * string/Makefile (headers): Add bits/string.h.
3895         (CFLAGS-*): Add -D__NO_STRING_INLINES.
3896         * string/string.h: Include <bits/string.h> if optimizing and
3897         __NO_STRING_INLINES is not defined.
3898         * sysdeps/stub/bits/string.h: New file.
3899
3900         * sysdeps/powerpc/bits/fenv.h: Fix typos.
3901
3902         * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
3903         if SIOGIFINDEX is not defined.
3904
3905         * sysdeps/wordsize-32/inttypes.h: Pretty print.
3906         * sysdeps/wordsize-64/inttypes.h: Pretty print.
3907
3908         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
3909
3910         * wcsmbs/Makefile (tests): Add tst-wcstof.
3911         * wcsmbs/tst-wcstof.c: New file.
3912
3913 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3914
3915         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
3916         loop, to avoid dragging stdio into the dynamic linker.
3917
3918 1997-08-02 19:44  H.J. Lu  <hjl@gnu.ai.mit.edu>
3919
3920         * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
3921         u_int32_t.
3922
3923 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3924
3925         * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
3926         __getpwuid_r.
3927         Include <stdio.h> to get prototypes of *printf.
3928         (exec_comm): Remove unneeded variable *sh.
3929
3930         * libc.map: Add wordexp, wordfree.
3931
3932         * posix/Makefile (routines): Add wordexp.
3933
3934 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3935
3936         * posix/wordexp.c: Correct typo in comment.
3937         (wordexp): Likewise.
3938
3939         * manual/errno.texi (Error Codes): Fix typo.
3940
3941 1997-08-03 15:28  Ulrich Drepper  <drepper@cygnus.com>
3942
3943         * csu/initfini.c (SECTION): Don't put quotes around section name
3944         since this is not understood by all assemblers.
3945         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3946
3947 1997-08-02 21:27  Ulrich Drepper  <drepper@cygnus.com>
3948
3949         * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
3950         * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
3951         * sysdeps/generic/netinet/inbits.h: Move to...
3952         * sysdeps/generic/bits/in.h: ... here.
3953         * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
3954         * sysdeps/unix/sysv/linux/bits/in.h: ... here.
3955
3956         * nis/Makefile (headers): Add bits/nislib.h.
3957         * nis/rpcsvc/nislib.h: Moved to ....
3958         * nis/bits/nislib.h: ... here.
3959
3960         * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
3961         * nis/nss_compat/compat-pwd.c: Likewise.
3962         * nis/nss_compat/compat-spwd.c: Likewise.
3963         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3964         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3965         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3966         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3967         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
3968         * nis/nss_nisplus/nisplus-ntework.c: Likewise.
3969         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3970         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
3971         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3972         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3973         * nis/nss_nisplus/nisplus-service.c: Likewise.
3974         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3975
3976         * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
3977         * nis/rpcsvc/nis.h: Likewise.
3978
3979         * inet/getnameinfo.c (nrl_domainname): Change return type to const
3980         char *.
3981         (getnameinfo): Change type of local variable c to const char *.
3982
3983         * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
3984         * stdlib/fmtmsg.c: Likewise.
3985
3986         * intl/bindtextdom.c: Update from latest gettext.
3987         * intl/dcgettext.c: Likewise.
3988         * intl/finddomain.c: Likewise.
3989         * intl/l10nflist.c: Likewise.
3990         * intl/localealias.c: Likewise.
3991         * intl/textdomain.c: Likewise.
3992
3993         * login/getutid_r.c: Remove parameter to setutent call.
3994         * login/getutline_r.c: Likewise.
3995
3996         * posix/wordexp.c: Complete rewrite.  Not fully implemented yet,
3997         though.  Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
3998
3999         * stdio-common/printf_fp.c: Remove relative include paths.
4000         * stdio-common/printf_fphex.c: Likewise.
4001
4002         * sysdeps/generic/crypt.h: Cleanup.  Don't define non standard
4003         elements unless __USE_GNU.
4004
4005         * sysdeps/generic/vlimit.c: Pretty print.
4006         * sysdeps/generic/vtimes.c: Likewise.
4007
4008         * sysdeps/i386/elf/bsd-_setjmp.S: New file.  Empty dummy file.
4009         * sysdeps/i386/elf/bsd-setjmp.S: New file.  Empty dummy file.
4010         * sysdeps/i386/elf/setjmp.S: New file.  Define __setjmp and also
4011         weak definitions of setjmp and _setjmp.
4012
4013         * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
4014
4015         * sysdeps/stub/if_index.h: Set errno in all functions and add
4016         stub warnings.
4017
4018         * sysdeps/stub/libc-lock.h: Add __libc_once.
4019
4020 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
4021
4022         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
4023         case since the __syscall_ptrace call already did this.
4024         Reported by Philip Gladstone <philip@talon.raptor.com>.
4025
4026 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4027
4028         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
4029         <gnu/types.h> to <sys/types.h>.
4030
4031 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
4032
4033         * csu/defs.awk: Fix regexp for end and align.
4034         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4035
4036         * locale/programs/locale.c (print_escaped): New function.
4037         (show_info): Use print_escaped if strings can control unprintable
4038         characters.
4039         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
4040
4041 1997-08-01 18:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4042
4043         * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
4044         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4045
4046 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4047
4048         * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
4049         instead of fprintf.
4050
4051 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4052
4053         * manual/socket.texi (Host Address Functions): Fix arguments of
4054         @deftypefun.
4055
4056 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4057
4058         * elf/dl-runtime.c: Avoid warning about profile_fixup being
4059         unused.
4060
4061         * sysdeps/m68k/dl-machine.h: Add support for shared library
4062         profiling.
4063
4064 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4065
4066         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
4067         dependencies.
4068
4069 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4070
4071         * Make-dist (subdirs): Distribute both aout and elf.
4072
4073 1997-07-31 23:04  Mark Kettenis  <kettenis@phys.uva.nl>
4074
4075         * login/utmp-private.h: Remove reset argument from backend
4076         setutent.
4077         * login/getutent_r.c (__setutent): Allways call the setutent
4078         function in the daemon backend.
4079         (setutent_unknown): Function removed.
4080         (getutent_unknown, pututline_unknown): Call __setutent instead of
4081         setutent_unknown.
4082         * login/utmp_file.c (setutent_file): Removed reset argument.  All
4083         callers changed.
4084         * login/utmp_daemon.c (setutent_daemon): Removed reset
4085         argument.  All callers changed.  Try to open connection even if a
4086         previous connection failed, but first check if the sockets exist
4087         in the filesystem.
4088
4089         * login/utmp_daemon.c (pututline_daemon): Try to open connection
4090         before reporting failure.
4091
4092         * login/programs/database.c (open_database): Create compatibility
4093         file if it does not already exist.  Supply mode argument in open
4094         calls to guarantee that created files have the proper protection.
4095
4096         * login/programs/utmpd.c (main): Remove files created by a
4097         previous `bind' before creating sockets.
4098         Suggested by a sun <asum@zoology.washington.edu>.
4099
4100 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4101
4102         * math/libm-test.c: Remove unneeded function check_int_exec.
4103
4104         * BUGS: Correct typos.
4105
4106         * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
4107
4108 1997-07-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4109
4110         * manual/socket.texi (Host Address Functions): Reformat inet_ntop
4111         entry to confirm with expected behaviour of some scripts.
4112
4113         * libc.map: Add functions/variables in global namespace,
4114         remove wildcards.
4115
4116 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4117
4118         * resolv/libresolv.map: Add variables and routines used by named,
4119         nslookup and other bind utils.
4120         * libc.map: Likewise.
4121
4122 1997-07-31 00:35  Philip Blundell  <Philip.Blundell@pobox.com>
4123
4124         * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
4125         filesystem.
4126         * inet/test_ifindex.c: New file.
4127         * inet/Makefile (tests): Add test_ifindex.
4128
4129 1997-08-01 04:25  Ulrich Drepper  <drepper@cygnus.com>
4130
4131         * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
4132         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
4133
4134         * manual/errno.texi: Fix typo.
4135         Reported by Erik Talvola <etalvo@sapient.com>.
4136
4137 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
4138
4139         * csu/gmon-start.c (__gmon_start__): Call __monstartup not
4140         monstartup.
4141         * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
4142         to __monstartup.
4143         * gmon/sys/gmon.h: Fix prototypes.
4144         * gmon/sys/gmon_out.h: Pretty print.
4145
4146         * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
4147         * gmon/gmon.c (__monstartup): Likewise.
4148         (write_hist): Remove dependency on 32 bit int.
4149         (_mcleanup): Don't call perror, use fprintf.
4150
4151         * elf/dl-load.c: Fix handling of current directory in search path.
4152
4153         * elf/Makefile (dl-routines): Add dl-profile.
4154         * elf/dl-profile.c: New file.
4155         * elf/dl-runtime.c (fixup): Add new parameter with address to store
4156         relocation result in to elf_machine_relplt.
4157         (profile_fixup): New function.
4158         * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
4159         to store relocation result in to elf_machine_relplt.
4160         * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
4161         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
4162         call elf_machine_runtime_setup with extra argument.
4163         * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
4164         ELF_DYNAMIC_RELOCATE.
4165         * elf/link.h: Add prototypes for new functions and variables.
4166         * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
4167         variables and call _dl_start_profile if necessary.
4168         * include/sys/gmon_out.h: New file.
4169         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
4170         new parameter to enable profiling.
4171         (elf_machine_rela): Add new parameter to specify place to store
4172         result in.
4173         * sysdeps/m68k/dl-machine.h: Likewise.
4174         * sysdeps/mips/dl-machine.h: Likewise.
4175         * sysdeps/mips/mips64/dl-machine.h: Likewise.
4176         * sysdeps/powerpc/dl-machine.h: Likewise.
4177         * sysdeps/sparc/dl-machine.h: Likewise.
4178         * sysdeps/sparc64/dl-machine.h: Likewise.
4179         * sysdeps/i386/dl-machine.h: Likewise.
4180         (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
4181         we do profiling.
4182         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
4183
4184         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
4185         for stream on input file.
4186         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
4187         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
4188         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
4189         * nss/nss_db/db-alias.c (internal_setent): Likewise.
4190         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
4191         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
4192         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4193         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
4194
4195         * string/string.h: Pretty print.
4196
4197         * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
4198         Add float and long double versions.
4199
4200 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4201
4202         * elf/rtld.c (print_unresolved): Replace empty object name by main
4203         program name.
4204
4205 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4206
4207         * sysdeps/generic/htons.c (htons): Renamed from __htons.
4208
4209 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4210
4211         * sysdeps/m68k/bits/byteswap.h: New file.
4212
4213 1997-07-27 23:50  Philip Blundell  <Philip.Blundell@pobox.com>
4214
4215         * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
4216         advanced API.
4217         * inet/netinet/in.h: Likewise.
4218         * inet/netinet/ip6.h: Likewise.
4219         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4220         * posix/sys/types.h: Add socklen_t.
4221
4222         * manual/socket.texi: Document some more IPv6 things.
4223         * manual/libc.texinfo: Likewise.
4224
4225 1997-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4226
4227         * libc.map: Define missing symbol.
4228
4229 1997-07-27 14:31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4230
4231         * nis/Makefile: Add nis_findserv.
4232         * nis/lckcache.c: Fix typo.
4233         * nis/nis_call.c: Fix problems with multihomed servers.
4234         * nis/nis_findserv.c: New file.
4235         * nis/nis_intern.h: Add more prototypes.
4236         * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
4237         is unreachable.
4238         * nis/nis_table.c (nis_list): Likewise.
4239         * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
4240         in error case.
4241         * nis/nis_util.c (__nis_finddirectory): Give the right error code
4242         back.
4243         * nis/ypclnt.c: Make sure, that all sockets are closed.
4244
4245 1997-07-26 04:14  Ulrich Drepper  <drepper@cygnus.com>
4246
4247         * elf/Makefile (distribute): Add genrtldtbl.awk.
4248         (before-compile): Add rtldtbl.h.
4249         (GAWK): New variable.
4250         (generated): Add trusted-dirs.h and rtldtbl.h.
4251         ($(objpfx)rtldtbl.h): New rule.  File is needed by dl-load.c.
4252         * elf/dl-load.c: Rewrite.  Now use cache and look for shared
4253         objects in machine dependent directories.
4254         * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
4255         * elf/dl-support.c: Rename function to non_dynamic_init and add
4256         initialization for _dl_platform, _dl_platformlen, _dl_pagesize
4257         and call to initializer for search path.
4258         * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
4259         * elf/genrtldtbl.awk: New file.
4260         * elf/link.h: Add type definitions and declarations for search
4261         path cache.
4262         * elf/rtld.c: Add definitions of variables used for search path cache.
4263         * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
4264         _dl_platform.  Initialize _dl_pagesize early and use this value.
4265         * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
4266         * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
4267         * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
4268         of calling getpagesize.
4269
4270         * elf/dl-error.c (_dl_signal_error): Make message nicer.
4271
4272         * nss/libnss_files.map: Fix typo.
4273         Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
4274
4275         * sysdeps/generic/strsep.c: Optimize case where separator set contains
4276         only one character.
4277
4278         * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
4279         == +-Inf.
4280         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
4281         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
4282
4283 1997-07-25 09:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
4284
4285         * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
4286         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
4287         * sysdeps/unix/mips/sysdep.S: Likewise.
4288         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4289
4290         * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
4291         * sysdeps/mips/bsd-setjmp.S: Likewise.
4292
4293         * sysdeps/mips/dl-machine.h: Remove extra stuff.
4294         * sysdeps/mips/mips64/dl-machine.h: Likewise.
4295
4296 1997-07-25 18:55  Philip Blundell  <Philip.Blundell@pobox.com>
4297
4298         * sysdeps/standalone/arm/sysdep.c: New file.
4299
4300 1997-07-25 13:25  Philip Blundell  <Philip.Blundell@pobox.com>
4301
4302         * aout/Makefile: New file.
4303         * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
4304
4305         * sysdeps/generic/machine-gmon.h: Add warning about limitations of
4306         __builtin_return_address().
4307         * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
4308         above problem.
4309
4310 1997-07-25 16:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
4311
4312         * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
4313
4314 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4315
4316         * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
4317         tests.
4318
4319 1997-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4320
4321         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
4322         not shadow the variable in the outer scope.
4323
4324 1997-07-24 03:14  Ulrich Drepper  <drepper@cygnus.com>
4325
4326         * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
4327
4328         * inet/Makefile (tests): Add htontest.
4329         * inet/htontest.c: New file.
4330
4331         * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
4332         when they are no noops.
4333         * sysdeps/alpha/htonl.S: Don't define __ protected names.
4334         * sysdeps/alpha/htons.S: Likewise.
4335         * sysdeps/generic/htonl.c: Likewise.
4336         * sysdeps/generic/htons.c: Likewise.
4337         * sysdeps/i386/htonl.S: Likewise.
4338         * sysdeps/i386/htons.S: Likewise.
4339         * sysdeps/i386/i486/htonl.S: Likewise.
4340         * sysdeps/vax/htonl.s: Likewise.
4341         * sysdeps/vax/htons.s: Likewise.
4342
4343         * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
4344         * string/byteswap.h: New file.
4345         * sysdeps/generic/bits/byteswap.h: New file.
4346         * sysdeps/i386/bits/byteswap.h: New file.
4347         * sysdeps/generic/bits/htontoh.h: Removed.
4348         * sysdeps/i386/bits/htontoh.h: Removed.
4349
4350         * misc/search.h: General cleanup.  Don't define reentrant hsearch
4351         functions uless __USE_GNU.
4352
4353         * nss/nsswitch.c: Pretty print.
4354
4355         * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
4356         warning.
4357
4358         * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
4359         been fixed meanwhile.
4360         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4361
4362 1997-07-24 00:53  Philip Blundell  <Philip.Blundell@pobox.com>
4363
4364         * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
4365         exists for this port.
4366
4367 1997-07-24 00:12  Philip Blundell  <Philip.Blundell@pobox.com>
4368
4369         * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
4370
4371 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4372
4373         * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
4374         to format a proper minus sign.
4375
4376 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4377
4378         * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
4379         specially, the standard doesn't require it.
4380
4381         * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
4382         if non-zero then don't test inexact flag.  Callers changed.
4383         (set_single_exc): Ignore inexact flag if underflow or overflow
4384         exception is raised.
4385
4386 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
4387
4388         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
4389         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
4390         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
4391         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
4392
4393 1997-07-16 10:09  Fila Kolodny  <fila@ibi.com>
4394
4395         * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
4396         and 1035 state that a fully qualified domain name cannot exceed 255
4397         octets in length.
4398         * resolv/nss_dns/dns-host.c: Likewise.
4399
4400 1997-07-22 09:54  H.J. Lu   <hjl@gnu.ai.mit.edu>
4401
4402         * inet/netinet/in.h (htons): Fix typos.
4403
4404         * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
4405
4406 1997-07-22 11:47  Ulrich Drepper  <drepper@cygnus.com>
4407
4408         * nss/nsswitch.c (nss_lookup_function): Include function.def, not
4409         functions.def.
4410         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4411
4412 1997-07-22 01:35  Ulrich Drepper  <drepper@cygnus.com>
4413
4414         * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
4415         that optimizing is also selected for dependency generation.
4416
4417         * configure.in: Add machine description for TI c[34]x.
4418
4419         * inet/Makefile (routines): Remove ntohl and ntohs.
4420         * inet/netinet/in.h: Use optimized version of hton? and ntoh?
4421         for little endian machines.
4422         * sysdeps/alpha/ntohl.s: Removed.
4423         * sysdeps/alpha/ntohs.s: Removed.
4424         * sysdeps/generic/ntohl.c: Removed.
4425         * sysdeps/generic/ntohs.c: Removed.
4426         * sysdeps/generic/htonl.c: Add aliases for ntohl.
4427         * sysdeps/vax/htonl.s: Likewise.
4428         * sysdeps/generic/htons.c: Add aliases for ntohs.
4429         * sysdeps/vax/htons.s: Likewise.
4430         * sysdeps/vax/ntohl.s: Removed.
4431         * sysdeps/vax/ntohs.s: Removed.
4432         * sysdeps/generic/bits/htontoh.h: New file.
4433         * sysdeps/i386/htonl.S: New file.
4434         * sysdeps/i386/htons.S: New file.
4435         * sysdeps/i386/i486/htonl.S: New file.
4436
4437         * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
4438         macros.
4439
4440         * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
4441         * sysdeps/mips/mips64/dl-machine.h: New file.
4442
4443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
4444         syscall-list.h.
4445
4446 1997-07-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4447
4448         * libc.map: Add missing symbol _obstack.
4449
4450 1997-07-14 08:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
4451
4452         * sysdeps/mips/rtld-parms: New.
4453
4454         * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
4455         * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
4456
4457         * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
4458         * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
4459
4460         * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
4461
4462 1997-07-17 08:39  H.J. Lu  <hjl@gnu.ai.mit.edu>
4463
4464         * sysdeps/mips/dl-machine.h: Remove extra stuff.
4465
4466 1997-07-06 07:18  Geoff Keating  <geoffk@ozemail.com.au>
4467         * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
4468
4469         * stdlib/grouping.h: Suppress gcc warning about testing
4470         unsigned char for less-than-zero.
4471         * stdio-common/printf_fp.c: Likewise.
4472         * stdio-common/vfprintf.c: Likewise.
4473
4474         * sysdeps/powerpc/add_n.s: New file.
4475         * sysdeps/powerpc/sub_n.s: New file.
4476         * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
4477         * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
4478         * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
4479         * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
4480         * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
4481
4482         * math/libm-test.c (cos_test, sin_test, sincos_test): Use
4483         precomputed pi/6 rather than having gcc calculate it, otherwise
4484         tests give inaccurate result due to inaccurate input.
4485         * math/libm.map: Add __fe_*_env constants to list of exported
4486         symbols.
4487
4488         * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
4489         * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
4490         * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
4491         round-to-nearest value.
4492
4493         * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
4494         * sysdeps/libm-ieee754/e_log10.c: Likewise.
4495         * sysdeps/libm-ieee754/e_log10f.c: Likewise.
4496         * sysdeps/libm-ieee754/e_logf.c: Likewise.
4497         * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
4498         * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
4499         * sysdeps/libm-ieee754/s_log2.c: Likewise.
4500         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4501
4502 1997-07-15 21:54  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4503
4504         * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
4505         and memory leaks.
4506         * nis/nss_compat/compat-pwd.c: Likewise.
4507         * nis/nss_compat/compat-spwd.c: Likewise.
4508         * nis/nss_nis/nis-alias.c: Likewise.
4509         * nis/nss_nis/nis-ethers.c: Likewise.
4510         * nis/nss_nis/nis-grp.c: Likewise.
4511         * nis/nss_nis/nis-hosts.c: Likewise.
4512         * nis/nss_nis/nis-network.c: Likewise.
4513         * nis/nss_nis/nis-proto.c: Likewise.
4514         * nis/nss_nis/nis-pwd.c: Likewise.
4515         * nis/nss_nis/nis-rpc.c: Likewise.
4516         * nis/nss_nis/nis-service.c: Likewise.
4517         * nis/nss_nis/nis-spwd.c: Likewise.
4518         * nis/nss_nisplus-alias.c: Likewise.
4519         * nis/nss_nisplus-ethers.c: Likewise.
4520         * nis/nss_nisplus-grp.c: Likewise.
4521         * nis/nss_nisplus-hosts.c: Likewise.
4522         * nis/nss_nisplus-netgrp.c: Likewise.
4523         * nis/nss_nisplus-network.c: Likewise.
4524         * nis/nss_nisplus-proto.c: Likewise.
4525         * nis/nss_nisplus-pwd.c: Likewise.
4526         * nis/nss_nisplus-rpc.c: Likewise.
4527         * nis/nss_nisplus-service.c: Likewise.
4528         * nis/nss_nisplus-spwd.c: Likewise.
4529
4530         * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
4531
4532 1997-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4533
4534         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
4535         name in warning message.
4536         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
4537         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
4538         * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4539
4540         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
4541         first.
4542
4543 1997-07-20 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4544
4545         * libc.map: Add _null_auth and _seterr_reply.
4546
4547         * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
4548
4549 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
4550
4551         * time/africa: Update from tzdata1997g.
4552         * time/asia: Likewise.
4553         * time/australasia: Likewise.
4554         * time/europe: Likewise.
4555         * time/iso3166.tab: Likewise.
4556         * time/zone.tab: Likewise.
4557         * time/private.h: Update from tzcode1997f.
4558         * time/scheck.c: Likewise.
4559
4560         * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
4561
4562         * math/math.h: Correct comments.  Include <bits/mathinline.h>
4563         always when optimizing.
4564
4565 1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>
4566
4567         * time/getdate.c (__getdate_r):
4568         Report failure if string was not completely parsed.
4569         (getdate): Set getdate_err on failure.
4570
4571 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4572
4573         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
4574         Synchronize with malloc/obstack.c.
4575
4576 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
4577
4578         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
4579         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
4580         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
4581
4582 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
4583
4584         * manual/Makefile (INSTALL_INFO): Introduce variable to override
4585         path to install-info for systems like Debian that have an
4586         install-info with a different command line interface from the
4587         canonical GNU texinfo version.
4588
4589 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4590
4591         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
4592         * posix/unistd.h: Likewise.
4593         * sysdeps/stub/ttyname_r.c: Likewise.
4594
4595 1997-07-14 23:37  Ulrich Drepper  <drepper@cygnus.com>
4596
4597         * inet/getnameinfo.c: Pretty print.
4598         Correctly enlarge buffers.
4599
4600         * login/programs/utmpd.c: Use _() instead of gettext().
4601
4602         * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
4603         * nis/nss_nisplus/nisplus-network.c: Likewise.
4604         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4605         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4606         * nis/nss_nisplus/nisplus-service.c: Likewise.
4607
4608         * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
4609         __OPTIMIZE__.
4610         * sysdeps/powerpc/bits/mathinline.h: Likewise.
4611         * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
4612         function always.
4613         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4614         * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
4615         it should look like in real files.
4616
4617         * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
4618         prevent prototype trouble, use simple loop.
4619         * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
4620
4621         * sysdeps/mips/mips64/Implies: Imply ieee754.
4622
4623         * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
4624         installed.
4625         * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
4626
4627 1997-07-14 00:25  Ulrich Drepper  <drepper@cygnus.com>
4628
4629         * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
4630         * sysdeps/standalone/bits/stdio_lim.h: Removed.
4631         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4632
4633 1997-06-22  Paul Eggert  <eggert@twinsun.com>
4634
4635         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
4636
4637         * time/tzfile.c (__tzstring): New decl.
4638         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
4639         (__tzfile_default): First two args are now const char *.
4640
4641         * time/tzset.c (__tzstring): New function.
4642         (tz_rule): Name is now const char *.
4643         (struct tzstring_head): New type.
4644         (tzstring_list, tzstring_last_buffer_size): New static vars.
4645         (__tzset_internal): Time zone names are now permanent, not temporary.
4646
4647 1997-07-13 01:18  Ulrich Drepper  <drepper@cygnus.com>
4648
4649         * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
4650
4651         * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
4652         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4653         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4654         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4655
4656         * time/Makefile (routines): Add getdate.
4657         * time/time.h: Add prototype for getdate and getdate_r.
4658         * time/getdate.c: New file.
4659         Provided by Mark Kettenis <kettenis@phys.uva.nl>.
4660
4661 1997-06-30 14:49  H.J. Lu  <hjl@gnu.ai.mit.edu>
4662
4663         From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
4664         Sat Jun 21 18:11:21 1997:
4665
4666         * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
4667         (swapoff): New.
4668
4669         * elf/Makefile: Add linker script support.
4670         (headers): Add bits/dlfcn.h.
4671
4672         * elf/dl-load.c (MAP_BASE_ADDR): New.
4673
4674         * elf/dlfcn.h: Include <bits/dlfcn.h>.
4675
4676         * elf/elf.h: Add MIPS support.
4677
4678         * sysdeps/generic/Dist: Add entry.h.
4679         * sysdeps/generic/entry.h: New, define the entry symbol.
4680
4681         * elf/rtld.c (_start): Include <entry.h>.  Change to ENTRY_POINT.
4682         * sysdeps/generic/dl-sysdep.c (_start): Likewise.
4683         * mips/elf/start.S (_start): Likewise.
4684
4685         * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
4686         * sysdeps/mips/bsd-setjmp.S: Likewise.
4687         * sysdeps/mips/setjmp.S: Likewise.
4688         * mips/elf/start.S: Likewise.
4689         * sysdeps/unix/mips/brk.S: Likewise.
4690         * sysdeps/unix/mips/sysdep.S: Likewise.
4691         * sysdeps/unix/mips/sysdep.h: Likewise.
4692         * sysdeps/unix/mips/wait.S: Likewise.
4693
4694         * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
4695         * sysdeps/mips/fpu_control.h: Likewise.
4696
4697         * sysdeps/generic/bits/dlfcn.h: New file.
4698
4699         * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
4700         * sysdeps/mips/rtld-parms: Likewise.
4701         * sysdeps/mips/bits/dlfcn.h: Likewise.
4702         * sysdeps/mips/mips64/rtld-parms: Likewise.
4703         * sysdeps/mips/mipsel/rtld-parms: Likewise.
4704         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4705         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4706         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4707         * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
4708         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
4709         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
4710         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
4711         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
4712         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
4713         * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
4714         * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
4715         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
4716         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4717         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4718         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4719         * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
4720         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4721         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4722         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
4723         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4724         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4725         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4726         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
4727         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4728         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4729         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4730         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4731         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4732         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
4733         * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
4734         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
4735         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
4736         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4737         * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
4738         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
4739         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
4740
4741 1997-04-09 19:05  H.J. Lu (hjl@gnu.ai.mit.edu)
4742
4743         * isomac.c (xstrndup): New, use it instead of strndup ().
4744
4745 1997-07-02 08:55  H.J. Lu  <hjl@gnu.ai.mit.edu>
4746
4747         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
4748         the program name for different sizes.
4749
4750 1997-07-10 15:47  Fila Kolodny  <fila@ibi.com>
4751
4752         * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
4753         Add include of rpcsvc/nis.h.
4754         * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
4755         * sysdeps/posix/getaddrinfo.c: Likewise.
4756         Change size of variable buffer to be big enough to hold an IPv6
4757         address in printable format.
4758
4759 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
4760
4761         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
4762         and && in tests to allow use in C++ code which overloads these
4763         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
4764
4765         * configure.in: Move mips64* recognition before mips*.
4766         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4767
4768 1997-07-03 20:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4769
4770         * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
4771         automatic variables in dependency lists.
4772         (build-shlib): Always filter out the version script file.
4773         * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
4774
4775 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
4776
4777         * login/login.c (tty_name): Test return value of ttyname_r for !=
4778         0, not < 0.
4779         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
4780         0, not >= 0.
4781         * sysdeps/unix/getlogin.c (getlogin): Test return value of
4782         ttyname_r for != 0.
4783         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4784
4785 1997-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4786
4787         * login/utmp_file.c (getutline_r_file): Fix type: compare with
4788         *result.
4789
4790 1997-07-11 00:21  Mark Kettenis  <kettenis@phys.uva.nl>
4791
4792         * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
4793
4794 1997-07-09 19:21  Mark Kettenis  <kettenis@phys.uva.nl>
4795
4796         * login/programs/utmpd.c, login/programs/database.c,
4797         login/programs/request.c: Prepare messages for
4798         internationalization.
4799
4800         * login/programs/utmpd.c:
4801         (main): Change handling of errors in opening the database.
4802         * login/programs/database.c:
4803         (open_database, synchronize_database, initialize_database):
4804         Properly handle errors.
4805         (get_mtime): Use fstat instead of stat.  All callers changed.
4806
4807         * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
4808         * login/getutent.c: Rename getutent to __getutent and make
4809         getutent a weak alias.
4810         Make getutxent a weak alias for __getutent.
4811         * login/utmpx.h: New file.
4812         * sysdeps/gnu/bits/utmp.h: Cleanup.  Added comments.
4813         * sysdeps/gnu/bits/utmpx.h: New file.
4814
4815 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
4816
4817         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
4818         one.
4819
4820         * signal/sigandset.c: Include stddef.h to get NULL defined.
4821         * signal/sigisempty.c: Likewise.
4822         * signal/sigorset.c: Likewise.
4823         * sysdeps/stub/if_index.h: Likewise.
4824         * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
4825         * wcsmbs/wcstof_l.c: Likewise.
4826         * wcsmbs/wcstol_l.c: Likewise.
4827         * wcsmbs/wcstold_l.c: Likewise.
4828         * wcsmbs/wcstoll_l.c: Likewise.
4829         * wcsmbs/wcstoul_l.c: Likewise.
4830         * wcsmbs/wcstoull_l.c: Likewise.
4831         Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
4832
4833         * stdio-common/snprintf.c: Use ISO C function definition form.
4834
4835         * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
4836         __libc_setspecific as empty macros since they are used as
4837         function with return value.
4838         Reported by Andreas Jaeger.
4839
4840         * stdio-common/strops.c: Partialy undo last change.  Will need
4841         more investigation.
4842
4843 1997-07-10  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
4844
4845         * sysdeps/mach/hurd/select.c (__select): Need bit count for
4846         MACH_MSG_TYPE_INTEGER_T.
4847
4848 1997-07-08 10:12  Fila Kolodny  <fila@ibi.com>
4849
4850         * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
4851         * sysdeps/mvs/Implies: Likewise.
4852
4853 1997-07-09 23:06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4854
4855         * nis/Makefile: Add new source files.
4856
4857         * nis/nis_intern.h: Add new internal functions.
4858         * nis/rpcsvc/nislib.h: Likewise.
4859
4860         * nis/lckcache.c: New.
4861         * nis/nis_cache.c: New, dummy functions in the moment.
4862         * nis/nis_util.c: New.
4863         * nis/nisplus-parser.h: New.
4864         * nis/nss_nisplus/nisplus-parser.c: New.
4865         * nis/rpcsvc/nis_cache.h: New.
4866         * nis/rpcsvc/nis_cache.x: New.
4867
4868         * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
4869         * nis/nss_compat/compat-pwd.c: Likewise.
4870         * nis/nss_compat/compat-spwd.c: Likewise.
4871         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4872         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4873         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4874         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4875         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4876         * nis/nss_nisplus/nisplus-network.c: Likewise.
4877         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4878         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4879         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4880         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4881         * nis/nss_nisplus/nisplus-service.c: Likewise.
4882         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4883
4884         * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
4885
4886         * nis/nis_intern.c: Removed.
4887
4888         * nis/nis_call.c: Complete rewrite.
4889         * nis/nis_lookup.c: Likewise.
4890         * nis/nis_table.c: Likewise.
4891
4892         * nis/libnsl.map: Add missing symbols.
4893
4894         * nis/nis_print.c: Fix nis_print_link.
4895         * nis/nis_subr.c: Fix nis_getnames.
4896
4897 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
4898
4899         * posix/execvp.c (execvp): Handle ESTALE.
4900
4901 1997-07-10 13:54  Ulrich Drepper  <drepper@cygnus.com>
4902
4903         * posix/regex.c: Make CHAR_SET_SIZE definition always available,
4904         even if SYNTAX_TABLE is defined.
4905         Patch by Akim Demaille <demaille@inf.enst.fr>.
4906
4907 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
4908
4909         * libio/fileops.c (_IO_file_underflow): Adjust pointers
4910         before calling _IO_SYSREAD ().
4911
4912 1997-07-07 22:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4913
4914         * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
4915         (sysdep.h does the same job).
4916         * sysdeps/sparc/alloca.S: Likewise.
4917         * sysdeps/sparc/dotmul.S: Likewise.
4918         * sysdeps/sparc/udiv_qrnnd.S: Likewise.
4919
4920         * sysdeps/sparc/rem.S: Regenerated.
4921         * sysdeps/sparc/sdiv.S: Regenerated.
4922         * sysdeps/sparc/udiv.S: Regenerated.
4923         * sysdeps/sparc/urem.S: Regenerated.
4924
4925         * sysdeps/sparc/DEFS.h: Removed.
4926         * sysdeps/sparc/elf/DEFS.h: Removed.
4927         * sysdeps/sparc/Dist: Don't distribute DEFS.h.
4928
4929         * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
4930         directive #ifdef HAVE_ELF.  Minor format changes.
4931
4932         * sysdeps/alpha/DEFS.h: Removed.
4933         * sysdeps/alpha/Dist: Don't distribute DEFS.h.
4934
4935 1997-07-07 19:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
4936
4937         * math/test-fenv.c (feenv_nomask_test): Move
4938         fesetenv (FE_NOMASK_ENV) after fork () to work with
4939         SMP.
4940
4941         * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
4942
4943 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4944
4945         * libc.map: Add _IO_peekc_locked.
4946
4947 1997-07-07 15:45  Fila Kolodny  <fila@ibi.com>
4948
4949         * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
4950
4951 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4952
4953         * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
4954         right position.
4955         * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
4956
4957 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
4958
4959         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
4960         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
4961
4962 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
4963
4964         * io/lockf.c (lockf): Clear fl before using.
4965         Patch by sr@adb.fr.
4966
4967         * libio/strops.c: Correctly handle _IO_write_end.
4968
4969         * nss/libnss_files.map: Add __nss_netgroup_parseline.
4970         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
4971         panic if setnetgrent wasn't called before, return error.
4972         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
4973
4974         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
4975         if locally defined.
4976         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
4977         if locally defined.
4978         Define tm_diff function as ftime_tm_diff if locally defined.
4979         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
4980
4981 1997-07-06 23:36  Ulrich Drepper  <drepper@cygnus.com>
4982
4983         * isomac.c (get_null_defines): Put NULL at end of list.
4984
4985         * hurd/Makefile: Remove special handling of sunrpc code.
4986         * sysdeps/mach/hurd/Makefile: Likewise.
4987         Compile CThreads code.
4988         * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
4989         * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
4990         functions.
4991         * sysdeps/stub/bits/libc-lock.h: Likewise.
4992         * sysdeps/mach/hurd/net/ethernet.h: New file.
4993         * sysdeps/mach/hurd/net/if.h: New file.
4994         * sysdeps/mach/hurd/net/if_arp.h: New file.
4995         * sysdeps/mach/hurd/net/if_ether.h: New file.
4996         * sysdeps/mach/hurd/net/if_ppp.h: New file.
4997         * sysdeps/mach/hurd/net/route.h: New file.
4998         Patches by  Fila Kolodny <fila@ibi.com>.
4999
5000         * math/fenv-test.c: Add more tests.
5001         Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5002
5003         * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
5004         INTFAST_MAX, and UINTFAST_MAX.
5005         * sysdeps/wordsize-64/inttypes.h: Likewise.
5006         Correct intmax_t definition.
5007
5008 1997-07-04 15:33  H.J. Lu  <hjl@gnu.ai.mit.edu>
5009
5010         * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
5011
5012 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
5013
5014         * libc.map: Add missing symbol.
5015
5016 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
5017
5018         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
5019         in cc1.  Cpp in gcc doesn't do it.
5020
5021 1997-07-01 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5022
5023         * libio/libioP.h: Remove second definition of _IO_file_attach.
5024
5025         * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
5026
5027         * sysdeps/sparc64/elf/start.S (_start): Update and reformat
5028         copyright.
5029         * manual/summary.awk: Likewise.
5030         * misc/bits/stab.def: Likewise.
5031         * posix/glob/Makefile.ami: Likewise.
5032         * posix/glob/Makefile.in: Likewise.
5033         * posix/glob/SMakefile: Likewise.
5034         * sysdeps/gnu/errlist.awk: Likewise.
5035         * sysdeps/mach/hurd/errnos.awk: Likewise.
5036         * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
5037         * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
5038         * sysdeps/unix/snarf-ioctls: Likewise.
5039         * sysdeps/vax/setjmp.c: Likewise.
5040
5041 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
5042
5043         * login/login.c (tty_name): Use newly allocated buffer.
5044         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
5045
5046         * time/asctime.c: Never translate week and month name according
5047         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
5048
5049 1997-07-03 22:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5050
5051         * locale/setlocale.c (setname): Do nothing when reusing the same
5052         name.
5053
5054 1997-07-03 20:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5055
5056         * libc.map: Add global variables of malloc.
5057
5058 1997-07-03 13:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5059
5060         * elf/dl-version.c (find_needed): Look for needed objects also in
5061         the dependency list of the current object.  Added new parameter to
5062         find its link map, caller changed.
5063
5064 1997-07-03 12:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5065
5066         * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
5067         FE_UNDERFLOW cases.
5068
5069 1997-07-01 13:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5070
5071         * elf/link.h: Remove final comma from enumerator list, forbidden
5072         by ISO C.  Use __inline instead of inline.
5073
5074 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
5075
5076         * hurd/hurdsig.c: Include <hurd/id.h>.
5077         (reauth_proc): Call proc_setowner appropriately too.
5078
5079 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
5080
5081         * libc.map: Add missing symbol.
5082
5083 1997-06-30 12:12  Fila Kolodny  <fila@ibi.com>
5084
5085         * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
5086         * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
5087         declaration of addr.
5088
5089 1997-06-29 17:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5090
5091         * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
5092         it work in TeX.
5093
5094 1997-06-27 21:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5095
5096         * Makeconfig (+includes): Add include directory to include path.
5097         * configure.in (sysnames): Don't add it here.
5098         * Makefile (subdir-dirs): Define and add it to vpath for headers.
5099         * Make-dist (all-headers): Look in include directory for
5100         indirection headers.  Filter out header names pointing outside the
5101         source directory.
5102
5103         * Makefile (distribute): Remove ansidecl.h, add libc.map.
5104         * Make-dist (+tsrcs): Add version scripts for extra libraries.
5105         * Makerules (distinfo-vars): Add %-map for extra libraries.
5106
5107         * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
5108         to kernel_termios.h.
5109         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
5110         termbits.h and sys/kernel_termios.h.
5111         * sysdeps/mips/mips64/Dist: New file.
5112         * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
5113
5114 1997-06-29 23:03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5115
5116         * math/test-fenv.c (feenv_nomask_test): New test for non masked
5117         exceptions.
5118         (feenv_mask_test): New test for masked exceptions
5119         (feenv_tests): New function calls feenv_nomask_test and
5120         feenv_mask_test.
5121         (main): Call new tests.
5122         (initial_tests): New test for initilisation.
5123
5124 1997-06-29 23:43  Ulrich Drepper  <drepper@cygnus.com>
5125
5126         * config.make.in: Define need-nopic-initfini.
5127         * configure.in: Write out nopic_initfini.
5128         * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
5129         is defined.
5130
5131         * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
5132
5133         * sysdeps/sparc/rem.S: Get trap definition properly.
5134         * sysdeps/sparc/sdiv.S: Likewise.
5135         * sysdeps/sparc/udiv.S: Likewise.
5136         * sysdeps/sparc/urem.S: Likewise.
5137         * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
5138         * sysdeps/sparc/sys/trap.h: New file.
5139         * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
5140
5141 1997-06-25 10:26  Thorsten Kukuk  <kukuk@uni-paderborn.de>
5142
5143         * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
5144
5145 1997-06-29 10:34  Fila Kolodny  <fila@ibi.com>
5146
5147         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
5148         to MACH_MSG_TYPE_INTEGER_T.
5149
5150 1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>
5151
5152         Initial sparc64-linux support:
5153         * configure.in: Recognize sparc64 as being different from sparc.
5154         * io/ftwtest-sh: Only invoke ld.so if it exists.
5155         * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
5156         static tests to link.  Honour $(omit-long-double-fcts) == yes.
5157         * math/libm-test.c (test_single_exception): The argument to
5158         fetestexcept is `int' not `fexcept_t'.
5159         * shlib-versions: Recognize sparc64.
5160         * signal/signal.h: Add typedef for stack_t.
5161
5162         * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
5163         Attempt to fix up most of this by cleaning up assumptions below,
5164         but give up and change the defaults.
5165
5166         * setjmp/longjmp.c: Moved to ...
5167         * sysdeps/generic/longjmp.c: ... here.
5168         * setjmp/sigjmp.c: Moved to ...
5169         * sysdeps/generic/sigjmp.c: ... here.
5170
5171         * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
5172         Ought to fix up gas to catch these silly things properly.
5173         * sysdeps/sparc/bsd-setjmp.S: Likewise.
5174
5175         * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
5176         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
5177         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
5178         the unused fields.
5179
5180         * sysdeps/sparc/sparc64/add_n.s: Moved to ...
5181         * sysdeps/sparc64/add_n.S: ... here.  Fix up %g4 and stack usage.
5182         * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
5183         * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
5184         * sysdeps/sparc/sparc64/lshift.s: Likewise.
5185         * sysdeps/sparc/sparc64/mul_1.s: Likewise.
5186         * sysdeps/sparc/sparc64/rshift.s: Likewise.
5187         * sysdeps/sparc/sparc64/sub_n.s: Likewise.
5188         * sysdeps/sparc/sparc64/submul_1.s: Likewise.
5189
5190         * sysdeps/sparc64/Implies: New file.
5191         * sysdeps/sparc64/Makefile: Likewise.
5192         * sysdeps/sparc64/bits/endian.h: Likewise.
5193         * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
5194         * sysdeps/sparc64/bsd-setjmp.S: Likewise.
5195         * sysdeps/sparc64/dl-machine.h: Likewise.
5196         * sysdeps/sparc64/elf/Makefile: Likewise.
5197         * sysdeps/sparc64/elf/crtbegin.S: Likewise.
5198         * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
5199         * sysdeps/sparc64/elf/crtend.S: Likewise.
5200         * sysdeps/sparc64/elf/crtendS.S: Likewise.
5201         * sysdeps/sparc64/elf/start.S: Likewise.
5202         * sysdeps/sparc64/fpu_control.h: Likewise.
5203         * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
5204         * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
5205         * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
5206         * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
5207         * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
5208         * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
5209         * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
5210         * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
5211         * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
5212         * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
5213         * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
5214         * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
5215         * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
5216         * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
5217         * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
5218         * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
5219         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
5220         * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
5221         * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
5222         * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
5223
5224 1997-06-28 16:28  H.J. Lu  <hjl@gnu.ai.mit.edu>
5225
5226         * configure.in: Add -nostartfiles -nostdlib when check for
5227         --version-script.
5228
5229 1997-06-28 12:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
5230
5231         * sysdeps/powerpc/bits/endian.h: New file.
5232
5233 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
5234
5235         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
5236         setresgid.
5237
5238 1997-06-27 20:09  Ulrich Drepper  <drepper@cygnus.com>
5239
5240         * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
5241         Reported by a sun <asun@zoology.washington.edu>.
5242
5243         * libc.map: Add _rpc_dtablesize.  Reported by Thorsten Kukuk.
5244
5245         * db/makedb.c: Exit with error if number of option is incorrect.
5246
5247         * math/Makefile (tests): Add test-fenv.
5248         * math/test-fenv.c: New file.  Test for exception handling functions.
5249         Written mainly by Andreas Jaeger.
5250
5251         * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
5252
5253         * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
5254         compatibility version to 0.  Reported by Roland McGrath.
5255
5256 1997-06-27 18:49  Philip Blundell  <Philip.Blundell@pobox.com>
5257
5258         * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
5259         * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
5260         * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
5261
5262 1997-06-27 10:44  Fila Kolodny  <fila@ibi.com>
5263
5264         * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
5265
5266 1997-06-27 00:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5267
5268         * elf/dl-open.c (_dl_open): Check versions of all newly loaded
5269         objects, including dependencies.
5270
5271         * elf/dl-runtime.c (fixup): Always use version information if
5272         available.
5273
5274 1997-06-26 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5275
5276         * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
5277
5278 1997-06-26 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5279
5280         * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
5281         int, not pointer to fail_stack_elt_t.
5282         (PUSH_FAILURE_POINT): Fix all formats in debugging messages.  Fix
5283         type of this_reg.
5284         (POP_FAILURE_POINT): Likewise.  Fix type of failure_id.
5285         (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
5286
5287 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
5288
5289         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
5290         Reported by a sun.
5291
5292 1997-06-26 21:50  Ulrich Drepper  <drepper@cygnus.com>
5293
5294         * math/math.h: Move definition of macros for unordered comparison
5295         after inclusion of <bits/mathinline.h>.
5296         * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
5297         unordered comparison before definition.
5298         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5299
5300         * Makerules: Move definition of load-map-file before use.
5301         (lib%.so): Depend on load-map-file, not lib%-map.
5302
5303         * manual/lgpl.texinfo: Update copyright.
5304
5305 1997-06-24 09:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5306
5307         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
5308         * sysdeps/m68k/fpu/s_ilogb.c: Define it here.  Handle zero, NaN
5309         and infinity specially.
5310         * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
5311         Adapted.
5312
5313         * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
5314
5315 1997-06-26 17:06  Ulrich Drepper  <drepper@cygnus.com>
5316
5317         * configure.in: Don't use .long in tests since some strange
5318         platforms without binutils don't know this.
5319         Redirect output of test commands correctly.
5320         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
5321
5322         * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
5323         Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
5324
5325 1997-06-26 09:02  Fila Kolodny  <fila@ibi.com>
5326
5327         * sysdeps/mach/hurd/abi-tag.h: New file.
5328
5329         * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
5330         * sysdeps/stub/bits/libc-lock.h: Likewise.
5331
5332         * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
5333         Add variable addr containing the desired part of the union.
5334         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
5335         * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
5336         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
5337         * sysdeps/mach/hurd/connect.c (__connect): Likewise.
5338         * sysdeps/mach/hurd/bind.c (bind): Likewise.
5339
5340         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
5341         to sizeof(MACH_MSG_TYPE_INTEGER_T).
5342
5343         * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
5344
5345         * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
5346
5347         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
5348         paramater list since it is used.
5349
5350         * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
5351
5352         * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
5353         ss to argss.
5354
5355 1997-06-24 14:02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5356
5357         * Rules: Update copyright.
5358         * mach/Machrules: Likewise.
5359
5360 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
5361
5362         * configure.in: Fix accidently removed AC_OUTPUT line.
5363         Reported by Andreas Jaeger.
5364
5365         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
5366         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
5367
5368         * sysdeps/generic/getdomain.c: Include handling for stub case.
5369         This eliminated the only case of a function in generic and stub.
5370         * sysdeps/stub/getdomain.c: Removed.
5371         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5372
5373 1997-06-23 22:20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5374
5375         * sysdeps/alpha/_mcount.S: Update and reformat copyright,
5376         remove trailing white spaces and send through unexpand.
5377         * sysdeps/alpha/bb_init_func.S: Likewise.
5378         * sysdeps/alpha/bzero.S: Likewise.
5379         * sysdeps/alpha/ffs.S: Likewise.
5380         * sysdeps/alpha/memset.S: Likewise.
5381         * sysdeps/alpha/s_fabs.S: Likewise.
5382         * sysdeps/alpha/strcmp.S: Likewise.
5383         * sysdeps/alpha/strlen.S: Likewise.
5384         * sysdeps/alpha/strncmp.S: Likewise.
5385         * sysdeps/alpha/strncpy.S: Likewise.
5386         * sysdeps/alpha/strrchr.S: Likewise.
5387         * sysdeps/alpha/stxcpy.S: Likewise.
5388         * sysdeps/alpha/stxncpy.S: Likewise.
5389         * sysdeps/alpha/elf/start.S: Likewise.
5390         * sysdeps/i386/strchr.S: Likewise.
5391         * sysdeps/m68k/bsd-_setjmp.S: Likewise.
5392         * sysdeps/m68k/bsd-setjmp.S: Likewise.
5393         * sysdeps/m68k/elf/start.S: Likewise.
5394         * sysdeps/mach/alpha/syscall.S: Likewise.
5395         * sysdeps/mach/i386/syscall.S: Likewise.
5396         * sysdeps/mips/elf/start.S: Likewise.
5397         * sysdeps/sparc/alloca.S: Likewise.
5398         * sysdeps/standalone/i386/start.S: Likewise.
5399         * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
5400         * sysdeps/standalone/i960/start.S: Likewise.
5401         * sysdeps/standalone/m68k/m68020/start.S: Likewise.
5402         * sysdeps/unix/_exit.S: Likewise.
5403         * sysdeps/unix/fork.S: Likewise.
5404         * sysdeps/unix/getegid.S: Likewise.
5405         * sysdeps/unix/geteuid.S: Likewise.
5406         * sysdeps/unix/getppid.S: Likewise.
5407         * sysdeps/unix/syscall.S: Likewise.
5408         * sysdeps/unix/arm/brk.S: Likewise.
5409         * sysdeps/unix/arm/fork.S: Likewise.
5410         * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
5411         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
5412         * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
5413         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5414         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5415         * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
5416         * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
5417         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
5418         * sysdeps/unix/bsd/m68k/wait.S: Likewise.
5419         * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
5420         * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
5421         * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
5422         * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
5423         * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
5424         * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
5425         * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
5426         * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
5427         * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
5428         * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
5429         * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
5430         * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
5431         * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
5432         * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
5433         * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
5434         * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
5435         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
5436         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
5437         * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
5438         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
5439         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
5440         * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
5441         * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
5442         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
5443         * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
5444         * sysdeps/unix/bsd/vax/brk.S: Likewise.
5445         * sysdeps/unix/bsd/vax/pipe.S: Likewise.
5446         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
5447         * sysdeps/unix/bsd/vax/vfork.S: Likewise.
5448         * sysdeps/unix/bsd/vax/wait.S: Likewise.
5449         * sysdeps/unix/bsd/vax/wait3.S: Likewise.
5450         * sysdeps/unix/i386/brk.S: Likewise.
5451         * sysdeps/unix/i386/fork.S: Likewise.
5452         * sysdeps/unix/i386/pipe.S: Likewise.
5453         * sysdeps/unix/i386/sigreturn.S: Likewise.
5454         * sysdeps/unix/i386/syscall.S: Likewise.
5455         * sysdeps/unix/i386/vfork.S: Likewise.
5456         * sysdeps/unix/i386/wait.S: Likewise.
5457         * sysdeps/unix/mips/brk.S: Likewise.
5458         * sysdeps/unix/mips/fork.S: Likewise.
5459         * sysdeps/unix/mips/pipe.S: Likewise.
5460         * sysdeps/unix/mips/sigreturn.S: Likewise.
5461         * sysdeps/unix/mips/sysdep.S: Likewise.
5462         * sysdeps/unix/mips/wait.S: Likewise.
5463         * sysdeps/unix/sparc/brk.S: Likewise.
5464         * sysdeps/unix/sparc/fork.S: Likewise.
5465         * sysdeps/unix/sparc/pipe.S: Likewise.
5466         * sysdeps/unix/sparc/sysdep.S: Likewise.
5467         * sysdeps/unix/sparc/vfork.S: Likewise.
5468         * sysdeps/unix/sysv/i386/signal.S: Likewise.
5469         * sysdeps/unix/sysv/i386/time.S: Likewise.
5470         * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
5471         * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
5472         * sysdeps/unix/sysv/irix4/uname.S: Likewise.
5473         * sysdeps/unix/sysv/irix4/wait.S: Likewise.
5474         * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
5475         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5476         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5477         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
5478         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5479         * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
5480         * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
5481         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
5482         * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
5483         * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
5484         * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
5485         * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
5486         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
5487         * sysdeps/vax/bsd-_setjmp.S: Likewise.
5488         * sysdeps/vax/bsd-setjmp.S: Likewise.
5489
5490 1997-06-26 02:06  Ulrich Drepper  <drepper@cygnus.com>
5491
5492         * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
5493         public.
5494
5495         * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
5496         dependency, not $(libc-map).
5497
5498         * sysdeps/posix/mk-stdiolim.c: Pretty print.
5499
5500 1997-06-25 15:54  Fila Kolodny  <fila@ibi.com>
5501
5502         * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
5503         include of bits/types.h.
5504
5505         * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
5506         conditionalize this on whether we are cross-compiling.
5507
5508 1997-06-21 15:47  H.J. Lu  <hjl@gnu.ai.mit.edu>
5509
5510         * elf/dl-lookup.c (do_lookup): Use default definition
5511         for a default versioned symbol.
5512
5513         * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
5514
5515         * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
5516
5517         * elf/link.h (r_found_version): Add the hidden field.
5518
5519         * math/test-matherr.c: New file.
5520
5521         * math/Makefile (tests): Add test-matherr.
5522         (libm-support): Put back s_matherr.
5523         (static-only-routines, aux): Remove s_matherr.
5524
5525 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
5526
5527         * string/Makefile (headers): Change bytesex.h to bits/endian.h.
5528         * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
5529         bits/endian.h.
5530
5531         * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
5532         function will not fail because of exceptions.
5533
5534         * math/math.h: Add warning about use of M_* constants.
5535         Pretty print.
5536
5537 1997-06-23 11:36  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5538
5539         * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
5540         copyright, remove trailing white spaces and send through unexpand.
5541         * inet/netinet/icmp6.h: Likewise.
5542         * inet/netinet/in.h: Likewise.
5543         * inet/netinet/ip6.h: Likewise.
5544         * locale/programs/xmalloc.c: Likewise.
5545         * locale/programs/xstrdup.c: Likewise.
5546         * sysdeps/generic/make_siglist.c: Likewise.
5547         * sysdeps/generic/morecore.c: Likewise.
5548         * sysdeps/generic/sbrk.c: Likewise.
5549         * sysdeps/generic/signame.c: Likewise.
5550         * sysdeps/generic/signame.h: Likewise.
5551         * sysdeps/generic/netinet/inbits.h: Likewise.
5552         * sysdeps/posix/getpagesize.c: Likewise.
5553         * sysdeps/unix/errnos-tmpl.c: Likewise.
5554         * sysdeps/unix/getpagesize.c: Likewise.
5555         * sysdeps/unix/make_errlist.c: Likewise.
5556         * sysdeps/unix/mkfifo.c: Likewise.
5557         * sysdeps/unix/nlist.c: Likewise.
5558         * sysdeps/unix/start.c: Likewise.
5559         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
5560
5561         * munch-tmpl.c: Update and reformat copyright, remove trailing
5562         white spaces and send through unexpand.
5563         * libio/clearerr_u.c: Likewise.
5564         * libio/memstream.c: Likewise.
5565         * libio/putc_u.c: Likewise.
5566         * libio/putchar_u.c: Likewise.
5567         * stdio-common/scanf.c: Likewise.
5568         * stdlib/longlong.h: Likewise.
5569         * sysdeps/alpha/__longjmp.c: Likewise.
5570         * sysdeps/alpha/divrem.h: Likewise.
5571         * sysdeps/alpha/machine-gmon.h: Likewise.
5572         * sysdeps/alpha/setjmp_aux.c: Likewise.
5573         * sysdeps/alpha/bits/setjmp.h: Likewise.
5574         * sysdeps/arm/fpu_control.h: Likewise.
5575         * sysdeps/generic/_strerror.c: Likewise.
5576         * sysdeps/generic/det_endian.c: Likewise.
5577         * sysdeps/generic/fdatasync.c: Likewise.
5578         * sysdeps/generic/fpu_control.c: Likewise.
5579         * sysdeps/generic/ftime.c: Likewise.
5580         * sysdeps/generic/getdomain.c: Likewise.
5581         * sysdeps/generic/group_member.c: Likewise.
5582         * sysdeps/generic/ldiv.c: Likewise.
5583         * sysdeps/generic/lldiv.c: Likewise.
5584         * sysdeps/generic/lxstat.c: Likewise.
5585         * sysdeps/generic/memcmp.c: Likewise.
5586         * sysdeps/generic/memmem.c: Likewise.
5587         * sysdeps/generic/mig-reply.c: Likewise.
5588         * sysdeps/generic/pagecopy.h: Likewise.
5589         * sysdeps/generic/profil-counter.h: Likewise.
5590         * sysdeps/generic/pselect.c: Likewise.
5591         * sysdeps/generic/setfpucw.c: Likewise.
5592         * sysdeps/generic/stpcpy.c: Likewise.
5593         * sysdeps/generic/uname.c: Likewise.
5594         * sysdeps/generic/varargs.h: Likewise.
5595         * sysdeps/generic/vlimit.c: Likewise.
5596         * sysdeps/generic/bits/sigaction.h: Likewise.
5597         * sysdeps/generic/bits/ustat.h: Likewise.
5598         * sysdeps/generic/netinet/if_ether.h: Likewise.
5599         * sysdeps/generic/sys/swap.h: Likewise.
5600         * sysdeps/generic/sys/sysinfo.h: Likewise.
5601         * sysdeps/i386/init-first.c: Likewise.
5602         * sysdeps/i386/ldbl2mpn.c: Likewise.
5603         * sysdeps/i386/memcopy.h: Likewise.
5604         * sysdeps/i386/i586/memcopy.h: Likewise.
5605         * sysdeps/i860/memcopy.h: Likewise.
5606         * sysdeps/m68k/__longjmp.c: Likewise.
5607         * sysdeps/m68k/fpu_control.h: Likewise.
5608         * sysdeps/m68k/memcopy.h: Likewise.
5609         * sysdeps/m68k/s_isinfl.c: Likewise.
5610         * sysdeps/m68k/s_isnanl.c: Likewise.
5611         * sysdeps/m68k/setjmp.c: Likewise.
5612         * sysdeps/mach/_strerror.c: Likewise.
5613         * sysdeps/mach/getsysstats.c: Likewise.
5614         * sysdeps/mach/mprotect.c: Likewise.
5615         * sysdeps/mach/munmap.c: Likewise.
5616         * sysdeps/mach/pagecopy.h: Likewise.
5617         * sysdeps/mach/start.c: Likewise.
5618         * sysdeps/mach/sysdep.h: Likewise.
5619         * sysdeps/mach/alpha/machine-lock.h: Likewise.
5620         * sysdeps/mach/alpha/machine-sp.h: Likewise.
5621         * sysdeps/mach/alpha/sysdep.h: Likewise.
5622         * sysdeps/mach/alpha/thread_state.h: Likewise.
5623         * sysdeps/mach/hppa/machine-lock.h: Likewise.
5624         * sysdeps/mach/hurd/access.c: Likewise.
5625         * sysdeps/mach/hurd/closedir.c: Likewise.
5626         * sysdeps/mach/hurd/dirstream.h: Likewise.
5627         * sysdeps/mach/hurd/dl-cache.c: Likewise.
5628         * sysdeps/mach/hurd/euidaccess.c: Likewise.
5629         * sysdeps/mach/hurd/fdatasync.c: Likewise.
5630         * sysdeps/mach/hurd/fexecve.c: Likewise.
5631         * sysdeps/mach/hurd/fork.c: Likewise.
5632         * sysdeps/mach/hurd/fpathconf.c: Likewise.
5633         * sysdeps/mach/hurd/fstatfs.c: Likewise.
5634         * sysdeps/mach/hurd/fxstat.c: Likewise.
5635         * sysdeps/mach/hurd/getcwd.c: Likewise.
5636         * sysdeps/mach/hurd/getpriority.c: Likewise.
5637         * sysdeps/mach/hurd/getrlimit.c: Likewise.
5638         * sysdeps/mach/hurd/getsid.c: Likewise.
5639         * sysdeps/mach/hurd/group_member.c: Likewise.
5640         * sysdeps/mach/hurd/kill.c: Likewise.
5641         * sysdeps/mach/hurd/lchown.c: Likewise.
5642         * sysdeps/mach/hurd/lxstat.c: Likewise.
5643         * sysdeps/mach/hurd/mig-reply.c: Likewise.
5644         * sysdeps/mach/hurd/mmap.c: Likewise.
5645         * sysdeps/mach/hurd/opendir.c: Likewise.
5646         * sysdeps/mach/hurd/pathconf.c: Likewise.
5647         * sysdeps/mach/hurd/profil.c: Likewise.
5648         * sysdeps/mach/hurd/ptrace.c: Likewise.
5649         * sysdeps/mach/hurd/readdir.c: Likewise.
5650         * sysdeps/mach/hurd/readdir_r.c: Likewise.
5651         * sysdeps/mach/hurd/send.c: Likewise.
5652         * sysdeps/mach/hurd/sendto.c: Likewise.
5653         * sysdeps/mach/hurd/setpriority.c: Likewise.
5654         * sysdeps/mach/hurd/statfs.c: Likewise.
5655         * sysdeps/mach/hurd/ttyname.c: Likewise.
5656         * sysdeps/mach/hurd/uname.c: Likewise.
5657         * sysdeps/mach/hurd/xstat.c: Likewise.
5658         * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
5659         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
5660         * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
5661         * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
5662         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
5663         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
5664         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
5665         * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
5666         * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
5667         * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
5668         * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
5669         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5670         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
5671         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
5672         * sysdeps/mach/hurd/sys/param.h: Likewise.
5673         * sysdeps/mach/i386/machine-lock.h: Likewise.
5674         * sysdeps/mach/i386/machine-sp.h: Likewise.
5675         * sysdeps/mach/i386/sysdep.h: Likewise.
5676         * sysdeps/mach/i386/thread_state.h: Likewise.
5677         * sysdeps/posix/dup2.c: Likewise.
5678         * sysdeps/posix/flock.c: Likewise.
5679         * sysdeps/posix/getdtsz.c: Likewise.
5680         * sysdeps/posix/gettimeofday.c: Likewise.
5681         * sysdeps/posix/isatty.c: Likewise.
5682         * sysdeps/posix/killpg.c: Likewise.
5683         * sysdeps/posix/mk-stdiolim.c: Likewise.
5684         * sysdeps/posix/profil.c: Likewise.
5685         * sysdeps/posix/remove.c: Likewise.
5686         * sysdeps/posix/rename.c: Likewise.
5687         * sysdeps/posix/sigsuspend.c: Likewise.
5688         * sysdeps/posix/tempname.c: Likewise.
5689         * sysdeps/posix/truncate.c: Likewise.
5690         * sysdeps/posix/utimes.c: Likewise.
5691         * sysdeps/posix/wait.c: Likewise.
5692         * sysdeps/posix/wait3.c: Likewise.
5693         * sysdeps/rs6000/memcopy.h: Likewise.
5694         * sysdeps/sparc/memcopy.h: Likewise.
5695         * sysdeps/standalone/close.c: Likewise.
5696         * sysdeps/standalone/dirstream.h: Likewise.
5697         * sysdeps/standalone/filedesc.h: Likewise.
5698         * sysdeps/standalone/open.c: Likewise.
5699         * sysdeps/standalone/read.c: Likewise.
5700         * sysdeps/standalone/standalone.h: Likewise.
5701         * sysdeps/standalone/write.c: Likewise.
5702         * sysdeps/standalone/bits/stdio_lim.h: Likewise.
5703         * sysdeps/standalone/i386/i386.h: Likewise.
5704         * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
5705         * sysdeps/stub/__longjmp.c: Likewise.
5706         * sysdeps/stub/accept.c: Likewise.
5707         * sysdeps/stub/access.c: Likewise.
5708         * sysdeps/stub/acct.c: Likewise.
5709         * sysdeps/stub/adjtime.c: Likewise.
5710         * sysdeps/stub/alarm.c: Likewise.
5711         * sysdeps/stub/bind.c: Likewise.
5712         * sysdeps/stub/brk.c: Likewise.
5713         * sysdeps/stub/bsd-_setjmp.c: Likewise.
5714         * sysdeps/stub/bsd-setjmp.c: Likewise.
5715         * sysdeps/stub/chdir.c: Likewise.
5716         * sysdeps/stub/chflags.c: Likewise.
5717         * sysdeps/stub/chmod.c: Likewise.
5718         * sysdeps/stub/chown.c: Likewise.
5719         * sysdeps/stub/chroot.c: Likewise.
5720         * sysdeps/stub/clock.c: Likewise.
5721         * sysdeps/stub/close.c: Likewise.
5722         * sysdeps/stub/closedir.c: Likewise.
5723         * sysdeps/stub/connect.c: Likewise.
5724         * sysdeps/stub/ctermid.c: Likewise.
5725         * sysdeps/stub/cuserid.c: Likewise.
5726         * sysdeps/stub/dbl2mpn.c: Likewise.
5727         * sysdeps/stub/dirstream.h: Likewise.
5728         * sysdeps/stub/dup.c: Likewise.
5729         * sysdeps/stub/dup2.c: Likewise.
5730         * sysdeps/stub/exc2signal.c: Likewise.
5731         * sysdeps/stub/execve.c: Likewise.
5732         * sysdeps/stub/fchflags.c: Likewise.
5733         * sysdeps/stub/fchown.c: Likewise.
5734         * sysdeps/stub/fcntl.c: Likewise.
5735         * sysdeps/stub/fdopen.c: Likewise.
5736         * sysdeps/stub/fexecve.c: Likewise.
5737         * sysdeps/stub/flock.c: Likewise.
5738         * sysdeps/stub/fork.c: Likewise.
5739         * sysdeps/stub/fpathconf.c: Likewise.
5740         * sysdeps/stub/fpu_control.h: Likewise.
5741         * sysdeps/stub/fstatfs.c: Likewise.
5742         * sysdeps/stub/fsync.c: Likewise.
5743         * sysdeps/stub/ftruncate.c: Likewise.
5744         * sysdeps/stub/fxstat.c: Likewise.
5745         * sysdeps/stub/getcwd.c: Likewise.
5746         * sysdeps/stub/getdomain.c: Likewise.
5747         * sysdeps/stub/getdtsz.c: Likewise.
5748         * sysdeps/stub/getegid.c: Likewise.
5749         * sysdeps/stub/geteuid.c: Likewise.
5750         * sysdeps/stub/getgid.c: Likewise.
5751         * sysdeps/stub/getgroups.c: Likewise.
5752         * sysdeps/stub/gethostid.c: Likewise.
5753         * sysdeps/stub/gethostname.c: Likewise.
5754         * sysdeps/stub/getitimer.c: Likewise.
5755         * sysdeps/stub/getpeername.c: Likewise.
5756         * sysdeps/stub/getpgid.c: Likewise.
5757         * sysdeps/stub/getpid.c: Likewise.
5758         * sysdeps/stub/getppid.c: Likewise.
5759         * sysdeps/stub/getpriority.c: Likewise.
5760         * sysdeps/stub/getrlimit.c: Likewise.
5761         * sysdeps/stub/getrusage.c: Likewise.
5762         * sysdeps/stub/getsid.c: Likewise.
5763         * sysdeps/stub/getsockname.c: Likewise.
5764         * sysdeps/stub/getsockopt.c: Likewise.
5765         * sysdeps/stub/getsysstats.c: Likewise.
5766         * sysdeps/stub/gettimeofday.c: Likewise.
5767         * sysdeps/stub/getuid.c: Likewise.
5768         * sysdeps/stub/gtty.c: Likewise.
5769         * sysdeps/stub/if_index.c: Likewise.
5770         * sysdeps/stub/init-posix.c: Likewise.
5771         * sysdeps/stub/ioctl.c: Likewise.
5772         * sysdeps/stub/isatty.c: Likewise.
5773         * sysdeps/stub/isfdtype.c: Likewise.
5774         * sysdeps/stub/jmp-unwind.c: Likewise.
5775         * sysdeps/stub/kill.c: Likewise.
5776         * sysdeps/stub/killpg.c: Likewise.
5777         * sysdeps/stub/ldbl2mpn.c: Likewise.
5778         * sysdeps/stub/link.c: Likewise.
5779         * sysdeps/stub/listen.c: Likewise.
5780         * sysdeps/stub/lockfile.c: Likewise.
5781         * sysdeps/stub/longjmp-ts.c: Likewise.
5782         * sysdeps/stub/lseek.c: Likewise.
5783         * sysdeps/stub/lxstat.c: Likewise.
5784         * sysdeps/stub/machine-lock.h: Likewise.
5785         * sysdeps/stub/machine-sp.h: Likewise.
5786         * sysdeps/stub/madvise.c: Likewise.
5787         * sysdeps/stub/mkdir.c: Likewise.
5788         * sysdeps/stub/mkfifo.c: Likewise.
5789         * sysdeps/stub/mmap.c: Likewise.
5790         * sysdeps/stub/morecore.c: Likewise.
5791         * sysdeps/stub/mpn2dbl.c: Likewise.
5792         * sysdeps/stub/mpn2flt.c: Likewise.
5793         * sysdeps/stub/mpn2ldbl.c: Likewise.
5794         * sysdeps/stub/mprotect.c: Likewise.
5795         * sysdeps/stub/msgctl.c: Likewise.
5796         * sysdeps/stub/msgget.c: Likewise.
5797         * sysdeps/stub/msgrcv.c: Likewise.
5798         * sysdeps/stub/msgsnd.c: Likewise.
5799         * sysdeps/stub/munmap.c: Likewise.
5800         * sysdeps/stub/nanosleep.c: Likewise.
5801         * sysdeps/stub/nice.c: Likewise.
5802         * sysdeps/stub/nlist.c: Likewise.
5803         * sysdeps/stub/open.c: Likewise.
5804         * sysdeps/stub/opendir.c: Likewise.
5805         * sysdeps/stub/pathconf.c: Likewise.
5806         * sysdeps/stub/pause.c: Likewise.
5807         * sysdeps/stub/pipestream.c: Likewise.
5808         * sysdeps/stub/poll.c: Likewise.
5809         * sysdeps/stub/profil.c: Likewise.
5810         * sysdeps/stub/ptrace.c: Likewise.
5811         * sysdeps/stub/putenv.c: Likewise.
5812         * sysdeps/stub/read.c: Likewise.
5813         * sysdeps/stub/readdir.c: Likewise.
5814         * sysdeps/stub/readdir_r.c: Likewise.
5815         * sysdeps/stub/readlink.c: Likewise.
5816         * sysdeps/stub/reboot.c: Likewise.
5817         * sysdeps/stub/recv.c: Likewise.
5818         * sysdeps/stub/recvfrom.c: Likewise.
5819         * sysdeps/stub/recvmsg.c: Likewise.
5820         * sysdeps/stub/remove.c: Likewise.
5821         * sysdeps/stub/rename.c: Likewise.
5822         * sysdeps/stub/revoke.c: Likewise.
5823         * sysdeps/stub/rewinddir.c: Likewise.
5824         * sysdeps/stub/rmdir.c: Likewise.
5825         * sysdeps/stub/sbrk.c: Likewise.
5826         * sysdeps/stub/sched_getp.c: Likewise.
5827         * sysdeps/stub/sched_gets.c: Likewise.
5828         * sysdeps/stub/sched_primax.c: Likewise.
5829         * sysdeps/stub/sched_primin.c: Likewise.
5830         * sysdeps/stub/sched_rr_gi.c: Likewise.
5831         * sysdeps/stub/sched_setp.c: Likewise.
5832         * sysdeps/stub/sched_sets.c: Likewise.
5833         * sysdeps/stub/sched_yield.c: Likewise.
5834         * sysdeps/stub/seekdir.c: Likewise.
5835         * sysdeps/stub/select.c: Likewise.
5836         * sysdeps/stub/semctl.c: Likewise.
5837         * sysdeps/stub/semget.c: Likewise.
5838         * sysdeps/stub/semop.c: Likewise.
5839         * sysdeps/stub/send.c: Likewise.
5840         * sysdeps/stub/sendmsg.c: Likewise.
5841         * sysdeps/stub/sendto.c: Likewise.
5842         * sysdeps/stub/setdomain.c: Likewise.
5843         * sysdeps/stub/setegid.c: Likewise.
5844         * sysdeps/stub/setenv.c: Likewise.
5845         * sysdeps/stub/seteuid.c: Likewise.
5846         * sysdeps/stub/setgid.c: Likewise.
5847         * sysdeps/stub/setgroups.c: Likewise.
5848         * sysdeps/stub/sethostid.c: Likewise.
5849         * sysdeps/stub/sethostname.c: Likewise.
5850         * sysdeps/stub/setjmp.c: Likewise.
5851         * sysdeps/stub/setlogin.c: Likewise.
5852         * sysdeps/stub/setpgid.c: Likewise.
5853         * sysdeps/stub/setpriority.c: Likewise.
5854         * sysdeps/stub/setregid.c: Likewise.
5855         * sysdeps/stub/setreuid.c: Likewise.
5856         * sysdeps/stub/setrlimit.c: Likewise.
5857         * sysdeps/stub/setsid.c: Likewise.
5858         * sysdeps/stub/setsockopt.c: Likewise.
5859         * sysdeps/stub/settimeofday.c: Likewise.
5860         * sysdeps/stub/setuid.c: Likewise.
5861         * sysdeps/stub/shmctl.c: Likewise.
5862         * sysdeps/stub/shmget.c: Likewise.
5863         * sysdeps/stub/shutdown.c: Likewise.
5864         * sysdeps/stub/sigaction.c: Likewise.
5865         * sysdeps/stub/sigaltstack.c: Likewise.
5866         * sysdeps/stub/sigblock.c: Likewise.
5867         * sysdeps/stub/sigintr.c: Likewise.
5868         * sysdeps/stub/sigpending.c: Likewise.
5869         * sysdeps/stub/sigprocmask.c: Likewise.
5870         * sysdeps/stub/sigreturn.c: Likewise.
5871         * sysdeps/stub/sigsetmask.c: Likewise.
5872         * sysdeps/stub/sigstack.c: Likewise.
5873         * sysdeps/stub/sigsuspend.c: Likewise.
5874         * sysdeps/stub/sigvec.c: Likewise.
5875         * sysdeps/stub/socket.c: Likewise.
5876         * sysdeps/stub/socketpair.c: Likewise.
5877         * sysdeps/stub/sstk.c: Likewise.
5878         * sysdeps/stub/statfs.c: Likewise.
5879         * sysdeps/stub/stdio_init.c: Likewise.
5880         * sysdeps/stub/stime.c: Likewise.
5881         * sysdeps/stub/stty.c: Likewise.
5882         * sysdeps/stub/swapoff.c: Likewise.
5883         * sysdeps/stub/swapon.c: Likewise.
5884         * sysdeps/stub/symlink.c: Likewise.
5885         * sysdeps/stub/sync.c: Likewise.
5886         * sysdeps/stub/syscall.c: Likewise.
5887         * sysdeps/stub/sysd-stdio.c: Likewise.
5888         * sysdeps/stub/system.c: Likewise.
5889         * sysdeps/stub/tcdrain.c: Likewise.
5890         * sysdeps/stub/tcflow.c: Likewise.
5891         * sysdeps/stub/tcflush.c: Likewise.
5892         * sysdeps/stub/tcgetattr.c: Likewise.
5893         * sysdeps/stub/tcgetpgrp.c: Likewise.
5894         * sysdeps/stub/tcsendbrk.c: Likewise.
5895         * sysdeps/stub/tcsetpgrp.c: Likewise.
5896         * sysdeps/stub/telldir.c: Likewise.
5897         * sysdeps/stub/thread_state.h: Likewise.
5898         * sysdeps/stub/time.c: Likewise.
5899         * sysdeps/stub/times.c: Likewise.
5900         * sysdeps/stub/trampoline.c: Likewise.
5901         * sysdeps/stub/truncate.c: Likewise.
5902         * sysdeps/stub/ttyname.c: Likewise.
5903         * sysdeps/stub/ttyname_r.c: Likewise.
5904         * sysdeps/stub/ualarm.c: Likewise.
5905         * sysdeps/stub/ulimit.c: Likewise.
5906         * sysdeps/stub/umask.c: Likewise.
5907         * sysdeps/stub/unlink.c: Likewise.
5908         * sysdeps/stub/usleep.c: Likewise.
5909         * sysdeps/stub/ustat.c: Likewise.
5910         * sysdeps/stub/utime.c: Likewise.
5911         * sysdeps/stub/utimes.c: Likewise.
5912         * sysdeps/stub/vdprintf.c: Likewise.
5913         * sysdeps/stub/vhangup.c: Likewise.
5914         * sysdeps/stub/wait.c: Likewise.
5915         * sysdeps/stub/wait3.c: Likewise.
5916         * sysdeps/stub/wait4.c: Likewise.
5917         * sysdeps/stub/waitpid.c: Likewise.
5918         * sysdeps/stub/write.c: Likewise.
5919         * sysdeps/stub/xmknod.c: Likewise.
5920         * sysdeps/stub/xstat.c: Likewise.
5921         * sysdeps/stub/bits/errno.h: Likewise.
5922         * sysdeps/stub/bits/sigcontext.h: Likewise.
5923         * sysdeps/unix/fxstat.c: Likewise.
5924         * sysdeps/unix/mk-local_lim.c: Likewise.
5925         * sysdeps/unix/mkdir.c: Likewise.
5926         * sysdeps/unix/nice.c: Likewise.
5927         * sysdeps/unix/rmdir.c: Likewise.
5928         * sysdeps/unix/stime.c: Likewise.
5929         * sysdeps/unix/telldir.c: Likewise.
5930         * sysdeps/unix/xstat.c: Likewise.
5931         * sysdeps/unix/arm/sysdep.h: Likewise.
5932         * sysdeps/unix/bsd/ftime.c: Likewise.
5933         * sysdeps/unix/bsd/isatty.c: Likewise.
5934         * sysdeps/unix/bsd/setegid.c: Likewise.
5935         * sysdeps/unix/bsd/seteuid.c: Likewise.
5936         * sysdeps/unix/bsd/setsid.c: Likewise.
5937         * sysdeps/unix/bsd/sigaction.c: Likewise.
5938         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5939         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5940         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5941         * sysdeps/unix/bsd/times.c: Likewise.
5942         * sysdeps/unix/bsd/ulimit.c: Likewise.
5943         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
5944         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
5945         * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
5946         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
5947         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
5948         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
5949         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
5950         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
5951         * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
5952         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
5953         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
5954         * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
5955         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
5956         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
5957         * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
5958         * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
5959         * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
5960         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
5961         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
5962         * sysdeps/unix/common/lxstat.c: Likewise.
5963         * sysdeps/unix/common/tcsendbrk.c: Likewise.
5964         * sysdeps/unix/common/bits/dirent.h: Likewise.
5965         * sysdeps/unix/i386/sysdep.h: Likewise.
5966         * sysdeps/unix/mips/sysdep.h: Likewise.
5967         * sysdeps/unix/sysv/setrlimit.c: Likewise.
5968         * sysdeps/unix/sysv/settimeofday.c: Likewise.
5969         * sysdeps/unix/sysv/sigaction.c: Likewise.
5970         * sysdeps/unix/sysv/sysv_termio.h: Likewise.
5971         * sysdeps/unix/sysv/tcdrain.c: Likewise.
5972         * sysdeps/unix/sysv/tcflow.c: Likewise.
5973         * sysdeps/unix/sysv/tcflush.c: Likewise.
5974         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5975         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5976         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5977         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
5978         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
5979         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
5980         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
5981         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5982         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5983         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
5984         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5985         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5986         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
5987         * sysdeps/unix/sysv/linux/speed.c: Likewise.
5988         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5989         * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
5990         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
5991         * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
5992         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
5993         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
5994         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
5995         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
5996         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5997         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
5998         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
5999         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
6000         * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
6001         * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
6002         * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
6003         * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
6004         * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
6005         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
6006         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
6007         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
6008         * sysdeps/vax/fl.h: Likewise.
6009         * sysdeps/vax/setjmp.c: Likewise.
6010
6011 1997-06-21 16:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6012
6013         * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
6014         and NaN strings.
6015
6016 1997-06-20 21:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6017
6018         * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
6019         argument.
6020         (__ilogb): Remove special case for zero, add stupid special case
6021         for NaN.
6022         (__ieee754_scalb): Remove definition.
6023         * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
6024         * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
6025
6026         * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
6027         * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
6028         * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
6029
6030         * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
6031         returning NaN.  Handle zero specially.
6032         * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
6033         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
6034
6035         * math/libm-test.c (ilogb_test): Don't require exceptions for zero
6036         and NaN.
6037         (gamma_test): Use different argument when checking whether
6038         function is implemented.
6039         (scalb_test): Remove duplicate tests.
6040
6041 1997-06-03 15:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6042
6043         * Makerules (+depfiles): Add dependencies for $(test-srcs).
6044         (distinfo-vars): Add test-srcs.
6045
6046 1997-06-21 17:35  Ulrich Drepper  <drepper@cygnus.com>
6047
6048         * argp/argp.h: Remove extra #endif.  Pretty print.
6049         * md5-crypt/md5.h: Likewise.
6050
6051         * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
6052         * wctype/wctype.h: Likewise.
6053
6054         * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
6055         directory.
6056
6057         * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
6058         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
6059         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
6060         * sysdeps/libm-i387/s_lrint.S: Likewise.
6061         * sysdeps/libm-i387/s_llrint.S: Likewise.
6062
6063 1997-06-21 02:48  Ulrich Drepper  <drepper@cygnus.com>
6064
6065         * config.h.in: Add DO_STATIC_NSS.
6066         * config.make.in: Add build-static-nss.
6067
6068         * elf/eval.c: Use __getdelim instead of __getline.
6069
6070         * locale/programs/locale.c: Correct comment.
6071
6072         * manual/libc.texinfo: Update copyright and date.
6073         Remove A4 option.
6074
6075         * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
6076         for gamma overflow.
6077         * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
6078         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6079         * sysdeps/libm-ieee754/w_gammalp.c: Likewise.
6080
6081         * po/ko.po: Update.
6082
6083 1997-06-13 10:06  Richard Henderson  <rth@tamu.edu>
6084
6085         The Great Bit File Move:
6086         * configure.in (AC_INIT): Look in include/ for features.h.
6087         (sysnames): Add include as the final search directory.
6088         (AC_OUTPUT): Create a bits directory in the build directory.
6089         * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
6090         * Makefile: Make sure the target directory exists when installing
6091         <gnu/stubs.h> and <gnu/lib-names.h>.
6092         * csu/Makefile: Use $(compile.S) and $(compile.c) instead of
6093         invoking $(CC) directly, as the former have the full include path.
6094
6095         * ansidecl.h: Removed.
6096
6097         * aliases.h: Moved to include/.
6098         * alloca.h: Likewise.
6099         * argp.h: Likewise.
6100         * argz.h: Likewise.
6101         * arpa/ftp.h: Likewise.
6102         * arpa/inet.h: Likewise.
6103         * arpa/nameser.h: Likewise.
6104         * arpa/telnet.h: Likewise.
6105         * arpa/tftp.h: Likewise.
6106         * assert.h: Likewise.
6107         * ctype.h: Likewise.
6108         * db.h: Likewise.
6109         * dirent.h: Likewise.
6110         * dlfcn.h: Likewise.
6111         * elf.h: Likewise.
6112         * endian.h: Likewise.
6113         * envz.h: Likewise.
6114         * err.h: Likewise.
6115         * errno.h: Likewise.
6116         * error.h: Likewise.
6117         * fcntl.h: Likewise.
6118         * features.h: Likewise.
6119         * fnmatch.h: Likewise.
6120         * ftw.h: Likewise.
6121         * getopt.h: Likewise.
6122         * glob.h: Likewise.
6123         * gnu-versions.h: Likewise.
6124         * grp.h: Likewise.
6125         * langinfo.h: Likewise.
6126         * libc-symbols.h: Likewise.
6127         * libgen.h: Likewise.
6128         * libintl.h: Likewise.
6129         * limits.h: Likewise.
6130         * linewrap.h: Likewise.
6131         * link.h: Likewise.
6132         * locale.h: Likewise.
6133         * malloc.h: Likewise.
6134         * math.h: Likewise.
6135         * mathcalls.h: Likewise.
6136         * mcheck.h: Likewise.
6137         * memory.h: Likewise.
6138         * netdb.h: Likewise.
6139         * netgroup.h: Likewise.
6140         * netinet/ether.h: Likewise.
6141         * netinet/in.h: Likewise.
6142         * nlist.h: Likewise.
6143         * nss.h: Likewise.
6144         * nsswitch.h: Likewise.
6145         * obstack.h: Likewise.
6146         * poll.h: Likewise.
6147         * posix1_lim.h: Likewise.
6148         * posix2_lim.h: Likewise.
6149         * printf.h: Likewise.
6150         * protocols/routed.h: Likewise.
6151         * protocols/rwhod.h: Likewise.
6152         * protocols/talkd.h: Likewise.
6153         * protocols/timed.h: Likewise.
6154         * pwd.h: Likewise.
6155         * regex.h: Likewise.
6156         * resolv.h: Likewise.
6157         * rpc/auth_unix.h: Likewise.
6158         * rpc/clnt.h: Likewise.
6159         * rpc/netdb.h: Likewise.
6160         * rpc/pmap_clnt.h: Likewise.
6161         * rpc/pmap_prot.h: Likewise.
6162         * rpc/pmap_rmt.h: Likewise.
6163         * rpc/rpc.h: Likewise.
6164         * rpc/rpc_msg.h: Likewise.
6165         * rpc/svc.h: Likewise.
6166         * rpc/svc_auth.h: Likewise.
6167         * rpc/types.h: Likewise.
6168         * rpc/xdr.h: Likewise.
6169         * sched.h: Likewise.
6170         * search.h: Likewise.
6171         * set-hooks.h: Likewise.
6172         * setjmp.h: Likewise.
6173         * sgtty.h: Likewise.
6174         * shadow.h: Likewise.
6175         * signal.h: Likewise.
6176         * stab.def: Likewise.
6177         * stab.h: Likewise.
6178         * stdio.h: Likewise.
6179         * stdlib.h: Likewise.
6180         * string.h: Likewise.
6181         * strings.h: Likewise.
6182         * sys/bitypes.h: Likewise.
6183         * sys/cdefs.h: Likewise.
6184         * sys/dir.h: Likewise.
6185         * sys/errno.h: Likewise.
6186         * sys/fcntl.h: Likewise.
6187         * sys/file.h: Likewise.
6188         * sys/gmon.h: Likewise.
6189         * sys/ioctl.h: Likewise.
6190         * sys/ipc.h: Likewise.
6191         * sys/msg.h: Likewise.
6192         * sys/poll.h: Likewise.
6193         * sys/queue.h: Likewise.
6194         * sys/resource.h: Likewise.
6195         * sys/select.h: Likewise.
6196         * sys/sem.h: Likewise.
6197         * sys/shm.h: Likewise.
6198         * sys/signal.h: Likewise.
6199         * sys/socket.h: Likewise.
6200         * sys/stat.h: Likewise.
6201         * sys/statfs.h: Likewise.
6202         * sys/syslog.h: Likewise.
6203         * sys/termios.h: Likewise.
6204         * sys/time.h: Likewise.
6205         * sys/timeb.h: Likewise.
6206         * sys/times.h: Likewise.
6207         * sys/types.h: Likewise.
6208         * sys/uio.h: Likewise.
6209         * sys/un.h: Likewise.
6210         * sys/unistd.h: Likewise.
6211         * sys/utsname.h: Likewise.
6212         * sys/vlimit.h: Likewise.
6213         * sys/vtimes.h: Likewise.
6214         * sys/wait.h: Likewise.
6215         * syscall.h: Likewise.
6216         * syslog.h: Likewise.
6217         * tar.h: Likewise.
6218         * termios.h: Likewise.
6219         * time.h: Likewise.
6220         * ttyent.h: Likewise.
6221         * unistd.h: Likewise.
6222         * utime.h: Likewise.
6223         * utmp.h: Likewise.
6224         * values.h: Likewise.
6225         * wchar.h: Likewise.
6226         * wctype.h: Likewise.
6227         * wordexp.h: Likewise.
6228         * xlocale.h: Likewise.
6229         * xopen_lim.h: Likewise.
6230
6231         * sysdeps/mach/libc-lock.h: Likewise.
6232         * sysdeps/stub/libc-lock.h: Likewise.
6233         * sysdeps/mach/hurd/local_lim.h: Likewise.
6234         * sysdeps/stub/local_lim.h: Likewise.
6235         * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
6236         * sysdeps/unix/sysv/local_lim.h: Likewise.
6237         * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
6238         * sysdeps/mach/hurd/posix_opt.h: Likewise.
6239         * sysdeps/stub/posix_opt.h: Likewise.
6240         * sysdeps/unix/bsd/posix_opt.h: Likewise.
6241         * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
6242         * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
6243         * math/cmathcalls.h: -> bits/
6244         * math/mathcalls.h: Likewise.
6245         * misc/stab.def: -> bits/
6246         * posix/posix1_lim.h: -> bits/
6247         * posix/posix2_lim.h: Likewise.
6248         * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
6249         * sysdeps/i386/fpu/__math.h: Likewise.
6250         * sysdeps/m68k/fpu/__math.h: Likewise.
6251         * sysdeps/m68k/fpu/switch/__math.h: Likewise.
6252         * sysdeps/powerpc/__math.h: Likewise.
6253         * sysdeps/stub/__math.h: Likewise.
6254         * sysdeps/alpha/bytesex.h: -> .../bits/endian.h
6255         * sysdeps/arm/bytesex.h: Likewise.
6256         * sysdeps/i386/bytesex.h: Likewise.
6257         * sysdeps/m68k/bytesex.h: Likewise.
6258         * sysdeps/mips/bytesex.h: Likewise.
6259         * sysdeps/mips/dec/bytesex.h: Likewise.
6260         * sysdeps/mips/mipsel/bytesex.h: Likewise.
6261         * sysdeps/mips/p40/bytesex.h: Likewise.
6262         * sysdeps/sparc/bytesex.h: Likewise.
6263         * sysdeps/stub/bytesex.h: Likewise.
6264         * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
6265         * sysdeps/i386/fpu/fenvbits.h: Likewise.
6266         * sysdeps/m68k/fpu/fenvbits.h: Likewise.
6267         * sysdeps/powerpc/fenvbits.h: Likewise.
6268         * sysdeps/stub/fenvbits.h: Likewise.
6269         * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
6270         * sysdeps/arm/jmp_buf.h: Likewise.
6271         * sysdeps/i386/jmp_buf.h: Likewise.
6272         * sysdeps/m68k/jmp_buf.h: Likewise.
6273         * sysdeps/mips/jmp_buf.h: Likewise.
6274         * sysdeps/sparc/jmp_buf.h: Likewise.
6275         * sysdeps/powerpc/jmp_buf.h: Likewise.
6276         * sysdeps/stub/jmp_buf.h: Likewise.
6277         * sysdeps/vax/jmp_buf.h: Likewise.
6278         * sysdeps/generic/confname.h: -> bits/
6279         * sysdeps/unix/sysv/irix4/confname.h: Likewise.
6280         * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
6281         * sysdeps/generic/gnu/types.h: -> ../bits/types.h
6282         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
6283         * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
6284         * sysdeps/generic/ioctl-types.h: -> bits/
6285         * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
6286         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
6287         * sysdeps/generic/iovec.h: -> .../bits/uio.h
6288         * sysdeps/unix/sysv/linux/iovec.h: Likewise.
6289         * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
6290         * sysdeps/i386/fpu/mathbits.h: Likewise.
6291         * sysdeps/m68k/fpu/mathbits.h: Likewise.
6292         * sysdeps/powerpc/mathbits.h: Likewise.
6293         * sysdeps/generic/resourcebits.h: -> .../bits/resource.h
6294         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
6295         * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
6296         * sysdeps/generic/schedbits.h: -> .../bits/sched.h
6297         * sysdeps/unix/sysv/linux/schedbits.h: Likewise.
6298         * sysdeps/generic/selectbits.h: -> .../bits/select.h
6299         * sysdeps/i386/selectbits.h: Likewise.
6300         * sysdeps/generic/sigaction.h: -> bits/
6301         * sysdeps/unix/bsd/osf/sigaction.h: Likewise.
6302         * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
6303         * sysdeps/unix/sysv/linux/sigaction.h: Likewise.
6304         * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
6305         * sysdeps/unix/sysv/minix/sigaction.h: Likewise.
6306         * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
6307         * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
6308         * sysdeps/generic/sigset.h: -> bits/
6309         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
6310         * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
6311         * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
6312         * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
6313         * sysdeps/generic/socketbits.h: -> .../bits/socket.h
6314         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
6315         * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
6316         * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
6317         * sysdeps/generic/termbits.h: -> .../bits/termios.h
6318         * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
6319         * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
6320         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
6321         * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
6322         * sysdeps/unix/sysv/linux/termbits.h: Likewise.
6323         * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
6324         * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
6325         * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
6326         * sysdeps/gnu/utmpbits.h: Likewise.
6327         * sysdeps/unix/sysv/utmpbits.h: Likewise.
6328         * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
6329         * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
6330         * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
6331         * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
6332         * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
6333         * sysdeps/unix/sysv/utsnamelen.h: Likewise.
6334         * sysdeps/generic/waitstatus.h: -> bits/
6335         * sysdeps/i386/huge_val.h: -> bits/
6336         * sysdeps/ieee754/huge_val.h: Likewise.
6337         * sysdeps/m68k/huge_val.h: Likewise.
6338         * sysdeps/stub/huge_val.h: Likewise.
6339         * sysdeps/vax/huge_val.h: Likewise.
6340         * sysdeps/ieee754/nan.h: Likewise.
6341         * sysdeps/stub/nan.h: Likewise.
6342         * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
6343         * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
6344         * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
6345         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
6346         * sysdeps/stub/sigcontext.h: Likewise.
6347         * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
6348         * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
6349         * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
6350         * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
6351         * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
6352         * sysdeps/standalone/arm/errnos.h: Likewise.
6353         * sysdeps/stub/errnos.h: Likewise.
6354         * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
6355         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
6356         * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
6357         * sysdeps/stub/fcntlbits.h: Likewise.
6358         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
6359         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
6360         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
6361         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
6362         * sysdeps/unix/common/fcntlbits.h: Likewise.
6363         * sysdeps/unix/sysv/fcntlbits.h: Likewise.
6364         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
6365         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
6366         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
6367         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
6368         * sysdeps/mach/hurd/ioctls.h: -> bits/
6369         * sysdeps/stub/ioctls.h: Likewise.
6370         * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
6371         * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
6372         * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
6373         * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
6374         * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
6375         * sysdeps/stub/statbuf.h: Likewise.
6376         * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
6377         * sysdeps/unix/bsd/statbuf.h: Likewise.
6378         * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
6379         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
6380         * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
6381         * sysdeps/unix/sysv/statbuf.h: Likewise.
6382         * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
6383         * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
6384         * sysdeps/standalone/stdio_lim.h: -> bits/
6385         * sysdeps/stub/stdio_lim.h: Likewise.
6386         * sysdeps/stub/direntry.h: -> ../bits/dirent.h
6387         * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
6388         * sysdeps/unix/bsd/direntry.h: Likewise.
6389         * sysdeps/unix/common/direntry.h: Likewise.
6390         * sysdeps/unix/sysv/direntry.h: Likewise.
6391         * sysdeps/unix/sysv/linux/direntry.h: Likewise.
6392         * sysdeps/stub/elfclass.h: -> bits/
6393         * sysdeps/wordsize-32/elfclass.h: Likewise.
6394         * sysdeps/wordsize-64/elfclass.h: Likewise.
6395         * sysdeps/stub/signum.h: -> bits/
6396         * sysdeps/unix/bsd/signum.h: Likewise.
6397         * sysdeps/unix/bsd/sun/signum.h: Likewise.
6398         * sysdeps/unix/sysv/irix4/signum.h: Likewise.
6399         * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
6400         * sysdeps/unix/sysv/linux/signum.h: Likewise.
6401         * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
6402         * sysdeps/unix/sysv/signum.h: Likewise.
6403         * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
6404         * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
6405         * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
6406         * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
6407         * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
6408         * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
6409         * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
6410         * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
6411         * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
6412         * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
6413         * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
6414         * sysdeps/stub/timebits.h: -> .../bits/time.h
6415         * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
6416         * sysdeps/unix/sysv/linux/timebits.h: Likewise.
6417         * sysdeps/stub/waitflags.h: -> bits/
6418         * sysdeps/unix/bsd/waitflags.h: Likewise.
6419         * sysdeps/unix/sysv/linux/waitflags.h: Likewise.
6420         * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
6421         * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
6422         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
6423         * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
6424         * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
6425
6426         * argp/argp-fmtstream.h: Standardize the multiple-include protect.
6427         * argp/argp.h: Likewise.
6428         * catgets/nl_types.h: Likewise.
6429         * crypt/sysdeps/unix/crypt.h: Likewise.
6430         * ctype/ctype.h: Likewise.
6431         * db/db.h: Likewise.
6432         * db/mpool.h: Likewise.
6433         * db/ndbm.h: Likewise.
6434         * dirent/dirent.h: Likewise.
6435         * elf/dlfcn.h: Likewise.
6436         * elf/elf.h: Likewise.
6437         * elf/link.h: Likewise.
6438         * gmon/sys/gmon.h: Likewise.
6439         * gmon/sys/gmon_out.h: Likewise.
6440         * grp/grp.h: Likewise.
6441         * inet/aliases.h: Likewise.
6442         * inet/arpa/ftp.h: Likewise.
6443         * inet/arpa/inet.h: Likewise.
6444         * inet/arpa/telnet.h: Likewise.
6445         * inet/arpa/tftp.h: Likewise.
6446         * inet/netinet/ether.h: Likewise.
6447         * inet/netinet/icmp6.h: Likewise.
6448         * inet/netinet/in.h: Likewise.
6449         * inet/netinet/ip6.h: Likewise.
6450         * inet/protocols/routed.h: Likewise.
6451         * inet/protocols/rwhod.h: Likewise.
6452         * inet/protocols/talkd.h: Likewise.
6453         * inet/protocols/timed.h: Likewise.
6454         * intl/libintl.h: Likewise.
6455         * io/fcntl.h: Likewise.
6456         * io/fts.h: Likewise.
6457         * io/ftw.h: Likewise.
6458         * io/sys/poll.h: Likewise.
6459         * io/sys/stat.h: Likewise.
6460         * io/sys/statfs.h: Likewise.
6461         * io/utime.h: Likewise.
6462         * locale/locale.h: Likewise.
6463         * login/pty.h: Likewise.
6464         * login/utmp.h: Likewise.
6465         * malloc/malloc.h: Likewise.
6466         * malloc/obstack.h: Likewise.
6467         * math/complex.h: Likewise.
6468         * math/fenv.h: Likewise.
6469         * math/math.h: Likewise.
6470         * md5-crypt/md5.h: Likewise.
6471         * misc/ar.h: Likewise.
6472         * misc/err.h: Likewise.
6473         * misc/error.h: Likewise.
6474         * misc/fstab.h: Likewise.
6475         * misc/libgen.h: Likewise.
6476         * misc/nlist.h: Likewise.
6477         * misc/sys/cdefs.h: Likewise.
6478         * misc/sys/file.h: Likewise.
6479         * misc/sys/ioctl.h: Likewise.
6480         * misc/sys/queue.h: Likewise.
6481         * misc/sys/select.h: Likewise.
6482         * misc/sys/syslog.h: Likewise.
6483         * misc/sys/uio.h: Likewise.
6484         * misc/sysexits.h: Likewise.
6485         * misc/ttyent.h: Likewise.
6486         * nss/nss.h: Likewise.
6487         * posix/fnmatch.h: Likewise.
6488         * posix/getopt.h: Likewise.
6489         * posix/glob.h: Likewise.
6490         * posix/regex.h: Likewise.
6491         * posix/sys/times.h: Likewise.
6492         * posix/sys/types.h: Likewise.
6493         * posix/sys/utsname.h: Likewise.
6494         * posix/sys/wait.h: Likewise.
6495         * posix/tar.h: Likewise.
6496         * posix/unistd.h: Likewise.
6497         * posix/wordexp.h: Likewise.
6498         * pwd/pwd.h: Likewise.
6499         * resolv/arpa/nameser.h: Likewise.
6500         * resolv/netdb.h: Likewise.
6501         * resolv/resolv.h: Likewise.
6502         * resource/sys/resource.h: Likewise.
6503         * resource/sys/vlimit.h: Likewise.
6504         * resource/sys/vtimes.h: Likewise.
6505         * setjmp/setjmp.h: Likewise.
6506         * shadow/shadow.h: Likewise.
6507         * socket/sys/socket.h: Likewise.
6508         * socket/sys/un.h: Likewise.
6509         * stdlib/exit.h: Likewise.
6510         * stdlib/fmtmsg.h: Likewise.
6511         * stdlib/monetary.h: Likewise.
6512         * stdlib/stdlib.h: Likewise.
6513         * string/argz.h: Likewise.
6514         * string/envz.h: Likewise.
6515         * string/memory.h: Likewise.
6516         * string/string.h: Likewise.
6517         * string/strings.h: Likewise.
6518         * sunrpc/rpc/rpc.h: Likewise.
6519         * sunrpc/rpc/svc.h: Likewise.
6520         * sunrpc/rpc/types.h: Likewise.
6521         * sunrpc/rpc/xdr.h: Likewise.
6522         * termios/sys/ttychars.h: Likewise.
6523         * termios/termios.h: Likewise.
6524
6525         * argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
6526         * crypt/sysdeps/unix/crypt_util.c: Likewise.
6527         * dirent/dirent.h: Likewise.
6528         * elf/link.h: Likewise.
6529         * grp/fgetgrent.c: Likewise.
6530         * grp/grp.h: Likewise.
6531         * hurd/hurd/ioctl.h: Likewise.
6532         * inet/getnameinfo.c: Likewise.
6533         * inet/getnetgrent_r.c: Likewise.
6534         * inet/inet_ntoa.c: Likewise.
6535         * inet/netinet/in.h: Likewise.
6536         * io/fcntl.h: Likewise.
6537         * io/ftw.h: Likewise.
6538         * io/sys/stat.h: Likewise.
6539         * io/sys/statfs.h: Likewise.
6540         * io/utime.h: Likewise.
6541         * libio/_G_config.h: Likewise.
6542         * libio/libio.h: Likewise.
6543         * libio/libioP.h: Likewise.
6544         * libio/stdio.h: Likewise.
6545         * locale/duplocale.c: Likewise.
6546         * locale/freelocale.c: Likewise.
6547         * locale/lc-time.c: Likewise.
6548         * locale/setlocale.c: Likewise.
6549         * login/getutent_r.c: Likewise.
6550         * login/getutid_r.c: Likewise.
6551         * login/getutline_r.c: Likewise.
6552         * login/lastlog.h: Likewise.
6553         * login/pty.h: Likewise.
6554         * login/utmp.h: Likewise.
6555         * login/utmpname.c: Likewise.
6556         * malloc/mtrace.c: Likewise.
6557         * malloc/thread-m.h: Likewise.
6558         * math/complex.h: Likewise.
6559         * math/fenv.h: Likewise.
6560         * math/libm-test.c: Likewise.
6561         * math/math.h: Likewise.
6562         * misc/sgtty.h: Likewise.
6563         * misc/stab.h: Likewise.
6564         * misc/sys/ioctl.h: Likewise.
6565         * misc/sys/select.h: Likewise.
6566         * misc/sys/uio.h: Likewise.
6567         * misc/sys/ustat.h: Likewise.
6568         * misc/syslog.c: Likewise.
6569         * nis/nss_compat/compat-grp.c: Likewise.
6570         * nis/nss_compat/compat-pwd.c: Likewise.
6571         * nis/nss_compat/compat-spwd.c: Likewise.
6572         * nis/nss_nis/nis-alias.c: Likewise.
6573         * nis/nss_nis/nis-ethers.c: Likewise.
6574         * nis/nss_nis/nis-grp.c: Likewise.
6575         * nis/nss_nis/nis-hosts.c: Likewise.
6576         * nis/nss_nis/nis-netgrp.c: Likewise.
6577         * nis/nss_nis/nis-network.c: Likewise.
6578         * nis/nss_nis/nis-proto.c: Likewise.
6579         * nis/nss_nis/nis-publickey.c: Likewise.
6580         * nis/nss_nis/nis-pwd.c: Likewise.
6581         * nis/nss_nis/nis-rpc.c: Likewise.
6582         * nis/nss_nis/nis-service.c: Likewise.
6583         * nis/nss_nis/nis-spwd.c: Likewise.
6584         * nss_nisplus/nisplus-alias.c: Likewise.
6585         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6586         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6587         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6588         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6589         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6590         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6591         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6592         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6593         * nis/nss_nisplus/nisplus-service.c: Likewise.
6594         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6595         * nis/ypclnt.c: Likewise.
6596         * nss/getXXbyYY.c: Likewise.
6597         * nss/getXXent.c: Likewise.
6598         * nss/getXXent_r.c: Likewise.
6599         * nss/nss_db/db-XXX.c: Likewise.
6600         * nss/nss_db/db-alias.c: Likewise.
6601         * nss/nss_db/db-netgrp.c: Likewise.
6602         * nss/nss_files/files-XXX.c: Likewise.
6603         * nss/nss_files/files-alias.c: Likewise.
6604         * nss/nsswitch.c: Likewise.
6605         * posix/sched.h: Likewise.
6606         * posix/sys/types.h: Likewise.
6607         * posix/sys/utsname.h: Likewise.
6608         * posix/sys/wait.h: Likewise.
6609         * posix/unistd.h: Likewise.
6610         * pwd/fgetpwent.c: Likewise.
6611         * pwd/pwd.h: Likewise.
6612         * resource/sys/resource.h: Likewise.
6613         * setjmp/setjmp.h: Likewise.
6614         * shadow/fgetspent.c: Likewise.
6615         * shadow/lckpwdf.c: Likewise.
6616         * shadow/sgetspent.c: Likewise.
6617         * signal/signal.h: Likewise.
6618         * signal/sigsetops.c: Likewise.
6619         * socket/sys/socket.h: Likewise.
6620         * socket/sys/un.h: Likewise.
6621         * stdio/stdio.h: Likewise.
6622         * stdio-common/vfprintf.c: Likewise.
6623         * stdio-common/vfscanf.c: Likewise.
6624         * stdlib/atexit.c: Likewise.
6625         * stdlib/fmtmsg.c: Likewise.
6626         * stdlib/random.c: Likewise.
6627         * string/endian.h: Likewise.
6628         * sysdeps/alpha/w_sqrt.S: Likewise.
6629         * sysdeps/arm/__longjmp.S: Likewise.
6630         * sysdeps/arm/setjmp.S: Likewise.
6631         * sysdeps/generic/abort.c: Likewise.
6632         * sysdeps/generic/netinet/ip.h: Likewise.
6633         * sysdeps/generic/setenv.c: Likewise.
6634         * generic/sys/mman.h: Likewise.
6635         * sysdeps/i386/__longjmp.S: Likewise.
6636         * sysdeps/i386/setjmp.S: Likewise.
6637         * sysdeps/mach/hurd/dirstream.h: Likewise.
6638         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
6639         * sysdeps/posix/mk-stdiolim.c: Likewise.
6640         * sysdeps/powerpc/__longjmp.S: Likewise.
6641         * sysdeps/powerpc/setjmp.S: Likewise.
6642         * sysdeps/sparc/__longjmp.S: Likewise.
6643         * sysdeps/sparc/setjmp.S: Likewise.
6644         * sysdeps/standalone/close.c: Likewise.
6645         * sysdeps/standalone/filedesc.h: Likewise.
6646         * sysdeps/standalone/open.c: Likewise.
6647         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
6648         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
6649         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
6650         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
6651         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
6652         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
6653         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
6654         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
6655         * sysdeps/unix/dirstream.h: Likewise.
6656         * sysdeps/unix/i386/sysdep.S: Likewise.
6657         * sysdeps/unix/mips/sysdep.S: Likewise.
6658         * sysdeps/unix/mk-local_lim.c: Likewise.
6659         * sysdeps/unix/sparc/sysdep.S: Likewise.
6660         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
6661         * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
6662         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6663         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6664         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6665         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6666         * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
6667         * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
6669         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6670         * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
6671         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
6672         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
6673         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
6674         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
6675         * sysvipc/sys/ipc.h: Likewise.
6676         * sysvipc/sys/msg.h: Likewise.
6677         * sysvipc/sys/sem.h: Likewise.
6678         * sysvipc/sys/shm.h: Likewise.
6679         * termios/termios.h: Likewise.
6680         * time/localtime.c: Likewise.
6681         * time/sys/time.h: Likewise.
6682         * time/time.h: Likewise.
6683         * time/tzset.c: Likewise.
6684
6685         * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
6686         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6687         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6688         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6689         * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
6690
6691         * Makefile (headers): foo.h -> bits/foo.h.
6692         * dirent/Makefile: Likewise.
6693         * elf/Makefile: Likewise.
6694         * io/Makefile: Likewise.
6695         * login/Makefile: Likewise.
6696         * math/Makefile: Likewise.
6697         * misc/Makefile: Likewise.
6698         * posix/Makefile: Likewise.
6699         * resource/Makefile: Likewise.
6700         * setjmp/Makefile: Likewise.
6701         * signal/Makefile: Likewise.
6702         * socket/Makefile: Likewise.
6703         * stdio-common/Makefile: Likewise.
6704         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6705         * sysvipc/Makefile: Likewise.
6706         * termios/Makefile: Likewise.
6707         * time/Makefile: Likewise.
6708         * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
6709         * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
6710         * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
6711         ioctls.h, termbits.h.
6712
6713         * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
6714         -> kernel_termios.h, sys/socketcall.h -> socketcall.h
6715
6716         * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
6717         for getting the proper length on the ELF types to be friendly to
6718         non-gcc compilers.
6719         * posix/sys/types.h: Notice when int8_t and friends are defined
6720         and don't redefine them.
6721         * sysdeps/wordsize-32/inttypes.h: Likewise.
6722         * sysdeps/wordsize-64/inttypes.h: Likewise.
6723
6724         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
6725         via <signal.h> instead.
6726         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
6727         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
6728
6729 1997-06-20 17:59  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
6730
6731         * hurd/intr-msg.c: More 64bit changes.
6732         * mach/msg-destroy.c: Likewise.
6733         * sysdeps/mach/hurd/ioctl.c: Likewise.
6734         * sysdeps/mach/hurd/ioctls.h: Likewise.
6735         * sysdeps/mach/hurd/select.c: Likewise.
6736         * sysdeps/mach/hurd/statbuf.h: Likewise.
6737
6738         * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
6739         * sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
6740         * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
6741         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
6742         * sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
6743         * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
6744         * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
6745         * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
6746         * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
6747         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
6748         * sysdeps/mach/mips/cacheflush.c: Likewise.
6749         * sysdeps/mach/mips/machine-lock.h: Likewise.
6750         * sysdeps/mach/mips/machine-sp.h: Likewise.
6751         * sysdeps/mach/mips/syscall.S: Likewise.
6752         * sysdeps/mach/mips/sysdep.h: Likewise.
6753         * sysdeps/mach/mips/thread_state.h: Likewise.
6754         * sysdeps/mach/start.c: Likewise.
6755
6756         * sysdeps/mips/dl-machine.h: MIPS changes.
6757         * sysdeps/mips/elf/start.S: Likewise.
6758         * sysdeps/mips/init-first.c: Likewise.
6759         * sysdeps/mips/fpu_control.h: Likewise.
6760         * sysdeps/mips/machine-gmon.h: Likewise.
6761         * sysdeps/mips/jmp_buf.h: Likewise.
6762         * sysdeps/mips/__longjmp.c: Likewise.
6763         * sysdeps/mips/bsd-_setjmp.S: Likewise.
6764         * sysdeps/mips/bsd-setjmp.S: Likewise.
6765         * sysdeps/mips/setjmp.S: Likewise.
6766         * sysdeps/mips/setjmp_aux.c: Likewise.
6767         * sysdeps/mips/mips64/gmp-mparam.h: Likewise.
6768         * sysdeps/mips/add_n.S: New file.
6769         * sysdeps/mips/addmul_1.S: Likewise.
6770         * sysdeps/mips/lshift.S: Likewise.
6771         * sysdeps/mips/mul_1.S: Likewise.
6772         * sysdeps/mips/rshift.S: Likewise.
6773         * sysdeps/mips/sub_n.S: Likewise.
6774         * sysdeps/mips/submul_1.S: Likewise.
6775         * sysdeps/mips/mips64/Implies: Likewise.
6776         * sysdeps/mips/mips64/add_n.S: Likewise.
6777         * sysdeps/mips/mips64/addmul_1.S: Likewise.
6778         * sysdeps/mips/mips64/lshift.S: Likewise.
6779         * sysdeps/mips/mips64/mul_1.S: Likewise.
6780         * sysdeps/mips/mips64/rshift.S: Likewise.
6781         * sysdeps/mips/mips64/sub_n.S: Likewise.
6782         * sysdeps/mips/mips64/submul_1.S: Likewise.
6783         * sysdeps/mips/add_n.S: Removed.
6784         * sysdeps/mips/addmul_1.S: Likewise.
6785         * sysdeps/mips/lshift.S: Likewise.
6786         * sysdeps/mips/mul_1.S: Likewise.
6787         * sysdeps/mips/rshift.S: Likewise.
6788         * sysdeps/mips/sub_n.S: Likewise.
6789         * sysdeps/mips/submul_1.S: Likewise.
6790
6791         * nss/Makefile: Prepare for static NSS.
6792         * resolv/Makefile: Likewise.
6793         * nss/nsswitch.c: Add code for static NSS.
6794         * nss/function.def: Define functions for static NSS.
6795
6796 1997-06-19 11:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6797
6798         * libc.map: Add yet more symbols.
6799
6800 1997-06-19 20:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6801
6802         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
6803         as object name to _dl_signal_error.
6804         (do_lookup): Skip objects that could not be opened.
6805
6806         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
6807         symbol was found.
6808         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6809         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
6810
6811 1997-06-20 03:13  Kazumoto Kojima  <kkojima@kk.info.kanagawa-u.ac.jp>
6812
6813         * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
6814         assumed.
6815         * ctype/ctype.h: Likewise.
6816         * math/math_private.h: Likewise.
6817         * inet/netinet/in.h: Likewise.
6818         * wctype/wctype.h: Likewise.
6819
6820         * nss/Makefile: Only inhibit nss_files and nss_db modules if static
6821         NSS modules are not enabled.
6822         * resolv/Makefile: Likewise for nss_dns.
6823         * nss/function.def: New file.  List all available lookup functions
6824         for static NSS.
6825         * nss/nsswitch.c: Add code for static NSS.
6826
6827 1997-06-15 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6828
6829         * math/libm-test.c (gamma_test): Test for _SVID_ and for normal
6830         behaviour.
6831
6832 1997-06-15 20:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6833
6834         * math/libm.map: Add all necessary functions, correct existing entries.
6835
6836 1997-06-20 02:35  a sun  <asun@zoology.washington.edu>
6837
6838         * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
6839
6840 1997-06-19 18:43  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6841
6842         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
6843         Compare pointer with NULL.
6844
6845         * login/logout.c (logout): Compare pututline result with NULL.
6846
6847 1997-06-19 19:38  Ulrich Drepper  <drepper@cygnus.com>
6848
6849         * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__.
6850
6851         * elf/dl-minimal.c (__dcgettext): Remove assertion.
6852
6853         * inet/rcmd.c: Correct a few typos.  Reported by Erik Troan.
6854
6855         * manual/Makefile (distribute): Add dir.
6856         * manual/dir: New file.
6857
6858         * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll,
6859         s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround,
6860         and s_llround respectively.
6861         (libm-calls): Add e_gamma_r.
6862         * math/libm-test.c (check_int_exc): New function.
6863         (signbit_test): Remove test for sign of NaN.
6864         (gamma_test): Clear exception after test of existence.
6865         Correct tests and and epsilons.
6866         (lgamma_test): Likewise.
6867         (ilogb_test): Correct all tests.
6868         (scalb_test): Rewrite.
6869         (rinttol_test): Rename to lrint_test and correct tests.
6870         (rinttoll_test): Likewise.
6871         (roundtol_test): Likewise.
6872         (roundtoll_test): Likewise.
6873         (main): Call lrint/lround functions instead of rinttol/roundtol.
6874         * math/math.h: Change prototypes for rinttol/roundtol.
6875         * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft.
6876         * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN.
6877         * sysdeps/i386/mathbits.h: Likewise.
6878         * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly.
6879         * sysdeps/libm-i387/e_scalbf.S: Likewise.
6880         * sysdeps/libm-i387/e_scalbl.S: Likewise.
6881         * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly.
6882         * sysdeps/libm-i387/s_asinhf.S: Likewise.
6883         * sysdeps/libm-i387/s_asinhl.S: Likewise.
6884         * sysdeps/libm-i387/s_ilogb.S: Optimize.
6885         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
6886         * sysdeps/libm-i387/s_ilogbl.S: Likewise.
6887         * sysdeps/libm-i387/s_rinttol.S: Rename to...
6888         * sysdeps/libm-i387/s_lrint.S: ...this.
6889         * sysdeps/libm-i387/s_rinttoll.S: Rename to...
6890         * sysdeps/libm-i387/s_llrint.S: ...this.
6891         * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder.
6892         * sysdeps/libm-i387/s_remquof.S: Likewise.
6893         * sysdeps/libm-i387/s_remquol.S: Likewise.
6894         * sysdeps/libm-i387/e_gamma_r.c: New file.  Implementation of gamma
6895         function according to ISO C.
6896         * sysdeps/libm-i387/e_gammaf_r.c: New file.
6897         * sysdeps/libm-i387/e_gammal_r.c: New file.
6898         * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the
6899         generation of exceptions away.
6900         * sysdeps/libm-i387/e_lgammaf_r.c: Likewise.
6901         * sysdeps/libm-i387/k_standard.c: Correct return value for infinity
6902         points of gamma function when not SVID mode.
6903         * sysdeps/libm-i387/s_rinttoll.c: Renamed to...
6904         * sysdeps/libm-i387/s_llrint.c: ...this.
6905         * sysdeps/libm-i387/s_rinttol.c: Renamed to...
6906         * sysdeps/libm-i387/s_lrint.c: ...this.
6907         * sysdeps/libm-i387/s_roundtoll.c: Renamed to...
6908         * sysdeps/libm-i387/s_llround.c: ...this.
6909         * sysdeps/libm-i387/s_roundtol.c: Renamed to...
6910         * sysdeps/libm-i387/s_lround.c: ..this.
6911         * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to
6912         ISO C.
6913         * sysdeps/libm-i387/s_scalbnf.c: Likewise.
6914         * sysdeps/libm-i387/s_scalbnl.c: Likewise.
6915         * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library
6916         mode is not _SVID_.
6917         * sysdeps/libm-i387/w_gammaf.c: Likewise.
6918         * sysdeps/libm-i387/w_gammal.c: Likewise.
6919         * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and
6920         rinttol to lrint.
6921         * sysdeps/m68k/fpu/s_rinttol.c: Renamed to...
6922         * sysdeps/m68k/fpu/s_lrint.c: ...this.
6923         * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to...
6924         * sysdeps/m68k/fpu/s_llrint.c: ...this.
6925
6926         * md5-crypt/Makefile: Link md5test program with md5.o.
6927
6928         * stdio-common/temptest.c: Don't use __stdio_gen_tempname which
6929         is not exported by the libc.so.
6930
6931         * stdio-common/vfscanf.c: Correct scanning of strings after last
6932         change.
6933
6934         * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno.
6935
6936 1997-06-19 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
6937
6938         * time/tzfile.c (__tzfile_read): Store getc () return in int.
6939
6940 1997-06-13  Miles Bader  <miles@gnu.ai.mit.edu>
6941
6942         * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in
6943         the no-version error text to indicate that something's fucked.
6944         [!_] (N_): New macro.
6945         (argp_default_options, argp_version_options): Wrap doc strings in N_().
6946
6947 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
6948
6949         * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled
6950         options here.
6951         (parser_parse_arg): Handle ARGP_KEY_ARGS here.
6952         Adjust NEXT pointer back if we fail to parse anything.
6953         (parser_parse_next): Simplify arg code.  Leave state NEXT frobbing
6954         to parser_parse_arg.
6955
6956 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
6957
6958         * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros.
6959         * argp/argp-parse.c (parser_finalize): Do another pass over the
6960         parsers with ARGP_KEY_FINI.
6961
6962 1997-06-18  Miles Bader  <miles@gnu.ai.mit.edu>
6963
6964         * string/Makefile (routines): Add argz-replace.
6965
6966 1997-06-16 00:16  Miles Bader  <miles@gnu.ai.mit.edu>
6967
6968         * manual/string.texi (Argz Functions): Document argz_replace.
6969
6970 1997-06-12  Miles Bader  <miles@gnu.ai.mit.edu>
6971
6972         * string/argz.h (__argz_replace, argz_replace): New declarations.
6973         * string/argz-replace.c: New file.
6974
6975 1997-06-11  Miles Bader  <miles@gnu.ai.mit.edu>
6976
6977         * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS.
6978
6979 1997-06-16 23:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6980
6981         * Makeconfig (libc-map): Remove definition.
6982         * Makerules (libc-map): Define it here, using the full name.
6983         (load-map-file): Remove case for empty $(..).
6984         ($(common-objpfx)libc.so): Revert last change.
6985
6986 1997-06-17 22:18  Mark Kettenis  <kettenis@phys.uva.nl>
6987
6988         * login/programs/utmpd.c (main): Improve signal handling.
6989
6990         * login/programs/request.c (do_setutent, do_updwtmp):
6991         Allow arbitrary length filenames.
6992         * login/programs/utmpd.h (setutent_request, updwtmp_request):
6993         Get rid of fixed length file field.
6994         * login/utmp_daemon.c (do_setutent, do_updwtmp):
6995         Allow arbitrary length filenames.
6996
6997         * login/programs/request.c (do_pututline):
6998         Don't fail if connection->position is -1 on entry.
6999
7000 1997-06-15 16:32  Mark Kettenis  <kettenis@phys.uva.nl>
7001
7002         * login/utmp_file.c (updwtmp_file): Use the same method for
7003         appending an entry as in pututline_file.
7004
7005 1997-06-11 18:59  Mark Kettenis  <kettenis@phys.uva.nl>
7006
7007         * login/utmp_file.c (getutent_r_file):
7008         Use read lock instead of write lock.
7009         (getutline_r_file, internal_getut_r): Lock utmp file.
7010         (updwtmp_file): Use fcntl to lock file instead of flock.
7011
7012 1997-06-18 00:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7013
7014         * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
7015         character read in/put back.
7016         * stdio-common/tstscanf.c: Add test case for this.
7017
7018 1997-06-17 22:17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7019
7020         * libc.map: Add more symbols.
7021
7022 1997-06-18 12:01  Ulrich Drepper  <drepper@cygnus.com>
7023
7024         * manual/Makefile (install): Make sure `dir' file exists if we use
7025         install-info.
7026
7027 1997-06-17 19:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7028
7029         * manual/Makefile (info): Depend on dir-add.info.
7030
7031 1997-06-17 17:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7032
7033         * elf/ldd.bash.in: Fix spacing in message.
7034
7035 1997-06-17 14:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7036
7037         * elf/do-rel.h (elf_dynamic_do_rel): Always use version
7038         information if available.
7039
7040 1997-06-17 11:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7041
7042         * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make
7043         command non-empty to force make to recheck modification time.
7044         ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise.
7045
7046 1997-06-17 00:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7047
7048         * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
7049         * sysdeps/stub/e_acosl.c: Likewise.
7050         * sysdeps/stub/e_asinl.c: Likewise.
7051         * sysdeps/stub/e_atan2l.c: Likewise.
7052         * sysdeps/stub/e_expl.c: Likewise.
7053         * sysdeps/stub/e_fmodl.c: Likewise.
7054         * sysdeps/stub/e_j0l.c: Likewise.
7055         * sysdeps/stub/e_j1l.c: Likewise.
7056         * sysdeps/stub/e_jnl.c: Likewise.
7057         * sysdeps/stub/e_lgammal_r.c: Likewise.
7058         * sysdeps/stub/e_log10l.c: Likewise.
7059         * sysdeps/stub/e_logl.c: Likewise.
7060         * sysdeps/stub/e_powl.c: Likewise.
7061         * sysdeps/stub/e_rem_pio2l.c: Likewise.
7062         * sysdeps/stub/e_sqrtl.c: Likewise.
7063         * sysdeps/stub/k_cosl.c: Likewise.
7064         * sysdeps/stub/k_rem_pio2l.c: Likewise.
7065         * sysdeps/stub/k_sinl.c: Likewise.
7066         * sysdeps/stub/k_tanl.c: Likewise.
7067         * sysdeps/stub/s_atanl.c: Likewise.
7068         * sysdeps/stub/s_erfl.c: Likewise.
7069         * sysdeps/stub/s_exp2.c: Likewise.
7070         * sysdeps/stub/s_exp2f.c: Likewise.
7071         * sysdeps/stub/s_exp2l.c: Likewise.
7072         * sysdeps/stub/s_expm1l.c: Likewise.
7073         * sysdeps/stub/s_log1pl.c: Likewise.
7074         * sysdeps/stub/s_log2l.c: Likewise.
7075
7076 1997-06-18 11:46  Ulrich Drepper  <drepper@cygnus.com>
7077
7078         * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute
7079         result as before last change.
7080         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
7081         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
7082
7083 1997-06-16 23:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7084
7085         * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing
7086         quotient.
7087         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
7088         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
7089
7090         * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for
7091         quotient.
7092
7093         * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp
7094         function.  Don't use global signgam.
7095         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
7096         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
7097
7098         * math/Makefile (libm-calls): Remove w_gamma_r.
7099         * sysdeps/libm-ieee754/w_gamma_r.c: Remove file.
7100         * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file.
7101         * sysdeps/libm-ieee754/w_gammal_r.c: Remove file.
7102
7103         * math/libm-test.c (atanh_test): Declare x only if needed.
7104         (signbit_test): Fix typo.
7105         (gamma_test): Check whether function is implemented.  Add
7106         epsilons.
7107         (lgamma_test): Likewise.
7108         (fmod_test): Add epsilons.
7109         (exp2_test): Use right function for existence test.
7110
7111 1997-06-07 09:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7112
7113         * sysdeps/powerpc/Dist: Add fenv_const.c.
7114         * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h.
7115         * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and
7116         syscall.h.
7117         * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h.
7118         * string/Makefile (distribute): Add tst-svc.expect.
7119         * nis/Makefile (distribute): Add nis_intern.h and Banner.
7120         * elf/Makefile (distribute): Add dl-hash.h.
7121         * Rules (subdir_echo-distinfo): Add headers from $(distribute).
7122
7123         * login/Makefile (others): Add utmpdump.
7124         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7125         net/if_slip.h.
7126
7127         * manual/Makefile (dir-add.texi): Also look in indirectly included
7128         files.
7129
7130 1997-06-16 23:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7131
7132         * sysdeps/unix/sysv/linux/configure.in: Remove commands to
7133         generate stdio_lim.h.
7134         * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove.
7135         * sysdeps/unix/sysv/linux/Makefile: Add rules to generate
7136         stdio_lim.h here.
7137         (common-generated): Add generated files.
7138         (inhibit-stdio_lim): Define.
7139         * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules
7140         to generate stdio_lim.h.
7141
7142         * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of
7143         dependecy files if no_deps is set.
7144         ($(objpfx)syscall-%.d): Add header file as target to dependency
7145         generation.
7146
7147 1997-06-14 19:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7148
7149         * sysdeps/unix/sysv/linux/arm/Dist: New file.
7150
7151 1997-06-14 17:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7152
7153         * extra-lib.mk (others): Depend on versioned shared library, not
7154         the unversioned one.
7155         * Makerules (build-shlib): Don't make the version link here.
7156         ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc
7157         version link.
7158
7159 1997-06-16 03:07  Ulrich Drepper  <drepper@cygnus.com>
7160
7161         * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
7162         01:13:56 1996.
7163
7164 1997-06-16 00:54  Ulrich Drepper  <drepper@cygnus.com>
7165
7166         * libc.map: Add more symbols.
7167
7168         * Makerules (load-map-file): Currectly handle missing map file.
7169
7170 1997-06-15 17:00  Philip Blundell  <Philip.Blundell@pobox.com>
7171
7172         * configure.in: Correct detection of generic uname implementation.
7173
7174 1997-06-15 23:19  Ulrich Drepper  <drepper@cygnus.com>
7175
7176         * math/libm-test.c: Fix typos.  Patch by Andreas Jaeger.
7177
7178         * libc.map: Add __nss_configure_lookup.  Reported by Thorsten Kukuk.
7179
7180 1997-06-15 00:43  Ulrich Drepper  <drepper@cygnus.com>
7181
7182         * Makeconfig: Define libc-map here.
7183         * Makefile: And remove definition here.
7184         * Makerules (load-map-file): Handle case where map file is in
7185         other directory.
7186         (build-shlib): Likewise.
7187
7188         * libc.map: Add more symbols.
7189         * resolv/libresolv.map: Likewise.
7190
7191         * db/libdb.map: Add __dbopen.  Patch by HJ Lu.
7192
7193         * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf.
7194
7195         * locale/programs/localedef.c: Add normalize_codeset function.  We
7196         don't want to use the _nl_normalize_codeset functions from libc.
7197
7198         * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
7199         * sysdeps/libm-i387/s_asinhf.S: Likewise.
7200         * sysdeps/libm-i387/s_asinhl.S: Likewise.
7201         * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
7202         * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
7203         * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
7204
7205 1997-06-14 12:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7206
7207         * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent.
7208
7209         * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent.
7210
7211         * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix
7212         _nss_nisplus_gethostbyaddr_r interface.
7213
7214         * nis/libnsl.map: Add all GLOBAL functions.
7215
7216 1997-06-13 18:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7217
7218         * libm-test.c   (main): Call new tests, reorder tests.
7219         (fmod_test): Test function fmod.
7220         (nearbyint_test): Test function nearbyint.
7221         (acos_test): Add more test cases.
7222         (signbit_test): Test macro signbit.
7223         (output_result_bool): Output result if test fails.
7224         (asin_test): Add another test case.
7225         (atan2_test): Add more tests.
7226         (asinh_test): Add more tests.
7227         (atanh_test): Add more tests.
7228         (hypot_test): Add more tests.
7229         (isfinite_test): Test macro isfinite.
7230         (isnormal_test): Test macro isnormal.
7231         (sincos_test): Tests for sincos.
7232         (main): Enable remquo_test since the tests are
7233         correct (according to ANSI/IEEE 754-1985).
7234         (remquo_test): Corrected tests cases and added more tests.
7235         (remainder_test): Tests for remainder.
7236         (check_int): New Function to compare int values.
7237         (check_isnan_exc_ext): New function.
7238         (sqrt_test): Add some extra tests for sqrt.
7239         (erf_test): Tests for erf.
7240         (erfc_test): Tests for erfc.
7241         (gamma_test): Tests for gamma.
7242         (lgamma_test): Tests for lgamma.
7243
7244 1997-06-08 10:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
7245
7246         * sysdeps/unix/sysv/linux/configure.in: Try to generate
7247         stdio_lim.h using the target C preprocessor and mk-stdiolim.c.
7248         * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for
7249         stdio_lim.h.
7250         * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the
7251         target C preprocessor to extract OPEN_MAX and PATH_MAX.
7252
7253 1997-06-14 17:32  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7254
7255         * math/libm.map: Add inline functions, global variables.
7256
7257 1997-06-14 00:39  Ulrich Drepper  <drepper@cygnus.com>
7258
7259         * libc.map: Add more libio functions which are used in libio.h.
7260
7261         * login/Makefile (libutil-routines): Move updwtmp to ...
7262         (routines): ...here.
7263         Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
7264
7265         * sysdeps/stub/s_erfl.c: Add stub definition of erfcl.
7266         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7267
7268 1997-06-13 21:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7269
7270         * nis/nis_add.c (nis_add): Create object name only if not set.
7271
7272         * nis/nis_clone.c: Use calloc instead of malloc to prevent
7273         RPC encode errors.
7274
7275         * nis/nis_modify.c (nis_modify): Create default object entrys if
7276         given are NULL.
7277         * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise.
7278
7279 1997-06-13 14:17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7280
7281
7282         * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the
7283         define might also replace the expanded macro ASM_SIZE_DIRECTIVE.
7284         * sysdeps/i386/submul_1.S: Likewise.
7285
7286 1997-06-13 12:19  Ulrich Drepper  <drepper@cygnus.com>
7287
7288         * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT
7289         and LD_VERBOSE are given.
7290
7291         * elf/ldd.sh.in: Add -v|--verbose option.  Add author information
7292         as per Coding Standard.
7293         * elf/ldd.bash.in: Likewise.
7294
7295 1997-06-12 21:22  Ulrich Drepper  <drepper@cygnus.com>
7296
7297         * Makefile (libc-map): Define before including Makerules.
7298         * Makerules (lib%.so): Depend on $(lib%-map).
7299         (build-shlib): Adapt rule for above change.
7300         (libc.so): Depend on $(libc-map).
7301         * db/Makefile (libcdb-map): New definition.
7302         * elf/Makefile (libdl-map): New definition.
7303         * elf/dl-lookup.c: Don't use relative include path.
7304         (undefined_msg): New variable.  Use single string in all functions.
7305         (do_lookup): Correctly recognize default version.
7306         Return -2 if no version information is available.
7307         Stop processing hash entries when string was found.
7308         Don't bark about missing versioned symbol in file with original
7309         reference if it is a weak symbol.
7310         (_dl_lookup_symbol): Use undefined_msg.
7311         (_dl_lookup_versioned_symbol): Likewise.
7312         Give extra information if no verdef info is available.
7313         * elf/dl-version.c (file_needed): Remove first argument.  We must
7314         seek in the whole search list.
7315         (match_symbol): Correct check for available verdef info.
7316         (_dl_check_map_versions): Correct call of find_needed.
7317         * locale/Makefile (libBrokenLocale-map): New definition.
7318         * login/Makefile (libutil-map): New definition.
7319         * math/Makefile (libm-map): New definition.
7320         * md5-crypt/Makefile (libcrypt-map): New definition.
7321         * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map,
7322         libnss_nisplus-map): New definition.
7323         * nss/Makefile (libnss_files-map, libnss_db-map): New definitions.
7324         * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions.
7325         * libc.map: New file.
7326         * db/libdb.map: New file.
7327         * elf/libdl.map: New file.
7328         * locale/libBrokenLocale.map: New file.
7329         * login/libutil.map: New file.
7330         * math/libm.map: New file.
7331         * md5-crypt/libcrypt.map: New file.
7332         * nis/libnss_compat.map: New file.
7333         * nis/libnsl.map: New file.
7334         * nis/libnss_nis.map: New file.
7335         * nis/libnss_nisplus.map: New file.
7336         * nss/libnss_files.map: New file.
7337         * nss/libnss_db.map: New file.
7338         * resolv/libnss_dns.map: New file.
7339         * resolv/libresolv.map: New file.
7340
7341         * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything
7342         for R_386_NONE entries.
7343
7344         * Makefile (manual/dir-add.info): New rule.
7345
7346         * Makerules: Add vpath definition for .x files.
7347
7348         * Makerules (distinfo): Make sure target directory exists.
7349
7350         * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value
7351         since it is used to distinguish filtered strings from unmodifed
7352         strings.
7353
7354         * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition.
7355         * elf/dl-reloc.c: Fix typo.
7356
7357         * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
7358         `unsigned short'.
7359
7360         * manual/Makefile (dir-add.texi): Also emit wrapper text for
7361         info/install-info.
7362         (distribute): Add dir-add.texi and dir-add.info.
7363         (mostlyclean): Add dir-add.info.
7364         (realclean): Add dir-add.texi.
7365         (install): Add entries in `dir' file using install-info.
7366
7367         * manual/libc.texinfo: Add @dircategory and @direntry text.
7368         Reported by Miles Bader <miles@gnu.ai.mit.edu>.
7369
7370         * manual/pattern.texi: Correct description of GLOB_MAGCHAR and
7371         GLOB_NOMAGIC.  Changes by Roland McGrath <roland@gnu.ai.mit.edu>.
7372
7373         * nis/nis_addmember.c: Little optimizations.
7374         * nis/nis_call.c: Likewise.
7375         * nis/nis_creategroup.c: Likewise.
7376         * nis/nis_defaults.c: Likewise.
7377         * nis/nis_destroygroup.c: Likewise.
7378         * nis/nis_ismember.c: Likewise.
7379         * nis/nis_local_names.c: Likewise.
7380         * nis/nis_print_group_entry.c: Likewise.
7381         * nis/nis_verifygroup.c: Likewise.
7382
7383         * posix/unistd.h: Fix comment for getcwd.
7384
7385         * stdlib/Makefile (headers): Remove inttypes.h.  It's a system
7386         dependent header.
7387         * sysdeps/wordsize-32/Dist: New file.
7388         * sysdeps/wordsize-32/Makefile: New file.
7389         * sysdeps/wordsize-64/Dist: New file.
7390         * sysdeps/wordsize-64/Makefile: New file.
7391
7392         * sunrpc/Makefile: Adopt comment for real situation.
7393
7394         * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE.
7395         * sysdeps/i386/addmul_1.s: Likewise.
7396         * sysdeps/i386/lshist.s: Likewise.
7397         * sysdeps/i386/rshift.s: Likewise.
7398         * sysdeps/i386/sub_n.s: Likewise.
7399         * sysdeps/i386/submul_1.s: Likewise.
7400
7401         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7402         Add .type and .size.
7403
7404 1997-06-12 13:32  Philip Blundell  <Philip.Blundell@pobox.com>
7405
7406         * libc/sysdeps/unix/arm/brk.S: New file.
7407         * libc/sysdeps/unix/arm/sysdep.S: Likewise.
7408         * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
7409
7410 1997-06-11 11:51  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7411
7412         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
7413         Check if we have shadow information.
7414
7415 1997-06-08 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7416
7417         * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of
7418         malloc, alloc memory for nis_server struct.
7419         * nis/nis_getservlist.c (nis_freeservlist): Give the memory for
7420         the nis_server struct free, too.
7421
7422         * nis/nis_removemember (nis_removemember): Fix for loop.
7423
7424 1997-06-12 12:45  Ulrich Drepper  <drepper@cygnus.com>
7425
7426         * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
7427         cannot rely on M_SQRT2 being defined.
7428         (log1p): Use __M_SQRT2 not M_SQRT2.
7429         * math/math.h (_Mldbl): Define even if M_* constants are not
7430         defined.
7431         Reported by corsepiu@faw.uni-ulm.de.
7432
7433 1997-06-12 03:08  Philip Blundell  <Philip.Blundell@pobox.com>
7434
7435         * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
7436
7437 1997-06-11 13:22  Ulrich Drepper  <drepper@cygnus.com>
7438
7439         * misc/regexp.h (compile): Allow use of macro INIT for variable
7440         declaration.  Add documentation for INIT.
7441         Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
7442
7443 1997-06-11 10:47  Philip Blundell  <Philip.Blundell@pobox.com>
7444
7445         * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
7446
7447 1997-06-10 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
7448
7449         * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff
7450         for a signed 16-bit value.
7451
7452 1997-06-07 07:54  H.J. Lu  <hjl@gnu.ai.mit.edu>
7453
7454         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7455         (_dl_sysdep_read_whole_file): Deleted.
7456
7457         * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed
7458         to FE_ALL_INVALID.
7459
7460         * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE):
7461         Changed to FE_INVALID_SOFTWARE.
7462         (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS.
7463
7464         * sysdeps/libm-ieee754/s_fmin.c: Fix a typo.
7465
7466 1997-06-07 18:48  H.J. Lu  <hjl@gnu.ai.mit.edu>
7467
7468         * shlib-versions (.*-.*-linux.*): Set libc to 6.
7469
7470 1997-06-08 15:35  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7471
7472         * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r.
7473
7474         * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors.
7475         * nis/nis_clone.c: Likewise.
7476         * nis/nis_removemember.c (nis_removemember): Likewise.
7477         * nis/nis_table.c: Likewise.
7478
7479         * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call.
7480         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7481
7482         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for
7483         group == NULL.
7484
7485 1997-06-08 21:21  Mark Kettenis  <kettenis@phys.uva.nl>
7486
7487         * login/login.c, login/utmp_daemon.c, login/utmp_file.c,
7488         login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and
7489         `#ifndef _LIBC' fragments.
7490
7491         * login/programs/utmpd.c: Define DEFAULT_USER.
7492         (drop_priviliges): Use it.
7493         (main): Set locale and text domain.
7494
7495         * login/programs/utmpd-private.h: Declare proc_utmp_eq.
7496         * login/programs/database.c (proc_utmp_eq): Removed.
7497         * login/programs/request.c (proc_utmp_eq): Made global.  Only use
7498         ut_id field if valid.
7499
7500         * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles
7501         Bader that was lost when adding the daemon backend; Only use ut_id
7502         field if valid.
7503
7504 1997-06-05 23:10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7505
7506         * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
7507         netinet/icmp.h, add netatalk/at.h.
7508         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
7509         * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
7510
7511 1997-06-04 19:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7512
7513         * stdlib/testsort.c (compare): Fix parameter types.
7514
7515 1997-06-04 19:05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7516
7517         * md5-crypt/Makefile (distribute): Fix name of file.
7518
7519 1997-06-04 19:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7520
7521         * login/Makefile (utmpd-routines): Remove utmpd again, which is
7522         already added implicitly through $(others).
7523
7524 1997-06-05 13:43  Fila Kolodny  <fila@filapc.ibi.com>
7525
7526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
7527
7528 1997-06-05 13:25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7529
7530         * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt.
7531
7532 1997-06-05 17:08  Ulrich Drepper  <drepper@cygnus.com>
7533
7534         * string/argz-addsep.c: Correct weak alias.
7535         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7536
7537         * locale/setlocale.c (setlocale): Free variable with locale path
7538         before returning.
7539         (setname): Don't test for _nl_current[category] being NULL before
7540         freeing.
7541         Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7542
7543 1997-06-04 12:41  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7544
7545         * manual/intro.texi (XPG): Correct some typos.
7546
7547 1997-06-04 05:09  Miles Bader  <miles@gnu.ai.mit.edu>
7548
7549         * argp/argp-help.c (_help): Use uparams.usage_indent instead of
7550         the USAGE_INDENT macro.
7551
7552         * manual/summary.awk: Strip trailing commas from node-names.
7553
7554         * manual/.cvsignore: Ignore chapters-incl[12] rather than
7555         chapters-incl.
7556
7557         * manual/Makefile (%.c.texi): Deal with multiple @-commands on a
7558         single line.
7559
7560         * manual/string.texi (Argz Functions, Envz Functions): Add magic
7561         comments for generating summary.texi.
7562
7563 1997-06-02 22:18  Miles Bader  <miles@gnu.ai.mit.edu>
7564
7565         * manual/argp.texi: New file.
7566         * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c,
7567         manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files.
7568         * manual/Makefile [chapters] (chapters-incl1): New rule & include.
7569         [chapters-incl1] (chapters-incl2): New rule & include.
7570         (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2).
7571         * manual/maint.texi (Contributors): Give myself credit.
7572
7573 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
7574
7575         * manual/getopt.texi: New file.
7576         * manual/startup.texi: Mention argp_parse in places that
7577         previously mentioned only getopt.
7578         Include getopt.texi (now containing all the getopt nodes that used
7579         to be here) and argp.texi.
7580         (Program Arguments): Move parsing bits into the new Parsing
7581         Program Arguments node.
7582         (Parsing Program Arguments): New node.
7583         (Parsing Options, Example of Getopt, Long Options, Long Option
7584         Example): Nodes removed.
7585         * manual/libc.texinfo (Program Arguments): Menu updated.
7586         (Parsing Program Arguments): New menu.
7587
7588 1997-06-04 20:57  Ulrich Drepper  <drepper@cygnus.com>
7589
7590         * manual/string.texi: Add comments to discourage use of index and
7591         rindex.
7592         (strtok, strsep): Apply function on copy of the strings in example.
7593         (l64a): Add example.
7594
7595         * posix/unistd.h: Correct value for _POSIX_VERSION.
7596
7597         * sunrpc/Makefile (defines): Remove definition.
7598
7599         * sysdeps/ieee754/nan.h: Correct typo.
7600
7601 1997-06-04 10:50  Fila Kolodny  <fila@ibi.com>
7602
7603         * posix/unistd.h: Add definition of __fchdir corresponding to fchdir.
7604
7605         * login/utmp_daemon.c: Correct location of utmpd.h.
7606
7607 1997-06-03 19:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7608
7609         * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to
7610         $(objpfx)distinfo.
7611         * rpm/Makefile (distinfo): Adapted.
7612
7613 1997-06-03 18:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7614
7615         * rpm/Makefile (install-slib): Collect shared libraries here
7616         instead of in install-lib, including libc.
7617         (instvars): Add slib.
7618
7619 1997-06-03 18:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7620
7621         * login/Makefile (libutil-routines): Add updwtmp.
7622
7623 1997-06-03 16:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7624
7625         * monetary.h: New file, needed for localedata/tst-fmon.c.
7626
7627 1997-06-02 20:31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7628
7629         * math/libm-test.c (cpow_test): Add epsilon for long double in
7630         test for 2^10.
7631         (identities): Add epsilon for float in second identity test.
7632
7633         * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use
7634         DI and SI mode integers instead of bytes.  Fix value of HUGE_VALL.
7635
7636         * sysdeps/m68k/nan.h: New file.
7637
7638         * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless,
7639         islessequal, islessgreater, isunordered): Fix assembler syntax.
7640
7641         * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't
7642         optimize out the operations.
7643
7644         * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static
7645         constant.
7646         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
7647         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
7648
7649         * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double
7650         function.
7651         * sysdeps/libm-ieee754/s_erf.c: Likewise.
7652         * sysdeps/libm-ieee754/s_fdim.c: Likewise.
7653         * sysdeps/libm-ieee754/s_fmax.c: Likewise.
7654         * sysdeps/libm-ieee754/s_fmin.c: Likewise.
7655         * sysdeps/libm-ieee754/s_log2.c: Likewise.
7656         * sysdeps/libm-ieee754/s_nan.c: Likewise.
7657         * sysdeps/libm-ieee754/s_remquo.c: Likewise.
7658
7659 1997-06-03 23:42  Ulrich Drepper  <drepper@cygnus.com>
7660
7661         * elf/dl-support.c: Define and initialize _dl_verbose used in
7662         dl-machine.h.
7663
7664         * io/ftw.c: Expand stat/lstat calls.
7665
7666         * manual/intro.texi: Also refer to ISO 9945.
7667         Update info about SVID.
7668         Add description for XPG.
7669
7670         * md5-crypt/md5-crypt.c: Namespace cleanups.
7671         * md5-crypt/md5.c: Likewise.
7672         * md5-crypt/md5.h: Likewise.
7673         * sysdeps/generic/crypt-entry.c: Likewise.
7674
7675         * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L.
7676
7677         * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is
7678         defined.
7679
7680         * sunrpc/rpc_scan.c (findkind): Declare `token' as const.
7681         * sunrpc/rpc_util.c (toktostr): Declare `token' as const.
7682
7683         * time/Makefile: Make tzselect depend on config.make.
7684
7685 1997-06-01 15:01  Miles Bader  <miles@gnu.ai.mit.edu>
7686
7687         * manual/string.texi (String and Array Utilities): Add `Argz and
7688         Envz Vectors' to the menu.
7689         (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes.
7690
7691 1997-05-31 20:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7692
7693         * login/Makefile (utmpd-routines): Add utmpd.
7694         (extra-objs): Add utmpd objects to get dependencies.
7695         (distribute): Add sources for utmpd.
7696         (subdir-dirs): Define.
7697
7698 1997-06-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
7699
7700         * sysdeps/wordsize-32/inttypes.h: Include features.h and use
7701         __CONCAT instead of defined __CONCAT__ ourself.
7702         * sysdeps/wordsize-64/inttypes.h: Likewise.
7703
7704 1997-06-01 19:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7705
7706         * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'.
7707         (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST,
7708         SCNoFAST, SCNxFAST): Correct format specifiers.
7709
7710 1997-06-02 04:23  Ulrich Drepper  <drepper@cygnus.com>
7711
7712         * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir.
7713
7714 1997-06-01 19:17  Ulrich Drepper  <drepper@cygnus.com>
7715
7716         * md5-crypt/Makefile: Correct libmd5crypt file to really generate
7717         DES free libcrypt.
7718         * md5-crypt/onlymd5-entry.c: New file.  Wrapper around
7719         sysdeps/generic/crypt-entry.c.
7720
7721 1997-06-01 12:48  Ulrich Drepper  <drepper@cygnus.com>
7722
7723         * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
7724         type to `unsigned long int'.
7725         Patch by Richard Henderson <richard@twiddle.rth.home>.
7726
7727 1997-05-30 17:34  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7728
7729         * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C
7730         declaration style.
7731
7732         * nss/nss_files/files-hosts.c: Delete inclusion of
7733         "../resolv/mapv4v6hostent.h".
7734
7735 1997-05-31 02:33  Ulrich Drepper  <drepper@cygnus.com>
7736
7737         * io/ftwtest-sh: More tests.
7738
7739         * misc/tsearch.c: Rewrite tdestroy_recursive.
7740
7741         * libio/libio.h: Define bits for libg++-2.8.
7742
7743 1997-05-30 22:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7744
7745         * nis/nss_nis/nis-hosts.c: Same changes as in
7746         nss/nss_files/files-hosts.c (Always use inet_pton).
7747         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7748
7749 1997-05-30 09:50  Richard Henderson  <rth@tamu.edu>
7750
7751         * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
7752         plan on doing so ever again.  Don't say alpha-linuxecoff is known
7753         to work.
7754
7755         * elf/dl-lookup.c: Include <alloca.h>.
7756         * misc/tsearch.c: Include <string.h>.
7757         * posix/execle.c: Include <alloca.h>.
7758         * posix/execlp.c: Likewise.
7759         * stdio-common/printf_fphex.c: Include <string.h>.
7760         * sunrpc/xdr.c: Include <string.h>.
7761         * sysdeps/generic/memccpy.c: Include only <string.h>.
7762
7763         * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix
7764         parameters to network functions.
7765         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7766         * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'.
7767         (rendezvous_request): Likewise.
7768         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7769         (svcudp_recv): Similar, but go through a local variable.  The old code
7770         used &xprt->xp_addrlen.  Someone should determine if the type of the
7771         structure member should be changed instead.
7772         * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning
7773         and transform a nonsense for-loop to a closed form calculation.
7774         (fill_input_buf): Another ptr->int warning.
7775
7776         * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally.  This
7777         will last until I figure out how to build a parallel libm_ieee.
7778
7779         * sysdeps/alpha/fpu/fclrexcpt.c,
7780         * sysdeps/alpha/fpu/fegetenv.c,
7781         * sysdeps/alpha/fpu/fegetround.c,
7782         * sysdeps/alpha/fpu/feholdexcpt.c,
7783         * sysdeps/alpha/fpu/fenvbits.h,
7784         * sysdeps/alpha/fpu/fesetenv.c,
7785         * sysdeps/alpha/fpu/fesetround.c,
7786         * sysdeps/alpha/fpu/feupdateenv.c,
7787         * sysdeps/alpha/fpu/fgetexcptflg.c,
7788         * sysdeps/alpha/fpu/fraiseexcpt.c,
7789         * sysdeps/alpha/fpu/fsetexcptflg.c,
7790         * sysdeps/alpha/fpu/ftestexcept.c: New files.  There is, btw, a small
7791         kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for
7792         this to work properly.
7793
7794         * sysdeps/alpha/fpu/fpu_control.h: Update copyright.  Change default
7795         FP mode to round to nearest, no exceptions as for Intel.
7796         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
7797         (rdfpcr): Use excb rather than trapb.  Be more efficient about
7798         getting at the fpcr.
7799         (wrfpcr): Likewise.
7800         (__setfpucw): Reformat.
7801
7802         * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use
7803         a single DI-mode integer instead of bytes.  This produces better code
7804         on Alpha.  Similar for HUGE_VALF.
7805         * sysdeps/ieee754/nan.h: Similar for NAN.  Add NANF and NANL.
7806
7807         * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias.
7808
7809         * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
7810         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
7811         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
7812         sure the stack frame is released the very instruction before the
7813         real jump out.
7814         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
7815         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
7816
7817         * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
7818         have gotten from <linux/posix_types.h>.
7819
7820         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
7821
7822 1997-05-30 13:05  Ulrich Drepper  <drepper@cygnus.com>
7823
7824         * misc/tst-tsearch.c (mangle_tree): Update casts to prevent
7825         warnings.
7826
7827 1997-05-29 14:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7828
7829         * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
7830         correct value for _POSIX_VDISABLE.
7831
7832 1997-05-29 13:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7833
7834         * Makefile (manual/dir-add.texi): Force execution.
7835
7836 1997-05-29 13:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7837
7838         * sysexits.h: New file.
7839
7840 1997-05-29 13:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7841
7842         * stdlib/strfmon.c: Don't run past EOS after `='.
7843
7844 1997-05-29 12:48  Ulrich Drepper  <drepper@cygnus.com>
7845
7846         * io/ftw.c: Complete rewrite.  Add implementation of `nftw'.
7847         * io/ftw.h: Update for new implementation and XPG4.2.
7848         * io/Makefile (test-srcs): Add ftwtest.
7849         (distribute): Add ftwtest-sh.
7850         (tests): Call ftwtest-sh for this goal.
7851         * io/ftwtest-sh: New file.  Sets up test environment, calls test
7852         program and compares the result.
7853         * io/ftwtest.c: Test program for ftw.
7854
7855         * misc/search.h: Add comments.  Declare tdestroy.
7856         * misc/tsearch.c (tdestroy): New function.
7857
7858         * login/Makefile: Update for UTMP daemon implementation.
7859
7860         Update resolver code to bind-4.9.6-T1A.
7861         * resolv/Banner: Update.
7862         * nss/digits_dots.c: Adapt text address matching to T1A.
7863         * nss/nss_files/files-hosts.c: Always use inet_pton.
7864         * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
7865         it would lead to warnings.
7866         * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
7867         at several places.
7868         * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
7869         * resolv/res_comp.c (dn_expand): Check for overflow.
7870         (dn_comp): Likewise.
7871         * resolv/res_debug.c (precsize_aton): Better implementation.
7872         * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
7873         * resolv/res_send.c (res_send): Check for overflow in descriptor set.
7874         * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
7875         length at several places.
7876
7877 1997-05-29 12:51  Mark Kettenis  <kettenis@phys.uva.nl>
7878
7879         * login/utmp-private.h (struct utfuncs): Add one more parameter
7880         to updwtmp function.
7881         Declare all three function jump tables.
7882         * login/utmp.h: Declare __utmpname.
7883         * login/getutent_r.c: Remove db backend and provide support for
7884         utmpd backend.
7885         * login/login.c: Use `updwtmp' function insteead of writing the
7886         record ourself.
7887         * login/logwtmp.c: Move `updwtmp' function to...
7888         * login/updwtmp.c: ...here.  New file.
7889         * login/utmp_db.h: Removed.
7890         * login/utmp_file.c: Add updwtmp function to write to file.
7891         * login/utmp_daemon.c: New file.  Daemon backend.
7892         * login/utmpname.c: New file.  Implementation of utmpname function.
7893         * login/utmpdump.c: New file.  Tool to dump utmp-like files.
7894         * login/utmpd/connection.c: New file.
7895         * login/utmpd/database.c: New file.
7896         * login/utmpd/error.c: New file.
7897         * login/utmpd/request.c: New file.
7898         * login/utmpd/utmpd-private.h: New file.
7899         * login/utmpd/utmpd.c: New file.
7900         * login/utmpd/utmpd.h: New file.
7901         * login/utmpd/xtmp.c: New file.
7902         * login/utmpd/xtmp.h: New file.
7903
7904 1997-05-29 12:28  Jim Meyering  <meyering@eng.ascend.com>
7905
7906         * time/strftime.c: Correct/normalize indentation in cpp directives.
7907
7908 1997-05-28 20:43  Philip Blundell  <pjb27@cam.ac.uk>
7909
7910         * nis/nis_error.c: Include <string.h> to fix warning.
7911         * nis/nis_print.c: Likewise.
7912         * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
7913         is int* not size_t*.
7914
7915 1997-05-28 21:56  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7916
7917         * math/cmathcalls.h: Correct typo in comment.
7918
7919         * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
7920
7921         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
7922         IFNAMSIZ.
7923
7924         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
7925         time_t.
7926
7927         * login/pty.h: Include <ioctl-types.h> for definition of struct
7928         winsize.
7929
7930         * misc/regexp.h (compile): Correct typo.
7931
7932         * argp/argp.h: Put extern before __const in defintion of
7933         argp_program_bug_address.
7934
7935 1997-05-29 00:20  Ulrich Drepper  <drepper@cygnus.com>
7936
7937         * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
7938         and least types.  Correct names of ?INT_FAST*_{MIN,MAX} macros.
7939         * sysdeps/wordsize-64/inttypes.h: Likewise.
7940         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7941
7942 1997-05-28 22:51  Ulrich Drepper  <drepper@cygnus.com>
7943
7944         * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
7945         ttydefaults.h file instead of non-existing version in termios/sys.
7946         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7947
7948         * time/strptime.c (strptime_internal, case 'Y'): Restrict year
7949         number to four digits and to representable range for 4 byte time_t
7950         values.
7951         Patch by H.J. Lu <hjl@lucon.org>.
7952
7953 1997-05-28 18:19  Philip Blundell  <pjb27@cam.ac.uk>
7954
7955         * posix/execl.c: Include <alloca.h> to avoid warning.
7956
7957 1997-05-27 18:19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7958
7959         * math/libm-test.c: Implement testing of inlined functions, make
7960         output nicer, update comments.
7961
7962         * math/test-idouble.c: New file.  Frontend for double tests of
7963         inlined functions.
7964         * math/test-ildoubl.c: New file.  Frontend for long double tests of
7965         inlined functions.
7966         * math/test-ifloat.c: New file.  Frontend for float tests of
7967         inlined functions.
7968
7969         * math/test-longdouble.c: Rename to...
7970         * math/test-ldouble.c: ...this.
7971
7972         * math/Makefile: Add rules for new test programs, change rules for
7973         renaming of longdouble test.
7974
7975 1997-05-20 15:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
7976
7977         * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
7978         (svc_register): Use __dispatch_fn_t in prototype.
7979
7980 1997-05-28 17:02  Ulrich Drepper  <drepper@cygnus.com>
7981
7982         * sysdeps/generic/bzero.c (bzero): Fix typo.
7983         Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
7984
7985 1997-05-27 12:00  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7986
7987         * sysdeps/generic/vtimes.c: Use ISO C declaration style.
7988
7989         * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
7990
7991         * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
7992
7993         * signal/tst-signal.c (handler): Correct function declaration to
7994         avoid warning.
7995         * stdlib/testsort.c (compare): Likewise.
7996         * string/tester.c: Likewise.
7997
7998 1997-05-27 14:16  Miles Bader  <miles@gnu.ai.mit.edu>
7999
8000         * argp/argp-help.c (argp_args_usage): Supply correct argp to
8001         filter_doc.
8002
8003 1997-05-27 17:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8004
8005         * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
8006         db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
8007         with libm.
8008
8009 1997-05-27 14:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8010
8011         * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate.  Use __m81_test
8012         instead of explicit comparisons.
8013
8014 1997-05-26 18:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8015
8016         * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
8017         place in a generic header and is no user include file.
8018
8019 1997-05-27 02:20  Ulrich Drepper  <drepper@cygnus.com>
8020
8021         * stdio/obstream.c (obstack_printf): Fix bug in
8022         de-ansidecl-fication.
8023         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8024
8025 1997-05-26 22:51  Ulrich Drepper  <drepper@cygnus.com>
8026
8027         * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
8028         * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
8029         environments in which linking is not possible at configure time
8030         (since te libc is just build).
8031         Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8032
8033         * time/scheck.c (scheck): Make 2nd parameter const.
8034         * time/private.h: Likewise.
8035
8036 1997-05-26 18:58  Ulrich Drepper  <drepper@cygnus.com>
8037
8038         * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
8039         state array only at right place.
8040         Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
8041
8042         * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
8043         [0.5,1.0) but really in [0.0, 1.0).
8044         Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
8045
8046 1997-05-22 12:50  Eric Delaunay  <delaunay@lix.polytechnique.fr>
8047
8048         * shlib-versions: Provide Linux/SPARC defaults.
8049
8050 1997-05-26 15:00  Matthias Urlichs  <urlichs@noris.de>
8051
8052         * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
8053         * stdlib/strtof_l.c: Likewise.
8054         * stdlib/strtol_l.c: Likewise.
8055         * stdlib/strtold_l.c: Likewise.
8056         * stdlib/strtoll_l.c: Likewise.
8057         * stdlib/strtoul_l.c: Likewise.
8058         * stdlib/strtoull_l.c: Likewise.
8059
8060 1997-05-26 02:42  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8061
8062         * hurd/dtable.c: De-ansidecl-fy.
8063         * math/test-math.c: Likewise.
8064         * signal/tst-signal.c: Likewise.
8065         * stdio/getc.c: Likewise.
8066         * stdio/obstream.c: Likewise.
8067         * stdio/putc.c: Likewise.
8068         * stdio-common/bug1.c: Likewise.
8069         * stdio-common/bug2.c: Likewise.
8070         * stdio-common/bug6.c: Likewise.
8071         * stdio-common/fscanf.c: Likewise.
8072         * stdlib/testsort.c: Likewise.
8073         * string/tester.c: Likewise.
8074         * sysdeps/am29k/ffs.c: Likewise.
8075         * sysdeps/generic/bb_init_func.c: Likewise.
8076         * sysdeps/generic/bcopy.c: Likewise.
8077         * sysdeps/generic/bzero.c: Likewise.
8078         * sysdeps/generic/div.c: Likewise.
8079         * sysdeps/generic/ffs.c: Likewise.
8080         * sysdeps/generic/memccpy.c: Likewise.
8081         * sysdeps/generic/memcpy.c: Likewise.
8082         * sysdeps/generic/memmove.c: Likewise.
8083         * sysdeps/generic/memset.c: Likewise.
8084         * sysdeps/generic/vfork.c: Likewise.
8085         * sysdeps/generic/vtimes.c: Likewise.
8086         * sysdeps/i386/bzero.c: Likewise.
8087         * sysdeps/i386/ffs.c: Likewise.
8088         * sysdeps/i960/ffs.c: Likewise.
8089         * sysdeps/m68k/ffs.c: Likewise.
8090         * sysdeps/m88k/ffs.c: Likewise.
8091         * sysdeps/mach/hurd/_exit.c: Likewise.
8092         * sysdeps/mach/hurd/accept.c: Likewise.
8093         * sysdeps/mach/hurd/access.c: Likewise.
8094         * sysdeps/mach/hurd/adjtime.c: Likewise.
8095         * sysdeps/mach/hurd/bind.c: Likewise.
8096         * sysdeps/mach/hurd/brk.c: Likewise.
8097         * sysdeps/mach/hurd/chdir.c: Likewise.
8098         * sysdeps/mach/hurd/chflags.c: Likewise.
8099         * sysdeps/mach/hurd/chmod.c: Likewise.
8100         * sysdeps/mach/hurd/chown.c: Likewise.
8101         * sysdeps/mach/hurd/chroot.c: Likewise.
8102         * sysdeps/mach/hurd/close.c: Likewise.
8103         * sysdeps/mach/hurd/connect.c: Likewise.
8104         * sysdeps/mach/hurd/defs.c: Likewise.
8105         * sysdeps/mach/hurd/dup2.c: Likewise.
8106         * sysdeps/mach/hurd/execve.c: Likewise.
8107         * sysdeps/mach/hurd/fchdir.c: Likewise.
8108         * sysdeps/mach/hurd/fchflags.c: Likewise.
8109         * sysdeps/mach/hurd/fchmod.c: Likewise.
8110         * sysdeps/mach/hurd/fchown.c: Likewise.
8111         * sysdeps/mach/hurd/fcntl.c: Likewise.
8112         * sysdeps/mach/hurd/fdopen.c: Likewise.
8113         * sysdeps/mach/hurd/flock.c: Likewise.
8114         * sysdeps/mach/hurd/fsync.c: Likewise.
8115         * sysdeps/mach/hurd/ftruncate.c: Likewise.
8116         * sysdeps/mach/hurd/getdtsz.c: Likewise.
8117         * sysdeps/mach/hurd/getegid.c: Likewise.
8118         * sysdeps/mach/hurd/geteuid.c: Likewise.
8119         * sysdeps/mach/hurd/getgid.c: Likewise.
8120         * sysdeps/mach/hurd/getgroups.c: Likewise.
8121         * sysdeps/mach/hurd/gethostid.c: Likewise.
8122         * sysdeps/mach/hurd/gethostname.c: Likewise.
8123         * sysdeps/mach/hurd/getitimer.c: Likewise.
8124         * sysdeps/mach/hurd/getlogin.c: Likewise.
8125         * sysdeps/mach/hurd/getpeername.c: Likewise.
8126         * sysdeps/mach/hurd/getpgid.c: Likewise.
8127         * sysdeps/mach/hurd/getpid.c: Likewise.
8128         * sysdeps/mach/hurd/getppid.c: Likewise.
8129         * sysdeps/mach/hurd/getsockname.c: Likewise.
8130         * sysdeps/mach/hurd/getsockopt.c: Likewise.
8131         * sysdeps/mach/hurd/getuid.c: Likewise.
8132         * sysdeps/mach/hurd/ioctl.c: Likewise.
8133         * sysdeps/mach/hurd/isatty.c: Likewise.
8134         * sysdeps/mach/hurd/link.c: Likewise.
8135         * sysdeps/mach/hurd/listen.c: Likewise.
8136         * sysdeps/mach/hurd/lseek.c: Likewise.
8137         * sysdeps/mach/hurd/mkdir.c: Likewise.
8138         * sysdeps/mach/hurd/open.c: Likewise.
8139         * sysdeps/mach/hurd/pipe.c: Likewise.
8140         * sysdeps/mach/hurd/read.c: Likewise.
8141         * sysdeps/mach/hurd/readlink.c: Likewise.
8142         * sysdeps/mach/hurd/reboot.c: Likewise.
8143         * sysdeps/mach/hurd/recv.c: Likewise.
8144         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8145         * sysdeps/mach/hurd/rename.c: Likewise.
8146         * sysdeps/mach/hurd/rewinddir.c: Likewise.
8147         * sysdeps/mach/hurd/rmdir.c: Likewise.
8148         * sysdeps/mach/hurd/sbrk.c: Likewise.
8149         * sysdeps/mach/hurd/seekdir.c: Likewise.
8150         * sysdeps/mach/hurd/select.c: Likewise.
8151         * sysdeps/mach/hurd/setegid.c: Likewise.
8152         * sysdeps/mach/hurd/seteuid.c: Likewise.
8153         * sysdeps/mach/hurd/setgid.c: Likewise.
8154         * sysdeps/mach/hurd/setgroups.c: Likewise.
8155         * sysdeps/mach/hurd/sethostid.c: Likewise.
8156         * sysdeps/mach/hurd/sethostname.c: Likewise.
8157         * sysdeps/mach/hurd/setlogin.c: Likewise.
8158         * sysdeps/mach/hurd/setpgid.c: Likewise.
8159         * sysdeps/mach/hurd/setregid.c: Likewise.
8160         * sysdeps/mach/hurd/setreuid.c: Likewise.
8161         * sysdeps/mach/hurd/setrlimit.c: Likewise.
8162         * sysdeps/mach/hurd/setsid.c: Likewise.
8163         * sysdeps/mach/hurd/setsockopt.c: Likewise.
8164         * sysdeps/mach/hurd/settimeofday.c: Likewise.
8165         * sysdeps/mach/hurd/setuid.c: Likewise.
8166         * sysdeps/mach/hurd/shutdown.c: Likewise.
8167         * sysdeps/mach/hurd/sigaction.c: Likewise.
8168         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
8169         * sysdeps/mach/hurd/sigpending.c: Likewise.
8170         * sysdeps/mach/hurd/sigprocmask.c: Likewise.
8171         * sysdeps/mach/hurd/sigstack.c: Likewise.
8172         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
8173         * sysdeps/mach/hurd/socket.c: Likewise.
8174         * sysdeps/mach/hurd/socketpair.c: Likewise.
8175         * sysdeps/mach/hurd/stdio_init.c: Likewise.
8176         * sysdeps/mach/hurd/symlink.c: Likewise.
8177         * sysdeps/mach/hurd/sync.c: Likewise.
8178         * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
8179         * sysdeps/mach/hurd/telldir.c: Likewise.
8180         * sysdeps/mach/hurd/truncate.c: Likewise.
8181         * sysdeps/mach/hurd/umask.c: Likewise.
8182         * sysdeps/mach/hurd/unlink.c: Likewise.
8183         * sysdeps/mach/hurd/wait4.c: Likewise.
8184         * sysdeps/mach/hurd/utimes.c: Likewise.
8185         * sysdeps/mach/hurd/write.c: Likewise.
8186         * sysdeps/mach/adjtime.c: Likewise.
8187         * sysdeps/mach/gettimeofday.c: Likewise.
8188         * sysdeps/mach/usleep.c: Likewise.
8189         * sysdeps/mips/__longjmp.c: Likewise.
8190         * sysdeps/posix/clock.c: Likewise.
8191         * sysdeps/posix/ctermid.c: Likewise.
8192         * sysdeps/posix/defs.c: Likewise.
8193         * sysdeps/posix/dup.c: Likewise.
8194         * sysdeps/posix/libc_fatal.c: Likewise.
8195         * sysdeps/posix/stdio_init.c: Likewise.
8196         * sysdeps/rs6000/ffs.c: Likewise.
8197         * sysdeps/sparc/e_sqrt.c: Likewise.
8198         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
8199         * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
8200         * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
8201         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
8202         * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
8203         * sysdeps/standalone/i960/nindy960/console.c: Likewise.
8204         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
8205         * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
8206         * sysdeps/standalone/brk.c: Likewise.
8207         * sysdeps/stub/_exit.c: Likewise.
8208         * sysdeps/stub/brdinit.c: Likewise.
8209         * sysdeps/stub/console.c: Likewise.
8210         * sysdeps/stub/defs.c: Likewise.
8211         * sysdeps/stub/errlist.c: Likewise.
8212         * sysdeps/stub/libc_fatal.c: Likewise.
8213         * sysdeps/stub/siglist.c: Likewise.
8214         * sysdeps/stub/stdio_init.c: Likewise.
8215         * sysdeps/stub/strtsupp.c: Likewise.
8216         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
8217         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
8218         * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
8219         * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
8220         * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
8221         * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
8222         * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
8223         * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
8224         * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
8225         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8226         * sysdeps/unix/bsd/clock.c: Likewise.
8227         * sysdeps/unix/bsd/gtty.c: Likewise.
8228         * sysdeps/unix/bsd/init-posix.c: Likewise.
8229         * sysdeps/unix/bsd/setgid.c: Likewise.
8230         * sysdeps/unix/bsd/setrgid.c: Likewise.
8231         * sysdeps/unix/bsd/setruid.c: Likewise.
8232         * sysdeps/unix/bsd/setuid.c: Likewise.
8233         * sysdeps/unix/bsd/stty.c: Likewise.
8234         * sysdeps/unix/bsd/telldir.c: Likewise.
8235         * sysdeps/unix/bsd/ualarm.c: Likewise.
8236         * sysdeps/unix/common/glue-ctype.c: Likewise.
8237         * sysdeps/unix/sparc/start.c: Likewise.
8238         * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
8239         * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
8240         * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
8241         * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
8242         * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
8243         * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
8244         * sysdeps/unix/sysv/irix4/start.c: Likewise.
8245         * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
8246         * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
8247         * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
8248         * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
8249         * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
8250         * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
8251         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
8252         * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
8253         * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
8254         * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
8255         * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
8256         * sysdeps/unix/sysv/gethostname.c: Likewise.
8257         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8258         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8259         * sysdeps/unix/alarm.c: Likewise.
8260         * sysdeps/unix/make_errlist.c: Likewise.
8261         * sysdeps/unix/rewinddir.c: Likewise.
8262         * sysdeps/unix/seekdir.c: Likewise.
8263         * sysdeps/unix/time.c: Likewise.
8264         * sysdeps/unix/utime.c: Likewise.
8265         * sysdeps/vax/__longjmp.c: Likewise.
8266         * sysdeps/vax/memccpy.c: Likewise.
8267         * time/strftime.c: Likewise.
8268
8269 1997-05-25 21:57  Miles Bader  <miles@gnu.ai.mit.edu>
8270
8271         * argp/argp-parse.c (parser_init): For the special case where no
8272         parsing function is supplied for an argp, propagate its input to
8273         its first child, if any.
8274
8275         * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
8276         * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
8277         Replace references to STATE->argp with STATE->root_argp.
8278         * argp/argp-parse.c (parser_init): Likewise.
8279
8280 1997-05-26 14:17  Ulrich Drepper  <drepper@cygnus.com>
8281
8282         * manual/main.texi: Clarify situation for other not supported ports.
8283         Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8284         We recommend binutils 2.8.
8285
8286 1997-05-26 12:17  Ulrich Drepper  <drepper@cygnus.com>
8287
8288         * netinet/in.h: New file.  Wrapper around inet/netinet/in.h.
8289
8290 1997-05-25 09:51  H.J. Lu  <hjl@gnu.ai.mit.edu>
8291
8292         * sysdeps/i386/elf/start.S: Change local label "nofini"
8293         to ".Lnofini".
8294
8295         * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
8296
8297 1997-05-24 17:45  H.J. Lu  <hjl@gnu.ai.mit.edu>
8298
8299         * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
8300
8301 1997-05-25 03:00  Ulrich Drepper  <drepper@cygnus.com>
8302
8303         * elf/dynamic-link.h (_dl_verbose): New variable, declare.
8304         * elf/rtld.c (_dl_verbose): New variable, define.
8305         (dl_main): Define _dl_verbose based on DL_WARN environment variable.
8306         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
8307         changed size in copy relocation only if symbol in shared object
8308         is larger or _dl_verbose is nonzero.
8309         * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
8310         * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
8311         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
8312
8313         * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
8314         <...>.
8315         * nis/nss_nis/nis-grp.c: Likewise.
8316         * nis/nss_nis/nis-hosts.c: Likewise.
8317         * nis/nss_nis/nis-network.c: Likewise.
8318         * nis/nss_nis/nis-proto.c: Likewise.
8319         * nis/nss_nis/nis-pwd.c: Likewise.
8320         * nis/nss_nis/nis-rpc.c: Likewise.
8321         * nis/nss_nis/nis-spwd.c: Likewise.
8322         * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
8323         * wcsmbs/wcscoll.c: Likewise.
8324         * wcsmbs/wcstod.c: Likewise.
8325         * wcsmbs/wcstof.c: Likewise.
8326         * wcsmbs/wcstol.c: Likewise.
8327         * wcsmbs/wcstold.c: Likewise.
8328         * wcsmbs/wcsxfrm.c: Likewise.
8329         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8330
8331         * time/strftime.c: Implement # flag which changes case of output for
8332         %a, %b, %B, %p, and %Z format.
8333         When printing numbers, the given field width is always respected.
8334         This means that padding happens only up to the given width.
8335         Proposed by Stephen Gildea <gildea@intouchsys.com>.
8336
8337 1997-05-25 00:44  Ulrich Drepper  <drepper@cygnus.com>
8338
8339         * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
8340         values.
8341         Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8342
8343 1997-05-24 21:03  Philip Blundell  <pjb27@cam.ac.uk>
8344
8345         * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
8346         struct stat) if it exists for this port.
8347
8348 1997-05-24 20:34  Philip Blundell  <pjb27@cam.ac.uk>
8349
8350         * sysdeps/standalone/arm/errnos.h: Add EPERM.
8351
8352 1997-05-23 16:28  Philip Blundell  <phil@kings-cross.london.uk.eu.org>
8353
8354         * linewrap.h: New file, needed to compile argp without libio.
8355
8356 1997-05-24 11:59  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8357
8358         * manual/stdio.texi (Formatted Messages): Corrected some typos.
8359
8360 1997-05-24 11:58  Philip Blundell  <pjb27@cam.ac.uk>
8361
8362         * sysdeps/stub/start.c: Fix typo.
8363
8364 1997-05-21 17:53  Miles Bader  <miles@gnu.ai.mit.edu>
8365
8366         * argp/argp-help.c (hol_add_cluster): Initialize CL->depth.
8367
8368 1997-05-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
8369
8370         * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
8371         strtoull_l, strtof_l, strtod_l, and strtold_l.
8372         * stdlib/stdlib.h: Add prototypes for new functions.
8373         * stdlib/strtod.c: Change for compiling as strtoX_l.
8374         * stdlib/strtol.c: Likewise.
8375         * stdlib/strtof.c: Likewise.
8376         * stdlib/strtold.c: Likewise.
8377         * stdlib/strtod_l.c: New file.
8378         * stdlib/strtof_l.c: New file.
8379         * stdlib/strtold_l.c: New file.
8380         * stdlib/strtol_l.c: New file.
8381         * stdlib/strtoul_l.c: New file.
8382         * stdlib/strtoll_l.c: New file.
8383         * stdlib/strtoull_l.c: New file.
8384         * string/Makefile (routines): Add strcasecmp_l and strncase_l.
8385         * string/string.h: Add prototypes for new functions.
8386         * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
8387         * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
8388         * sysdeps/generic/strcasecmp_l.c: New file.
8389         * sysdeps/generic/strncase_l.c: New file.
8390         * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
8391         wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
8392         wcsncase_l.
8393         * wcsmbs/wchar.h: Add prototypes for new functions.
8394         * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
8395         * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
8396         * wcsmbs/wcscasecmp_l.c: New file.
8397         * wcsmbs/wcsncase_l.c: New file.
8398         * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
8399         * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
8400         * wcsmcs/wcstod_l.c: New file.
8401         * wcsmcs/wcstof_l.c: New file.
8402         * wcsmcs/wcstold_l.c: New file.
8403         * wcsmcs/wcstol_l.c: New file.
8404         * wcsmcs/wcstoul_l.c: New file.
8405         * wcsmcs/wcstoll_l.c: New file.
8406         * wcsmcs/wcstoull_l.c: New file.
8407
8408         * Makeconfig (binfmt-subdir): New variable.  Set to `elf' if
8409         $(elf) is defined.  More to come later when other binary formats
8410         are supported.
8411         * Makefile (subdirs): Remove elf.  Add $(binfmt-subdir).
8412         Suggested by Philip Blundell.
8413
8414         * stdlib/Makefile (headers): Add fmtmsg.h.
8415         (routines): Add fmtmsg.
8416         * stdlib/fmtmsg.c: New file.
8417         * stdlib/fmtmsg.h: New file.
8418         * manual/stdio.texi: Add description of fmtmsg and addseverity.
8419         * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
8420         documentation.
8421
8422 1997-05-23 15:26  Philip Blundell  <pjb27@cam.ac.uk>
8423
8424         * resolv/res_query.c (res_querydomain): Avoid potential buffer
8425         overrun.  Reported by Dan A. Dickey <ddickey@transition.com>.
8426
8427 1997-05-22 18:36  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8428
8429         * elf/dl-support.c (_dl_sysdep_open_zero_fill,
8430         _dl_sysdep_read_whole_file): Moved functions to ...
8431         * elf/dl-misc.c: This new file.
8432         * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
8433         * elf/dl-misc.c: ... here.
8434         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
8435         _dl_sysdep_read_whole_file): Delete functions; they now come from
8436         elf/dl-misc.c (dl-support.c had contained identical versions).
8437         * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
8438         * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
8439         that the regular ones in dl-misc work once we've initialized.
8440         * elf/Makefile (dl-routines): Remove dl-sysdepio.c.  Add dl-misc.c.
8441
8442 1997-05-22 21:55  Philip Blundell  <pjb27@cam.ac.uk>
8443
8444         * inet/Makefile (headers): Add netinet/inbits.h.
8445         * inet/netinet/in.h: New file.
8446         * sysdeps/generic/netinet/inbits.h: Likewise.
8447         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
8448         * sysdeps/generic/netinet/ip6.h: Move to...
8449         * inet/netinet/ip6.h: ... here.
8450         * sysdeps/generic/netinet/icmp6.h: Move to...
8451         * inet/netinet/icmp6.h: ... here.
8452         * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
8453         * sysdeps/generic/netinet/in.h: Remove.
8454
8455 1997-05-22 05:40  Richard Henderson  <rth@tamu.edu>
8456
8457         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
8458         not looking at the new thread-safe .plt, don't be lazy about relocs.
8459         (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
8460         (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
8461         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
8462         elf_machine_runtime_setup() decide if we can actually be lazy.
8463         * elf/rtld.c (_dl_start): So don't call it.
8464         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8465         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
8466         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8467         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
8468         * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
8469         * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
8470         * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
8471         skeleton definition.
8472
8473 1997-05-22 18:45  Ulrich Drepper  <drepper@cygnus.com>
8474
8475         * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
8476         stack by fxtract.
8477
8478 1997-05-22 13:07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8479
8480         * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
8481         add cast to (xdrproc_t) where necessary to prevent warnings.
8482
8483 1997-05-22 12:18  Ulrich Drepper  <drepper@cygnus.com>
8484
8485         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
8486
8487 1997-05-22 04:09  Ulrich Drepper  <drepper@cygnus.com>
8488
8489         * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
8490         to size_t to prevent warning.
8491         * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
8492         instead of numeric values.
8493         Various cleanups.
8494         * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
8495         for xdrmem_putbytes.
8496         * sunrpc/xdr_rec.c: Likewise.
8497         * sunrpc/xdr_stdio.c: Likewise.
8498         * sunrpc/rpc/xdr.h: Likewise.
8499
8500         * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
8501         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8502         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8503
8504 1997-05-21 22:22  Philip Blundell  <pjb27@cam.ac.uk>
8505
8506         * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
8507         * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
8508         * sysdeps/generic/netinet/icmp6.h: Likewise.
8509         * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
8510         * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
8511         glob.c).
8512         * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
8513         * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
8514         * sysdeps/stub/accept.c (accept): Make args match prototype.
8515         * sysdeps/stub/bind.c (bind): Likewise.
8516         * sysdeps/stub/connect.c (connect): Likewise.
8517         * sysdeps/stub/getpeername.c (getpeername): Likewise.
8518         * sysdeps/stub/getsockname.c (getsockname): Likewise.
8519         * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
8520         * sysdeps/stub/send.c (send): Likewise.
8521         * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
8522         * sysdeps/stub/readv.c (readv): Likewise.
8523         * sysdeps/stub/writev.c (writev): Likewise.
8524         * sysdeps/stub/sendto.c (sendto): Likewise.
8525         * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
8526
8527 1997-05-18 12:46  Philip Blundell  <pjb27@cam.ac.uk>
8528
8529         * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
8530         CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
8531
8532 1997-05-21 13:51  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8533
8534         * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
8535
8536         * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
8537         functions, include <rpc/xdr.h>.
8538
8539         * string/strverscmp.c: Correct typos in comment.
8540
8541         * sunrpc/rpc/xdr.h: Add more `const'.
8542         * sunrpc/xdr_stdio.c: Likewise.
8543         * sunrpc/xdr_rec.c: Likewise.
8544
8545 1997-05-21 17:50  Ulrich Drepper  <drepper@cygnus.com>
8546
8547         * elf/Makefile (dl-routines): Add dl-sysdepio.
8548         * elf/dl-support.c (_dl_sysdep_fatal): Removed.
8549         * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
8550         _dl_sysdep_error and _dl_sysdep_warning to ...
8551         * sysdeps/generic/dl-sysdepio.c: ...here.
8552         * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
8553         * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
8554         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
8555         of functions.
8556         Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8557
8558         * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
8559         and for Linux ld.so.
8560         * login/Makefile (libutil.so): Likewise.
8561         * math/Makefile (libm.so): Likewise.
8562         * md5-crypt/Makefile (libcrypt.so): Likewise.
8563         * nis/Makefile (libnss_%.so): Likewise.
8564         * resolv/Makefile (libnss_dns.so): Likewise.
8565
8566 1997-05-20 14:01  Miles Bader  <miles@gnu.ai.mit.edu>
8567
8568         * argp/argp-help.c (_help): Supply STATE to argp_args_usage.
8569         (argp_args_usage): Add filtering of the args doc string.
8570         (comma): Print cluster headers for the first entry too.
8571         * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
8572
8573 1997-05-21 02:49  Ulrich Drepper  <drepper@cygnus.com>
8574
8575         * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
8576         interface was changed with addition of _obstack_memory_used.
8577         Suggested by Ian Taylor <ian@cygnus.com>.
8578
8579         * malloc/obstack.c: Include <config.h>.  Include <stdlib.h> only
8580         if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
8581         Reported by Ian Taylor <ian@cygnus.com>.
8582
8583         * dirent/Makefile (routines): Add versionsort.
8584         * dirent/dirent.h: Add prototype for versionsort.
8585         * dirent/versionsort.c: New file.
8586         * manual/filesys.texi: Add documentation for versionsort.
8587         * manual/string.texi: Add documentation for strverscmp.
8588         * string/Makefile (routines): Add strverscmp.
8589         (tests): Add tst-svc.
8590         * string/string.h: Add prototype for strverscmp.
8591         * string/strverscmp.c: New file.
8592         * string/tst-svc.c: New file.  Test for strverscmp.
8593         * string/tst-svc.input: New file.  Input data for tst-svc.
8594         * string/tst-svc.expect: New file.  Expected out from tst-svc.
8595         Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
8596
8597         * math/Makefile (calls): Add s_signbit.
8598
8599         * po/sv.po: Update.
8600
8601         * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
8602         * sunrpc/pmap_rmt.c: Likewise.
8603
8604         * string/basename.c: Don't use ISO C definition style.
8605         Include <config.h> if HAVE_CONFIG_H is defined.
8606
8607         * sunrpc/proto.h: Add `const' wherever possible.
8608         * sunrpc/rpc_cout.c: Likewise.
8609         * sunrpc/rpc_svcout.c: Likewise.
8610         * sunrpc/xdr_mem.c: Likewise.
8611         * sunrpc/xdr_rec.c: Likewise.
8612         * sunrpc/xdr_stdio.c: Likewise.
8613         * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
8614         * sunrpc/xdr.c: Little code cleanups.
8615         * sunrpc/xdr_float.c: Likewise.
8616         Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
8617
8618         * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
8619
8620         * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
8621
8622         * time/europe: Update from tzdata1997f.
8623         * time/zic.c: Update from tzcode1997e.
8624
8625 1997-05-20 19:20  Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
8626
8627         * sysdeps/sparc/setjmp.S: Flush windows.
8628         Bug found by Richard Henderson.
8629
8630 1997-05-19 12:54  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8631
8632         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
8633
8634 1997-05-19 18:41  Thorsten Kukuk  <kukuk@uni-paderborn.de>
8635
8636         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
8637         atol instead of atoi.
8638
8639 1997-05-18 00:22  Philip Blundell <pjb27@cam.ac.uk>
8640
8641         * inet/Makefile (routines): Add if_index.
8642         * sysdeps/unix/sysv/linux/if_index.c: New file.
8643         * sysdeps/stub/if_index.c: New file.
8644         * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
8645         if_index.c (required by IPv6 basic API).
8646         * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
8647
8648 1997-05-17 23:29  Philip Blundell  <pjb27@cam.ac.uk>
8649
8650         * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
8651         for new advanced API draft.
8652
8653 1997-05-13 21:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8654
8655         * stdio-common/printf_fp.c: Only use the field width for deciding
8656         on padding when printing special values.
8657         * stdio-common/printf_fphex.c: Likewise.
8658
8659 1997-05-15 13:14  Miles Bader  <miles@gnu.ai.mit.edu>
8660
8661         Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
8662         * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
8663
8664 1997-05-12 14:50  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8665
8666         * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
8667         msg_add_auth was overflowing it.
8668
8669 1997-05-12 21:20  Richard Henderson  <rth@tamu.edu>
8670
8671         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
8672         when we can't find the symbol.
8673
8674 1997-05-12 16:54  Ulrich Drepper  <drepper@cygnus.com>
8675
8676         * posix/regex.c: Fix handling of 32-bit Windog environments.
8677         Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
8678
8679 1997-05-10 23:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8680
8681         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
8682
8683 1997-05-10 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8684
8685         * elf/ldd.bash.in: Remove spurious quote character from version
8686         message.
8687
8688 1997-05-10 08:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8689
8690         * locale/programs/locale.c (write_charmaps): Don't get stuck in a
8691         loop if the file ends in a long line without newline.
8692         * locale/programs/charmap.c (charmap_read): Likewise.
8693
8694 1997-05-12 03:47  Ulrich Drepper  <drepper@cygnus.com>
8695
8696         * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
8697         * sunrpc/rpc/svc_auth.h: Likewise.
8698         * sunrpc/rpc/svc.h: Likewise.
8699         * sunrpc/rpc/rpc_msg.h: Likewise.
8700         * sunrpc/rpc/pmap_rmt.h: Likewise.
8701         * sunrpc/rpc/pmap_clnt.h: Likewise.
8702         * sunrpc/rpc/clnt.h: Likewise.
8703         * sunrpc/rpc/auth_unix.h: Likewise.
8704         * sysdeps/generic/rpc/auth.h: Likewise.
8705         Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8706
8707 1997-05-11 15:29  Philip Blundell  <pjb27@cam.ac.uk>
8708
8709         * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
8710         * sysdeps/standalone/arm/errnos.h: New file.
8711         * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
8712         * sysdeps/unix/arm/fork.S: New file.
8713         * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
8714         * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
8715         `streamptr' argument.
8716         * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
8717         <stdarg.h> to get va_list defined, return 0 not NULL.
8718         * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
8719         * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
8720         * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
8721         * sysdeps/stub/seekdir.c (seekdir): Likewise.
8722         * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
8723         * sysdeps/standalone/dirstream.h: Define struct __dirstream
8724         not DIR; <dirent.h> provides typedef.
8725         * sysdeps/unix/sysv/linux/arm/clone.S: New file.
8726         * sysdeps/unix/sysv/linux/arm/socket.S: New file.
8727         * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
8728
8729 1997-05-01 06:35  Geoff Keating  <geoffk@ozemail.com.au>
8730
8731         * sysdeps/powerpc/Dist: New file.
8732         * sysdeps/powerpc/Makefile: New file.
8733         * sysdeps/powerpc/fclrexcpt.c: New file.
8734         * sysdeps/powerpc/fegetenv.c: New file.
8735         * sysdeps/powerpc/fegetround.c: New file.
8736         * sysdeps/powerpc/feholdexcpt.c: New file.
8737         * sysdeps/powerpc/fenvbits.h: New file.
8738         * sysdeps/powerpc/fenv_const.c: New file.
8739         * sysdeps/powerpc/fenv_libc.h: New file.
8740         * sysdeps/powerpc/fesetenv.c: New file.
8741         * sysdeps/powerpc/fesetround.c: New file.
8742         * sysdeps/powerpc/feupdateenv.c: New file.
8743         * sysdeps/powerpc/fgetexcptflg.c: New file.
8744         * sysdeps/powerpc/fraiseexcpt.c: New file.
8745         * sysdeps/powerpc/fsetexcptflg.c: New file.
8746         * sysdeps/powerpc/ftestexcept.c: New file.
8747         * sysdeps/powerpc/mathbits.h: New file.
8748
8749         * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
8750         define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
8751         ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
8752
8753         * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
8754
8755         * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
8756
8757         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
8758         instead .section ".text".
8759
8760 1997-04-25 05:06  Geoff Keating  <geoffk@ozemail.com.au>
8761
8762         * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
8763         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
8764         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
8765         * sysdeps/powerpc/setjmp.S: Likewise.
8766
8767         * sysdeps/unix/sysv/linux/clone.S: Likewise.
8768         * sysdeps/unix/sysv/linux/socket.S: Likewise.
8769         * sysdeps/unix/sysv/linux/syscall.S: Likewise.
8770
8771 1997-04-20 04:37  Geoff Keating  <geoffk@ozemail.com.au>
8772
8773         * sysdeps/powerpc/strchr.s: New file.
8774         * sysdeps/powerpc/strcmp.s: New (ugly) file.
8775         * sysdeps/powerpc/memset.s: New file.
8776         * string/tester.c: Include prototype and _GNU_SOURCE to make
8777         standalone compilation possible. Give strcmp a better
8778         test. Give memset a better test.
8779
8780 1997-04-05 06:34  Geoff Keating  <geoffk@ozemail.com.au>
8781
8782         * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
8783         tests before?). Changed to symbolic register numbering as an
8784         experiment.
8785         * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
8786         exist.
8787         * sysdeps/rs6000/ffs.c: Likewise.
8788
8789 1997-05-12 02:28  Ulrich Drepper  <drepper@cygnus.com>
8790
8791         * time/sys/time.h: Make second argument of setitimer const.
8792         Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8793         * sysdeps/stub/setitimer.c: Likewise.
8794         * sysdeps/mach/hurd/setitimer.c: Likewise.
8795
8796 1997-05-10 11:46  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8797
8798         * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
8799
8800         * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
8801         namespace hierachy.
8802         * nis/nis_intern.h: Add new __nis_docall function prototypes.
8803         * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
8804         rewritten functions.
8805         * nis/nis_checkpoint.c: Likewise.
8806         * nis/nis_lookup.c: Likewise.
8807         * nis/nis_mkdir.c: Likewise.
8808         * nis/nis_modify.c: Likewise.
8809         * nis/nis_ping.c: Likewise.
8810         * nis/nis_remove.c: Likewise.
8811         * nis/nis_rmdir.c: Likewise.
8812         * nis/nis_server.c: Likewise.
8813         * nis/nis_table.c: Likewise.
8814
8815 1997-05-09 16:09  Miles Bader  <miles@gnu.ai.mit.edu>
8816
8817         * argp/argp-eexst.c: Include <sysexits.h>.
8818         (argp_err_exit_status): Initialize to EX_USAGE.
8819         * argp/argp.h, argp/argp-help.c: Doc fixes.
8820
8821 1997-05-08 17:15  Miles Bader  <miles@gnu.ai.mit.edu>
8822
8823         * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
8824         * argp/argp-help.c (canon_doc_option): Correct ctype tests.
8825
8826 1997-05-08 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
8827
8828         * sysdeps/unix/sysv/linux/poll.c: Save errno.
8829
8830 1997-05-08 16:44  Ulrich Drepper  <drepper@cygnus.com>
8831
8832         * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
8833
8834 1997-05-07 20:27  H.J. Lu  <hjl@gnu.ai.mit.edu>
8835
8836         * sys/ttydefaults.h: Removed.
8837
8838 1997-05-07 14:10  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8839
8840         * termios/sys/ttydefaults.h: Delete file.
8841         * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
8842         TTYDEF_OFLAG.
8843         * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
8844         XTABS in TTYDEF_OFLAG.
8845         * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
8846         in TTYDEF_OFLAG (which is correct for all existing Linux ports).
8847
8848 1997-05-05 14:22  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
8849
8850         * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
8851         * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
8852
8853 1997-05-07 16:31  Ulrich Drepper  <drepper@cygnus.com>
8854
8855         * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
8856         _NL_CTYPE_MAP_NAMES field to stringlist.
8857         Change name of _NL_CTYPE_CODESET_NAME to "charmap".
8858         * locale/localeinfo.h (enum value_type): Add stringlist.
8859         * locale/programs/locale.c (show_info): Handle stringlist.
8860
8861         * locale/programs/charmap.c (charmap_read): If charmap file is not
8862         using the given name try to find it by looking through all available
8863         charmap files and compare the code set name.
8864         * locale/programs/locale.c (write_charmaps): Also print names of
8865         charset in <code_set_name> fields in the files.
8866
8867         * elf/ldd.bash.in: Correct translatable strings.
8868
8869         * posix/TESTS: Add some more tests for character class matching.
8870         * posix/regex.c: Merge with GNU awk version.
8871         (regex_compile): Use ISO C/amend 1 functions for character class
8872         handling.
8873         * posix/regex.h: Merge with GNU awk version.
8874
8875         * posix/getopt.c: Declare as master copies.
8876         * posix/getopt1.c: Likewise.
8877         * posix/getopt.h: Likewise.
8878
8879         * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
8880         value to mount functions.
8881         Patch by a sun <asun@zoology.washington.edu>.
8882
8883         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
8884         in size for copy relocation.
8885         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8886         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
8887         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
8888         Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
8889
8890 1997-05-06 13:25  H.J. Lu  <hjl@gnu.ai.mit.edu>
8891
8892         * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
8893         with other tests.
8894         * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
8895         with other tests.
8896
8897         * sunrpc/svc_run.c (svc_exit): New, defined.
8898         (svc_run): Test for svc_stop variable.
8899         * sunrpc/rpc/svc.h (svc_exit): New, declared.
8900
8901 1997-05-03 08:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8902
8903         * math/libm-test.c (test_not_exception): Don't mix the internal
8904         exception flags with the host defined FE_* values.  All (indirect)
8905         callers of this and test_exceptions changed to pass the internal
8906         flag values.
8907         (csin_test): Allow invalid exception for +-Inf + i NaN.  Fix typos
8908         in test names.
8909         (csinh_test): Allow invalid exception for NaN +- i Inf.
8910
8911 1997-05-03 09:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8912
8913         * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
8914         exception on infinite value.
8915         (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
8916         __M81_COND_ZERO): New definitions.
8917
8918         * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
8919         Use __m81_test.
8920
8921         * sysdeps/m68k/s_ccosh.c: Rewritten.
8922         * sysdeps/m68k/s_csinh.c: Rewritten.
8923         * sysdeps/m68k/s_cexp.c: Rewritten.
8924         * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
8925         * sysdeps/m68k/s_ccoshl.c: Likewise.
8926         * sysdeps/m68k/s_csinhf.c: Likewise.
8927         * sysdeps/m68k/s_csinhl.c: Likewise.
8928         * sysdeps/m68k/s_cexpf.c: Likewise.
8929         * sysdeps/m68k/s_cexpl.c: Likewise.
8930
8931         * sysdeps/m68k/s_ccos.c: New file.
8932         * sysdeps/m68k/s_ccosf.c: New file.
8933         * sysdeps/m68k/s_ccosl.c: New file.
8934         * sysdeps/m68k/s_csin.c: New file.
8935         * sysdeps/m68k/s_csinf.c: New file.
8936         * sysdeps/m68k/s_csinl.c: New file.
8937
8938 1997-05-02 19:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8939
8940         * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
8941         stamp files to avoid problems with long file names.
8942
8943 1997-05-03 22:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8944
8945         * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
8946
8947         * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
8948         NaN.  Fix test for sign of infinite y.
8949
8950         * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
8951
8952         * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
8953
8954 1997-05-03 01:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8955
8956         * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
8957         dependencies.
8958
8959         * csu/abi-note.S: Replace undefined macro ALIGNARG.
8960         * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
8961         character.
8962
8963 1997-05-03 22:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8964
8965         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
8966         for local label.
8967
8968 1997-05-05 22:00  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8969
8970         * nis/Makefile (libnsl-routines): Add a lot of new file names.
8971
8972         * nis/nis_names.c (nis_add): Moved from here ...
8973         * nis/nis_add.c: ... to here and fix parameter flags.
8974         * nis/nis_names.c (nis_lookup): Moved from here ...
8975         * nis/nis_lookup.c: ... to here.
8976         * nis/nis_names.c (nis_modify): Moved from here ...
8977         * nis/nis_modify.c: ... to here and fix parameter flags.
8978         * nis/nis_names.c (nis_remove): Moved from here ...
8979         * nis/nis_remove.c: ... to here and fix parameter flags.
8980         * nis/nis_names.c: Removed.
8981
8982         * nis/nis_subr.c (nis_domain_of): Moved from here ...
8983         * nis/nis_domain_of.c: .. to here.
8984         * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
8985         * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
8986
8987         * nis/nis_addmember.c: New.
8988         * nis/nis_checkpoint.c: New.
8989         * nis/nis_creategroup.c: New.
8990         * nis/nis_defaults.c: New.
8991         * nis/nis_destroygroup.c: New.
8992         * nis/nis_getservlist.c: New.
8993         * nis/nis_ismember.c: New.
8994         * nis/nis_ping.c: New.
8995         * nis/nis_print_group_entry.c: New.
8996         * nis/nis_removemember.c: New.
8997         * nis/nis_mkdir.c: New.
8998         * nis/nis_rmdir.c: New.
8999         * nis/nis_verifygroup.c: New.
9000
9001         * nis/rpcsvc/nislib.h: Fix internal function declarations.
9002
9003         * nis/nis_server (nis_servstate): New.
9004         * nis/nis_server (nis_stats): New.
9005
9006         * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
9007
9008         * nis/nis_call.c: Remove debug output.
9009
9010         * nis/nis_intern.c (__nis_finddirectory): Remove.
9011
9012 1997-05-03 00:53  Ulrich Drepper  <drepper@cygnus.com>
9013
9014         * posix/TESTS2C.sed: Recognize only digits in first field.  This
9015         enables us to use colons in the pattern.
9016
9017 1997-05-01 20:02  Richard Henderson  <rth@tamu.edu>
9018
9019         * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
9020         will preserve non-call-saved registers; save and restore a0 across
9021         the system call.
9022         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
9023         data onto the new thread's stack.
9024
9025 1997-05-01 03:13  Ulrich Drepper  <drepper@cygnus.com>
9026
9027         * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
9028         kernel can return negative values.  Only fail when return value is
9029         in range in range which is never returned as valid address.
9030         Patch by Bruno Haible <haible@ilog.fr>.
9031
9032 1997-04-30 17:35  Ulrich Drepper  <drepper@cygnus.com>
9033
9034         * math/libm-test.c: Implement test for exceptions.
9035         Partly due to Andreas Jaeger.
9036         (csin_test): New function.
9037         * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
9038         * sysdeps/libm-i387/s_cexpf.S: Likewise.
9039         * sysdeps/libm-i387/s_cexpl.S: Likewise.
9040         * sysdeps/libm-ieee754/s_ccos.c: Likewise.
9041         * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
9042         * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
9043         * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
9044         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9045         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9046         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9047         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9048         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9049         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9050         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9051         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9052         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
9053         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
9054         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
9055
9056         * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
9057         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9058         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9059         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9060         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9061         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9062
9063         * sysdeps/libm-ieee754/s_csin.c: Rewrite.
9064         * sysdeps/libm-ieee754/s_csinf.c: Likewise.
9065         * sysdeps/libm-ieee754/s_csinl.c: Likewise.
9066
9067         * stdlib/random_r.c (__srandom_r): Don't use seed 0.  Use 1 in this
9068         case.
9069
9070         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
9071         for local label.
9072
9073         * time/strftime.c (add): Respect `0' padding flag.
9074         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
9075
9076 1997-04-30 15:46  Ulrich Drepper  <drepper@cygnus.com>
9077
9078         * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
9079         Use in +link macro.
9080         * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
9081         (start-installed-name): Don't define here.
9082         When ELF generate file named by start-installed-name from start.o
9083         and abi-note.o.
9084         * csu/abi-note.S: New file.
9085         * sysdeps/stub/abi-tag.h: New file.
9086         * sysdpes/unix/sysv/linux/abi-tag.h: New file.
9087         Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
9088
9089 1997-04-30 01:32  Ulrich Drepper  <drepper@cygnus.com>
9090
9091         * manual/stdio.texi: Use @vtable where possible.
9092         Add TeX version of @multitable since texi2dvi cannot handle them
9093         correct in the moment.
9094
9095         * po/de.po: Update.
9096
9097 1997-04-29 21:06  Ulrich Drepper  <drepper@cygnus.com>
9098
9099         * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
9100         * config.make.in: Set cross-compiling from configure result.
9101         * configure.in: Emit definition of `cross_compiling'.
9102         Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9103
9104 1997-04-27 21:50  Philip Blundell  <pjb27@cam.ac.uk>
9105
9106         * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
9107         correct `int' sizes for struct members.
9108
9109 1997-04-29 19:14  Ulrich Drepper  <drepper@cygnus.com>
9110
9111         * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
9112         * sysdeps/libm-i387/e_pow.S: Likewise.
9113         * sysdeps/libm-i387/e_powl.S: Likewise.
9114
9115 1997-04-23 10:08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9116
9117         * math/fenv.h: Correct typos.
9118
9119 1997-04-28 10:04  Richard Henderson  <rth@tamu.edu>
9120
9121         * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
9122         in t0 rather than a4 to avoid it being clobbered.
9123
9124 1997-04-27 23:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9125
9126         * manual/summary.awk: Recognize @defmumblex.
9127
9128         * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
9129         second description header.
9130
9131 1997-04-27 23:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9132
9133         * manual/arith.texi (Floating-Point Classes): Don't indent text,
9134         makeinfo doesn't like that.
9135
9136 1997-04-27 20:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9137
9138         * malloc/obstack.h (obstack_specify_allocation_with_arg,
9139         obstack_chunkfun, obstack_freefun): Fix casts.
9140
9141 1997-04-27 18:21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9142
9143         * manual/xtract-typefun.awk: Allow names with only one character.
9144
9145 1997-04-26 14:16  Ulrich Drepper  <drepper@cygnus.com>
9146
9147         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
9148         not <netinet/icmp.h>.
9149         Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
9150
9151 1997-04-25 12:31  Ulrich Drepper  <drepper@cygnus.com>
9152
9153         * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
9154         to command line of compiler.
9155         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
9156
9157         * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
9158         Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
9159
9160         * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
9161         in declaration.
9162         Patch by Michael Widenius <monty@tcx.se>.
9163
9164         * time/strptime.c (strptime_internal): Fix %I format specifier
9165         being off by one.
9166         Patch by Mark Kettenis <kettenis@phys.uva.nl>.
9167
9168 1997-04-24 12:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9169
9170         * stdlib/lcong48_r.c: Include <limits.h>.
9171         * stdlib/seed48_r.c: Likewise.
9172
9173         * stdio-common/printf_size.c (printf_size): Correct type of
9174         `units' and make robust against future changes.
9175
9176 1997-04-23 18:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9177
9178         * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
9179         * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
9180         * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
9181
9182 1997-04-23 18:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9183
9184         * manual/arith.texi, manual/math.texi: Use @defmumblex for
9185         additional description headers.
9186         * manual/xtract-typefun.awk: Recognize them.
9187
9188 1997-04-22 15:58  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9189
9190         * stdio-common/printf_size.c (printf_size): Correct size of array
9191         units.
9192
9193 1997-04-21 07:50  H.J. Lu  <hjl@gnu.ai.mit.edu>
9194
9195         * libgen.h: New file.
9196
9197 1997-04-21 16:45  Ulrich Drepper  <drepper@cygnus.com>
9198
9199         * stdlib/drand48.c: Cleanup namespace.
9200         * stdlib/drand48_r.c: Cleanup namespace.
9201         * stdlib/erand48.c: Cleanup namespace.
9202         * stdlib/erand48_r.c: Cleanup namespace.
9203         * stdlib/jrand48.c: Cleanup namespace.
9204         * stdlib/jrand48_r.c: Cleanup namespace.
9205         * stdlib/lrand48.c: Cleanup namespace.
9206         * stdlib/lrand48_r.c: Cleanup namespace.
9207         * stdlib/mrand48.c: Cleanup namespace.
9208         * stdlib/mrand48_r.c: Cleanup namespace.
9209         * stdlib/nrand48.c: Cleanup namespace.
9210         * stdlib/nrand48_r.c: Cleanup namespace.
9211         * stdlib/lcong48.c: Cleanup namespace.
9212         * stdlib/lcong48_r.c: Cleanup namespace.
9213         * stdlib/srand48.c: Cleanup namespace.
9214         * stdlib/srand48_r.c: Cleanup namespace.
9215         * stdlib/seed48.c: Cleanup namespace.
9216         * stdlib/seed48_r.c: Cleanup namespace.
9217
9218         * stdlib/stdlib.h: Provide new prototypes.
9219
9220 1997-04-21 13:25  Ulrich Drepper  <drepper@cygnus.com>
9221
9222         * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
9223         fpclassify & friends, and complex number operations.
9224         Update various other math functions for ISO C 9X.
9225         * manual/math.texi: Update various entries for ISO C 9X.
9226         Add description for complex number functions.
9227         Add description of rand48 function family.
9228         * manual/string.h: Add description of a64l and l64a.
9229
9230         * math/cmathcalls.h: Fix typo.
9231
9232         * stdlib/a64l.c: Pretty printing.
9233
9234         * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
9235         * stdlib/srand48_r.c: Likewise.
9236         * stdlib/stdlib.h: Pretty printing.
9237
9238         * sysdeps/i386/fpu/__math.h: Fix typo.
9239
9240         * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
9241         * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
9242
9243 1997-04-19 22:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9244
9245         * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
9246
9247 1997-04-18 19:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9248
9249         * sysdeps/m68k/fpu/__math.h: Define optimized versions of
9250         isgreater, isgreaterequal, isless, islessequal, islessgreater, and
9251         isunordered.
9252
9253 1997-04-20 01:28  Richard Henderson  <rth@tamu.edu>
9254
9255         * rellns-sh: Handle files in the same directory correctly.
9256
9257 1997-04-20 11:22  Ulrich Drepper  <drepper@cygnus.com>
9258
9259         * csu/initfini.c: Place ALIGN instruction at correct positions.
9260         Patch by Richard Henderson <richard@twiddle.rth.home>.
9261
9262 1997-04-19 17:12  Ulrich Drepper  <drepper@cygnus.com>
9263
9264         * Make-dist: Don't automatically ignore .c files if the .S or .s file
9265         is ignored.
9266
9267         * csu/Makefile (distribute): Add defs.awk.
9268
9269 1997-04-19 15:39  Ulrich Drepper  <drepper@cygnus.com>
9270
9271         * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
9272         * sysdeps/stub/shmdt.c: Likewise.
9273         Reported by Thomas Bushnell, n/BSG.
9274
9275 1997-04-19 13:22  Ulrich Drepper  <drepper@cygnus.com>
9276
9277         * manual/stdio.texi: Add description of printf_size and
9278         printf_size_info.  Partly based on the documentation by Larry McVoy.
9279
9280 1997-04-19 02:21  Ulrich Drepper  <drepper@cygnus.com>
9281
9282         * stdio-common/printf_size.c (printf_size): Correct values for
9283         `units'.
9284         Report by Larry McVoy <lm@neteng.engr.sgi.com>.
9285         * stdio-common/tst-printfsz.c: New file.
9286         * stdio-common/Makefile (tests): Add tst-printfsz.c.
9287         (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
9288         strings.
9289
9290 1997-04-18 15:48  Ulrich Drepper  <drepper@cygnus.com>
9291
9292         * login/utmp.h: Add prototype for updwtmp.
9293         * login/logwtmp.c: Add new function updwtmp which allows to write
9294         a complete record to the wtmp file.
9295         Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
9296
9297 1997-04-17 17:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9298
9299         * math/Makefile (headers): Add mathbits.h.
9300
9301 1997-04-16 21:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9302
9303         * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
9304         * sysdeps/m68k/fpu/s_sincos.c: New file.
9305         * sysdeps/m68k/fpu/s_sincosf.c: New file.
9306         * sysdeps/m68k/fpu/s_sincosl.c: New file.
9307
9308         * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
9309         functions.
9310         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
9311
9312         * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
9313         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
9314         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
9315         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
9316         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
9317         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.  Fix type of `res'.
9318
9319 1997-04-18 11:21  Ulrich Drepper  <drepper@cygnus.com>
9320
9321         * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
9322         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
9323
9324 1997-04-18 02:18  Ulrich Drepper  <drepper@cygnus.com>
9325
9326         * csu/initfini.c: Rewrite by Zack Weinberg
9327         <zack@rabi.phys.columbia.edu>.
9328         * csu/Makefile: Add rules for rewrite.
9329         * csu/defs.awk: Helper script to generate derived header.
9330
9331 1997-04-17 16:55  Ulrich Drepper  <drepper@cygnus.com>
9332
9333         * misc/libgen.h: Change prototype for of basename to XPG variant.
9334         * stdlib/Makefile (routines): Add xpg_basename.
9335         * stdlib/basename.c: New file.
9336         * string/string.h: Don't declare basename function if basename
9337         macro is available.
9338
9339 1997-04-16 17:33  Miles Bader  <miles@gnu.ai.mit.edu>
9340
9341         * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
9342
9343 1997-04-15 12:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9344
9345         * sysdeps/m68k/fpu/fclrexcpt.c: New file.
9346         * sysdeps/m68k/fpu/fenvbits.h: New file.
9347         * sysdeps/m68k/fpu/fegetenv.c: New file.
9348         * sysdeps/m68k/fpu/fegetround.c: New file.
9349         * sysdeps/m68k/fpu/fesetenv.c: New file.
9350         * sysdeps/m68k/fpu/fesetround.c: New file.
9351         * sysdeps/m68k/fpu/feupdateenv.c: New file.
9352         * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
9353         * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
9354         * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
9355         * sysdeps/m68k/fpu/ftestexcept.c: New file.
9356         * sysdeps/m68k/fpu/mathbits.h: New file.
9357
9358         * sysdeps/m68k/fpu/s_remquo.c: New file.
9359         * sysdeps/m68k/fpu/s_remquol.c: New file.
9360         * sysdeps/m68k/fpu/s_remquof.c: New file.
9361
9362         * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
9363         mantissa overflows into exponent.  Fix priority of >> vs +.
9364
9365         * math/libm-test.c (basic_tests): Use the appropriate isnan and
9366         isinf function to test the value of the nan function.
9367
9368 1997-04-15 13:40  Ulrich Drepper  <drepper@cygnus.com>
9369
9370         * sysdeps/libm-i387/s_finite.S: Fix typo.
9371
9372         * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
9373         isgreaterequal, isless, islessequal, islessgreater, and
9374         isunordered.
9375
9376 1997-04-15 03:14  Ulrich Drepper  <drepper@cygnus.com>
9377
9378         * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
9379
9380         * math/Makefile (libm-calls): Add s_sincos and s_cproj.
9381         * math/mathcalls.h: Add prototype for sincos.
9382         * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
9383         inlined sin and cos function.
9384         Define functions new in ISO C 9X when __USE_ISOC9X is defined.
9385         Add optimized version of finite.
9386         Rewrite sincos function to handle too large arguments.
9387         * sysdeps/libm-i387/s_cos.S: Better code alignment.
9388         * sysdeps/libm-i387/s_cosl.S: Likewise.
9389         * sysdeps/libm-i387/s_sin.S: Likewise.
9390         * sysdeps/libm-i387/s_sinl.S: Likewise.
9391         * sysdeps/libm-i387/s_finite.S: Yet better code.
9392         * sysdeps/libm-i387/s_finitef.S: Likewise.
9393         * sysdeps/libm-i387/s_sincos.S: New file.
9394         * sysdeps/libm-i387/s_sincosf.S: New file.
9395         * sysdeps/libm-i387/s_sincosl.S: New file.
9396         * sysdeps/libm-ieee754/s_sincos.c: New file.
9397         * sysdeps/libm-ieee754/s_sincosf.c: New file.
9398         * sysdeps/libm-ieee754/s_sincosl.c: New file.
9399
9400         * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
9401         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9402         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9403         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9404         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9405         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9406         * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9407         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9408         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9409         * sysdeps/libm-ieee754/s_ctan.c: Likewise.
9410         * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
9411         * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
9412         * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
9413         * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
9414         * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
9415
9416         * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
9417         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
9418
9419         * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
9420         * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
9421
9422         * nis/Makefile (services): Mention nisplus before compat.
9423         * nis/nis_call.c (__do_niscall): Change type of variable server_len
9424         to prevent warning.
9425         * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
9426         cast to prevent warning.
9427         * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
9428         * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
9429         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
9430         type of variable `i' to prevent warning.
9431         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
9432         Likewise.
9433         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
9434         Likewise.
9435         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
9436         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
9437         Likewise.
9438
9439         * sysdeps/generic/Dist: Remove old math implementation files.
9440         * sysdeps/generic/mathimpl.h: Removed.
9441         * sysdeps/generic/trig.h: Removed.
9442         * sysdeps/generic/sincos.c: Removed.
9443         * sysdeps/generic/asincos.c: Removed.
9444         * sysdeps/generic/exp__E.c: Removed.
9445         * sysdeps/generic/log__L.c: Removed.
9446
9447 1997-04-13 17:18  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9448
9449         * malloc/malloc.c (fREe): Small optimization.  Before returning,
9450         add fast check whether the heap containing top can go away.
9451
9452 1997-04-11 16:46  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
9453
9454         * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
9455         failing to allocate a new chunk, also try the main_arena.  It may
9456         be that we are only running out of mmapped regions, and other
9457         arenas cannot be enlarged sufficiently.
9458         (new_heap, malloc_extend_top): Handle top_pad more consistently,
9459         i.e. only in new_heap().
9460
9461 1997-04-13 21:10  Philip Blundell  <pjb27@cl.cam.ac.uk>
9462
9463         * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
9464         if cross-compiling.
9465
9466         * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
9467
9468         * configure.in: Add ARM support.
9469         * sysdeps/arm/Implies: New file.
9470         * sysdeps/arm/__longjmp.S: New file.
9471         * sysdeps/arm/bsd-_setjmp: New file.
9472         * sysdeps/arm/bsd-setjmp: New file.
9473         * sysdeps/arm/bytesex.h: New file.
9474         * sysdeps/arm/fpu_control.h: New file.
9475         * sysdeps/arm/jmp_buf.h: New file.
9476         * sysdeps/arm/setjmp.h: New file.
9477         * sysdeps/arm/sysdep.h: New file.
9478         * sysdeps/unix/arm/config.h: New file.
9479
9480 1997-04-14 04:03  Ulrich Drepper  <drepper@cygnus.com>
9481
9482         * sysdeps/libm-ieee754/s_cproj.c: New file.
9483         * sysdeps/libm-ieee754/s_cprojf.c: New file.
9484         * sysdeps/libm-ieee754/s_cprojl.c: New file.
9485
9486 1997-04-13 01:06  Ulrich Drepper  <drepper@cygnus.com>
9487
9488         * isomac.c: Improve messages.
9489
9490         * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
9491         s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
9492         s_catanh, s_csqrt, and s_cpow.
9493         * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
9494         casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
9495         csqrt_test, cpow_test, rint_test.
9496         * math/math.h: Include new header mathbits.h which defines some
9497         more (system dependent) types and some macros.
9498         (isfinite): Use __finite instead of fpclassify.
9499         * sysdeps/generic/mathbits.h: New file.
9500         * sysdeps/i386/fpu/mathbits.h: New file.
9501         * sysdeps/i386/huge_val.h: Don't define INFINITY.
9502         * sysdeps/ieee754/huge_val.h: Likewise.
9503         * sysdeps/m68k/huge_val.h: Likewise.
9504
9505         * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
9506         * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
9507
9508         * math/complex.h (_Imaginary_I): Define correctly.  I misread the
9509         standard first.
9510
9511         * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
9512         * sysdeps/libm-i387/s_finitef.S: Likewise.
9513         * sysdeps/libm-i387/s_finitel.S: Likewise.
9514         Provided by Joe Keane <jgk@jgk.org>.
9515
9516         * sysdeps/libm-i387/s_nearbyint.S: New file.
9517         * sysdeps/libm-i387/s_nearbyintf.S: New file.
9518         * sysdeps/libm-i387/s_nearbyintl.S: New file.
9519         * sysdeps/libm-ieee754/s_nearbyint.S: New file.
9520         * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
9521         * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
9522
9523         * sysdeps/libm-ieee754/s_cacos.c: New file.
9524         * sysdeps/libm-ieee754/s_cacosf.c: New file.
9525         * sysdeps/libm-ieee754/s_cacosl.c: New file.
9526         * sysdeps/libm-ieee754/s_cacosh.c: New file.
9527         * sysdeps/libm-ieee754/s_cacoshf.c: New file.
9528         * sysdeps/libm-ieee754/s_cacoshl.c: New file.
9529         * sysdeps/libm-ieee754/s_casin.c: New file.
9530         * sysdeps/libm-ieee754/s_casinf.c: New file.
9531         * sysdeps/libm-ieee754/s_casinl.c: New file.
9532         * sysdeps/libm-ieee754/s_casinh.c: New file.
9533         * sysdeps/libm-ieee754/s_casinhf.c: New file.
9534         * sysdeps/libm-ieee754/s_casinhl.c: New file.
9535         * sysdeps/libm-ieee754/s_catan.c: New file.
9536         * sysdeps/libm-ieee754/s_catanf.c: New file.
9537         * sysdeps/libm-ieee754/s_catanl.c: New file.
9538         * sysdeps/libm-ieee754/s_catanh.c: New file.
9539         * sysdeps/libm-ieee754/s_catanhf.c: New file.
9540         * sysdeps/libm-ieee754/s_catanhl.c: New file.
9541         * sysdeps/libm-ieee754/s_ccos.c: New file.
9542         * sysdeps/libm-ieee754/s_ccosf.c: New file.
9543         * sysdeps/libm-ieee754/s_ccosl.c: New file.
9544         * sysdeps/libm-ieee754/s_cpow.c: New file.
9545         * sysdeps/libm-ieee754/s_cpowf.c: New file.
9546         * sysdeps/libm-ieee754/s_cpowl.c: New file.
9547         * sysdeps/libm-ieee754/s_csin.c: New file.
9548         * sysdeps/libm-ieee754/s_csinf.c: New file.
9549         * sysdeps/libm-ieee754/s_csinl.c: New file.
9550         * sysdeps/libm-ieee754/s_csqrt.c: New file.
9551         * sysdeps/libm-ieee754/s_csqrtf.c: New file.
9552         * sysdeps/libm-ieee754/s_csqrtl.c: New file.
9553         * sysdeps/libm-ieee754/s_ctan.c: New file.
9554         * sysdeps/libm-ieee754/s_ctanf.c: New file.
9555         * sysdeps/libm-ieee754/s_ctanl.c: New file.
9556         * sysdeps/libm-ieee754/s_ctanh.c: New file.
9557         * sysdeps/libm-ieee754/s_ctanhf.c: New file.
9558         * sysdeps/libm-ieee754/s_ctanhl.c: New file.
9559
9560         * time/strftime.c (memset_space): Increment pointer.
9561         * time/strptime.c: Interpret year number 00-59 as 2000--2059.
9562         Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
9563
9564 1997-04-11 11:57  Miguel de Icaza <miguel@nuclecu.unam.mx>
9565
9566         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
9567         pipe, syscall.
9568
9569 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9570
9571         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9572         probably still wrong.
9573         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9574         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9575
9576         * math/libm-test.c (remquo_test): Corrected.
9577
9578 1997-04-11 00:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9579
9580         * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
9581         * sysdeps/m68k/fpu/s_rinttol.c: New file.
9582         * sysdeps/m68k/fpu/s_rinttoll.c: New file.
9583
9584         * math/libm-test.c (remquo_test): Use check_long to test the
9585         quotient.
9586         (cbrt_test): Add epsilons for long double.
9587
9588 1997-04-10 18:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9589
9590         * locale/localeinfo.h: Update declaration of _nl_current.
9591
9592 1997-04-11 11:27  Ulrich Drepper  <drepper@cygnus.com>
9593
9594         * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
9595
9596         * math/Makefile (headers): Add fenv.h and fenvbits.h.
9597         (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
9598         fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
9599         fegetenv, feholdexcpt, fesetenv, feupdateenv.
9600         (libm-calls): Add s_round.
9601         * math/fenv.h: New file.
9602         * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
9603         Add roundtol_check and roundtoll_check.
9604         * math/math.h: Pretty printing.
9605         * sysdeps/i386/fpu/fclrexcpt.c: New file.
9606         * sysdeps/i386/fpu/fegetenv.c: New file.
9607         * sysdeps/i386/fpu/fegetround.c: New file.
9608         * sysdeps/i386/fpu/feholdexcpt.c: New file.
9609         * sysdeps/i386/fpu/fenvbits.h: New file.
9610         * sysdeps/i386/fpu/fesetenv.c: New file.
9611         * sysdeps/i386/fpu/fesetround.c: New file.
9612         * sysdeps/i386/fpu/fgetexcptflg.c: New file.
9613         * sysdeps/i386/fpu/fraiseexcpt.c: New file.
9614         * sysdeps/i386/fpu/fsetexcptflg.c: New file.
9615         * sysdeps/i386/fpu/ftestexcept.c: New file.
9616         * sysdeps/stub/fclrexcpt.c: New file.
9617         * sysdeps/stub/fegetenv.c: New file.
9618         * sysdeps/stub/fegetround.c: New file.
9619         * sysdeps/stub/feholdexcpt.c: New file.
9620         * sysdeps/stub/fenvbits.h: New file.
9621         * sysdeps/stub/fesetenv.c: New file.
9622         * sysdeps/stub/fesetround.c: New file.
9623         * sysdeps/stub/fgetexcptflg.c: New file.
9624         * sysdeps/stub/fraiseexcpt.c: New file.
9625         * sysdeps/stub/fsetexcptflg.c: New file.
9626         * sysdeps/stub/ftestexcept.c: New file.
9627
9628         * sysdeps/libm-i387/s_trunc.S: New file.
9629         * sysdeps/libm-i387/s_truncf.S: New file.
9630         * sysdeps/libm-i387/s_truncl.S: New file.
9631
9632         * sysdeps/libm-ieee754/s_round.c: New file.
9633         * sysdeps/libm-ieee754/s_roundf.c: New file.
9634         * sysdeps/libm-ieee754/s_roundl.c: New file.
9635
9636         * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
9637         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9638         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9639         * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9640         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9641         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9642         * sysdeps/libm-ieee754/s_clog.c: Likewise.
9643         * sysdeps/libm-ieee754/s_clogf.c: Likewise.
9644         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
9645         * sysdeps/libm-ieee754/s_csinh.c. Likewise.
9646         * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
9647         * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
9648
9649         * sysdeps/libm-ieee754/s_ceill.c: Corrected.  The mantissa has only
9650         63 bits.
9651         * sysdeps/libm-ieee754/s_floorl.c: Likewise.
9652
9653         * po/pl.po: Updated.
9654
9655         * string/swab.c: Correctly handle array of odd length.
9656
9657         * sysdeps/generic/memmem.c: Update copyright.
9658         * manual/string.texi: Correct prototype in memmem documentation.
9659
9660 1997-04-10 20:22  Ulrich Drepper  <drepper@cygnus.com>
9661
9662         * hurd/Makefile (sunrpc-headers): Add clnt.h.
9663         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
9664
9665 1997-04-09 14:21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
9666
9667         * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
9668         the proper value from the GOT.  Pass argument block to
9669         init function.
9670
9671         * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
9672         _init ().
9673
9674         * sysdeps/sparc/fpu_control.h: Fix the FPU constants.  I got them
9675         wrong the first time.
9676
9677         * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
9678         register.
9679
9680         * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
9681
9682         * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
9683         SYSDEP_CALL_INIT.
9684
9685         * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
9686         NSIG and duplicated SIGIOT.
9687
9688 1997-04-05 00:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9689
9690         * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9691         probably still wrong.
9692         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9693         * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9694
9695         * math/libm-test.c (remquo_test): Corrected.
9696
9697 1997-04-03 18:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9698
9699         * Makefile (parent-tests): New target to run the tests to that
9700         they are executed even if some subdir tests have failed.
9701         (tests): Depend on parent-tests instead of running the tests
9702         directly.
9703
9704 1997-04-03 12:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9705
9706         Clean up name space pollution in libnss_*.so:
9707         * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
9708         resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
9709         memcpy and bcmp by memcmp to clean up namespace.
9710         * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
9711         dbopen.
9712         * nss/nss_db/db-alias.c (internal_setent): Likewise.
9713         * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
9714         * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
9715         the latter a weak alias.
9716         * db/db.h: Declare __dbopen.
9717         * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
9718         * db/mpool/mpool.c [_LIBC]: Define all external functions with __
9719         prefix and make the old names weak aliases.
9720         * db/mpool.h: Declare the new internal names.
9721
9722 1997-04-04 23:57  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9723
9724         * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
9725         * stdio-common/tstscanf.c: Add test case for this.
9726
9727 1997-04-04 17:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9728
9729         * math/libm-test.c: Fix more typos.
9730
9731 1997-04-03 17:15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9732
9733         * math/libm-test.c (csinh_test): Fix test names.
9734         (ccosh_test): Likewise.
9735
9736         * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
9737         computing it directly.
9738         * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9739         * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9740
9741         * sysdeps/libm-ieee754/s_ccosh.c:  Use cosh function instead of
9742         computing it directly.
9743         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9744         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9745
9746         * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
9747         of wrapper.
9748         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9749         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9750         * sysdeps/m68k/fpu/s_cexp.c: Likewise.  Correct handling of
9751         special values.  Avoid use of fsincos if all that is needed is the
9752         quadrant.
9753
9754         * sysdeps/m68k/fpu/s_ccosh.c: New file.
9755         * sysdeps/m68k/fpu/s_ccoshf.c: New file.
9756         * sysdeps/m68k/fpu/s_ccoshl.c: New file.
9757         * sysdeps/m68k/fpu/s_csinh.c: New file.
9758         * sysdeps/m68k/fpu/s_csinhl.c: New file.
9759         * sysdeps/m68k/fpu/s_csinhf.c: New file.
9760
9761 1997-04-03 10:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9762
9763         * manual/Makefile (dir-add.texi): Simplify.
9764
9765 1997-04-09 01:24  Ulrich Drepper  <drepper@cygnus.com>
9766
9767         * rellns-sh: Rewrite to work also in presence of symlinks.
9768
9769         * argp/argp-fmtstream.c: Add casts to prevent warnings.
9770         * argp/argp-fmtstream.h: Likewise.
9771         * argp/argp-help.c: Likewise.
9772
9773         * elf/dl-minimal.c: Add definition of calloc.
9774         * elf/version.c: Add casts to prevent warnings.
9775         (_dl_check_map_versions): Use calloc instead of malloc+memset.
9776
9777         * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
9778         Reported by Greg McGary <gkm@eng.ascend.com>.
9779
9780         * manual/libc.texinfo: Update malloc documentation for new malloc.
9781         * manual/memory.texi: Likewise.
9782         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
9783
9784         * math/libm-test.c (check_long): New function.
9785         (check_longlong): New function.
9786         (rinttol_test): New function.
9787         (rinttoll_test): New function.
9788
9789         * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
9790         * nis/nss_compat/compat-pwd.c: Likewise.
9791         * nis/nss_compat/compat-spwd.c: Likewise.
9792
9793         * stdlib/erand48_r.c (erand48_r): Build double value using
9794         ieee754_double union and use random bits in different order to
9795         increase effect of seed.
9796         Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
9797
9798         * sunrpc/svc_auth.c: Moved to ...
9799         * sysdeps/generic/svc_auth.c: ...here.
9800
9801         * time/time.h: Pretty print.
9802
9803 1997-04-08 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
9804
9805         * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
9806         a read-only stream.
9807
9808 1997-04-09 01:19  Ulrich Drepper  <drepper@cygnus.com>
9809
9810         * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
9811         in correct place.
9812         Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9813
9814 1997-04-07 15:34  Ulrich Drepper  <drepper@cygnus.com>
9815
9816         * stdio-common/Makefile (tests): Add tst-ferror.
9817         * stdio-common/tst-ferror.c: New file.  Some tests for error
9818         indicator of streams.
9819         * stdio-common/tst-ferror.input: New file.
9820
9821         * isomac.c: Let tests not fail because the compiler defines itself
9822         symbols which violate the name space rules.  gcc defines symbols
9823         for the architecture which are not protected by an underscore
9824         character.
9825
9826         * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
9827         (libm-calls): Add s_clog.
9828         * sysdeps/libm-ieee754/s_clog.c: New file.  Implementation of
9829         logarithm of complex value.
9830         * sysdeps/libm-ieee754/s_clogf.c: New file.
9831         * sysdeps/libm-ieee754/s_clogl.c: New file.
9832         * math/libm-test.c (clog_test): Compile this function.  Fix a few
9833         typos.
9834         (main): Call clog_test.
9835
9836         * sysdeps/libm-ieee754/s_rinttol.c: New file.  Round long double
9837         value to long int.
9838         * sysdeps/libm-i387/s_rinttol.S: New file.
9839         * sysdeps/libm-ieee754/s_rinttoll.c: new file.  Round long double
9840         value to long long int.
9841         * sysdeps/libm-i387/s_rinttoll.S: New file.
9842
9843         * sysdeps/libm-ieee754/s_rintl.c: Many corrections.  The previous
9844         version was full of errors.
9845
9846         * math/math.h (rinttol): Argument is of type `long double' not
9847         `double'.
9848         (rinttoll): Likewise.
9849         (roundtol): Likewise.
9850         (roundtoll): Likewise.
9851
9852 1997-04-06 11:32  H.J. Lu  <hjl@gnu.ai.mit.edu>
9853
9854         * posix/getopt.c (_getopt_initialize): Preserve optind.
9855         (_getopt_internal): Set optind to 1 if optind == 0 before
9856         calling _getopt_initialize ().
9857
9858 1997-04-05 16:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9859
9860         * nis/rpcsvc/nislib.h: Change const nis_name to new type
9861         const_nis_name.
9862         * nis/nis_intern.c: Likewise.
9863         * nis/nis_intern.h: Likewise.
9864         * nis/nis_server.c: Likewise.
9865         * nis/nis_subr.c: Likewise.
9866         * nis/nis_table.c: Likewise.
9867         * nis/nis_names.c: Likewise.  Fill out ns_request structure in
9868         nis_add().
9869
9870         * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
9871         * nis/nss_compat/compat-spwd.c: Likewise.
9872
9873 1997-03-27 07:37  H.J. Lu  <hjl@gnu.ai.mit.edu>
9874
9875         * libio/fileops.c (_IO_file_overflow): Set error when try to write
9876         on a read-only stream.
9877
9878         * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
9879         (ut_time): Define it only if _NO_UT_TIME is not defined.
9880
9881 1997-04-06 00:42  Ulrich Drepper  <drepper@cygnus.com>
9882
9883         * misc/tst-tsearch.c: Include <string.h>.  Define _GNU_SOURCE only
9884         if not already defined.
9885
9886 1997-04-05 16:14  Ulrich Drepper  <drepper@cygnus.com>
9887
9888         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
9889         get definition of sa_family_t for <linux/atalk.h>.
9890         Reported by a sun <asun@zoology.washington.edu>.
9891
9892         * malloc/malloc.c (cALLOc): Little optimization.
9893
9894 1997-04-05 03:11  Ulrich Drepper  <drepper@cygnus.com>
9895
9896         * inet/arpa/inet.h: Rewrite.  Don't use the ugly BSD way to write
9897         headers but instead add comments and parameter names.
9898         Don't use BSD specific types in prototypes.
9899
9900         * manual/nss.texi: Correct a few typos and errors.
9901
9902         * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
9903         algorithm.
9904         * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
9905         * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
9906
9907         * sysdeps/libm-i387/s_cbrt.S: New file.  Optimized assembler version
9908         with new algorithm.
9909         * sysdeps/libm-i387/s_cbrtf.S: New file.
9910         * sysdeps/libm-i387/s_cbrtl.S: New file.
9911
9912         * sysdeps/libm-i387/s_frexp.S: Optimize even more.
9913         * sysdeps/libm-i387/s_frexpf.S: Likewise.
9914         * sysdeps/libm-i387/s_frexpl.S: Likewise.
9915
9916 1997-04-04 18:55  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9917
9918         * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
9919
9920         * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
9921         DES part only with secure RPC add-on.
9922
9923         * nis/nis_names.c (nis_modify): Fix rpc function number.
9924
9925         * nis/nis_server.c: Fix typos.
9926
9927         * nis/nss_compat/compat-grp.c: Add NIS+ support.
9928         * nis/nss_compat/compat-pwd.c: Likewise.
9929         * nis/nss_compat/compat-spwd.c: Likewise.
9930
9931         * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
9932         signals success.
9933
9934         * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
9935         secure RPC.
9936         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9937         * nis/ypclnt.c: Likewise.
9938         * nis/nis_intern.h: Likewise.
9939
9940         * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
9941         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9942         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9943         * nis/nss_nisplus/nisplus-network.c: Likewise.
9944         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9945         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9946         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9947         * nis/nss_nisplus/nisplus-service.c: Likewise.
9948         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9949
9950         * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
9951         and speedup.
9952         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9953
9954 1997-04-04 17:03  Ulrich Drepper  <drepper@cygnus.com>
9955
9956         * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
9957         arguments.
9958
9959 1997-04-03 19:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
9960
9961         * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
9962         typo.
9963
9964 1997-04-03 16:10  Andreas Jaeger  <aj@arthur.pfalz.de>
9965
9966         * sysdeps/libm-ieee754/s_nanf.c:
9967         * sysdeps/libm-ieee754/s_nan.c:
9968         * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
9969         declaration of sprintf.
9970
9971 1997-04-03 13:37  Ulrich Drepper  <drepper@cygnus.com>
9972
9973         * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
9974         strong_alias.
9975         Reported by sun <asun@zoology.washington.edu>.
9976
9977         * rpc/auth.h: Removed.
9978         * rpc/auth_des.h: Removed.
9979         * sunrpc/rpc/auth.h: Moved to ...
9980         * sysdeps/generic/rpc/auth.h: ...here.
9981         * sunrpc/rpc/auth_des.h: Moved to ...
9982         * sysdeps/generic/rpc/auth_des.h: ...here.
9983
9984 1997-04-03 04:28  Ulrich Drepper  <drepper@cygnus.com>
9985
9986         * sysdeps/libm-i387/s_frexp.S: New file.  ix87 optimized version.
9987         * sysdeps/libm-i387/s_frexpf.S: New file.
9988         * sysdeps/libm-i387/s_frexpl.S: New file.
9989
9990 1997-04-01 10:11  H.J. Lu  <hjl@gnu.ai.mit.edu>
9991
9992         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
9993         (sysdep_headers): Remove netinet/icmp.h.
9994
9995 1997-04-02 16:55  Ulrich Drepper  <drepper@cygnus.com>
9996
9997         * manual/socket.texi: Document behaviour of inet_ntoa in multi-
9998         threaded programs.
9999         * manual/stdio.texi: Change wording for snprintf description a bit.
10000         Correct typo in example.
10001         * manual/lang.texi: Add documentation of __va_copy.
10002
10003         * Makefile: Add rule to easily generate dir-add.texi file.
10004         * manual/Makefile: Likewise.
10005
10006         * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
10007         Change description of strtoll and strtoull to make clear these
10008         are the preferred names.
10009         Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
10010         and friends.
10011         Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
10012         HUGE_VALL.
10013
10014 1997-04-02 16:28  Ulrich Drepper  <drepper@cygnus.com>
10015
10016         * grp/fgetgrent.c: Don't use fixed buffer length.  Allow dynamic
10017         adjustment if the underlying function say it is too small.
10018         * pwd/fgetpwent.c: Likewise.
10019         * shadow/fgetspent.c: Likewise.
10020         * shadow/sgetspent.c: Likewise.
10021
10022         * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
10023         this means there was not enough room for the gr_mem array.
10024
10025         * nss/nss_files/files-XXX.c: Leave loop and return error if
10026         `parse_result' returns -1.
10027
10028         * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
10029         of trailing list fails because of low memory.
10030         (parse_list): Rewrite.  The logic was completly incorrect since
10031         the checks for overflowing the array were not executed when
10032         needed.
10033
10034         * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
10035         signals success.
10036
10037         * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
10038         * nss/getXXent.c: Likewise.
10039
10040         * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
10041         is set in mantissa.
10042         * stdlib/strtof.c: Likewise.
10043         * stdlib/strtold.c: Likewise.
10044         * wcsmbs/wcstof.c: Likewise.
10045         * wcsmbs/wcstold.c: Likewise.
10046
10047         * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
10048         string.
10049         * sysdeps/libm-ieee754/s_nanf.c: Likewise.
10050         * sysdeps/libm-ieee754/s_nanl.c: Likewise.
10051
10052 1997-04-02 13:56  Ulrich Drepper  <drepper@cygnus.com>
10053
10054         * manual/errno.texi: Add description of strerror_r.
10055
10056 1997-04-01 19:07  H.J. Lu (hjl@gnu.ai.mit.edu)
10057
10058         * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
10059
10060 1997-04-02 13:55  Ulrich Drepper  <drepper@cygnus.com>
10061
10062         * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
10063
10064 1997-03-30 10:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10065
10066         * sysdeps/m68k/fpu/s_cexp.c: New file.
10067         * sysdeps/m68k/fpu/s_cexpf.c: New file.
10068         * sysdeps/m68k/fpu/s_cexpl.c: New file.
10069         * sysdeps/m68k/fpu/s_nearbyint.c: New file.
10070         * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
10071         * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
10072         * sysdeps/m68k/fpu/s_trunc.c: New file.
10073         * sysdeps/m68k/fpu/s_truncf.c: New file.
10074         * sysdeps/m68k/fpu/s_truncl.c: New file.
10075
10076         * sysdeps/m68k/fpu/s_modf.c: Rewritten.
10077         * sysdeps/m68k/fpu/s_modff.c: Adapted.
10078         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
10079
10080         * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
10081         * sysdeps/m68k/fpu/e_pow.c: Likewise.  Write 0.0/0.0 for NaN.  Fix
10082         typo in test for `y = 0.5'.
10083
10084         * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
10085         __nearbyint.  Remove __modf.
10086
10087         * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
10088         Define for gcc bug workaround.
10089
10090         * math/libm-test.c (log2_test): Add epsilon for long double to
10091         "log2 (e)" and "log2 (16)".
10092         (modf_test): Fix test name.
10093         (sqrt_test): Add missing FUNC.
10094
10095 1997-03-29 16:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10096
10097         * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
10098
10099 1997-03-28 20:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10100
10101         * stdlib/stdlib.h: Declare __clearenv.
10102
10103 1997-03-28 18:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10104
10105         * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
10106         the last change.
10107
10108 1997-03-28 17:55  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10109
10110         * configure.in: Call AC_CANONICAL_BUILD before referencing
10111         $build.  Fix test for BUILD_CC.
10112
10113 1997-04-02 01:29  Philip Blundell  <pjb27@cam.ac.uk>
10114
10115         * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
10116
10117 1997-03-31 18:53  Philip Blundell  <pjb27@cam.ac.uk>
10118
10119         * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
10120
10121 1997-04-01 14:08  Ulrich Drepper  <drepper@cygnus.com>
10122
10123         * sysdeps/i386/memset.c: Fix typo.
10124         * sysdeps/stub/fchmod.c: Fix typo.
10125         * sysdeps/stub/fchdir.c: Fix typo.
10126         Reported by Fila Kolodny <fila@ibi.com>.
10127
10128 1997-04-01 00:37  Ulrich Drepper  <drepper@cygnus.com>
10129
10130         * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
10131         * math/libm-test.c (initialize): Make strings unique and force
10132         values to memory.
10133
10134         * posix/regex.c: Debug debugging code.
10135
10136         * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
10137         syntax for local label.
10138         * sysdeps/i386/add_n.S: Use correct local label syntax for the
10139         binary format.
10140         * sysdeps/i386/addmul_1.S: Likewise.
10141         * sysdeps/i386/lshift.S: Likewise.
10142         * sysdeps/i386/memchr.S: Likewise.
10143         * sysdeps/i386/memcmp.S: Likewise.
10144         * sysdeps/i386/mul_1.S: Likewise.
10145         * sysdeps/i386/rshift.S: Likewise.
10146         * sysdeps/i386/stpcpy.S: Likewise.
10147         * sysdeps/i386/stpncpy.S: Likewise.
10148         * sysdeps/i386/strchr.S: Likewise.
10149         * sysdeps/i386/strcspn.S: Likewise.
10150         * sysdeps/i386/strlen.S: Likewise.
10151         * sysdeps/i386/strpbrk.S: Likewise.
10152         * sysdeps/i386/strrchr.S: Likewise.
10153         * sysdeps/i386/strspn.S: Likewise.
10154         * sysdeps/i386/strtok.S: Likewise.
10155         * sysdeps/i386/sub_n.S: Likewise.
10156         * sysdeps/i386/submul_1.S: Likewise.
10157         * sysdeps/i386/i486/strcat.S: Likewise.
10158         * sysdeps/i386/i486/strlen.S: Likewise.
10159         * sysdeps/i386/i586/add_n.S: Likewise.
10160         * sysdeps/i386/i586/addmul_1.S: Likewise.
10161         * sysdeps/i386/i586/lshift.S: Likewise.
10162         * sysdeps/i386/i586/memset.S: Likewise.
10163         * sysdeps/i386/i586/mul_1.S: Likewise.
10164         * sysdeps/i386/i586/rshift.S: Likewise.
10165         * sysdeps/i386/i586/strchr.S: Likewise.
10166         * sysdeps/i386/i586/strlen.S: Likewise.
10167         * sysdeps/i386/i586/sub_n.S: Likewise.
10168         * sysdeps/i386/i586/submul_1.S: Likewise.
10169
10170         * sysdeps/stub/s_log2l.c: Correct function name.
10171
10172         * time/africa: Updated from ADO tzdata1997e.
10173         * time/antarctica: Likewise.
10174         * time/asia: Likewise.
10175         * time/australasia: Likewise.
10176         * time/europe: Likewise.
10177         * time/northamerica: Likewise.
10178         * time/southamerica: Likewise.
10179         * time/private.h: Updated from ADO tzcode1997d.
10180         * time/scheck.c: Likewise.
10181
10182 1997-03-31 12:42  Ulrich Drepper  <drepper@cygnus.com>
10183
10184         * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
10185
10186 1997-03-23 01:41  Geoff Keating  <geoffk@ozemail.com.au>
10187
10188         * sysdeps/powerpc/strlen.s: Rewrote for more speed.
10189         * string/tst-strlen.c: Also test various string alignments.
10190
10191 1997-03-19 06:11  Geoff Keating  <geoffk@ozemail.com.au>
10192
10193         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
10194         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
10195
10196         * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
10197         program base address is 0x01800000 if we can't otherwise tell what
10198         it is.
10199         (elf_machine_rela): Replace `assertion failed' with real error
10200         messages.
10201
10202         * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
10203         Put in extra parentheses to make explicit the relative precedence
10204         of + and >>.
10205
10206         * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
10207         pass.
10208         * sysdeps/powerpc/clone.S: Rewrite.  Probably still doesn't work.
10209
10210         * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
10211         instead of .text.
10212
10213 1997-03-31 02:28  Ulrich Drepper  <drepper@cygnus.com>
10214
10215         * misc/tst-tsearch.c: Don't write to stderr, write to stdout
10216         instead.
10217
10218         * inet/inet_ntoa.c (inet_ntoa): Complete rewrite.  Now uses
10219         thread-specific memory in multi-threaded programs.
10220
10221         * sysdeps/stub/s_exp2.c: New file.  Stub version for exp2 function.
10222         * sysdeps/stub/s_exp2f.c: New file.
10223         * sysdeps/stub/s_exp2l.c: New file.
10224         Reported by a sun <asun@zoology.washington.edu>.
10225
10226         * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
10227         * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
10228         Suggested by a sun <asun@zoology.washington.edu>.
10229
10230 1997-03-30 14:53  Ulrich Drepper  <drepper@cygnus.com>
10231
10232         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
10233         of <netinet/icmp.h>.
10234         Patch by a sun <asun@zoology.washington.edu>.
10235
10236 1997-03-30 03:42  Ulrich Drepper  <drepper@cygnus.com>
10237
10238         * math/libm-test.c: Add definition of ctanh_test, clog_test, and
10239         csqrt_test.
10240
10241 1997-03-29 17:39  Ulrich Drepper  <drepper@cygnus.com>
10242
10243         * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
10244
10245         * math/complex.h: Add C++ protection.
10246
10247         * math/libm-test.c (cexp_test): Correct a few bugs.
10248         (csinh_test): New function.
10249         (ccosh_test): New function.
10250         (cacos_test): New function.
10251         (cacosh_test): New function.
10252         (casinh_test): New function.
10253         (catanh_test): New function.
10254         (main): Add calls to csinh_test and ccosh_test.
10255
10256         * misc/Makefile (tests): Add tst-tsearch.
10257         Add rule to link tst-tsearch against libm.
10258         * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
10259         Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
10260         * misc/tst-tsearch.c: New file.
10261
10262         * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
10263         before using system.
10264         * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
10265         before using popen.
10266
10267         * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
10268         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
10269         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
10270
10271         * sysdeps/libm-i387/s_cexp.S: New file.  ix87 specific implementation
10272         of complex exponential function.
10273         * sysdeps/libm-i387/s_cexpf.S: New file.
10274         * sysdeps/libm-i387/s_cexpl.S: New file.
10275
10276         * sysdeps/libm-ieee754/s_ccosh.c: New file.  Implementation of
10277         complex cosh function.
10278         * sysdeps/libm-ieee754/s_ccoshf.c: New file.
10279         * sysdeps/libm-ieee754/s_ccoshl.c: New file.
10280         * sysdeps/libm-ieee754/s_csinh.c: New file.  Implementation of
10281         complex sinh function.
10282         * sysdeps/libm-ieee754/s_csinhf.c: New file.
10283         * sysdeps/libm-ieee754/s_csinhl.c: New file.
10284
10285         * math/carg.c: New file.  Generic implementatio of carg function.
10286         * math/cargf.c: New file.
10287         * math/cargl.c: New file.
10288
10289 1997-03-29 16:07  Ulrich Drepper  <drepper@cygnus.com>
10290
10291         * sysdeps/posix/system.c: Update copyright.
10292
10293 1997-03-29 04:18  Ulrich Drepper  <drepper@cygnus.com>
10294
10295         * elf/dl-error.c (_dl_catch_error): Add another argument which is
10296         passed to OPERATE.
10297         (_dl_receive_error): Likewise.
10298         * elf/link.h: Change prototypes for _dl_catch_error and
10299         _dl_receive_error to reflect above change.
10300         * elf/dl-deps.c: Don't use nested function.  Call _dl_catch_error
10301         with additional argument with pointer to data.
10302         * elf/dlclose.c: Likewise.
10303         * elf/dlerror.c: Likewise.
10304         * elf/dlopen.c: Likewise.
10305         * elf/dlsym.c: Likewise.
10306         * elf/dlvsym.c: Likewise.
10307         * elf/rtld.c: Likewise.
10308         * nss/nsswitch.c: Likewise.
10309         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
10310
10311 1997-03-28 21:14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10312
10313         * elf/dl-error.c: Manually set up the values of "c", this avoids a
10314         call to memcpy and a zero 152 bytes structure.
10315
10316         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
10317         RTLD_BOOTSTRAP to avoid performing relative relocs on a second
10318         pass.
10319
10320         * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
10321
10322         * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
10323         kernel_sigaction.h
10324
10325         Add Linux/SPARC specific definitions.
10326         * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
10327         * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
10328         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
10329         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
10330         * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
10331         * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
10332         * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
10333
10334 1997-03-28 13:06  Philip Blundell  <pjb27@cam.ac.uk>
10335
10336         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
10337         __getservbyname_r() not getservbyname().
10338         (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
10339
10340 1997-03-27 02:28  Ulrich Drepper  <drepper@cygnus.com>
10341
10342         * gmon/gmon.c (monstartup): Mark all messages.
10343         (write_call_graph): Rewrite to use larger I/O vector for writev
10344         call to reduce syscall overhead.
10345         (write_bb_counts): Simplify writev handling.
10346
10347         * inet/rexec.c: Make string parameters `const'.
10348         * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
10349         rresvport.
10350
10351         * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
10352         in libm-test.
10353         * math/libm-test.c (this_does_nothing): Remove functions.  It's
10354         notuseful on any platform but ix86.
10355         (inverse_func_pair_test): Don't use this_does_nothing.  Use
10356         memory reference.
10357         (identities1_test): Likewise.
10358         (identities2_test): Likewise.
10359         (identities3_test): Likewise.
10360         (basic_test): Likewise.
10361         Patch by Andreas Schwab.
10362         (BUILD_COMPLEX): New macro.  Create complex number from real and
10363         imaginary parts.  This works around bugs/inefficiencies in current
10364         gcc.
10365         (cexp_test): Use BUILD_COMPLEX.  Add more tests.
10366
10367         * nss/nsswitch.c: Fix typo.
10368
10369         * posix/glob.h: Add declaration for glob_pattern_p.
10370         * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
10371         make glob_pattern_p a weak alias.  This function is used in other
10372         packages (e.g. bash).
10373
10374         * signal/Makefile (routines): Add sigisempty, sigandset, and
10375         sigorset.
10376         * signal/signal.h: Add prototypes for sigisempty, sigandset, and
10377         sigorset.
10378         * signal/sigisempty.c: New file.
10379         * signal/sigandset.c: New file.
10380         * signal/sigorset.c: New file.
10381         * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
10382         and __sigorset.
10383         * sysdeps/unix/sysv/linux/sigset.h: Likewise.
10384
10385         * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing.  It
10386         determines the bits in the mantissa part of the NaN.
10387         * stdlib/strtof.c: Define SET_MANTISSA for float type.
10388         * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
10389         * stdlib/strtold.c: Define SET_MANTISSA for long double type.
10390         * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
10391
10392         * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
10393         complex number components.  Some more corrects for special cases.
10394         * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
10395         * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
10396
10397         * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
10398
10399         * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
10400         ip_icmp.h.  Reported by HJ Lu.
10401
10402 1997-03-25 03:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10403
10404         * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
10405
10406         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
10407         i386.
10408         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
10409         ELF_MACHINE_RELOC_NOPLT): Define.
10410
10411 1997-03-25 03:48  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10412
10413         * grp/grp.h: Include <stddef.h> only once.
10414
10415 1997-03-25 09:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10416
10417         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
10418         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
10419
10420         * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
10421         TAB3, if one of them is defined.
10422
10423 1997-03-26 04:53  Ulrich Drepper  <drepper@cygnus.com>
10424
10425         * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
10426         is found.
10427         Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
10428
10429 1997-03-25  16:25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10430
10431         * sunrpc/Makefile: Comment gccwarn out.
10432         * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
10433         with enabled warnings.
10434         * sunrpc/auth_unix.c: Likewise.
10435         * sunrpc/authuxprot.c: Likewise.
10436         * sunrpc/bindrsvprt.c: Likewise.
10437         * sunrpc/clnt_gen.c: Likewise.
10438         * sunrpc/clnt_perr.c: Likewise.
10439         * sunrpc/clnt_raw.c: Likewise.
10440         * sunrpc/clnt_simp.c: Likewise.
10441         * sunrpc/clnt_tcp.c: Likewise.
10442         * sunrpc/clnt_udp.c: Likewise.
10443         * sunrpc/get_myaddr.c: Likewise.
10444         * sunrpc/getrpcport.c: Likewise.
10445         * sunrpc/pm_getmaps.c: Likewise.
10446         * sunrpc/pm_getport.c: Likewise.
10447         * sunrpc/pmap_clnt.c: Likewise.
10448         * sunrpc/pmap_prot.c: Likewise.
10449         * sunrpc/pmap_prot2.c: Likewise.
10450         * sunrpc/pmap_rmt.c: Likewise.
10451         * sunrpc/rpc/auth.h: Likewise.
10452         * sunrpc/rpc/clnt.h: Likewise.
10453         * sunrpc/rpc/pmap_clnt.h: Likewise.
10454         * sunrpc/rpc/svc.h: Likewise.
10455         * sunrpc/rpc/svc_auth.h: Likewise.
10456         * sunrpc/rpc/types.h: Likewise.
10457         * sunrpc/rpc/xdr.h: Likewise.
10458         * sunrpc/rpc_clntout.c: Likewise.
10459         * sunrpc/rpc_cmsg.c: Likewise.
10460         * sunrpc/rpc_dtable.c: Likewise.
10461         * sunrpc/rpc_prot.c: Likewise.
10462         * sunrpc/svc.c: Likewise.
10463         * sunrpc/svc_auth.c: Likewise.
10464         * sunrpc/svc_authux.c: Likewise.
10465         * sunrpc/svc_raw.c: Likewise.
10466         * sunrpc/svc_run.c: Likewise.
10467         * sunrpc/svc_simple.c: Likewise.
10468         * sunrpc/svc_tcp.c: Likewise.
10469         * sunrpc/svc_udp.c: Likewise.
10470         * sunrpc/xdr.c: Likewise.
10471         * sunrpc/xdr_array.c: Likewise.
10472         * sunrpc/xdr_mem.c: Likewise.
10473         * sunrpc/xdr_rec.c: Likewise.
10474         * sunrpc/xdr_ref.c: Likewise.
10475         * sunrpc/xdr_stdio.c: Likewise.
10476
10477 1997-03-25 13:39  Ulrich Drepper  <drepper@cygnus.com>
10478
10479         * math/libm-test.c (log2_test): Compile this function and call it.
10480         (exp2_test): Likewise, but check whether function really exists
10481         before testing.
10482
10483         * math/Makefile (libm-calls): Add s_log2 and s_exp2.
10484
10485 1997-03-25 04:50  Ulrich Drepper  <drepper@cygnus.com>
10486
10487         Implement exp2 function.
10488         * sysdeps/libm-i387/s_exp2.S: New file.
10489         * sysdeps/libm-i387/s_exp2f.S: New file.
10490         * sysdeps/libm-i387/s_exp2l.S: New file.
10491
10492         Implement log2 function.
10493         * sysdeps/libm-i387/s_log2.S: New file.
10494         * sysdeps/libm-i387/s_log2f.S: New file.
10495         * sysdeps/libm-i387/s_log2l.S: New file.
10496         * sysdeps/libm-ieee754/s_log2.c: New file.
10497         * sysdeps/libm-ieee754/s_log2f.c: New file.
10498         * sysdeps/stub/s_log2.c: New file.  Stub version.
10499
10500 1997-03-24 19:58  Richard Henderson  <rth@tamu.edu>
10501
10502         * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
10503
10504         * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
10505         change to tst-setjmp.c.
10506
10507         * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
10508         * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
10509         * sysdeps/sparc/dl-machine.h: Likewise.
10510
10511         * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
10512         Add missing qs variable.
10513         * sysdeps/libm-ieee754/s_remquof.c: Likewise.
10514
10515 1997-03-25 02:15  Ulrich Drepper  <drepper@cygnus.com>
10516
10517         * gmon/gmon.c: Optimize a bit by using more sets of records to
10518         write in a single writev call.
10519
10520         * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
10521         * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
10522         nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
10523         `const'.
10524         Use __MATHDECLX for isinf and finite.
10525
10526         * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
10527         clearenv a weak alias.
10528
10529         Implement complex exponential function.
10530         * sysdeps/libm-ieee754/s_cexp.c: New file.
10531         * sysdeps/libm-ieee754/s_cexpf.c: New file.
10532         * sysdeps/libm-ieee754/s_cexpl.c: New file.
10533
10534         * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
10535         nan a weak alias.
10536         * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
10537         * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
10538
10539         * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
10540         of type clashes.  Add all definitions here.
10541
10542         * sysdeps/unix/sysv/linux/shmat.c: Likewise.  Correct types according
10543         to XPG4.2.
10544         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
10545         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10546
10547         * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
10548
10549         * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
10550         use of kernel types.
10551
10552 1997-03-25 00:00  Ulrich Drepper  <drepper@cygnus.com>
10553
10554         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
10555         Correct typos.  Reported by a sun <asun@zoology.washington.edu>.
10556
10557 1997-03-20 21:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10558
10559         * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
10560
10561 1997-03-20 16:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10562
10563         * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
10564
10565 1997-03-20 14:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10566
10567         * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
10568         * sysdeps/m68k/fpu/s_logb.c: Removed.
10569         * sysdeps/m68k/fpu/s_logbf.c: Removed.
10570         * sysdeps/m68k/fpu/s_logbl.c: Removed.
10571
10572         * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
10573         Don't define here.
10574         * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
10575         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10576         * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
10577         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
10578         * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
10579         * sysdeps/m68k/fpu/e_powl.c: Likewise.
10580
10581         * sysdeps/m68k/fpu/s_log2.c: New file.
10582         * sysdeps/m68k/fpu/s_log2f.c: New file.
10583         * sysdeps/m68k/fpu/s_log2l.c: New file.
10584         * sysdeps/m68k/fpu/s_exp2.c: New file.
10585         * sysdeps/m68k/fpu/s_exp2f.c: New file.
10586         * sysdeps/m68k/fpu/s_exp2l.c: New file.
10587
10588 1997-03-20 14:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10589
10590         * Makeconfig (all): Make sure this is always the default goal.
10591
10592 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10593
10594         * math/libm-test.c: Increase epsilon in many places.  Fix many
10595         typos.  Allow optinal argument also for short option.
10596
10597 1997-03-20 11:09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10598
10599         * math/Makefile ($(objpfx)$(tests)): Link against libm.
10600
10601 1997-03-24 23:14  Ulrich Drepper  <drepper@cygnus.com>
10602
10603         * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
10604         denormalized numbers.
10605
10606         * sysdeps/i386/huge_val.h: Remove references to byte order macros.
10607         Don't include <endian.h>.
10608
10609 1997-03-19 15:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10610         * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
10611         Don't include <endian.h>.
10612
10613 1997-03-24 23:09  Ulrich Drepper  <drepper@cygnus.com>
10614
10615         * inet/rcmd.c (iruserok): Use access instead of euidaccess.
10616
10617 1997-03-15 18:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10618
10619         * math/cmathcalls.h: Remove whitespace before function name in use
10620         of __MATHDECL macro, to make it compilable with a traditional
10621         preprocessor.
10622
10623 1997-03-24 15:31  Ulrich Drepper  <drepper@cygnus.com>
10624
10625         * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
10626         compiler.
10627
10628 1997-03-24 02:34  Ulrich Drepper  <drepper@cygnus.com>
10629
10630         * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
10631         by 31 positions to get 0/1 result.
10632         Patch by Joe Keane <jgk@jgk.org>.
10633
10634 1997-03-23 12:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
10635
10636         * posix/getopt.c (__getopt_nonoption_flags): Make it extern
10637         to prevent from ld linking in getopt.o even if there is another
10638         incompatible one.
10639
10640         * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
10641
10642 1997-03-23 23:30   Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10643
10644         * nis/nis_call.c (__do_niscall): Print message if cold start file
10645         does not exist.
10646         * nis/nis_file.c: Don't print error messages.
10647         * nis/nis_local_names.c (nis_local_host): Fix pointer errors.
10648         * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
10649         * nis/rpcsvc/nis.h: Likewise.
10650         * nis/ypclnt.c: Fix prototypes.
10651
10652 1997-03-24 01:36  Ulrich Drepper  <drepper@cygnus.com>
10653
10654         * sysdeps/libm-i387/e_scalb.S: Pop additional result before
10655         returning.
10656         * sysdeps/libm-i387/e_scalbf.S: Likewise.
10657         * sysdeps/libm-i387/e_scalbl.S: Likewise.
10658         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
10659
10660         * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
10661         dynamic linker was called implicitly by the kernel.
10662         Reported by Eric Youngdale <eric@andante.jic.com>.
10663
10664         * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
10665         CFLAGS-test-longdouble.c): New variables.  Set to -fno-inline to
10666         prevent clever optimizations which corrupt the tests.
10667
10668 1997-03-23 21:33  Andreas Jaeger  <aj@arthur.pfalz.de>
10669
10670         * math/libm-test.c (scalb_test): New function.
10671         (sqrt_test): New function.
10672         (scalbn_test): New function.
10673         (ilogb_test): New function.
10674         (main): Added calls for new test functions.
10675         (ldexp_test): Add another test for ldexp(x,0).
10676
10677 1997-03-23 12:35  Andreas Jaeger  <aj@arthur.pfalz.de>
10678
10679         * math/libm-test.c (remquo_test): Correct messages so that they
10680         match the tests.
10681         (copysign_test): Likewise.
10682
10683 1997-03-23 16:28  Ulrich Drepper  <drepper@cygnus.com>
10684
10685         * stdio-common/Makefile (routines): Add printf_size.
10686
10687         * stdio-common/printf.h: Add declarations for printf_size and
10688         printf_size_info.
10689
10690         * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
10691         declaration.
10692         (parse_one_spec): Test whether __printf_function_table is not NULL
10693         before using registered handlers and don't test
10694         __printf_arginfo_table.  Update nargs also when handler is
10695         registered.
10696
10697         * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
10698         processed in fast loop.
10699
10700         * stdio-common/printf_size: New file.
10701
10702 1997-03-23 02:11  Ulrich Drepper  <drepper@cygnus.com>
10703
10704         * time/sys/time.h: Make values ITIMER_* also available as macros.
10705
10706         * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
10707         __fstat but instead __fxstat directly to avoid dependency on
10708         libc.a when inline failed.
10709         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
10710
10711         * math/Makefile (libm-routines): Add s_remquo.
10712         * sysdeps/libm-i387/s_remquo.S: New file.
10713         * sysdeps/libm-i387/s_remquof.S: New file.
10714         * sysdeps/libm-i387/s_remquol.S: New file.
10715         * sysdeps/libm-ieee754/s_remquo.c: New file.
10716         * sysdeps/libm-ieee754/s_remquof.c: New file.
10717         * sysdeps/libm-ieee754/s_remquol.c: New file.
10718
10719         * math/libm-test.c (remquo_test): New function.
10720
10721         * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
10722         correctly.
10723
10724 1997-03-22 14:06  Ulrich Drepper  <drepper@cygnus.com>
10725
10726         * math/Makefile (libm-calls): Add s_nan.
10727         * sysdeps/libm-ieee754/s_nan.c: New file.  Implement `nan' function.
10728         * sysdeps/libm-ieee754/s_nanf.c: New file.  Implement `nanf' function.
10729         * sysdeps/libm-ieee754/s_nanl.c: New file.  Implement `nanl' function.
10730
10731         * math/libm-test.c (basic_tests): Add tests for `nan' function.
10732
10733         * math/libm-test.c (copysign_test): New function.
10734         (main): Call copysign_test.
10735
10736 1997-03-22 06:28  Ulrich Drepper  <drepper@cygnus.com>
10737
10738         * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
10739         * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
10740         * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
10741         * sysdeps/libm-i387/s_nextafterl.c: Likewise.
10742
10743         * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
10744         New functions.  Test these functions.
10745         (main): Call above new functions.
10746
10747 1997-03-22 04:53  Ulrich Drepper  <drepper@cygnus.com>
10748
10749         * Net release 2.0.2.
10750
10751 1997-03-22 04:37  Ulrich Drepper  <drepper@cygnus.com>
10752
10753         * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
10754         XTABS.
10755         * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
10756         * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
10757         of Sun Dec 15 16:33:44 1996.
10758         Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
10759
10760 1997-03-21 13:41  Roland McGrath  <roland@baalperazim.frob.com>
10761
10762         * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
10763         Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
10764         consult their values.
10765         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
10766         ELF_MACHINE_RELOC_NOPLT): New macros.
10767
10768         * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
10769         _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
10770         * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
10771
10772         * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
10773         symbol lookup before checking reloc type except for R_386_RELATIVE.
10774         (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
10775
10776         * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
10777         per-machine since it supposedly can't happen on i386.
10778
10779         * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE.  Use
10780         elf_machine_lookup_{noexec,noplt}_p macros on it.  Remove gratuitous
10781         indirection from REF arg; change callers.
10782         (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
10783         (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
10784         FLAGS arg altogether.
10785         * elf/dlsym.c: Remove argument of FLAGS parameter.
10786         * elf/dlvsym.c: Likewise.
10787         * elf/link.h: Update decls.
10788
10789 1997-03-21 20:55  Ulrich Drepper  <drepper@cygnus.com>
10790
10791         * Makefile (distribute): Add BUGS.
10792
10793         * sysdeps/generic/machine-gmon.h: Update copyright.
10794
10795         * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
10796         i386-mcount.
10797         * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
10798         use regparam mechanism for call of `fixup' call.
10799         * sysdeps/i386/Dist: New file.
10800         * sysdeps/i386/i386-mcount.S: New file.  `mcount' entry point.
10801         * sysdeps/i386/machine-gmon.h: New file.  i386 specific version
10802         of gmon definitions.
10803
10804 1997-03-20 13:39  Andreas Jaeger  <aj@arthur.pfalz.de>
10805
10806         * stdlib/tst-strtol.c (main): Save the value of errno since printf
10807         may modify it, use the saved errno everywhere.
10808         * stdlib/tst-strtod.c (main): Likewise.
10809
10810 1997-03-21 05:54  Ulrich Drepper  <drepper@cygnus.com>
10811
10812         * posix/glob.c (glob): Fix completely broken handling of
10813         GLOB_BRACE and partly broken handling of GLOB_TILDE.
10814         Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
10815
10816 1997-03-20 20:22  Ulrich Drepper  <drepper@cygnus.com>
10817
10818         * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
10819         UIO_FASTIOV value by multiple readv calls since we need atomicity.
10820         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10821         Reported by Matthis Urlichs.
10822
10823 1997-03-20 04:34  Roland McGrath  <roland@baalperazim.frob.com>
10824
10825         * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
10826         macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
10827         which clobbers %eax.
10828
10829         * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
10830         crtbegin.o/crtend.o, using gcc to find them.
10831         (+link): Use them.
10832
10833 1997-03-20 00:06  Richard Henderson  <rth@tamu.edu>
10834
10835         * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
10836         affect the alignment, and therefore the end padding of the structs.
10837         Reported by David Mosberger <davidm@azstarnet.com>.
10838         * gmon.c: Declare the variables with aligned tags to compensate.
10839         Use __writev instead of write for the I/O.
10840
10841         * misc/sys/uio.h: Declare __writev and __readv.
10842         * sysdeps/posix/readv.c: Rename and alias readv to __readv.
10843         * sysdeps/posix/writev.c: Likewise for writev.
10844         * sysdeps/stub/readv.c: Likewise.
10845         * sysdeps/stub/writev.c: Likewise.
10846         * sysdeps/unix/syscalls.list: Likewise.
10847         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10848         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10849
10850         * stdlib/testdiv.c: Exit with error status when we have an error.
10851         * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
10852         * sysdeps/alpha/ldiv.S: Likewise.
10853
10854         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
10855
10856 1997-03-20 14:51  Ulrich Drepper  <drepper@cygnus.com>
10857
10858         * nis/nis_file.c: Unify error handling.
10859
10860 1997-03-19 18:36  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10861
10862         * nis/nis_file.c (writeColdStartFile): Fix typo.
10863         * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
10864         * nis/nis_free.c (nis_free_servers): Likewise.
10865         * nis/rpcsvc/nislib.h: Likewise.
10866
10867         * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
10868
10869 1997-03-20 06:07  Ulrich Drepper  <drepper@cygnus.com>
10870
10871         * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
10872
10873         * sysdeps/unix/sparc/sysdep.h: Update copyright.
10874
10875 1997-03-19 15:13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
10876
10877         * stdlib/tst-strtol.c: Save the value of errno, printf may modify
10878         it.
10879
10880         * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
10881         macro on ELF systems.
10882
10883         * sysdeps/sparc/configure.in: Fix.
10884
10885         * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
10886
10887         * sysdeps/sparc/setjmp.S: Fix my bugs.
10888
10889         * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
10890         * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
10891         as-FLAGS-.so.
10892         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
10893         syscall.
10894         * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
10895         * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
10896         * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
10897         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
10898
10899         * elf/dl-lookup.c (do_lookup): Return true if we found a weak
10900         symbol.
10901         (_dl_lookup_symbol): Test against the symbol being global not
10902         against the symbol being not weak (fixes important problem with
10903         the SPARC linker)
10904
10905         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
10906
10907         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
10908         Linux/SPARC (while I get my asmCPPFLAGS-so variable).
10909
10910 1997-03-20 01:49  Ulrich Drepper  <drepper@cygnus.com>
10911
10912         * Makeconfig: (rpath-link): Add math/ directory.
10913         (math-objdir): New variable.
10914         (link-extra-lib): Define to special version when
10915         $(common-objpfx)!=$(objpfx) to allow libraries outside
10916         $(common-objpfx) be linked to the application.
10917
10918         * math/Makefile: Add rules to build and run test programs.
10919         * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
10920         (check_equal): Correct check for error.
10921         (ceil_test): Fix typo.
10922         (log_test): Fix typo.
10923         (floor_test): Fix typo.
10924         (pow_test): Fix typos.
10925         (log10_test): Allow slight incorrectness for `log10(e)'.
10926         (modf_test): New functions to test `modf' et.al.
10927         (hypot_test): Rewrite test completely.
10928         Patch partly by Andreas Jaeger.
10929         * math/test-double.h (__NO_MATH_INLINES): Define only if not
10930         already defined.
10931         * math/test-float.h: Likewise.
10932         * math/test-logdouble.h: Likewise.
10933
10934         * setjmp/setjmp.h: Change references of ANSI C to ISO C.
10935         * setjmp/tst-setjmp.c: Correct and extend test suite.
10936         * sysdeps/i386/__longjmp.S: Update copyright.
10937         * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
10938         `__sigsetjmp' in PIC code.
10939         * sysdeps/i386/bsd-setjmp.S: Likewise.
10940
10941         * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
10942         overflow.
10943         * sysdeps/libm-i387/e_powf.S: Likewise.
10944         * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
10945         case since expm1(-0) == -0.
10946         * sysdeps/libm-i387/s_expm1f.S: Likewise.
10947         * sysdeps/libm-i387/s_expm1l.S: Likewise.
10948         * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
10949         access to FP number.
10950         * sysdeps/libm-ieee754/s_modff.c: Likewise.
10951         * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
10952         code.  It never worked correctly.
10953         * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
10954         case since tanh(-0) == -0.
10955         * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
10956         * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
10957
10958 1997-03-19 21:13  Ulrich Drepper  <drepper@cygnus.com>
10959
10960         * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
10961         `thousands' to support systems with sizeof(wchar_t) !=
10962         sizeof(wint_t).  Blargh.
10963
10964         * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
10965         SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
10966         appropriate headers.
10967
10968         * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC.  Test for
10969         UIO_FASTIOV and set to 8 if not available.
10970         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10971         Patch by HJ Lu.
10972
10973         * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
10974         "kernel_stat.h".
10975         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
10976         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
10977         Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
10978
10979 1997-03-19 01:40  Ulrich Drepper  <drepper@cygnus.com>
10980
10981         * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
10982
10983         * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
10984
10985         * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
10986
10987         * sysdeps/unix/sysv/Dist: Add direct.h.
10988
10989         * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
10990
10991         * Make-dist ($(tardir).tar): Prefer writing temporary file to
10992         $TMPDIR is available.  The default is /tmp.
10993
10994         * sysdeps/generic/ip.h: Move to...
10995         * sysdeps/generic/netinet/ip.h: ...here.
10996
10997         * Makefile (tests): Quote $(CC) argument to isomac program.
10998         Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
10999
11000         * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
11001         is placed in wrong place on the stack.
11002         Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
11003         * sysdeps/tst-setjmp.c: Add new test for above problem.
11004
11005         * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
11006         * sysdeps/libm-i387/e_powf.S: Likewise.
11007         * sysdeps/libm-i387/e_powl.S: Likewise.
11008
11009 1997-03-18 23:18  Ulrich Drepper  <drepper@cygnus.com>
11010
11011         * time/offtime.c (__offtime): Change type of `yg' to long int.
11012         Reported by a sun <asun@zoology.washington.edu>.
11013
11014 1997-03-18 23:08  a sun  <asun@zoology.washington.edu>
11015
11016         * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
11017         2.2.0 to prevent version mismatch.
11018
11019 1997-03-17 19:26  Andreas Jaeger  <aj@arthur.pfalz.de>
11020
11021         * stdio-common/printf_fphex.c (MIN): Only define MIN if not
11022         already defined.
11023
11024 1997-03-14 23:34  Geoff Keating  <geoffk@ozemail.com.au>
11025
11026         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
11027         in ioctls.h.
11028
11029         * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
11030         loader first relocates itself.
11031         * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
11032         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
11033         jump slot relocation. Prefer relative branches (some PowerPC chips
11034         don't predict absolute branches).
11035         (elf_machine_runtime_setup): Simplify and correct expressions.
11036         (RTLD_START): Fix bug changing _dl_starting_up.
11037         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
11038         strange Linux/PPC padding of initial stack.
11039
11040 1997-03-11 04:14  Geoff Keating  <geoffk@ozemail.com.au>
11041
11042         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
11043         for future expansion.
11044         * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
11045         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
11046         can't have a switch statement.
11047         * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
11048         static.
11049
11050         * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
11051         confusing gcc's idea of the current section.
11052         * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
11053         RTLD_START): Likewise.
11054
11055 1997-03-08 09:10  Geoff Keating  <geoffk@ozemail.com.au>
11056
11057         * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
11058         elf_machine_runtime_setup): Flush data & instruction caches when
11059         necessary, for 603/604 support. Add better support for large PLTs.
11060         (elf_machine_rela): Remove relocations that wouldn't work if
11061         anyone ever used them. Use memcpy for copy reloc, it'll be safe.
11062         Never target branch relocations at a PLT entry.
11063
11064         * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
11065         generating PIC.
11066         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
11067         * sysdeps/powerpc/setjmp.S: Likewise.
11068         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
11069         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
11070         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
11071         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
11072
11073         * sysdeps/powerpc/elf/start.c: Clean up.
11074
11075         * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
11076         setjmp call.
11077
11078         * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
11079
11080 1997-03-09 12:36  H.J. Lu  <hjl@gnu.ai.mit.edu>
11081
11082         * Make-dist (srcs): Add $(test-srcs).
11083         * MakeTAGS (all-sources): Likewise.
11084         * Makerules (depfiles, common-mostlyclean): Likewise.
11085         * Rules (tests): Likewise.
11086
11087 1997-03-18 05:28  Roland McGrath  <roland@frob.com>
11088
11089         * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
11090
11091 1997-03-17 21:39  Philip Blundell  <phil@london.uk.eu.org>
11092
11093         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
11094         protocol=NULL to match any protocol rather than returning an
11095         error.
11096
11097 1997-03-17 19:00  Philip Blundell  <phil@london.uk.eu.org>
11098
11099         * nss/nss_files/files-service.c (servbyname): Match any protocol
11100         if proto==NULL.
11101
11102 1997-03-18 05:17  Ulrich Drepper  <drepper@cygnus.com>
11103
11104         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
11105         * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
11106         Proposed by Thomas Bushnell, n/BSG.
11107
11108 1997-03-18 07:53  H.J. Lu  <hjl@gnu.ai.mit.edu>
11109
11110         * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
11111         the buffer for replacement.
11112
11113 1997-03-16 19:30  H.J. Lu  <hjl@gnu.ai.mit.edu>
11114
11115         * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
11116         sys_lstat and sys_stat.
11117
11118 1997-03-17 12:43  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11119
11120         Add NIS+ functions
11121         * shlib-versions: Add libnss_nisplus.
11122         * nis/Makefile: Add NIS+ source files.
11123         * nis/nis_call.c: New file.
11124         * nis/nis_clone.c: New file.
11125         * nis/nis_error.c: New file.
11126         * nis/nis_file.c: New file.
11127         * nis/nis_free.c: New file.
11128         * nis/nis_intern.c: New file.
11129         * nis/nis_intern.h: New file.
11130         * nis/nis_local_names.c: New file.
11131         * nis/nis_names.c: New file.
11132         * nis/nis_print.c: New file.
11133         * nis/nis_server.c: New file.
11134         * nis/nis_subr.c: New file.
11135         * nis/nis_table.c: New file.
11136         * nis/nis_xdr.c: New file.
11137         * nis/nss-nisplus.h: New file.
11138         * nis/nss_nisplus/nisplus-alias.c: New file.
11139         * nis/nss_nisplus/nisplus-ethers.c: New file.
11140         * nis/nss_nisplus/nisplus-grp.c: New file.
11141         * nis/nss_nisplus/nisplus-hosts.c: New file.
11142         * nis/nss_nisplus/nisplus-netgrp.c: New file.
11143         * nis/nss_nisplus/nisplus-network.c: New file.
11144         * nis/nss_nisplus/nisplus-proto.c: New file.
11145         * nis/nss_nisplus/nisplus-publickey.c: New file.
11146         * nis/nss_nisplus/nisplus-pwd.c: New file.
11147         * nis/nss_nisplus/nisplus-rpc.c: New file.
11148         * nis/nss_nisplus/nisplus-service.c: New file.
11149         * nis/nss_nisplus/nisplus-spwd.c: New file.
11150         * nis/rpcsvc/nis.h: New file.
11151         * nis/rpcsvc/nis.x: New file.
11152         * nis/rpcsvc/nis_object.x: New file.
11153         * nis/rpcsvc/nis_tags.h: New file.
11154         * nis/rpcsvc/nislib.h: New file.
11155
11156 1997-03-17 12:52  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
11157
11158         * mach/devstream.c (output/write_some): Don't try and write more
11159         than IO_INBAND_MAX in a single call to device_write_inband.
11160
11161 1997-03-17 04:00  Ulrich Drepper  <drepper@cygnus.com>
11162
11163         * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
11164         type is SVID.
11165         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
11166         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
11167
11168         * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
11169         FLAGS parameter.
11170
11171 1997-03-16 20:28  Philip Blundell  <phil@london.uk.eu.org>
11172
11173         * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
11174         Change msg_iovlen and msg_controllen (in struct msghdr) to
11175         `size_t' to keep in step with kernel.
11176
11177 1997-03-16 18:43  Ulrich Drepper  <drepper@cygnus.com>
11178
11179         * manual/filesys.texi: Add documentation for scandir and alphasort.
11180         * manual/examples/dir2.c: New example for scandir.
11181
11182         * math/math.c (fpclassify): Correct stupid typos.
11183
11184         * math/libm-test.c: New file.  libm test suite by Andreas Jaeger.
11185         * math/test/float.c: New file.  Frontend for float tests.
11186         * math/test/double.c: New file.  Frontend for double tests.
11187         * math/test/longdouble.c: New file.  Frontend for long double  tests.
11188
11189         * posix/Makefile (routines): Add bsd-getpgrp.
11190         * posix/bsd-getpgrp.c: New file.
11191         * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
11192         calls to __bsd_getpgrp.
11193
11194         * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
11195
11196         * sysdeps/i386/huge_val.h: New file.  ix87 specific infinity values.
11197         * sysdeps/m68k/huge_val.h: New file.  m68k specific infinity values.
11198         * sysdeps/ieee754/huge_val.h: Remove definition of long double
11199         definition.  Make it the same as the double definition.
11200
11201         * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
11202         * sysdeps/libm-i387/e_acosf.S: Likewise.
11203         * sysdeps/libm-i387/e_acosl.S: Likewise.
11204         * sysdeps/libm-i387/e_asin.S: Likewise.
11205         * sysdeps/libm-i387/e_asinf.S: Likewise.
11206         * sysdeps/libm-i387/e_asinl.S: Likewise.
11207         * sysdeps/libm-i387/e_exp.S: Likewise.
11208         * sysdeps/libm-i387/e_expf.S: Likewise.
11209         * sysdeps/libm-i387/e_expl.S: Likewise.
11210         * sysdeps/libm-i387/s_scalbn.S: Likewise.
11211         * sysdeps/libm-i387/s_scalbnf.S: Likewise.
11212         * sysdeps/libm-i387/s_scalbnl.S: Likewise.
11213
11214         * sysdeps/libm-i387/e_log.S: Optimize branch code.
11215         * sysdeps/libm-i387/e_logf.S: Likewise.
11216         * sysdeps/libm-i387/e_logl.S: Likewise.
11217         * sysdeps/libm-i387/e_log10.S: Likewise.
11218         * sysdeps/libm-i387/e_log10f.S: Likewise.
11219         * sysdeps/libm-i387/e_log10l.S: Likewise.
11220
11221         * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
11222         * sysdeps/libm-i387/e_powf.S: Likewise.
11223         * sysdeps/libm-i387/e_powl.S: Likewise.
11224
11225         * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
11226         argument to -1.0.
11227         * sysdeps/libm-i387/s_expm1f.S: Likewise.
11228         * sysdeps/libm-i387/s_expm1l.S: Likewise.
11229
11230         * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
11231
11232         * sysdeps/libm-i387/s_logbl.S: Correct return value.  Discard first
11233         stack element after fxtract.
11234
11235         * sysdeps/libm-ieee754/e_atan2l.c: New file.  `long double'
11236         implementation for atan2 function.
11237
11238         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
11239         _SVID_ mode when acos, asin, atan2, log, log10 is called with
11240         argument out of range.
11241         Add new error case for pow(+0,neg).
11242
11243         * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
11244         NaN and +-inf.
11245         * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
11246         digit in stupid 80 bit formats.
11247
11248         * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
11249         * sysdeps/libm-ieee754/s_isinff.c: Likewise.
11250         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
11251
11252         * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
11253         long double type.
11254
11255         * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
11256         in SVID mode.
11257         * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
11258         * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
11259
11260         * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
11261         or -0.
11262         * sysdeps/libm-ieee754/w_powf.c: Likewise.
11263         * sysdeps/libm-ieee754/w_powl.c: Likewise.
11264
11265         * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
11266
11267         * sysdeps/stub/fcntlbits.h: Update copyright.
11268         * sysdeps/unix/bsd/fcntlbits.h: Likewise.
11269         * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
11270         * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
11271         * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
11272         * sysdeps/unix/common/fcntlbits.h: Likewise.
11273         * sysdeps/unix/sysv/fcntlbits.h: Likewise.  Define O_FSYNC as alias
11274         of O_SYNC.  Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
11275         and FNDELAY.
11276         * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
11277
11278         * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
11279         only reclen bytes.
11280
11281         * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
11282         and O_NORW.
11283         * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
11284
11285         * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
11286
11287         * sysdeps/unix/sysv/linux/fxstat.c: New file.  Rewrite kernel-level
11288         struct stat to user-level form.
11289         * sysdeps/unix/sysv/linux/lxstat: New file.
11290         * sysdeps/unix/sysv/linux/xstat: New file.
11291         * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
11292         kernel.
11293         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
11294         to use prescribed types for elements.
11295         (_STAT_VER): Change to value 3.
11296         * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
11297         * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
11298         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
11299
11300         * time/Makefile: Correct dependencies for test-tz.
11301
11302 1997-03-16 14:59  Philip Blundell  <phil@london.uk.eu.org>
11303
11304         * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
11305         (needed for IPv6 basic sockets API).
11306
11307 1997-03-16 15:02  a sun  <asun@zoology.washington.edu>
11308
11309         * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
11310         kernel header.
11311         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
11312
11313 1997-03-14 17:15  Ulrich Drepper  <drepper@cygnus.com>
11314
11315         * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
11316         without testing for last_bfp to be NULL.
11317         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
11318
11319 1997-03-13 11:42  Jim Meyering  <meyering@asic.sc.ti.com>
11320
11321         * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
11322
11323 1997-03-14 04:00  Kurt Garloff  <garloff@kg1.ping.de>
11324
11325         * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
11326         (FASYNC): Move to __USE_BSD section.  Create new macro O_ASYNC.
11327
11328 1997-03-14 02:50  Ulrich Drepper  <drepper@cygnus.com>
11329
11330         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
11331         functions.  Compare result for correct address type.
11332         (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
11333         * nss/nss_files/files-hosts.c: Likewise.
11334         Reported by Mirko Streckenbach <mirko@marian.hil.de>.
11335
11336 1997-02-17 01:40  Zlatko Calusic  <zcalusic@srce.hr>
11337
11338         * time/strptime.c (recursive): Return rp to caller.
11339         (strptime_internal): First check for long names, then abbreviated
11340         (month & weekday).
11341
11342 1997-03-10 19:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11343
11344         * Makeconfig: Remove useless definitions of ASFLAGS-%.
11345         * config.make.in (ASFLAGS-.so): Remove.
11346         * configure.in: Don't substitute ASFLAGS_SO.
11347         * sysdeps/sparc/configure.in: Remove file.
11348         * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
11349
11350 1997-03-11 17:00  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11351
11352         * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
11353         1900 from year, regardless of century.
11354
11355 1997-03-12 05:43  Ulrich Drepper  <drepper@cygnus.com>
11356
11357         * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
11358         all numbers unsigned to make buggy gccs happy.
11359         Patch by Bryan W. Headley <bheadley@interaccess.com>.
11360
11361         * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
11362         definitions.  Patch by a sun <asun@zoology.washington.edu>.
11363         Pretty print header.
11364
11365         * Makerules (build-shlib): Also create symlink if library is versioned.
11366         Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
11367         Remove special rule to libc.so symlink.
11368
11369 1997-03-11 20:16  Andreas Jaeger  <aj@arthur.pfalz.de>
11370
11371         * manual/math.texi (Domain and Range Errors): Change descriptions
11372         according to recent changes for ISO C 9X.
11373
11374 1997-03-11 22:39  Ulrich Drepper  <drepper@cygnus.com>
11375
11376         * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
11377         return values for acos, asin, and atan2.
11378         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
11379
11380 1997-03-10 18:16 Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11381
11382         * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
11383
11384 1997-03-10 18:06  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
11385
11386         * dirent/alphasort.c (alphasort): Interpret arguments as pointers
11387         to pointers to directory entries so that alphasort really can be
11388         used as argument for scandir.
11389
11390 1997-03-09 23:33  Andreas Jaeger  <aj@arthur.pfalz.de>
11391
11392         * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
11393         instead of strcpy.
11394
11395 1997-03-10 03:34  Ulrich Drepper  <drepper@cygnus.com>
11396
11397         * catgets/catgets.c (catopen): Always add NLSPATH to search path for
11398         catalogs, not only if the envvar NLSPATH is not available.
11399         Reported by Andries.Brouwer@cwi.nl.
11400
11401 1997-03-10 02:46  Ulrich Drepper  <drepper@cygnus.com>
11402
11403         * Makeconfig (localtime-file): Don't define using installation
11404         directory.
11405         (inst_localtime-file): New variable.
11406         * time/Makefile (installed-localtime-file): Use inst_localtime-file.
11407         Reported by Edward Seidl <seidl@janed.com>.
11408
11409 1997-03-10 02:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
11410
11411         * time/Makefile: Add source files to dependencies for test data.
11412
11413 1997-03-09 22:53  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
11414
11415         * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
11416         * nis/nss_nis/nis-proto.c: Likewise.
11417         * nis/nss_nis/nis-rpc.c: Likewise.
11418         * nis/nss_nis/nis-service.c: Likewise.
11419
11420 1997-03-08 14:37  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11421
11422         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
11423         versioning;  Added missing R_SPARC_WDISP30 handling.
11424         (RTLD_START): Implement it.
11425
11426         * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
11427
11428         * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
11429         Linux/SPARC.
11430
11431 1997-03-02 18:06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11432
11433         * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
11434         the dynamic linker instead of having a new conditional define.
11435         Thanks to Richard Henderson for pointing this out.
11436         * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
11437
11438 1997-03-20 20:44  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
11439
11440         * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
11441         euidaccess weak alias.
11442
11443 1997-03-07 10:30  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
11444
11445         * stdio-common/printf_fphex.c (MIN): New macro.
11446
11447         * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
11448
11449         * sysdeps/generic/sys/mman.h (msync): Mention third arg.
11450
11451         * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
11452         API.  (See change by Philip Blundell on Feb 16, 1997.)
11453
11454 1997-03-05 10:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
11455
11456         * hurd/hurd.h (vpprintf): Include <stdarg.h>.  New declaration.
11457
11458         * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
11459         __file_name_split.
11460
11461         * mach/mach_error.c (mach_error_string_int): Give full prototype.
11462         * mach/errstring.c (mach_error_string_int): Likewise.
11463         * mach/error_compat.c (__mach_error_map_compat): Likewise.
11464         * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
11465         * stdio/vasprintf.c (vasprintf): Likewise.
11466
11467         * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
11468
11469         * mach/spin-solid.c: Include <mach/mach_traps.h>.
11470         * mach/spin-solid.c (__spin_lock_solid): Provide arg to
11471         swtch_pri.
11472
11473         * mach/mach_init.c: Include <mach/mig_support.h>.
11474
11475         * mach/mach_error.h (mach_error_string, mach_error,
11476         mach_error_type): Always provide prototypes.
11477
11478         * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
11479         appears to be entirely unused dead code.
11480
11481 1997-03-02 13:38  Miles Bader  <miles@gnu.ai.mit.edu>
11482
11483         * string/argz.h (__need_error_t): New macro, before including <errno.h>
11484         [!__const] (__const): New macro.
11485         [!__error_t_defined] (error_t): New typedef.
11486
11487 1997-03-09 06:59  Ulrich Drepper  <drepper@cygnus.com>
11488
11489         * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
11490         -fPIC.
11491         * Makerules (compile.S): Use ASFLAGS-%.
11492         (COMPILE.S): Likewise.
11493         * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
11494         * configure.in: Substitute ASFLAGS_SO.
11495         * sysdeps/sparc/configure.in: New file.
11496
11497         * posix/unistd.h: Add prototype for __euidaccess.
11498         * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
11499         euidaccess weak alias.
11500         * sysdeps/stub/euidaccess.c: Likewise.
11501         * inet/rcmd.c: Use __ protected versions of non-standard functions.
11502
11503         * locale/setlocale.c (setlocale): Don't set usage_count to
11504         MAX_USAGE_COUNT if it already has this value.
11505
11506         * locale/programs/localedef.c: Don't use LOCALE_PATH to find
11507         binary locale files.  Use LOCALEDIR only.
11508         * locale/programs/locfile.c: When named file not found and not
11509         absolute use path in I18NPATH.
11510
11511         * stdlib/Makefile (headers): Add inttypes.h.
11512         * sysdeps/wordsize-32/inttypes.h: New file.
11513         * sysdeps/wordsize-64/inttypes.h: New file.
11514
11515         * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
11516         and AF_FILE as synonym for AF_LOCAL.
11517         * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
11518
11519         * time/Makefile: Rewrite rules for test to handle parallel builds.
11520
11521 1997-03-09 05:26  Ulrich Drepper  <drepper@cygnus.com>
11522
11523         * manual/startup.texi (EXIT_FAILURE): Fix typo.  Patch by
11524         robbe@orcus.priv.at.
11525
11526 1997-03-09 05:10  Edward Seidl  <seidl@janed.com>
11527
11528         * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
11529         8-byte boundary.
11530
11531 1997-03-09 01:48  Ulrich Drepper  <drepper@cygnus.com>
11532
11533         * elf/link.h: Define __need_NULL to get definition.  Include
11534         <features.h>.
11535         Patch by Andreas Jaeger  <aj@arthur.pfalz.de>.
11536
11537 1997-03-08 21:48  Thorsten Kukuk  <kukuk@tk.uni-paderborn.de>
11538
11539         Rewrite NIS code to allow empty keys.
11540         * nis/nss_nis/nis-ethers.c: Rewritten.
11541         * nis/nss_nis/nis-proto.c: Rewritten.
11542         * nis/nss_nis/nis-publickey.c: Rewritten.
11543         * nis/nss_nis/nis-rpc.c: Rewritten.
11544         * nis/nss_nis/nis-service.c: Rewritten.
11545
11546 1997-03-08 16:02  Andreas Jaeger  <aj@arthur.pfalz.de>
11547
11548         * time/scheck.c (scheck): Add extra const to second argument.
11549
11550         * time/private.h: Correct prototypes to match definition.
11551
11552 1997-03-08 18:55  Ulrich Drepper  <drepper@cygnus.com>
11553
11554         * sysdeps/alpha/__math.h: Remove cabs inline definition.
11555         Reported by Philip Blundell <pjb27@cam.ac.uk>.
11556
11557 1997-03-08 05:30  Ulrich Drepper  <drepper@cygnus.com>
11558
11559         * argp/Makefile (routines): Add argp-eexst.
11560         * argp/argp-ba.c (argp_program_bug_address): Make `const'.
11561         * argp/argp-eexst.c: New file.  Define exit status variable.
11562         * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
11563         variable instead of always exiting with value 1.
11564         * argp/argp-pv.c (argp_program_version): Make `const'.
11565         * argp/argp.h: Declare argp_err_exit_status.
11566         Patches by Miles Bader <miles@gnu.ai.mit.edu>.
11567
11568         * locale/programs/localedef.c: Use argp_err_exit_status to
11569         terminate with correct value.
11570
11571         * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
11572         switching of UID before opening .rhosts.
11573
11574         * libio/vsnprintf.c: Change implementation to follow ISO C 9X
11575         proposal.  The return value now is always the number of characters
11576         which would be written if enough space is available.
11577         * manual/stdio.texi: Update description for new behaviour.
11578
11579         * locale/locale.h (__locale_t): Don't use __locale_t for struct
11580         name and pointer to struct since old gccs cannot keep the namespaces
11581         apart.  Rename struct to __locale_struct.
11582         * locale/duplocale.h: Likewise.
11583         * locale/newlocale.h: Likewise.
11584
11585         * math/Makefile (headers): Add complex.h and cmathcalls.h.
11586         (routines): Remove w_cabs.  Add conj, cimag, creal, and cabs.
11587         * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
11588         after use.
11589         (signgam): Move declaration to here from mathcalls.h.
11590         * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
11591         Correct comment for fmin and fmax.
11592         Start implementing complex math function from ISO C 9X.
11593         * math/complex.h: New file.
11594         * math/cmathcalls.h: New file.
11595         * math/cabs.c: New file.
11596         * math/cabsf.c: New file.
11597         * math/cabsl.c: New file.
11598         * math/cimag.c: New file.
11599         * math/cimagf.c: New file.
11600         * math/cimagl.c: New file.
11601         * math/conj.c: New file.
11602         * math/conjf.c: New file.
11603         * math/conjl.c: New file.
11604         * math/creal.c: New file.
11605         * math/crealf.c: New file.
11606         * math/creall.c: New file.
11607         * sysdeps/libm-ieee754/w_cabs.c: Removed.
11608         * sysdeps/libm-ieee754/w_cabsf.c: Removed.
11609         * sysdeps/libm-ieee754/w_cabsl.c: Removed.
11610
11611         * posix/regex.c: Merge with regex sources from Arnold Robbins'
11612         version in GNU awk.
11613         * posix/regex.h: Likewise.
11614
11615         Add regex test suite by Tom Lord.
11616         * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
11617         (tests): Add runtests.
11618         (before-compile): Add testcases.h.
11619         (testcases.h): New rule to generate header with tests.
11620         * posix/TESTS: New file.
11621         * posix/TESTS2C.sed.: New file.
11622         * posix/runtests.c: New file.
11623         * posix/testcases.h: New file.
11624
11625         * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
11626         available and use fall-back implementation if not.
11627
11628         * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
11629
11630         * time/ialloc.c: Update from tzcode1997c.
11631         * time/private.h: Likewise.
11632         * time/scheck.c: Likewise.
11633         * time/tzselect.ksh: Likewise.
11634         * time/zdump.c: Likewise.
11635         * time/zic.c: Likewise.
11636
11637         * time/tzfile.c: Pretty print.
11638
11639 1997-03-06 07:37  Geoff Keating  <geoffk@ozemail.com.au>
11640
11641         Port to powerpc-*-linux-gnu.  Slightly tested, under MkLinux,
11642         on a 601.
11643
11644         * sysdeps/powerpc/Implies: Added.
11645         * sysdeps/powerpc/__longjmp.S: Added.
11646         * sysdeps/powerpc/__math.h: Added.
11647         * sysdeps/powerpc/bsd-_setjmp.S: Added.
11648         * sysdeps/powerpc/bsd-setjmp.S: Added.
11649         * sysdeps/powerpc/dl-machine.h: Added.
11650         * sysdeps/powerpc/ffs.c: Added.
11651         * sysdeps/powerpc/fpu_control.h: Added.
11652         * sysdeps/powerpc/jmp_buf.h: Added.
11653         * sysdeps/powerpc/setjmp.S: Added.
11654         * sysdeps/powerpc/strlen.S: Added.
11655         * sysdeps/powerpc/elf/start.c: Added.
11656         * sysdeps/powerpc/fpu_control.h: Added.
11657         * sysdeps/powerpc/jmp_buf.h: Added.
11658
11659         * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
11660         * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
11661         * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
11662         * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
11663         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
11664         * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
11665         * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
11666         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
11667         * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
11668         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
11669         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
11670         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
11671         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
11672         * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
11673
11674 1997-03-05 05:24  Geoff Keating  <geoffk@ozemail.com.au>
11675
11676         * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
11677         because knowing the first instruction of a PowerPC PLT trampoline
11678         is not very helpful.
11679
11680 1997-03-04 08:04  Geoff Keating  <geoffk@ozemail.com.au>
11681
11682         * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
11683         ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
11684         a preference as to where executables should be loaded.
11685
11686 1997-02-28 08:50  Geoff Keating  <geoffk@ozemail.com.au>
11687
11688         * elf/elf.h: Add in all those PowerPC reloc types.
11689
11690 1997-02-24 07:12  Geoff Keating  <geoffk@ozemail.com.au>
11691
11692         * stdio-common/vfscanf.c: Use __va_copy if available.
11693
11694 1997-03-06 13:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11695
11696         * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
11697         clean up namespace.
11698
11699 1997-03-07 14:27  Ulrich Drepper  <drepper@cygnus.com>
11700
11701         * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
11702         non-existing GET_WORDS macro, use EXTRACT_WORDS.
11703         Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
11704
11705 1997-03-07 05:27  Ulrich Drepper  <drepper@cygnus.com>
11706
11707         * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
11708         kernel-level sigaction structure is different.  handle this
11709         correctly.
11710         Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
11711
11712 1997-03-06 05:55  David Engel  <david@sw.ods.com>
11713
11714         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
11715         recognize cache entries with flag == 3.
11716
11717 1997-03-06 01:05  Ulrich Drepper  <drepper@cygnus.com>
11718
11719         * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
11720         (INADDR_LOOPBACK): Likewise.
11721         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11722
11723         * manual/socket.texi: Correct types of INADDR_* constants from
11724         unsigned long to unsigned.
11725
11726 1997-03-05 23:14  Ulrich Drepper  <drepper@cygnus.com>
11727
11728         * time/antarctica: Update from tzdata1997c.
11729         * time/asia: Likewise.
11730         * time/zone.tab: Likewise.
11731
11732 1997-03-05 00:43  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11733
11734         * configure.in (libc_cv_asm_symver_directive,
11735         libc_cv_ld_version_script_option): Remove unknown instruction from
11736         assembler test file.
11737
11738 1997-03-04 19:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11739
11740         * sysdeps/m68k/fpu/__math.h: Update feature tests to use
11741         __USE_ISOC9X.
11742         [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
11743         (fabs): Remove defininition, it is a gcc builtin.
11744         (sqrt, __sqrt): Remove definition, they have wrappers in libm.
11745
11746 1997-03-04 10:11  H.J. Lu  <hjl@lucon.org>
11747
11748         * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
11749         generating file.
11750
11751 1997-03-05 03:59  Ulrich Drepper  <drepper@cygnus.com>
11752
11753         * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
11754         instead to avoid namespace problems.
11755         Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
11756
11757 1997-03-03 19:01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11758
11759         * login/utmp_file.c: Fix previous change.  Make portable by
11760         checking the _HAVE_UT_* feature macros.
11761
11762 1997-03-04 04:31  Ulrich Drepper  <drepper@cygnus.com>
11763
11764         * Makerules: Add rules to handle versioning.
11765         * config.h.in (DO_VERSIONING): New macro.
11766         * config.make.in (versioning): New variable.
11767         * configure.in: Add checks for .symver directive in gas and
11768         --version-script option to ld.  Define DO_VERSIONING and
11769         versioning if appropriate.
11770
11771         * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
11772         s_fmin, and s_fdim.
11773         * math/math.h: Define ISO C 9X constants, macros and functions.
11774         * math/mathcalls.h: Likewise.
11775         * sysdeps/libm-ieee754/s_fdim.c: New file.
11776         * sysdeps/libm-ieee754/s_fdimf.c: New file.
11777         * sysdeps/libm-ieee754/s_fdiml.c: New file.
11778         * sysdeps/libm-ieee754/s_fmax.c: New file.
11779         * sysdeps/libm-ieee754/s_fmaxf.c: New file.
11780         * sysdeps/libm-ieee754/s_fmaxl.c: New file.
11781         * sysdeps/libm-ieee754/s_fmin.c: New file.
11782         * sysdeps/libm-ieee754/s_fminf.c: New file.
11783         * sysdeps/libm-ieee754/s_fminl.c: New file.
11784         * sysdeps/libm-ieee754/s_fpclassify.c: New file.
11785         * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
11786         * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
11787         * sysdeps/libm-ieee754/s_signbit.c: New file.
11788         * sysdeps/libm-ieee754/s_signbitf.c: New file.
11789         * sysdeps/libm-ieee754/s_signbitl.c: New file.
11790
11791         * stdio-common/printf_fphex.c: Correct printing of decimal point
11792         character.
11793         Simplify conversion of mantissa to string.
11794         * stdio-common/vfscanf.c: Handle %A format.
11795         Optimize termination of floating-point scanning.
11796         * stdio-common/tstscanf.c (main): Add new test to scanf to test
11797         scanning float values with given width.
11798         * stdlib/strtod.c: Add handling of floating-point numbers in
11799         hexadecimal notation.
11800
11801         * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
11802         functions.
11803         Pretty print #if directives.
11804         * string/string.h: Pretty print #if directives.
11805
11806         * sysdeps/ieee754/dbl2mpn.c: Update copyright.
11807         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
11808         * sysdeps/ieee754/mpn2dbl.c: Likewise.
11809         * sysdeps/ieee754/mpn2flt.c: Likewise.
11810         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
11811
11812         * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
11813         falling back to select-based implementation if syscall isn't
11814         available.
11815         * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
11816
11817         * time/leapseconds: Update from tzdata1997b.
11818         * time/zic.c: Update from tzcode1997b.
11819
11820 1997-03-01 15:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11821
11822         * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
11823         depedencies between installed $(tzlinks) and $(tzbases) files.
11824
11825 1997-03-01 14:27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11826
11827         * math/math.h: Make compatible with traditional preprocessor;
11828         requires carefull placement of whitespace in macro arguments.
11829         Use __CONCAT instead of ##.
11830         Declare long double functions only if __STDC__ or __GNUC__.
11831         * math/mathcall.h: Avoid whitespace before argument of macro call
11832         that is used as function name.
11833
11834         * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
11835         (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
11836         of __NO_M81_MATH_INLINES.
11837         [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
11838         starting with __ieee754.
11839         [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
11840         functions as inlines.
11841         (__m81_defun): Put __attribute__ between return type and function
11842         name.
11843         * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
11844         is defined.
11845         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
11846         instead of __NO_M81_MATH_INLINES.
11847         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11848         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11849         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11850         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11851         * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
11852         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11853         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11854         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11855         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11856         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11857
11858 1997-02-27 21:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11859
11860         * Makefile (tests): Cope with $PATH not including the current
11861         directory.
11862
11863 1997-02-27 18:04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11864
11865         * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
11866         $(common-objdir-compile).
11867         ($(common-objpfx)make-ioctls): Likewise.
11868         (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
11869         ($(common-objpfx)sys/param.h): Use $(make-target-directory).
11870         ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
11871         Likewise.
11872         ($(common-objpfx)sys/syscall.h): Likewise.
11873         ($(common-objpfx)local_lim.h): Let make deal with command
11874         failure.
11875         ($(common-objpfx)param.h.dep): Use temporary file and update
11876         target atomically.
11877         ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
11878         (include $(common-objpfx)param.h.dep): Ignore error.
11879
11880         * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
11881         $(common-objdir-compile).
11882         (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
11883         $(shell pwd) instead of $$cwd.
11884
11885         * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
11886         $(common-objdir-compile).
11887         ($(objpfx)make_siglist): Use $(native-compile).
11888         (make_siglist-CFLAGS): New variable.
11889
11890         * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
11891         the old name for the user to pass additional flags to the host
11892         compiler.  Fix reference to config header.
11893         (native-compile, common-objdir-compile): Rewritten to make more
11894         generally usable.
11895         * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
11896         instead of BUILD_CFLAGS.
11897
11898         * sysvips/sys/ipc.h: Warn if needed feature select macro are not
11899         defined.
11900
11901 1997-02-27 17:11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11902
11903         * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
11904         New rules to generate dependencies for the RPC service objects.
11905
11906 1997-02-27 16:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11907
11908         * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
11909         supplied.
11910
11911 1997-02-28 03:27  Ulrich Drepper  <drepper@cygnus.com>
11912
11913         * stdlib/strtod.c (STRTOF): Make sure return value is large enough
11914         so that clearing second word is necessary.
11915
11916         * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
11917         header since it is wrong for 64 bit systems.
11918         Patch by a sun <asun@zoology.washington.edu>.
11919
11920 1997-02-27 10:34  Richard Henderson  <rth@tamu.edu>
11921
11922         * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
11923         and OSF/1 style brk syscalls.  We may want to change Linux/Alpha
11924         for the benefit of running foreign binaries.
11925
11926 1997-03-01 20:21  Miles Bader  <miles@gnu.ai.mit.edu>
11927
11928         * login/utmp_file.c (pututline_file): Correctly decide whether
11929         LAST_ENTRY matches DATA.
11930         Don't depend on ut_id ever being set.
11931         (proc_utmp_eq): New function.
11932         (internal_getut_r): Renamed from internal_getutid_r.
11933         Use proc_utmp_eq.
11934
11935         * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
11936
11937 1997-02-25 19:42  Miles Bader  <miles@gnu.ai.mit.edu>
11938
11939         * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
11940
11941 1997-02-27 05:12  Ulrich Drepper  <drepper@cygnus.com>
11942
11943         * manual/Makefile: Add rules to run and distribute xtract-typefun.
11944         * manual/xtract-typefun.awk: New file.  Script to extract function,
11945         variable, macro anchor to put into the `dir' file.
11946         * manual/signal.texi: Document difference between SysV and BSD
11947         signal(3) function and add documentation for sysv_signal.
11948
11949         * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
11950         exponent before comparing.
11951
11952 1997-02-27 01:13  Ulrich Drepper  <drepper@cygnus.com>
11953
11954         * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
11955         prototypes to use types with explicit width.  `unsigned long' is
11956         different on 64 bit systems.
11957         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11958         * sysdeps/generic/htonl.c: Likewise.
11959         * sysdeps/generic/htons.c: Likewise.
11960         * sysdeps/generic/ntohl.c: Likewise.
11961         * sysdeps/generic/ntohs.c: Likewise.
11962         Suggested by a sun <asun@zoology.washington.edu>.
11963
11964 1997-02-26 08:30  Andreas Jaeger  <aj@arthur.pfalz.de>
11965
11966         * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
11967         defined and we want optimization.
11968
11969 1997-02-02 19:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11970
11971         * misc/getpass.c: Don't disable canonical input.
11972         Reverted patch of Mon Jan  6 01:35:29 1997.
11973
11974 1996-12-14 22:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11975
11976         * libio/libioP.h (_IO_finish_t): Take additional parameter, to
11977         match the hidden __in_chrg parameter of the destructor.
11978         (_IO_FINISH): Pass zero for it.
11979         * libio/genops.c (_IO_default_finish): Add second parameter, which
11980         is ignored.
11981         * libio/memstream.c (_IO_mem_finish): Likewise.
11982         * libio/fileops.c (_IO_file_finish): Likewise.
11983         * libio/strops.c (_IO_str_finish): Likewise.  All callers changed.
11984
11985 1997-02-27 00:23  H.J. Lu  <hjl@lucon.org>
11986
11987         * time/Makefile: Avoid using patterns in dependencies.
11988
11989 1997-02-26 00:56  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11990
11991         * elf/rtld.c: Make _dl_start static.  Otherwise the linker on the
11992         SPARC will convert the call _dl_start into a call into the PLT.
11993
11994         * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
11995         of arg to make it point to the actual values.
11996
11997         * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
11998         * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
11999
12000         * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
12001         them PIC aware.
12002
12003         * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
12004         Implemented.
12005         (elf_machine_rela): Make it compile; fix existing relocation
12006         types; add unhandled relocation types.
12007         (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
12008         (RTLD_START): Initial implementation, not yet finished.
12009
12010         * sysdeps/sparc/elf/start.S: Fix.
12011
12012         * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
12013         __setfpucw.
12014
12015         * sysdeps/sparc/divrem.m4: Make compilable under Linux.
12016         * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
12017         sysdeps/sparc/urem.S : Regenerated.
12018
12019         * sysdeps/sparc/setjmp.S: Make it PIC aware.
12020
12021         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
12022         __ASSEMBLY__ before using kernel header.
12023
12024         * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
12025         rtld.c.
12026
12027         * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
12028         * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
12029         to handle old signals.
12030         * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
12031         for all Linux/SPARC kernels.
12032         * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
12033         errno using __errno_location.
12034         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
12035         macros for assembler sources.
12036         * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
12037
12038 1997-02-25 16:02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12039
12040         * elf/rtld.c (dl_main): Remove dead code that is never executed.
12041         Rename local variable l to main_map where it is used to point to
12042         the load_map for the executable.
12043
12044 1997-02-25 15:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12045
12046         * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
12047         could not be found.
12048
12049 1997-02-24 23:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12050
12051         * Makerules: Generate implicit object suffix rules automagically.
12052         (o-iterator): Move before first use.
12053
12054         * Makeconfig (all-object-suffixes): Add .bo suffix.
12055
12056 1997-02-25 15:11  Ulrich Drepper  <drepper@cygnus.com>
12057
12058         * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
12059         word on stack for overflow.
12060
12061 1997-02-24 23:05  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
12062
12063         * malloc/malloc.c (malloc_get_state): New function.
12064         Saves global malloc state to an opaque data structure which
12065         is dynamically allocated in the heap.
12066         * malloc/malloc.c (malloc_set_state): New function.
12067         Restore previously obtained state.
12068         * malloc/malloc.h: Add declaration of malloc_get_state()
12069         and malloc_set_state().
12070
12071 1997-02-24 23:27  Ulrich Drepper  <drepper@cygnus.com>
12072
12073         * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
12074         position.
12075
12076 1997-02-24 17:38  Ulrich Drepper  <drepper@cygnus.com>
12077
12078         * misc/error.c: Make error and error_at_line weak aliases of
12079         __error and __error_at_line respectively.
12080         Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
12081
12082         * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
12083
12084 1997-02-22 11:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12085
12086         * elf/ldd.bash.in: Run the program directly, not as argument
12087         to the dynamic linker, if it contains an interpreter segment.
12088         * elf/ldd.sh.in: Likewise.
12089
12090         * elf/rtld.c (dl_main): In verify mode check whether the dynamic
12091         object contains an interpreter segment and exit with 2 if not.
12092
12093 1997-02-23 01:23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12094
12095         * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
12096         and xlocale.h.  Make-dist adds them automagically.
12097
12098 1997-02-22 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12099
12100         * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
12101         time-era-num-entries.
12102
12103 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12104
12105         * rellns-sh: No need to check for existance of first parameter.
12106
12107 1997-02-24 15:20  Jonathan T. Agnew  <jtagnew@amherst.edu>
12108
12109         * glibcbug.in: Don't mention destination on MAIL_AGENT command line
12110         to avoid duplicate mail.
12111
12112 1997-02-24 03:51  Ulrich Drepper  <drepper@cygnus.com>
12113
12114         * Makefile (distribute): Add isomac.c.
12115         (tests): Run isomac test.
12116
12117         * features.h (__USE_ISOC9X): New macro.
12118
12119         * catgets/catgets.c: Don't use global variable `optind'.  Instead
12120         use result computed by argp_parse.
12121         * db/makedb: Likewise.
12122         * locale/programs/locale.c: Likewise.
12123         * locale/programs/localedef.c: Likewise.
12124
12125         * libio/stdio.h: Rewrite.  Make it more readable and add comments.
12126
12127         * libio/clearerr.c: Remove clearerr_locked alias.
12128         * libio/feof.c: Remove feof_locked alias.
12129         * libio/ferror.c: Remove feof_locked alias.
12130         * libio/fileno.c: Remove fileno_locked alias.
12131         * libio/fputc.c: Remove fputc_locked alias.
12132         * libio/getc.c: Remove getc_locked alias.
12133         * libio/getchar.c: Remove getchar_locked alias.
12134         * libio/iofflush.c: Remove fflush_locked alias.
12135         * libio/putc.c: Remove putc_locked alias.
12136         * libio/putc.c: Remove putchar_locked alias.
12137
12138         * stdio-common/printf_fp.c: When number is inifinity print INF
12139         or inf depending on case of specifier.  Same for NaN where NAN
12140         or nan is printed.  Specified in ISO C 9X.
12141
12142         * misc/sys/cdefs.h (__restrict): Define to empty string for now.
12143         * stdio/stdio.h: Add __restrict to prototypes where necessary.
12144         * libio/stdio.h: Likewise.
12145         * stdlib/stdlib.h: Likewise.
12146         * string/string.h: Likewise.
12147         * time/time.h: Likewise.
12148         * wcsmbs/wchar.h: Likewise.
12149
12150         * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
12151         NAN(...).
12152
12153         * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
12154         of HUGE_VALf and HUGE_VALL.
12155         * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
12156         instead of HUGE_VALf.
12157         * wcsmbs/wcstof.c: Likewise.
12158         * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
12159         instead of HUGE_VALl.
12160         * wcsmbs/wcstold.c: Likewise.
12161
12162         * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
12163         avoid warning.
12164
12165         * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
12166         * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
12167         * wcsmbs/wcscasecmp.c: New file.
12168         * wcsmbs/wcsncase.c: New file.
12169
12170         * stdlib/strtol.c: Define wide character quad word functions as
12171         wcstoll and wcstoull and normal versions as strtoll and strtoull.
12172         * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
12173         * wcsmbs/wcstoq: Renamed to wcstoll.c.
12174         * wcsmbs/wcstouq: Renamed to wcstoull.c.
12175         * wcsmbs/wcstoll.c: Renamed from wcstoq.c.  Make wcstoq a weak
12176         alias of wcstoll.
12177         * wcsmbs/wcstoull.c: Renamed from wcstouq.c.  Make wcstouq a weak
12178         alias of wcstoull.
12179         * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
12180         wcstoll and wcstoull respectively.
12181         * stdlib/strtoq.c: Rename to strtoll.c.
12182         * stdlib/strtouq.c: Rename to strtoull.c.
12183         * stdlib/strtoll.c: Renamed from strtoq.c.  Make strtoq a weak
12184         alias of strtoll.
12185         * stdlib/strtoll.c: Renamed from strtouq.c.  Make strtouq a weak
12186         alias of strtoull.
12187         * stdlib/Makefile (routines): Replace strtoq and strtouq by
12188         strtoll and strtoull respectively.
12189         * stdio-common/vfscanf.c: Don't use __strtoq_internal and
12190         __strtouq_internal but instead __strtoll_internal and
12191         __strtoull_internal respectively.
12192         * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
12193         (strtouq): Similar with __internal_strtoull.
12194         * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
12195         (wcstouq): Similar with __internal_wcstoull.
12196
12197 1997-02-23 04:38  Ulrich Drepper  <drepper@cygnus.com>
12198
12199         * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
12200         sign in the strtouXX functions.  The results gets simply negated.
12201         * stdio-common/tstscanf.c: Add testcase for above case.
12202         * stdlib/tst-strtol.c: Correct tests.
12203
12204         * manual/stdio-fp.c: New file.  Generate output for example program
12205         in stdio.texi.
12206
12207         * stdio-common/Makefile (routines): Add printf_fphex.
12208         * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
12209         * stdio-common/printf_fphex.c: New file.  Implement %a and %A
12210         specifier.
12211
12212 1997-02-22 03:01  Ulrich Drepper  <drepper@cygnus.com>
12213
12214         * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
12215         __STRICT_ANSI__.
12216
12217         * math/math.h: Prevent definition of struct exception when using
12218         C++.  Use __exception instead.
12219
12220 1997-02-22 01:45  Ulrich Drepper  <drepper@cygnus.com>
12221
12222         * sysdeps/unix/syscalls.list: Dup takes only one argument.
12223         Reported by Greg McGary.
12224
12225 1997-02-21 00:22  Miles Bader  <miles@gnu.ai.mit.edu>
12226
12227         * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
12228         than file_get_translator.
12229
12230         * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
12231         (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
12232
12233 1997-02-20 01:28  Miles Bader  <miles@gnu.ai.mit.edu>
12234
12235         * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
12236         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12237
12238 1997-02-19 13:56  Miles Bader  <miles@gnu.ai.mit.edu>
12239
12240         * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
12241         but ADDR also == 0.
12242
12243         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
12244         now instead of a weak extern, as some old programs expect it to be
12245         defined by ld.so.
12246
12247 1997-02-18 15:39  Miles Bader  <miles@gnu.ai.mit.edu>
12248
12249         * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
12250
12251         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
12252         __hurd_threadvar_stack_offset): Restore initialized versions, so
12253         startup works correctly.
12254
12255         * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
12256
12257 1997-02-17 10:58  Miles Bader  <miles@gnu.ai.mit.edu>
12258
12259         * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
12260         not __mutex_try_lock.
12261         (tsd_setspecific): Cast DATA to (unsigned long) before storing.
12262         (tsd_getspecific): Case variable to (void *) before returning.
12263
12264         * hurd/hurdinit.c (__libc_argv): Remove extern.
12265         (__libc_argc): New variable.
12266
12267 1997-02-15 10:23  Miles Bader  <miles@gnu.ai.mit.edu>
12268
12269         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
12270         _HURD_THREADVAR_MALLOC.
12271         * malloc/thread-m.h
12272         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
12273         (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
12274         __mutex_*.
12275         (mutex_t): Type removed & replaced by new macro.
12276         (tsd_key_t): Typedef to int instead of pthread_key_t.
12277         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
12278         (__pthread_initialize): New macro, work around assumption of pthreads.
12279         (tsd_keys_alloced): New static variable.
12280         <hurd/threadvar.h>: New include.
12281
12282         * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
12283         (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
12284         defined before using it.
12285
12286         * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
12287         Make extern.
12288         * hurd/hurdinit.c (__libc_argv): Make extern.
12289
12290         * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
12291         (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
12292
12293         * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
12294         __hurd_threadvar_stack_offset,
12295         __hurd_threadvar_stack_mask): New variables.
12296         * hurd/hurdsig.c (__hurd_sigthread_stack_base,
12297         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
12298         New variables (moved here from hurdstartup.c).
12299         * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
12300         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
12301         Variables removed (moved to hurdsig.c).
12302         (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
12303         __hurd_threadvar_stack_mask): Variables removed.
12304         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
12305         __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
12306         __hurd_threadvar_max, __hurd_threadvar_stack_offset,
12307         __hurd_threadvar_stack_mask): Variables removed.
12308
12309 1997-02-14 14:07  Miles Bader  <miles@gnu.ai.mit.edu>
12310
12311         * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
12312         Declare extern.
12313
12314         * malloc/thread-m.h
12315         [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
12316         (mutex_t): Type removed.
12317         (mutex_t): New macro.
12318         (mutex_trylock): New macro.
12319         (__x_mutex_lock, __x_mutex_unlock): New functions.
12320         (mutex_lock, mutex_unlock): New macros, redefining the behavior of
12321         the cthread definitions.
12322         (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
12323         (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
12324         (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
12325         (__pthread_initialize): New macro, work around assumption of pthreads.
12326
12327 1997-02-11 05:27  Ulrich Drepper  <drepper@cygnus.com>
12328
12329         * locale/weight.h (collate_rules): It's an u_int32_t array.
12330         (get_weight): Compute initial SLOT value correctly.
12331
12332 1997-02-24 17:06  Geoffrey Keating  <geoffk@discus.anu.edu.au>
12333
12334         * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
12335         arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
12336         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12337         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12338         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12339         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12340         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12341         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12342         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12343         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12344         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12345         * sysdeps/unix/sysv/linux/send.S: Likewise.
12346         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12347         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12348         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12349         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12350         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12351
12352 1997-02-22 00:17  Ulrich Drepper  <drepper@cygnus.com>
12353
12354         * catgets/gencat.c: Change to use argp.
12355         * db/makedb: Likewise.
12356         * locale/programs/localedef.c: Likewise.
12357
12358         * locale/programs/locale.c: Little adjustment for better usage of
12359         argp.
12360
12361 1997-02-20 20:07  Greg McGary  <gkm@eng.ascend.com>
12362
12363         * Makeconfig: Add rules for libc with bounded pointers.
12364         * Makerules: Likewise.
12365         * config.make.in: Likewise.
12366         * configure.in: Likewise.
12367
12368 1997-02-21 10:41  Miles Bader  <miles@gnu.ai.mit.edu>
12369
12370         * argp/argp.h (OPTION_NO_USAGE): New macro.
12371         * argp/argp-help.c (usage_long_opt, usage_argful_short_opt,
12372         add_argless_short_opt): Implement OPTION_NO_USAGE.
12373
12374 1997-02-20 16:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12375
12376         * malloc/obstack.h: Fix typo.
12377
12378 1997-02-20 15:56  Miles Bader  <miles@gnu.ai.mit.edu>
12379
12380         * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case
12381         where NEXTLINE points one past the end of the active buffer.
12382
12383         * argp/argp-help.c <stddef.h>: New include.
12384         (__argp_failure): Only exit if STATE says it's ok.
12385         (print_header, hol_entry_help): Use UPARAMS fields rather than
12386         constants.
12387         (_help): Call fill_in_uparams if necessary.
12388         (struct hol_help_state): New type.
12389         (struct pentry_state): Add hhstate field.  Remove prev_entry &
12390         sep_groups fields.
12391         (hol_entry_help): Add HHSTATE parameter.  Remove prev_entry &
12392         sep_groups parameters.
12393         Suppress duplicate arguments if requested, and note the fact.
12394         (print_header, comma): Use PEST->hhstate fields.
12395         (hol_help): Add HHSTATE variable & pass to hol_entry_help.
12396         Remove LAST_ENTRY & SEP_GROUPS variables.
12397         If any suplicate arguments were suppressed, print explanatory note.
12398         (filter_doc): Replace PEST parameter with STATE.
12399         (struct uparams): New type.
12400         (uparams): New variable.
12401         (struct uparam_name): New type.
12402         (uparam_names): New variable.
12403         (fill_in_uparams): New function.
12404         (__argp_failure, __argp_error, __argp_state_help): Make STATE
12405         parameter const.
12406         * argp/argp.h (argp_state_help, __argp_state_help, argp_usage,
12407         __argp_usage, argp_error, __argp_error, argp_failure,
12408         __argp_failure): Make STATE parameter const.
12409         (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
12410
12411         * argp/argp.h (argp_program_bug_address): Make const.
12412
12413 1997-02-20 19:20  Ulrich Drepper  <drepper@cygnus.com>
12414
12415         * sysdeps/unix/mman/syscalls.list: Explain msync interface.
12416
12417 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
12418
12419         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
12420
12421 1997-02-20 14:44  Andreas Jaeger  <aj@arthur.pfalz.de>
12422
12423         * stdio-common/test-fseek.c: Remove temporary file, add
12424         copyright.
12425
12426 1997-02-20 17:51  Ulrich Drepper  <drepper@cygnus.com>
12427
12428         * sysdeps/generic/netinet/in.h: Protect contents using
12429         __BEGIN/END_DECLS.  Reported by a sun <asun@zoology.washington.edu>.
12430
12431         * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
12432         * inet/Makefile (headers): Remove net/ethernet.h.
12433         * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
12434         * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
12435
12436 1997-02-20 15:23  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12437
12438         * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
12439         searching in sorted array.
12440
12441 1997-02-20 01:24  Philip Blundell  <pjb27@cam.ac.uk>
12442
12443         * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
12444         and protect modification of global data.
12445
12446 1997-02-19 18:48  Miles Bader  <miles@gnu.ai.mit.edu>
12447
12448         * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
12449         (parser_init): Use the basename for PARSER->state.name.
12450         * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help):
12451         Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
12452
12453         * argp/argp-parse.c (parser_init): Set PARSER->state.flags.
12454         Make check whether PARSER has the prog name in argv[0] at the
12455         proper place.
12456
12457 1997-02-19 23:34  Ulrich Drepper  <drepper@cygnus.com>
12458
12459         * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
12460         Use default value instead of printing a warning.
12461
12462         * nss/XXX-lookup.c: Add missing explanation.
12463
12464 1997-02-19 19:14  Andreas Jaeger  <aj@arthur.pfalz.de>
12465
12466         * inet/in6_addr.c: Add missing braces.
12467
12468         * inet/getnameinfo.c: Include <arpa/inet.h>.
12469
12470         * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
12471
12472 1997-02-19 11:46  Ulrich Drepper  <drepper@cygnus.com>
12473
12474         * string/strxfrm.c (STRCOLL): Correct handling of `position'
12475         levels with no non-IGNOREd element and handling of NUL byte.
12476         * string/strcoll.c (STRXFRM): Likewise.
12477         * locale/weight.h: Likewise.
12478
12479         * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
12480
12481 1997-02-19 03:28  Miles Bader  <miles@gnu.ai.mit.edu>
12482
12483         * argp/argp-help.c: Add support for user provided filter of help
12484         messages.
12485         * argp/argp-parse.c: Likewise.
12486         * argp/argp.h: Likewise.
12487         * argp/argp-namefrob.h: Define __argp_input.
12488
12489         * argp/argp-test.c: Add example for filter.
12490
12491 1997-02-19 02:58  Ulrich Drepper  <drepper@cygnus.com>
12492
12493         * argp.h: New file.
12494         * locale/programs/locale.c: Switch to use argp.
12495
12496         * errno.h: Make it possible to get definition of error_t even
12497         after having errno.h already.
12498
12499         * elf/dl-hash.h: New file.  ELF hashing function.  Extracted
12500         from dl-lookup.c.
12501         * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
12502
12503         * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
12504         * elf/dl-version.c: Likewise.
12505
12506         * elf/dl-lookup.c: Implement new versioning lookup scheme.
12507         * elf/dl-version.c (_dl_check_map_versions): Initialize new field
12508         in l_versions member.
12509
12510         * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
12511         and _dl_lookup_versioned_symbol.
12512
12513         * elf/link.h: Rename hash_name_pair to struct r_found_version.
12514         * sysdeps/alpha/dl-machine.h: Likewise.
12515         * sysdeps/i386/dl-machine.h: Likewise.
12516         * sysdeps/m68k/dl-machine.h: Likewise.
12517         * sysdeps/mips/dl-machine.h: Likewise.
12518
12519         * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
12520         length of abs_filename.
12521
12522         * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
12523
12524         * locale/programs/ld-monetary.c (monetary_add): Allow value 0
12525         in mon_grouping information.  This means no more grouping.
12526         * locale/programs/ld-numeric.c (numeric_add): Write value \377
12527         when seein value 0 in grouping information.
12528         * locale/programs/linereader.c (lr_close): Don't free fname since
12529         it might be used in error messages.
12530
12531         * locale/programs/locale.c: Check whether output of `locale -a'
12532         really is locale directory.  Also print locale aliases.
12533
12534         * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
12535         be const.
12536
12537 1997-02-19 02:16  Ulrich Drepper  <drepper@cygnus.com>
12538
12539         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
12540         #define.  Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
12541
12542 1997-02-19 01:37  Erik Troan  <ewt@redhat.com>
12543
12544         * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
12545
12546 1997-02-19 01:02  Ulrich Drepper  <drepper@cygnus.com>
12547
12548         * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
12549         Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
12550
12551         * sysdeps/stub/msync.c (msync): Add missing third parameter.
12552
12553 1997-02-19 00:29  Ulrich Drepper  <drepper@cygnus.com>
12554
12555         * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
12556         additional argument.
12557
12558 1997-02-18 22:13  Ulrich Drepper  <drepper@cygnus.com>
12559
12560         * inet/net/ethernet.h: New file.
12561         * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
12562         * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
12563         Contributed by a sun <asun@zoology.washington.edu>.
12564
12565         * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
12566         * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
12567         Reported by a sun <asun@zoology.washington.edu>.
12568
12569 1997-02-16 14:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12570
12571         * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
12572         makefiles which may change the distinfo variables.
12573
12574 1997-02-16 14:03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12575
12576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12577         [$(subdir)=misc]: Add sys/quota.h.
12578         (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
12579
12580 1997-02-17 13:12  aleph1@dfw.net
12581
12582         * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
12583         strncpy.
12584
12585 1997-02-18 03:28  Ulrich Drepper  <drepper@cygnus.com>
12586
12587         * stdio-common/bug10.c (main): Correct parameter.
12588
12589 1997-02-17 02:51  Ulrich Drepper  <drepper@cygnus.com>
12590
12591         * malloc/obstack.h: Add `extern "C"' protection.
12592         * posix/regex.h: Likewise.
12593         * io/ftw.h: Likewise.
12594         * misc/libgen.h: Likewise.
12595         * login/utmp.h: Likewise.
12596         * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
12597         * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
12598         * sunrpc/rpc/pmap_rmt.h: Likewise.
12599         * sunrpc/rpc/auth_des.h: Likewise.
12600         * elf/link.h: Likewise.
12601         Reported by HJ Lu.
12602
12603 1997-02-17 01:45  a sun  <asun@zoology.washington.edu>
12604
12605         Linux specific network headers.
12606         * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
12607         * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
12608         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
12609         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
12610         * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
12611         * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
12612         * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
12613         * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
12614         * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
12615         * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
12616         * sysdeps/unix/sysv/linux/Dist: Add new network headers.
12617         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
12618         Add sys/quota.h.
12619         [$(subdir)=inet] (sysdep_headers): Add new network header.
12620
12621         * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
12622
12623         * inet/netinet/ip.h: Move to sysdeps/generic.
12624         * inet/netinet/tcp.h: Likewise.
12625         * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
12626         * sysdeps/generic/netinet/tcp.h: Likewise.
12627
12628 1997-02-17 01:18  Ulrich Drepper  <drepper@cygnus.com>
12629
12630         * misc/sys/syslog.h (prioritynames): Correct definition to use
12631         braces where necessary.
12632         (facilitynames): Likewise.
12633         Patch by Ronald F. Guilmette <rfg@monkeys.com>.
12634         Comment and beautify declarations.
12635
12636 1997-02-16 19:54 1997  Philip Blundell  <Philip.Blundell@pobox.com>
12637
12638         * inet/Makefile (routines): Add in6_addr, getnameinfo.
12639         * inet/getnameinfo.c: New file.  Implementation of getnameinfo()
12640         by Craig Metz.
12641         * inet/in6_addr.c: New file.  IPv6 addressing constants.
12642         * posix/Makefile (routines): Add gai_strerror.
12643         * resolv/netdb.h: Add more constants for IPv6 basic API.
12644         * sysdeps/posix/gai_strerror.c: New file.
12645         * sysdeps/stub/gai_strerror.c New file.
12646         * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
12647         basic API.
12648
12649         * sysdeps/posix/getaddrinfo.c: Update from latest version by
12650         Craig Metz and use reentrant getXXbyYY functions.
12651
12652 1997-02-15 14:32 Andreas Jaeger  <aj@arthur.pfalz.de>
12653
12654         * argp/argp.h: Declare argp_program_version as const char.
12655         * argp/argp-test.c: Likewise
12656
12657         * stdlib/testrand.c (main): Declare main prototype.
12658         * stdlib/testdiv.c (main): Likewise.
12659         * string/testcopy.c (main): Likewise.
12660         * string/test-ffs.c (main): Likewise.
12661         * time/test_time.c (main): Likewise.
12662
12663         * locale/duplocale.c (__duplocale): Return result.
12664
12665 1997-02-16 03:54  Ulrich Drepper  <drepper@cygnus.com>
12666
12667         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
12668         Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
12669
12670         * nss/nss.h: Remove declaration of __nss_shlib_revision.
12671         * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
12672
12673 1997-02-16 03:48  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
12674
12675         * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
12676         _nss_nis_gethostton_r.
12677         (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
12678
12679 1997-02-15 22:37  Andy Berkheimer  <andy@tho.org>
12680
12681         * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
12682         trying to resolv name as numeric IPv6 address.
12683         * nss/digits_dots.c: Likewise.
12684
12685 1997-02-15 04:51  Ulrich Drepper  <drepper@cygnus.com>
12686
12687         * locale/setlocale.c (setlocale): Don't try to be clever about
12688         unused locales.  When the existence of the locale files isn't
12689         tested the result of setlocale might be different.
12690
12691 1997-02-15 03:34  Ulrich Drepper  <drepper@cygnus.com>
12692
12693         * locale/setlocale.c (setlocale): Don't increment usage_count of
12694         new locale if it already has the value MAX_USAGE_COUNT (it might
12695         be the C locale data which is read-only).
12696
12697 1997-02-15 02:41  Miles Bader  <miles@gnu.ai.mit.edu>
12698
12699         * argp/argp-help.c: Gettextize sources.
12700         * argp/argp-parse.c: Likewise.
12701
12702 1997-02-13 22:32  Ulrich Drepper  <drepper@cygnus.com>
12703
12704         * features.h (__GLIBC_MINOR__): Bump to 1.
12705
12706         * xlocale.h: New file.  Wrapper around locale/xlocale.h.
12707         * Makefile (distribute): Add xlocale.h.
12708         * locale/Makefile (routines): Add ctype_l.
12709         * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
12710         Add __isblank_l, __toascii_l and __isascii_l.
12711         * ctype/ctype.h: Add definitions and declarations for *_l functions.
12712         * locale/Makefile (headers): Add xlocale.h.
12713         (routines): Add newlocale, duplocale, and freelocale.
12714         * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
12715         (struct locale_data): Add new fields mmaped and usage_count.
12716         Correct various declarations.
12717         * locale/C-collate.c: Define value for new fields mmaped and
12718         usage_count.
12719         * locale/C-ctype.c: Likewise.
12720         * locale/C-messages.c: Likewise.
12721         * locale/C-monetary.c: Likewise.
12722         * locale/C-numeric.c: Likewise.
12723         * locale/C-time.c: Likewise.
12724         * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
12725         usage_count fields.
12726         * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
12727         Correct prototypes for __newlocale and __freelocale.
12728         Add prototype for __duplocale.
12729         * locale/findlocale.c (copy): Remove function.  Use __strdup instead.
12730         (_nl_remove_locale): New function.
12731         * locale/nl_langinfo.c: Don't declare locale_data objects as const.
12732         * locale/setlocale.c: Likewise.
12733         * locale/weight.h: Change for use with locale objects.
12734         * locale/xlocale.h: New file.  Define __locale_t type.
12735         * locale/newlocale.c: New file.  Create new locale object.
12736         * locale/freelocale.c: New file.  Destroy locale object.
12737         * locale/duplocale.c: New file.  Create copy of locale object.
12738         * stdlib/Makefile (routines): Add strfmon_l.
12739         * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
12740         * stdlib/strfmon.c: Add support for use in extended locale model.
12741         * stdlib/strfmon_l.c: New file.
12742         * string/Makefile (routines): Add strcoll_l and strxfrm_l.
12743         * string/strcoll.c: Change for use in extended locale model.
12744         * string/strxfrm.c: Likewise.
12745         * string/strcoll_l.c: New file.  Implement __strcoll_l function.
12746         * string/strxfrm_l.c: New file.  Implement __strxfrm_l function.
12747         * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
12748         * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
12749         * wcsmbs/wcscoll.c: Change for use in extended locale model.
12750         * wcsmbs/wcscoll_l.c: New file.  Implement __wcscoll_l function.
12751         * wcsmbs/wcsxfrm_l.c: New file.  Implement __wcsxfrm_l function.
12752         * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
12753         and towctrans_l.
12754         * wctype/cname-lookup.h: Prepare for use in extended locale model.
12755         * wctype/iswctype_l.c: New file.  Implement character classification
12756         functions for use with locale objects.
12757         * wctype/wctype.h: Declare functions for use with locale objects.
12758         * wctype/towctrans_l.c: New file.  Implement __towctrans_l function
12759         for use with locale objects.
12760         * wctype/wcfuncs_l.c: New file.  Implement wide character
12761         classification functions for use with locale objects.
12762         * wctype/wcextra.c: New file.  Implement real functions for
12763         non-standard classification functions.
12764
12765         * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
12766         parameters to ld.so.  Use environment variables.
12767         * elf/ldd.sh.in: Likewise.
12768         * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
12769         options.  Instead read environment variables.
12770
12771         * elf/link.h (receiver_fct): Add new argument to take error code.
12772         * elf/dl-error.c (_dl_signal_error): Call receiver function with
12773         another argument.
12774
12775         * elf/dl-object.c (_dl_new_object): Create new object with list of
12776         names in l_libname member.
12777         * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
12778         find to object to the list in the link_map variable.
12779         (_dl_map_object): Use _dl_does_name_match_p to compare with all
12780         available names of the object.
12781         Optimize handling of LD_LIBRARY_PATH a bit.
12782         * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
12783
12784         * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
12785
12786         * elf/Makefile (routines): Add dl-version.
12787         * elf/link.h (hash_name_pair): New type.  Group pointer to string
12788         and its hash value.
12789         (struct link_map): Change l_libname member to be a list of names,
12790         not a single pointer to a name.
12791         Add new members l_nversions and l_versions.
12792         (_dl_does_name_match_p): New function to test for all names of an
12793         object.
12794         Add prototypes for new lookup and versioning functions.
12795         * elf/dl-lookup.c (do_lookup): Add new argument and handle case
12796         when versioned symbol is requested.
12797         (_dl_lookup_symbol): Call do_lookup with another argument.
12798         (_dl_lookup_symbol_skip): Likewise.
12799         (_dl_lookup_versioned_symbol): New function.  Handle lookup of
12800         versioned symbol.
12801         (_dl_lookup_versioned_symbol_skip): Likewise, similar to
12802         _dl_lookup_symbol_skip.
12803         * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
12804         _dl_lookup_symbol depending on availability of version information.
12805         * elf/dl-runtime.c (RESOLVE): Likewise.
12806         (fixup): Call elf_machine_relplt with additional argument to point
12807         to versioning information if available.
12808         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12809         * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
12810         for correct versions.
12811         * elf/dl-version.c: New file.  Check library versions and extract
12812         version information for easier access.
12813         * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
12814         * elf/dlvsym.c: New file.  Implementation of function similar to
12815         dlsym, but looks for versioned symbol.
12816         * elf/elf.h: Add types and macros for versioning.
12817         * elf/rtld.c (dl_main): Check availability of needed versions.
12818         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
12819         argument for version information.  Call RESOLVE with additional
12820         argument.
12821         * sysdeps/i386/dl-machine.h: Likewise.
12822         * sysdeps/m68k/dl-machine.h: Likewise.
12823         * sysdeps/mips/dl-machine.h: Likewise.
12824
12825         * elf/dlerror.c: Change comment to align with guidelines.
12826         * elf/dlopen.c: Likewise.
12827         * elf/dlsym.c: Likewise.
12828
12829         * locale/programs/localedef.c: Implement --quiet option.
12830         * locale/programs/charset.h: Declare be_quiet variable.
12831         * locale/programs/locfile.h: Likewise.
12832         * locale/programs/charmap.c: Don't print warnings if quiet option
12833         was given.
12834         * locale/programs/ld-collate.c: Likewise.
12835         * locale/programs/ld-ctype.c: Likewise.
12836         * locale/programs/ld-messages.c: Likewise.
12837         * locale/programs/ld-monetary.c: Likewise.
12838         * locale/programs/ld-numeric.c: Likewise.
12839         * locale/programs/ld-time.c: Likewise.
12840         * locale/programs/locfile.c: Likewise.
12841
12842         * Makefile (subdirs): Add argp.
12843
12844         * catgets/catgets.c (catopen): Little code improvement.
12845
12846         * posix/execl.c: Remove restriction to 1024 arguments.
12847         * posix/execle.c: Likewise.
12848         * posix/execlp.c: Likewise.
12849
12850         * posix/getopt.c [_LIBC]: Define global objects with __ prefix
12851         and make regular names weak aliases.
12852         * posix/getopt1.c: Likewise.
12853         * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
12854         __ protected forms.
12855
12856         * posix/unistd.h: Add prototype for __sleep.
12857         * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
12858         * sysdeps/posix/sleep.c: Likewise.
12859         * sysdeps/stub/sleep.c: Likewise.
12860         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12861
12862         * ctype/ctype-info.c: Update copyright.
12863         * ctype/ctype.c: Likewise.
12864         * ctype/test_ctype.c: Likewise.
12865         * dirent/alphasort.c: Likewise.
12866         * dirent/list.c: Likewise.
12867         * gmon/bb_exit_func.c: Likewise.
12868         * grp/fgetgrent.c: Likewise.
12869         * grp/getgrent.c: Likewise.
12870         * grp/getgrent_r.c: Likewise.
12871         * grp/getgrgid.c: Likewise.
12872         * grp/getgrgid_r.c: Likewise.
12873         * grp/getgrnam.c: Likewise.
12874         * grp/getgrnam_r.c: Likewise.
12875         * hurd/alloc-fd.c: Likewise.
12876         * hurd/catch-exc.c: Likewise.
12877         * hurd/ctty-input.c: Likewise.
12878         * hurd/ctty-output.c: Likewise.
12879         * hurd/dtable.c: Likewise.
12880         * hurd/fchroot.c: Likewise.
12881         * hurd/fd-close.c: Likewise.
12882         * hurd/fd-read.c: Likewise.
12883         * hurd/fd-write.c: Likewise.
12884         * hurd/fopenport.c: Likewise.
12885         * hurd/get-host.c: Likewise.
12886         * hurd/getdport.c: Likewise.
12887         * hurd/getuids.c: Likewise.
12888         * hurd/getumask.c: Likewise.
12889         * hurd/hurd-raise.c: Likewise.
12890         * hurd/hurd.h: Likewise.
12891         * hurd/hurdauth.c: Likewise.
12892         * hurd/hurdexec.c: Likewise.
12893         * hurd/hurdhost.h: Likewise.
12894         * hurd/hurdid.c: Likewise.
12895         * hurd/hurdinit.c: Likewise.
12896         * hurd/hurdioctl.c: Likewise.
12897         * hurd/hurdkill.c: Likewise.
12898         * hurd/hurdlookup.c: Likewise.
12899         * hurd/hurdmsg.c: Likewise.
12900         * hurd/hurdpid.c: Likewise.
12901         * hurd/hurdports.c: Likewise.
12902         * hurd/hurdprio.c: Likewise.
12903         * hurd/hurdrlimit.c: Likewise.
12904         * hurd/hurdsock.c: Likewise.
12905         * hurd/hurdstartup.c: Likewise.
12906         * hurd/hurdstartup.h: Likewise.
12907         * hurd/intern-fd.c: Likewise.
12908         * hurd/intr-msg.c: Likewise.
12909         * hurd/intr-rpc.defs: Likewise.
12910         * hurd/intr-rpc.h: Likewise.
12911         * hurd/msgportdemux.c: Likewise.
12912         * hurd/new-fd.c: Likewise.
12913         * hurd/openport.c: Likewise.
12914         * hurd/pid2task.c: Likewise.
12915         * hurd/port-cleanup.c: Likewise.
12916         * hurd/port2fd.c: Likewise.
12917         * hurd/ports-get.c: Likewise.
12918         * hurd/ports-set.c: Likewise.
12919         * hurd/privports.c: Likewise.
12920         * hurd/report-wait.c: Likewise.
12921         * hurd/set-host.c: Likewise.
12922         * hurd/setauth.c: Likewise.
12923         * hurd/setuids.c: Likewise.
12924         * hurd/siginfo.c: Likewise.
12925         * hurd/sigunwind.c: Likewise.
12926         * hurd/task2pid.c: Likewise.
12927         * hurd/thread-cancel.c: Likewise.
12928         * hurd/thread-self.c: Likewise.
12929         * hurd/vpprintf.c: Likewise.
12930         * hurd/hurd/fd.h: Likewise.
12931         * hurd/hurd/id.h: Likewise.
12932         * hurd/hurd/ioctl.h: Likewise.
12933         * hurd/hurd/lookup.h: Likewise.
12934         * hurd/hurd/port.h: Likewise.
12935         * hurd/hurd/resource.h: Likewise.
12936         * hurd/hurd/threadvar.h: Likewise.
12937         * hurd/hurd/userlink.h: Likewise.
12938         * inet/ether_aton.c: Likewise.
12939         * inet/ether_aton_r.c: Likewise.
12940         * inet/ether_ntoa.c: Likewise.
12941         * inet/ether_ntoa_r.c: Likewise.
12942         * inet/gethstbyad.c: Likewise.
12943         * inet/gethstbyad_r.c: Likewise.
12944         * inet/gethstent.c: Likewise.
12945         * inet/getnetbyad.c: Likewise.
12946         * inet/getnetbyad_r.c: Likewise.
12947         * inet/getnetbynm.c: Likewise.
12948         * inet/getnetbynm_r.c: Likewise.
12949         * inet/getnetent.c: Likewise.
12950         * inet/getnetent_r.c: Likewise.
12951         * inet/getproto.c: Likewise.
12952         * inet/getproto_r.c: Likewise.
12953         * inet/getprtent.c: Likewise.
12954         * inet/getprtent_r.c: Likewise.
12955         * inet/getprtname.c: Likewise.
12956         * inet/getrpcbyname.c: Likewise.
12957         * inet/getrpcbyname_r.c: Likewise.
12958         * inet/getrpcbynumber.c: Likewise.
12959         * inet/getrpcbynumber_r.c: Likewise.
12960         * inet/getrpcent.c: Likewise.
12961         * inet/getrpcent_r.c: Likewise.
12962         * inet/getservent.c: Likewise.
12963         * inet/getservent_r.c: Likewise.
12964         * inet/getsrvbynm.c: Likewise.
12965         * inet/getsrvbynm_r.c: Likewise.
12966         * inet/getsrvbypt.c: Likewise.
12967         * inet/getsrvbypt_r.c: Likewise.
12968         * inet/herrno.c: Likewise.
12969         * inet/netgroup.h: Likewise.
12970         * ient/netinet/ether.h: Likewise.
12971         * intl/bindtextdom.c: Likewise.
12972         * intl/dcgettext.c: Likewise.
12973         * intl/dgettext.c: Likewise.
12974         * intl/gettext.c: Likewise.
12975         * intl/gettext.h: Likewise.
12976         * intl/gettextP.h: Likewise.
12977         * intl/hash-string.h: Likewise.
12978         * intl/loadmsgcat.c: Likewise.
12979         * intl/localealias.c: Likewise.
12980         * intl/textdomain.c: Likewise.
12981         * io/creat.c: Likewise.
12982         * io/getdirname.c: Likewise.
12983         * io/lockf.c: Likewise.
12984         * io/pwd.c: Likewise.
12985         * io/test-utime.c: Likewise.
12986         * locale/categories.def: Likewise.
12987         * locale/codeset_name.c: Likewise.
12988         * locale/lc-collate.c: Likewise.
12989         * locale/lc-ctype.c: Likewise.
12990         * locale/lc-messages.c: Likewise.
12991         * locale/lc-monetary.c: Likewise.
12992         * locale/lc-numeric.c: Likewise.
12993         * locale/lc-time.c: Likewise.
12994         * locale/loadlocale.c: Likewise.
12995         * locale/localeconv.c: Likewise.
12996         * locale/nl_langinfo.c: Likewise.
12997         * locale/setlocale.c: Likewise.
12998         * locale/strlen-hash.h: Likewise.
12999         * locale/programs/charmap-kw.gperf: Likewise.
13000         * locale/programs/charmap-kw.h: Likewise.
13001         * locale/programs/charset.c: Likewise.
13002         * locale/programs/ld-ctype.c: Likewise.
13003         * locale/programs/ld-messages.c: Likewise.
13004         * locale/programs/ld-monetary.c: Likewise.
13005         * locale/programs/linereader.h: Likewise.
13006         * locale/programs/locale-spec.c: Likewise.
13007         * locale/programs/locales.h: Likewise.
13008         * locale/programs/locfile-kw.gperf: Likewise.
13009         * locale/programs/locfile-kw.h: Likewise.
13010         * locale/programs/locfile-token.h: Likewise.
13011         * locale/programs/simple-hash.h: Likewise.
13012         * locale/programs/stringtrans.c: Likewise.
13013         * locale/programs/stringtrans.h: Likewise.
13014         * login/logout.c: Likewise.
13015         * mach/bootprivport.c: Likewise.
13016         * mach/devstream.c: Likewise.
13017         * mach/hello.c: Likewise.
13018         * mach/mach.h: Likewise.
13019         * mach/mach_init.c: Likewise.
13020         * mach/mach_init.h: Likewise.
13021         * mach/mig-alloc.c: Likewise.
13022         * mach/mig-dealloc.c: Likewise.
13023         * mach/mutex-init.c: Likewise.
13024         * mach/mutex-solid.c: Likewise.
13025         * mach/setup-thread.c: Likewise.
13026         * mach/spin-lock.h: Likewise.
13027         * mach/spin-solid.c: Likewise.
13028         * mach/mach/mig_support.h: Likewise.
13029         * md5-crypt/md5-crypt.c: Likewise.
13030         * misc/nlist.h: Likewise.
13031         * nss/nss_files/files-ether.c: Likewise.
13032         * posix/confstr.c: Likewise.
13033         * posix/execl.c: Likewise.
13034         * posix/execle.c: Likewise.
13035         * posix/execlp.c: Likewise.
13036         * posix/execv.c: Likewise.
13037         * posix/execvp.c: Likewise.
13038         * posix/fnmatch.c: Likewise.
13039         * posix/getopt.c: Likewise.
13040         * posix/getopt.h: Likewise.
13041         * posix/getopt1.c: Likewise.
13042         * posix/id.c: Likewise.
13043         * posix/regex.c: Likewise.
13044         * posix/setpgrp.c: Likewise.
13045         * posix/unistd.h: Likewise.
13046         * posix/wordexp.c: Likewise.
13047         * pwd/fgetpwent.c: Likewise.
13048         * pwd/getpwent.c: Likewise.
13049         * pwd/getpwent_r.c: Likewise.
13050         * pwd/getpwnam.c: Likewise.
13051         * pwd/getpwnam_r.c: Likewise.
13052         * pwd/getpwuid.c: Likewise.
13053         * pwd/getpwuid_r.c: Likewise.
13054         * pwd/putpwent.c: Likewise.
13055         * resolv/gethnamaddr.c: Likewise.
13056         * resolv/res_hconf.c: Likewise.
13057         * resolv/res_hconf.h: Likewise.
13058         * setjmp/longjmp.c: Likewise.
13059         * setjmp/sigjmp.c: Likewise.
13060         * setjmp/tst-setjmp.c: Likewise.
13061         * stdio/clearerr.c: Likewise.
13062         * stdio/ferror.c: Likewise.
13063         * stdio/fgetc.c: Likewise.
13064         * stdio/fgetpos.c: Likewise.
13065         * stdio/fgets.c: Likewise.
13066         * stdio/fileno.c: Likewise.
13067         * stdio/fmemopen.c: Likewise.
13068         * stdio/fopen.c: Likewise.
13069         * stdio/fopncook.c: Likewise.
13070         * stdio/fputc.c: Likewise.
13071         * stdio/fputs.c: Likewise.
13072         * stdio/fread.c: Likewise.
13073         * stdio/freopen.c: Likewise.
13074         * stdio/fseek.c: Likewise.
13075         * stdio/fsetpos.c: Likewise.
13076         * stdio/ftell.c: Likewise.
13077         * stdio/fwrite.c: Likewise.
13078         * stdio/getchar.c: Likewise.
13079         * stdio/getdelim.c: Likewise.
13080         * stdio/gets.c: Likewise.
13081         * stdio/glue.c: Likewise.
13082         * stdio/internals.c: Likewise.
13083         * stdio/linewrap.c: Likewise.
13084         * stdio/linewrap.h: Likewise.
13085         * stdio/memstream.c: Likewise.
13086         * stdio/newstream.c: Likewise.
13087         * stdio/putchar.c: Likewise.
13088         * stdio/puts.c: Likewise.
13089         * stdio/rewind.c: Likewise.
13090         * stdio/setbuf.c: Likewise.
13091         * stdio/setbuffer.c: Likewise.
13092         * stdio/setlinebuf.c: Likewise.
13093         * stdio/setvbuf.c: Likewise.
13094         * stdio/ungetc.c: Likewise.
13095         * stdio/vasprintf.c: Likewise.
13096         * stdio/vscanf.c: Likewise.
13097         * stdio/vsnprintf.c: Likewise.
13098         * stdio/vsprintf.c: Likewise.
13099         * stdio/vsscanf.c: Likewise.
13100         * stdio-common/asprintf.c: Likewise.
13101         * stdio-common/dprintf.c: Likewise.
13102         * stdio-common/errnobug.c: Likewise.
13103         * stdio-common/fprintf.c: Likewise.
13104         * stdio-common/getline.c: Likewise.
13105         * stdio-common/getw.c: Likewise.
13106         * stdio-common/perror.c: Likewise.
13107         * stdio-common/psignal.c: Likewise.
13108         * stdio-common/putw.c: Likewise.
13109         * stdio-common/reg-printf.c: Likewise.
13110         * stdio-common/scanf.c: Likewise.
13111         * stdio-common/snprintf.c: Likewise.
13112         * stdio-common/sprintf.c: Likewise.
13113         * stdio-common/tempnam.c: Likewise.
13114         * stdio-common/test_rdwr.c: Likewise.
13115         * stdio-common/tst-fileno.c: Likewise.
13116         * stdio-common/tst-printf.c: Likewise.
13117         * stdio-common/tstgetln.c: Likewise.
13118         * stdio-common/vprintf.c: Likewise.
13119         * stdlib/drand48.c: Likewise.
13120         * stdlib/drand48_r.c: Likewise.
13121         * stdlib/erand48.c: Likewise.
13122         * stdlib/erand48_r.c: Likewise.
13123         * stdlib/exit.h: Likewise.
13124         * stdlib/strtoq.c: Likewise.
13125         * stdlib/strtoul.c: Likewise.
13126         * stdlib/strtouq.c: Likewise.
13127         * stdlib/test-canon.c: Likewise.
13128         * stdlib/testdiv.c: Likewise.
13129         * stdlib/testrand.c: Likewise.
13130         * string/argz-append.c: Likewise.
13131         * string/argz-count.c: Likewise.
13132         * string/argz-create.c: Likewise.
13133         * string/argz-ctsep.c: Likewise.
13134         * string/argz-delete.c: Likewise.
13135         * string/argz-extract.c: Likewise.
13136         * string/argz-insert.c: Likewise.
13137         * string/argz-next.c: Likewise.
13138         * string/argz-stringify.c: Likewise.
13139         * string/basename.c: Likewise.
13140         * string/envz.c: Likewise.
13141         * string/memfrob.c: Likewise.
13142         * string/strcoll.c: Likewise.
13143         * string/strdup.c: Likewise.
13144         * string/string.h: Likewise.
13145         * string/strndup.c: Likewise.
13146         * string/strnlen.c: Likewise.
13147         * string/strsignal.c: Likewise.
13148         * string/strxfrm.c: Likewise.
13149         * string/test-ffs.c: Likewise.
13150         * string/testcopy.c: Likewise.
13151         * sysdeps/generic/enbl-secure.c: Likewise.
13152         * sysdeps/generic/memcopy.h: Likewise.
13153         * sysdeps/generic/stpncpy.c: Likewise.
13154         * sysdeps/generic/strcasecmp.c: Likewise.
13155         * sysdeps/generic/strcat.c: Likewise.
13156         * sysdeps/generic/strchr.c: Likewise.
13157         * sysdeps/generic/strcpy.c: Likewise.
13158         * sysdeps/generic/strcspn.c: Likewise.
13159         * sysdeps/generic/strlen.c: Likewise.
13160         * sysdeps/generic/strncase.c: Likewise.
13161         * sysdeps/generic/strncat.c: Likewise.
13162         * sysdeps/generic/strncpy.c: Likewise.
13163         * sysdeps/generic/strpbrk.c: Likewise.
13164         * sysdeps/generic/strsep.c: Likewise.
13165         * sysdeps/generic/strspn.c: Likewise.
13166         * sysdeps/generic/strstr.c: Likewise.
13167         * sysdeps/generic/strtok.c: Likewise.
13168         * sysdeps/generic/strtok_r.c: Likewise.
13169         * sysdeps/mach/sleep.c: Likewise.
13170         * sysdeps/posix/sleep.c: Likewise.
13171         * sysdeps/stub/sleep.c: Likewise.
13172         * time/date.c: Likewise.
13173         * time/test_time.c: Likewise.
13174         * wcsmbs/wmemcpy.c: Likewise.
13175         * wctye/test_wctype.c: Likewise.
13176         * wctye/towctrans.c: Likewise.
13177         * wctye/wcfuncs.c: Likewise.
13178         * wctye/wctrans.c: Likewise.
13179
13180 1997-02-13 22:15  Miles Bader  <miles@gnu.ai.mit.edu>
13181
13182         * argp/Makefile: New file.
13183         * argp/argp.h: Likewise.
13184         * argp/argp-ba.c: Likewise.
13185         * argp/argp-fmtstream.c: Likewise.
13186         * argp/argp-fmtstream.h: Likewise.
13187         * argp/argp-fs-xinl.c: Likewise.
13188         * argp/argp-help.c: Likewise.
13189         * argp/argp-namefrob.h: Likewise.
13190         * argp/argp-parse.c: Likewise.
13191         * argp/argp-pv.c: Likewise.
13192         * argp/argp-pvh.c: Likewise.
13193         * argp/argp-test.c: Likewise.
13194         * argp/argp-xinl.c: Likewise.
13195
13196 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
13197
13198         * stdlib/qsort.c: Add prototype for _quicksort.
13199
13200         * stdlib/msort.c (qsort): Correct prototype for _quicksort.
13201
13202         * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
13203         from dl-machine.h.
13204
13205 1997-02-13 18:18  Marcus G. Daniels  <marcus@sysc.pdx.edu>
13206
13207         * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
13208         Allow user to overwrite it.
13209
13210 1997-02-13 17:55  Ulrich Drepper  <drepper@cygnus.com>
13211
13212         * libio/_G_config.h: Make sure wint_t is also defined for old gcc
13213         versions.  Reported by Andreas Jaeger.
13214
13215 1997-02-13 11:44  Andreas Jaeger  <aj@arthur.pfalz.de>
13216
13217         * time/tzfile.c (__tzfile_read): Change comment to follow
13218         change of 1997-02-12.
13219
13220 1997-02-13 02:32  Ulrich Drepper  <drepper@cygnus.com>
13221
13222         * time/time.h (__nanosleep): Define only when struct timespec is
13223         also available.
13224         Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
13225
13226 1997-02-12 21:34  a sun  <asun@zoology.washington.edu>
13227
13228         * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
13229         * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
13230
13231 1997-02-12 21:16  Ulrich Drepper  <drepper@cygnus.com>
13232
13233         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
13234         of 1997-02-09 in resolv/gethnamaddr.c.
13235
13236 1997-02-11 18:52  H.J. Lu  <hjl@gnu.ai.mit.edu>
13237
13238         * libio/_G_config.h (_G_wint_t): New.
13239
13240 1997-02-09 11:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
13241
13242         * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
13243         to sizeof (buf.buf) while calling res_search ().
13244
13245 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
13246
13247         * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
13248         val to keydat, stat to status.
13249
13250 1997-02-12 20:45  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
13251
13252         * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
13253
13254 1997-02-12 19:55  Ulrich Drepper  <drepper@cygnus.com>
13255
13256         * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
13257         by Keith Bostic.
13258
13259 1997-02-11 14:49  Andreas Jaeger  <jaeger@informatik.uni-kl.de>
13260
13261         * stdlib/atoll.c: Undefine atoll, not atol.
13262
13263 1997-02-08 09:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13264
13265         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
13266         unused arguments of shell script.
13267
13268         * Makeconfig (all-object-suffixes): New variable.
13269         * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
13270         of $(object-suffixes).
13271         * sysdeps/unix/make-syscalls.sh: Likewise.  Fix comment.
13272
13273 1997-02-10 17:45  Ulrich Drepper  <drepper@cygnus.com>
13274
13275         * string/argz-ctsep.c: Initialize *LEN when successful.
13276
13277 1997-02-09 04:35  Ulrich Drepper  <drepper@cygnus.com>
13278
13279         * stdio-common/_itoa.h: Update copyright.
13280
13281 1997-02-09 02:59  Ulrich Drepper  <drepper@cygnus.com>
13282
13283         * version.h (VERSION): Bump to 2.0.2.
13284
13285         * posix/Makefile (routines): Add getopt_init.
13286         * posix/getopt.c: Don't get environment variable with nonoption
13287         flags here.  Depend on __getopt_nonoption_flags variable filled
13288         somewhere else.  This is necessary since the variable must be
13289         removed even when getopt isn't used in case exec(2) gets called.
13290         * posix/getopt_init.c: New file.  Initialize __getopt_nonoption_flags
13291         and remove environment variable.
13292         * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
13293         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13294         * sysdeps/stub/init-first.c: Likewise.
13295         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13296
13297         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
13298         AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
13299
13300         * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
13301         encryption is wanted.
13302
13303         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
13304         * stdio/vsnprintf.c: Likewise.
13305         Reported by Philip Blundell <pjb27@cam.ac.uk>.
13306
13307         * libio/vsnprintf.c: If MAXLEN is 0 return 0.
13308         * stdio/vsnprintf.c: Likewise.
13309         Reported by Philip Blundell <pjb27@cam.ac.uk>.
13310
13311 1997-02-07 17:43  Ulrich Drepper  <drepper@cygnus.com>
13312
13313         * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
13314         Change PTR to void *.
13315         * sysdeps/posix/vdprintf.c: Change PTR to void *.
13316         Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
13317
13318 1997-02-07 17:41  Philip Blundell <pjb27@cam.ac.uk>
13319
13320         * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
13321
13322 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13323
13324         * rellns-sh: No need to check for existance of first parameter.
13325
13326 1997-02-06 13:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13327
13328         * rellns-sh: No need to check for existance of first parameter.
13329
13330 1997-02-06 14:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13331
13332         * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks.  Reported
13333         by David Holland <dholland@eecs.harvard.edu>.
13334
13335 1997-02-06 14:38  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13336
13337         * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
13338         select, in case it is modified by the latter.
13339         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13340         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13341         * sunrpc/svc_tcp.c (readtcp): Likewise.
13342
13343         * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
13344         array.
13345
13346         * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
13347         and gid_t.
13348
13349         * sunrpc/auth_unix.c (authunix_validate): Fix type of second
13350         argument.
13351
13352 1997-02-06 14:29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13353
13354         * elf/Makefile (extra-objs): Don't zap previous value.
13355         * Makefile (before-compile): Likewise.  Don't add gnu/lib-names.h
13356         twice.
13357
13358 1997-02-06 14:19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13359
13360         * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
13361         braindamage (sigh!).
13362
13363 1997-02-06 17:10  Jim Meyering  <meyering@asic.sc.ti.com>
13364
13365         * manual/memory.texi: Correct `copystring' example for obstacks.
13366
13367 1997-02-06 14:10  Ulrich Drepper  <drepper@cygnus.com>
13368
13369         * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
13370         GNU tr don't grok it.
13371
13372 1997-02-03 21:13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13373
13374         * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
13375         Don't use GNU C extensions.
13376         (CMSG_DATA): Use portable definition.
13377
13378 1997-02-05 05:58  Ulrich Drepper  <drepper@cygnus.com>
13379
13380         * elf/ldd.bash.in: Add test for read permission and print appropriate
13381         message.  Change warning and error messages to print "ldd: " at start.
13382         * elf/ldd.sh.in: Likewise.
13383
13384         * stdlib/Makefile (routines): Add atoll.
13385         * stdlib/atoll.c: New file.
13386         * stdlib/stdlib.h: Add prototype and optimization for atoll.
13387
13388         * stdlib/a64l.c: Update copyright.
13389         * stdlib/abs.c: Likewise.
13390         * stdlib/atof.c: Likewise.
13391         * stdlib/atoi.c: Likewise.
13392         * stdlib/atol.c: Likewise.
13393         * stdlib/bsearch.c: Likewise.
13394         * stdlib/exit.c: Likewise.
13395         * stdlib/fpioconst.c: Likewise.
13396         * stdlib/fpioconst.h: Likewise.
13397         * stdlib/jrand48.c: Likewise.
13398         * stdlib/jrand48_r.c: Likewise.
13399         * stdlib/labs.c: Likewise.
13400         * stdlib/lcong48.c: Likewise.
13401         * stdlib/lcong48_r.c: Likewise.
13402         * stdlib/llabs.c: Likewise.
13403         * stdlib/lrand48.c: Likewise.
13404         * stdlib/lrand48_r.c: Likewise.
13405         * stdlib/mblen.c: Likewise.
13406         * stdlib/mbstowcs.c: Likewise.
13407         * stdlib/mbtowc.c: Likewise.
13408         * stdlib/mp_clz_tab.c: Likewise.
13409         * stdlib/mrand48.c: Likewise.
13410         * stdlib/mrand48_r.c: Likewise.
13411         * stdlib/msort.c: Likewise.
13412         * stdlib/nrand48.c: Likewise.
13413         * stdlib/nrand48_r.c: Likewise.
13414         * stdlib/qsort.c: Likewise.
13415         * stdlib/rpmatch.c: Likewise.
13416         * stdlib/seed48.c: Likewise.
13417         * stdlib/seed48_r.c: Likewise.
13418         * stdlib/srand48.c: Likewise.
13419         * stdlib/srand48_r.c: Likewise.
13420         * stdlib/strtod.c: Likewise.
13421         * stdlib/wcstombs.c: Likewise.
13422         * stdlib/wctomb.c: Likewise.
13423
13424 1997-02-05 05:08  Ulrich Drepper  <drepper@cygnus.com>
13425
13426         * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
13427         as const.
13428
13429 1997-02-04 23:57  Fila Kolodny  <fila@ibi.com>
13430
13431         * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
13432         including <stddef.h>.
13433
13434 1997-02-03 20:01  H.J. Lu  <hjl@gnu.ai.mit.edu>
13435
13436         * time/Makefile (tzbases, tzlinks): New.
13437         (tzfiles): Changed to $(tzbases) $(tzlinks).
13438         ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
13439
13440 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
13441
13442         * Makefile (install): Ignore error from ldconfig.
13443
13444         * time/zic.c (mkdirs): Double check the error return of mkdir ().
13445
13446 1997-02-04 22:01  Ulrich Drepper  <drepper@cygnus.com>
13447
13448         * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
13449         like PPC where va_list is no integral type.
13450
13451 1997-02-04 15:27  Roma Ekzhanov  <ekzhanov@paragraph.com>
13452
13453         * posix/getopt.c (exchange): Don't allocate nonoption_flags array
13454         if nonoption_flags_len == -1.
13455
13456 1997-02-04 02:08  Ulrich Drepper  <drepper@cygnus.com>
13457
13458         * Version 2.0.1 net release.
13459
13460 1997-02-03 23:34  Stephen L Moshier  <moshier@world.std.com>
13461
13462         * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
13463
13464 1997-02-03 19:59  Ulrich Drepper  <drepper@cygnus.com>
13465
13466         * stdlib/getsubopt.c: Don't return `=' for suboption which has
13467         a parameter.  Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
13468
13469 1997-02-03 18:20  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
13470
13471         * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
13472         values as in yp.x and yp.h.
13473
13474 1997-02-03 16:58  Ulrich Drepper  <drepper@cygnus.com>
13475
13476         * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
13477         1997-02-03 02:17.  Sun's implementation internally corrects
13478         this bug but we don't want to hide this from the user.
13479         * nis/rpcsvc/yp.h: Likewise.
13480
13481 1997-02-01 18:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13482
13483         * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
13484         inclusion.
13485
13486 1997-02-02 14:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13487
13488         * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
13489         fixes.
13490
13491 1997-02-02 11:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13492
13493         * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
13494         (all-sources, all-headers): Use them instead of $(sources) and
13495         $(headers) when searching in sysdep directories.
13496
13497 1997-02-02 11:49  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13498
13499         * Makerules (REAL_MAKE_VERSION): Use internal make function
13500         instead of shelling out.
13501
13502 1997-02-02 11:47  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13503
13504         * time/Makefile (install-test-data): Remove mkdir command, zic can
13505         handle that gracefully.
13506
13507 1997-02-03 14:07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13508
13509         * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
13510         somehow.
13511
13512 1997-02-02 07:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13513
13514         * sunrpc/Makefile: Check $(cross-compiling) only after including
13515         ../Makeconfig.
13516         ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
13517         being considered as a rule.
13518         (generated): Add stamp files before the inclusion of Makerules to
13519         magically mark them as not being intermediate via the `generated'
13520         target.
13521
13522 1997-02-03 02:33  Ulrich Drepper  <drepper@cygnus.com>
13523
13524         * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
13525         entries.  This is still no complete implementation since AUXILIARY
13526         entries in other shared objects are not yet handled.
13527
13528         * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
13529         place.
13530
13531         * po/es.po: Update.
13532         * po/fr.po: Update.
13533         * po/nl.po: Update.
13534
13535         * time/Makefile: Better cross-compile support.  Avoid test which
13536         cannot be run.
13537         (CFLAGS-tzset.c): New variable.  Overwrite TZDEFAULT value from
13538         tzfile.h file.
13539         * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
13540         in SUID programs.
13541         * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
13542         default values as in tzfile.c.
13543
13544         * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
13545         tags.
13546         * elf/link.h: Likewise.
13547         * elf/elf.h: Add tag definitions and data structures for versioning.
13548
13549 1997-02-03 02:17  Ulrich Drepper  <drepper@cygnus.com>
13550
13551         * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
13552         "Sun bug".  This is the order of elements also used by 4.4BSD.
13553         * nis/rpcsvc/yp.h: Likewise.
13554         Reported by HJ Lu.
13555
13556 1997-02-02 12:13  H.J. Lu  <hjl@gnu.ai.mit.edu>
13557
13558         * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
13559         action.
13560
13561         * Makefile (install): Pass installation directories as arguments
13562         to ldconfig.
13563
13564 1997-02-02 23:15  Ulrich Drepper  <drepper@cygnus.com>
13565
13566         * malloc/malloc.c (__after_morecore_hook): New variable.
13567         (malloc_extend_top): Call __after_morecore_hook if set.
13568         (main_trim): Likewise.
13569         * malloc/malloc.h: Add declaration of __after_morecore_hook.
13570         Suggested by Marcus Daniels.
13571
13572 1997-02-02 23:00  Marcus G. Daniels  <marcus@tdb.com>
13573
13574         * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
13575         #ifndef NO_THREADS.
13576         (mallinfo): Likewise.
13577
13578         * malloc/malloc.c (__morecore): Make external since it is used in
13579         programs.
13580
13581 1997-02-02 15:10  Ulrich Drepper  <drepper@cygnus.com>
13582
13583         * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
13584         unsigned.
13585
13586 1997-02-01 23:36  Richard Henderson  <rth@tamu.edu>
13587
13588         * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
13589         use t6 as a temporary; it contains bits we still need in $u_head.
13590
13591 1997-01-31 15:05  John Bowman  <bowman@ipp-garching.mpg.de>
13592
13593         * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
13594         using __ prefix.  Add prototype for log1p.
13595
13596 1997-02-02 00:39  Ulrich Drepper  <drepper@cygnus.com>
13597
13598         * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
13599
13600 1997-02-01 17:04  Philip Blundell  <pjb27@cam.ac.uk>
13601
13602         * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
13603
13604 1997-02-01 17:00  Ulrich Drepper  <drepper@cygnus.com>
13605
13606         * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
13607         structure plus related macros.
13608         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
13609         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
13610         (sysdep_routines): Add cmsg_nxthdr.
13611         * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
13612         Suggested by Philip Blundell <pjb27@cam.ac.uk>.
13613
13614 1997-02-01 12:34  Ulrich Drepper  <drepper@cygnus.com>
13615
13616         * time/strftime.c: Define _strftime_copytm without protecting arguments
13617         which breaks the definition.
13618
13619 1997-02-01 03:31  Thorsten Kukuk  <kukuk@weber.uni-paderborn.de>
13620
13621         * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
13622         definition of type for element.
13623
13624 1997-02-01 03:28  Philip Blundell  <pjb27@cam.ac.uk>
13625
13626         * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
13627         constants.
13628
13629 1997-02-01 03:09  H.J. Lu  <hjl@lucon.org>
13630
13631         * Makefile: Pass PARALLELMFLAGS to sub-makes.
13632         * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
13633
13634 1997-01-31  Paul Eggert  <eggert@twinsun.com>
13635
13636         * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
13637         Define if _LIBC is defined.
13638         <limits.h>: Include if HAVE_LIMITS_H instead of if
13639         __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
13640         <stdlib.h>: Similarly, include if STDC_HEADERS.
13641         (localtime_r): Redo #ifdef to make it clear that glibc has
13642         localtime_r now.
13643
13644 1997-02-29 20:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13645
13646         * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
13647         file to avoid unnecessary recompilation.
13648
13649 1997-01-29 19:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13650
13651         * Makefile: Set install-others, not install_others.
13652         (before-compile): Use += to preserve previous value.
13653         ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
13654         fix dependency name.
13655         ($(objpfx)lib-names.h): Remove rule.
13656         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
13657         with correct name, using an intermediate stamp file.
13658         (common-generated): Add gnu/lib-names.h.
13659         (before-compile): Add $(common-objpfx)gnu/lib-names.h.
13660
13661 1997-01-30 18:29  Richard Henderson  <richard@atheist.tamu.edu>
13662
13663         * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
13664         to prevent warnings on 64 bit systems.
13665         Reported by Paul Wouters <paul@xtdnet.nl>.
13666
13667         * sysdeps/alpha/dl-machine.h: Revert check for broken gas.  By default
13668         we assume it works.
13669
13670 1997-01-30 03:24  Ulrich Drepper  <drepper@cygnus.com>
13671
13672         * sysdeps/i386/elf/start.S (_start): Align stack pointer to
13673         double word boundary before pushing args for main.  This way we
13674         don't get penalties for misaligned memory accesses.  Reported by
13675         Edward Seidl <seidl@janed.com>.
13676
13677         * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
13678         Patch by HJ Lu.
13679
13680         * misc/bsd-compat.c: Update copyright.
13681         * misc/efgcvt.c: Likewise.
13682         * misc/efgcvt_r.c: Likewise.
13683         * misc/error.c: Likewise.
13684         * misc/error.h: Likewise.
13685         * misc/fstab.c: Likewise.
13686         * misc/init-misc.c: Likewise.
13687         * misc/lsearch.c: Likewise.
13688         * misc/mntent.c: Likewise.
13689         * misc/qefgcvt.c: Likewise.
13690         * misc/qefgcvt_r.c: Likewise.
13691         * nss/databases.def: Likewise.
13692         * nss/db-Makefile: Likewise.
13693         * nss/ethers-lookup.c: Likewise.
13694         * nss/hosts-lookup.c: Likewise.
13695         * nss/netgrp-lookup.c: Likewise.
13696         * nss/nsswitch.h: Likewise.
13697         * nss/proto-lookup.c: Likewise.
13698         * nss/rpc-lookup.c: Likewise.
13699         * nss/service-lookup.c: Likewise.
13700         * nss/nss_db/db-netgrp.c: Likewise.
13701         * nss/nss_files/files-grp.c: Likewise.
13702         * nss/nss_files/files-hosts.c: Likewise.
13703         * nss/nss_files/files-network.c: Likewise.
13704         * nss/nss_files/files-proto.c: Likewise.
13705         * nss/nss_files/files-pwd.c: Likewise.
13706         * nss/nss_files/files-rpc.c: Likewise.
13707         * nss/nss_files/files-service.c: Likewise.
13708         * nss/nss_files/files-spwd.c: Likewise.
13709         * shadow/fgetspent.c: Likewise.
13710         * shadow/fgetspent_r.c: Likewise.
13711         * shadow/getspent.c: Likewise.
13712         * shadow/getspent_r.c: Likewise.
13713         * shadow/getspnam.c: Likewise.
13714         * shadow/getspnam_r.c: Likewise.
13715         * shadow/putspent.c: Likewise.
13716         * shadow/sgetspent.c: Likewise.
13717         * shadow/sgetspent_r.c: Likewise.
13718         * sysdeps/i386/init-first.c: Likewise.
13719         * sysdeps/unix/i386/sysdep.S: Likewise.
13720
13721         * shadow/shadow.h: Don't use __USE_REENTRENT.  All code must be
13722         prepared to be running in a multi-threaded environment.  Change
13723         to __USE_MISC unless the function is defined in POSIX.1 (in this
13724         case also test for __USE_POSIX).
13725         * dirent/dirent.h: Likewise.
13726         * grp/grp.h: Likewise.
13727         * inet/aliases.h: Likewise.
13728         * libio/libio.h: Likewise.
13729         * libio/stdio.h: Likewise.
13730         * login/utmp.h: Likewise.
13731         * math/mathcalls.h: Likewise.
13732         * misc/mntent.h: Likewise.
13733         * pwd/pwd.h: Likewise.
13734         * resolv/netdb.h: Likewise.
13735         * stdlib/stdlib.h: Likewise.
13736         * string/string.h: Likewise.
13737         * sunrpc/rpc/netdb.h: Likewise.
13738         * sysdeps/generic/crypt.h: Likewise.
13739         * sysdeps/unix/sysv/linux/errnos.h: Likewise.
13740         * time/time.h: Likewise.
13741
13742 1997-01-30 00:27  Fila Kolodny  <fila@ibi.com>
13743
13744         * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
13745         only if not cross compiling.
13746
13747 1997-01-29 16:16  Fila Kolodny  <fila@ibi.com>
13748
13749         * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
13750         NULL.
13751         * sysdeps/posix/sigwait.c: Likewise.
13752
13753 1997-01-28 23:42  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13754
13755         * Makeconfig ($(common-objpfx)config.make): Depend on
13756         $(..)config.make.in.
13757
13758 1997-01-29 04:30  Ulrich Drepper  <drepper@cygnus.com>
13759
13760         * sunrpc/Makefile: Don't generate headers derived from .x files when
13761         crosscompiling.
13762
13763 1997-01-28 10:51  Richard Henderson  <rth@tamu.edu>
13764
13765         * Makefile: Generate gnu/lib-names.h in before-compile.
13766         * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
13767         * nss/nssswitch.c (__nss_shlib_revision): New variable.  Initialize
13768         to the revision found for LIBNSS_FILES_SO.
13769         (nss_initilized): Removed.  It was tested but never set.
13770         (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
13771
13772         * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
13773         not just libc.  Except instead of ld.so.1.1 use ld-linux.so.2.
13774
13775         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
13776
13777 1997-01-28 12:16  Andreas Jaeger  <aj@arthur.pfalz.de>
13778
13779         * elf/Makefile (CFLAGS-dl-load.c): Use += to not
13780         override the definition.
13781
13782 1997-01-28 20:13  Fila Kolodny  <fila@ibi.com>
13783
13784         * config.make.in (malloc): Remove.
13785
13786 1997-01-28 04:23  Ulrich Drepper  <drepper@cygnus.com>
13787
13788         * version.h (VERSION): Bump to 2.0.1.
13789
13790         * posix/getopt.c: Handle another problem introduced by the
13791         nonoption_flags array.  We must be able to work with reordered
13792         argv arrays.  Reported by Andreas Schwab.
13793
13794 1997-01-28 02:38  Ulrich Drepper  <drepper@cygnus.com>
13795
13796         * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
13797         stack.
13798
13799 1997-01-27 17:34  Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
13800
13801         * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
13802         that it works with yp.h.
13803
13804 1997-01-27 13:28  Ulrich Drepper  <drepper@cygnus.com>
13805
13806         * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
13807         __libc_malloc_initialized so that this variable is not shared with
13808         other users of GNU malloc.
13809         Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
13810
13811         * mcheck.h: Correct typo.  Use malloc/ instead of new-malloc/.
13812
13813         * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
13814         variables to prevent warnings.
13815         * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
13816         using attribute regparm.
13817         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
13818         is changed by the resolver code.
13819
13820 1997-01-14 14:20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13821
13822         * malloc/malloc.c (weak_variable): Define.
13823         (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
13824         __memalign_hook): Make them weak definitions.
13825
13826 1997-01-26 11:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13827
13828         * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
13829         limits, correctly take structure padding into account, use correct
13830         offset when resetting the stream, change heuristic to assume an
13831         average name length of 14 characters.
13832
13833 1997-01-25 18:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
13834
13835         * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
13836         inclusion.
13837
13838
13839 See ChangeLog.6 for earlier changes.