]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
1b9fa7de1ada26f446add6ea3c401e672a79099d
[thirdparty/glibc.git] / ChangeLog
1 1997-10-31 23:16 Ulrich Drepper <drepper@cygnus.com>
2
3 * posix/glob.c (glob): If calling glob_in_dir for a list which was
4 generated by a glob call disable GLOB_ERR since there might be
5 non-directories in the list (PR203).
6
7 * posix/glob.h (GLOB_ONLYDIR): New flag.
8 (__GLOB_FLAGS): Add GLOB_ONLYDIR.
9 * posix/glob.c: Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined.
10 (glob): Add GLOB_ONLYDIR to recursive call to match dirname.
11 (glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test
12 whether they are directories if GLOB_ONLYDIR flag is given.
13 * manual/pattern.texi: Document GLOB_ONLYDIR.
14
15 * misc/Makefile (tests): Add tst-fdset.
16
17 * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner.
18
19 * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c.
20 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
21
22 * time/strptime.c (strptime_internal): In %y format, regard years
23 >= 69 as of twentieth century, all other as of twenty-first.
24
25 * time/tzset.c: Correct typo and little optimization.
26
27 1997-10-31 16:01 Ulrich Drepper <drepper@cygnus.com>
28
29 * inet/getnetgrent.c: Allocate buffer dynamically if needed.
30 Suggested by Joe Keane <jgk@jgk.org>.
31
32 1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
33
34 * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when
35 __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true.
36
37 1997-10-30 05:47 Ulrich Drepper <drepper@cygnus.com>
38
39 * misc/mntent.c: Don't use statically allocated buffer. Allocate
40 it dynamically if necessary.
41 * misc/efgcvt.c: Likewise.
42 Patch by Joe Keane <jgk@jgk.org>.
43
44 * misc/mntent.c: Allow freeing of allocated buffer in
45 __libc_subfreeres.
46 * misc/efgcvt.c: Likewise.
47
48 * misc/efgcvt.c: Call correct reentrant functions.
49 Use better values for MAXDIG.
50 * misc/qefgcvt.c: Use better values for MAXDIG.
51
52 1997-10-29 18:48 Richard Henderson <rth@cygnus.com>
53
54 * sysdeps/unix/sysv/linux/Makefile [io]: Add xstatconv.
55 * sysdeps/unix/sysv/linux/alpha/xstatconv.c: New file. Convert
56 between kernel_stat and the userland version indicated.
57 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STAT_VER_KERNEL.
59
60 * sysdeps/unix/sysv/linux/fxstat.c: Defer to __xstat_conv. Alias
61 to __*xstat64 if requested.
62 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
63 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
64
65 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Add struct stat64.
66 Increment _STAT_VER, and make struct stat the same.
67 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Add __ino64_t, and
68 __off64_t. Reorganize.
69 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Add struct glibc2_stat
70 for backward compatibility. Define XSTAT_IS_XSTAT64.
71
72 * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file.
73 * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise.
74 * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise.
75
76 * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For
77 consistency, force d_ino to use ino_t and supply padding.
78
79 1997-10-29 18:47 Richard Henderson <rth@cygnus.com>
80
81 * libio/iofopen.c: Correct weak_alias.
82
83 1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
84
85 * Makerules (install): Correct last patch.
86
87 1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
88
89 * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299).
90
91 1997-10-29 21:20 Ulrich Drepper <drepper@cygnus.com>
92
93 * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write
94 pointers are tied set mode according to current stream mode.
95
96 * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
97 199506L.
98 Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined.
99 * manual/creature.texi: Describe this.
100
101 * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto,
102 recv, recvfrom, and recvmsg as cancelation points.
103 * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these
104 functions.
105
106 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
107
108 * Make-dist (try-sysdeps): Don't look for stub files anymore.
109
110 * manual/maint.texi (Porting): Remove another reference to stub
111 directory.
112
113 * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from
114 generic subdir.
115 * sysdeps/unix/sysv/irix4/reboot.c: Likewise.
116 * sysdeps/unix/sysv/irix4/swapon.c: Likewise
117
118 1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com>
119
120 * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
121 in all error cases (PR 244).
122
123 1997-10-29 00:56 Ulrich Drepper <drepper@cygnus.com>
124
125 * posix/glob.c: Fix handling of expressions like "*/" (PR 325).
126 Optimize by using mempcpy.
127
128 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
129
130 * po/Makefile ($(mo-installed)): Don't fail during installation if
131 files don't exist (might happen if msgfmt doesn't exist) (PR 328).
132 Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
133
134 1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
135
136 * sysdeps/generic/bits/errno.h (ENOMSG): Define it.
137 Pointed out by Klaus Espenlaub
138 <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259).
139
140 1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com>
141
142 * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
143 zero isn't enough to determine illegal arguments.
144 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
145 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
146
147 1997-10-28 17:14 Ulrich Drepper <drepper@cygnus.com>
148
149 * manual/filesys.texi (S_ISVTX): Describe that it is available with
150 _BSD_SOURCE only.
151 Reported by Jochen Hein <jochen.hein@delphi.central.de>.
152
153 1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com>
154
155 * time/tzfile.c (__tzfile_compute): Use negated value of offset for
156 timezone variable.
157 * time/tzset.c (tz_compute): Likewise.
158 Reported by Erik Troan <ewt@redhat.com>.
159
160 1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com>
161
162 * manual/filesys.texi: Correct prototype in readdir_r description.
163 Reported by Jim Meyering <meyering@eng.ascend.com>.
164
165 1997-10-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
166
167 * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299).
168
169 1997-10-26 19:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
170
171 * stdlib/l64a.c: Produce a useful result for n < 0.
172 * stdlib/a64l.c: Use unsigned type for working variable.
173 * manual/string.texi (general): Grammar, typo, overfull fixes.
174 (strlen): Insert warning about sizeof(char *).
175 (a64l, l64a): Make documentation agree with implementation.
176
177 1997-10-26 18:12 Ulrich Drepper <drepper@cygnus.com>
178
179 * libio/genops.c: Partial undo of last patch.
180 * libio/stdfiles.c: Likewise.
181 * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus.
182 * libio/iopopen.c: Likewise.
183 * libio/iovdprintf.c: Likewise.
184 * libio/libio.h: Remove duplicated `;'.
185 * libio/stdio.c: Remove misleading comment.
186 * libio/stdio.h: Declare standard streams as variables.
187
188 * login/Makefile (distribute): Add README.utmpd.
189 * login/README.utmpd: New file.
190 Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
191
192 * manual/job.texi: Document tcgetsid.
193 * manual/pattern.texi: Document globfree.
194 * manual/terminal.texi: Document B38400 ... B460800.
195
196 * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS.
197
198 * posix/unistd.h: Add explanation of _POSIX_* constants.
199
200 * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite
201 and __pwrite64.
202 * sysdeps/generic/pread.c: Define as __pread and make pread weak alias.
203 * sysdeps/generic/pread64.c: Likewise.
204 * sysdeps/generic/pwrite.c: Likewise.
205 * sysdeps/generic/pwrite64.c: Likewise.
206 * sysdeps/posix/pread.c: Likewise.
207 * sysdeps/posix/pwrite.c: Likewise.
208 * sysdeps/posix/pread64.c: New file.
209 * sysdeps/posix/pwrite64.c: Likewise.
210 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines):
211 Add s_pread64 and s_pwrite64.
212 * sysdeps/unix/sysv/linux/pread.c: New file.
213 * sysdeps/unix/sysv/linux/pread64.c: New file.
214 * sysdeps/unix/sysv/linux/pwrite.c: New file.
215 * sysdeps/unix/sysv/linux/pwrite64.c: New file.
216 * sysdeps/unix/sysv/linux/s_pread64.c: New file.
217 * sysdeps/unix/sysv/linux/s_pwrite64.c: New file.
218 * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite.
219 * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file.
220 * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file.
221 * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file.
222 * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file.
223 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite
224 with weak aliases for *64 functions.
225 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
226
227 * string/bits/string2.h: Add casts to allow void * arguments.
228
229 * sysdeps/i386/i486/bits/string.h: Define index and rindex only if
230 __USE_BSD or __USE_XOPEN_EXTENDED.
231
232 * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other
233 SCM_* constants from kernel header.
234
235 * termios/termios.h: Add prototype for tcgetsid.
236
237 1997-10-26 13:26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
238
239 * sunrpc/clnt_perr.c: Add trailing '\0' to strings.
240
241 * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes.
242
243 * sunrpc/pmap_clnt.c: Use get_myaddress from header file.
244
245 1997-10-26 05:26 Ulrich Drepper <drepper@cygnus.com>
246
247 * configure.in: Punt if any directory mentioned in the
248 enable-add-on parameter does not exist.
249
250 1997-10-25 19:25 Ulrich Drepper <drepper@cygnus.com>
251
252 * termios/Makefile (routines): Add tcgetsid.
253 * termios/tcgetsid.c: New file.
254 Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
255
256 1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com>
257
258 * stdlib/stdlib.h: Remove mblen optimization.
259 * stdlib/mblen.c: Rewrite to make sure global state is not changed.
260 Reported by anderson@metrolink.com.
261
262 1997-10-19 21:51 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
263
264 * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get}
265 interface for thread-specific data.
266
267 1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com>
268
269 * elf/dl-addr.c: Use braces for correct logical grouping.
270 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
271
272 1997-10-18 09:15 Geoff Keating <geoffk@ozemail.com.au>
273
274 * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more
275 convenient; that caused this test to break.
276
277 * sysdeps/powerpc/dl-machine.h: Fix typo.
278
279 * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers
280 when -msoft-float is in effect, because this causes compilation to
281 stop.
282 * sysdeps/powerpc/bits/mathinlines.h: Likewise.
283
284 * rpm/template: Add description, use RPM flags rather than the ones
285 used to build the spec. Build in a temporary directory, not /.
286
287 * elf/dl-lookup.c: Don't include _itoa.h, it's not used.
288 * elf/dl-minimal.c: Use _itoa_word rather than _itoa. It seems that
289 _itoa is the only routine that ld.so uses that requires something
290 from libgcc.a on powerpc, so it would be best to avoid it in ld.so.
291 * elf/rtld.c: Likewise.
292 * sysdeps/generic/_strerror.c: Likewise.
293 * stdio-common/_itoa.c: Split out digits strings.
294 * stdio-common/itoa-digits.c: New file.
295 * stdio-common/Makefile: Add itoa-digits.
296
297 1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
298
299 * manual/filesys.texi (Scanning Directory Content): Document error
300 case more.
301
302 * dirent/scandir.c (scandir): Ignore errors from select function.
303 Suggested by urbanw@cs.umu.se (closes PR libc/316).
304
305 1997-10-25 06:18 Ulrich Drepper <drepper@cygnus.com>
306
307 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections.
308 Patch by Erik Troan <ewt@redhat.com>.
309
310 1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com>
311
312 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
313 matching of version function if both the general (1) and
314 glibc-specific (3) entry are present.
315
316 1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
317
318 * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
319
320 * nis/libnsl.map: Fix typo.
321
322 * nis/nis_call.c: Fix memory leak.
323
324 1997-10-22 19:29 Ulrich Drepper <drepper@cygnus.com>
325
326 * sysdeps/generic/memcmp.c: Define __P if not defined before.
327 Patch by Jim Meyering <meyering@eng.ascend.com>.
328
329 1997-10-21 22:09 Ulrich Drepper <drepper@cygnus.com>
330
331 * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch
332 <rgooch@atnf.csiro.au>.
333
334 1997-10-21 21:50 Ulrich Drepper <drepper@cygnus.com>
335
336 * misc/syslog.c (vsyslog): Open console with O_NOCTTY.
337 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
338
339 1997-10-21 18:07 Ulrich Drepper <drepper@cygnus.com>
340
341 * posix/wordexp.c: Improve handling of $... expressions.
342 Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
343
344 1997-10-21 16:12 Ulrich Drepper <drepper@cygnus.com>
345
346 * manual/string.texi: Correct return values of bcopy and bzero.
347 Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>.
348
349 1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com>
350
351 * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
352 elements in struct msghdr and struct cmsghdr, to keep in step with
353 the kernel.
354
355 1997-10-17 22:29 Ulrich Drepper <drepper@cygnus.com>
356
357 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another
358 bug in startup code.
359 Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
360
361 1997-10-16 20:17 Richard Henderson <rth@cygnus.com>
362
363 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the
364 stack and give the kernel a pointer. Use the sysdep.h macros.
365
366 1997-10-17 04:07 Ulrich Drepper <drepper@cygnus.com>
367
368 * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly.
369 Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
370
371 1997-10-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
372
373 * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo.
374
375 1997-10-16 14:50 Ulrich Drepper <drepper@cygnus.com>
376
377 * manual/pattern.texi: Document globfree.
378
379 1997-10-15 21:11 Philip Blundell <Philip.Blundell@pobox.com>
380
381 * sysdeps/unix/sysv/linux/net/if_packet.h: New file.
382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
383 net/if_packet.h.
384
385 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for
386 64Mbps ASH.
387 (ARPHRD_ETHER): This is used for 100Mbps networks too.
388
389 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
390
391 * Makerules (install): Use full pathnames for linker script.
392 This is to work around a limitation in `ld' while no better solution
393 is possible.
394
395 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
396
397 * malloc/malloc.c (mmap_chunk): Put inline before static in
398 function definition to avoid compiler warning.
399 (malloc_extend): Likewise.
400
401 * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning.
402
403 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
404
405 * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org.
406 * README.template: Likewise.
407 * db/makedb.c: Likewise.
408 * elf/ldd.bash.in: Likewise.
409 * elf/ldd.sh.in: Likewise.
410 * intl/locale.alias: Likewise.
411 * login/programs/utmpd.c: Likewise.
412 * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list.
413
414 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
415
416 * Rules: Remove all empty.* files.
417 (shared-only-routines): Correct implementation.
418
419 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
420
421 * sysdeps/libm-ieee754/s_lrintl.c: Make compilable.
422 * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized.
423
424 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
425
426 * elf/ldd.bash.in: Only prepend ./ if the file contains no slash
427 at all.
428 * elf/ldd.sh.in: Likewise.
429
430 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
431
432 * sysdeps/m68k/sys/ucontext.h: New file.
433
434 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
435
436 * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file.
437 * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file.
438 * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file.
439
440 * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias.
441 * sysdeps/m68k/fpu/s_scalbnf.c: Adapted.
442 * sysdeps/m68k/fpu/s_scalbnl.c: Adapted.
443
444 * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff.
445 * sysdeps/m68k/fpu/s_lrintf.c: New file.
446 * sysdeps/m68k/fpu/s_lrintl.c: New file.
447
448 * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update
449 lrint and scalbn.
450 (__m81_inline) [__cplusplus]: Define to __inline.
451
452 * math/bits/mathcalls.h: Remove whitespace before second argument
453 of __MATHDECL. Add note explaining this.
454
455 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
456
457 * manual/arith.texi (Absolute Value): Spelling fix.
458
459 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
460
461 * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly
462 parenthesize the macro parameter.
463
464 1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com>
465
466 * Rules: Remove rules to magically install <subdir>.h headers.
467 Reported by Mark Kettenis <kettenis@phys.uva.nl>.
468
469 * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
470 * version.c: Likewise.
471 * catgets/gencat.c: Likewise.
472 * db2/makedb.c: Likewise.
473 * locale/programs/locale.c: Likewise.
474 * locale/programs/localedef.c: Likewise.
475
476 * libc.map: Move _IO_list_all back to GLIBC_2.0.
477
478 * elf/rtld.c: Provide name of running program to _dl_new_object.
479
480 * Rules: Implement shared-only-sources.
481 * include/libc-symbols.h: Define default_symbol_version.
482 * libio/Makefile (shared-only-sources): Define.
483 * libio/freopen.c: Define as default version.
484 * libio/iofopen.c: Likewise.
485 * libio/genops.c: Define _IO_list_all here.
486 * libio/stdfiles.c: Create linked list with public names.
487 * libio/oldstdfiles.c: Likewise.
488
489 * stdio-common/printf.c: Optimize.
490 * stdio-common/scanf.c: Optimize.
491
492 * sysdeps/generic/setfpucw.c: Include #include <...> not "...".
493
494 * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
495 rindex.
496
497 1997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
498
499 * manual/arith.texi: Spelling fixes.
500 * manual/conf.texi: Likewise.
501 * manual/creature.texi: Likewise.
502 * manual/filesys.texi: Likewise.
503 * manual/intro.texi: Likewise.
504 * manual/llio.texi: Likewise.
505 * manual/math.texi: Likewise.
506 * manual/message.texi: Likewise.
507 * manual/pattern.texi: Likewise.
508 * manual/search.texi: Likewise.
509 * manual/signal.texi: Likewise.
510 * manual/socket.texi: Likewise.
511 * manual/startup.texi: Likewise.
512 * manual/stdio.texi: Likewise.
513 * manual/string.texi: Likewise.
514 * manual/time.texi: Likewise.
515 * manual/users.texi: Likewise.
516
517 1997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com>
518
519 * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
520 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
521 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
522 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
523 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
524 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
525 * sysdeps/mach/hurd/mmap.c: Likewise.
526 * sysdeps/generic/mmap.c: Likewise.
527 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
528 * sysdeps/mach/munmap.c: Likewise.
529 * sysdeps/generic/munmap.c: Likewise.
530 * sysdeps/mach/mprotect.c: Likewise.
531 * sysdeps/generic/mprotect.c: Likewise.
532 * sysdeps/generic/msync.c: Likewise.
533 * sysdeps/generic/madvise.c: Likewise.
534
535 * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
536 subdir.
537
538 1997-10-12 20:27 Zack Weinberg <zack@rabi.phys.columbia.edu>
539
540 * sysdeps/stub (all files): Moved to sysdeps/generic.
541 * all files using stub_warning: Include <stub-tag.h>.
542 * include/stub-tag.h: New file, marks stubs in .d files.
543 * Makerules: Look for stub-tag.h, not sysdeps/stub, when building
544 <gnu/stubs.h>.
545 * configure.in: Don't add sysdeps/stub to $sysnames.
546 * sysdeps/unix/Makefile: Look for generic headers, not stub
547 headers.
548 * sysdeps/generic/Makefile: Likewise.
549 * manual/maint.texi: Delete references to sysdeps/stub.
550 * INSTALL: Rebuilt.
551 * configure: Rebuilt.
552
553 1997-10-13 03:14 Ulrich Drepper <drepper@cygnus.com>
554
555 * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
556 _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version.
557 * include/libc-symbol.h: Define define_symbol.
558 * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and
559 oldfreopen.
560 [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles.
561 * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field.
562 * libio/freopen.c: Use versioning.
563 * libio/iofopen.c: Likewise. Generate object of type
564 _IO_FILE_complete.
565 * libio/iofopen64.c: Generate object of type _IO_FILE_complete.
566 * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen.
567 Define _IO_old_freopen.
568 * libio/libio.h: Remove _offset field from _IO_FILE. Rename _unused2
569 field to _old_offset. Declare _IO_std*_ streams as of type
570 _IO_FILE_complete.
571 * libio/libioP.h: Define _IO_FILE_complete.
572 Declare callbacks for old fileops implementation.
573 * libio/stdfile.c: Define standard stream of type _IO_FILE_complete.
574 * libio/stdio.c: Correctly address FILE part of standard streams.
575 * libio/oldfileops.c: New file.
576 * libio/oldfreopen.c: New file.
577 * libio/oldiofopen.c: New file.
578 * libio/oldstdfiles.c: New file.
579
580 * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization.
581
582 * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section.
583 * sysdeps/libm-i387/e_scalbl.S: Likewise.
584 * sysdeps/libm-i387/s_fma.S: Fix typo.
585 * sysdeps/libm-i387/s_fmaf.S: Likewise.
586 * sysdeps/libm-i387/s_fmal.S: Likewise.
587
588 1997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu>
589
590 * sysdeps/stub/getsid.c: Add a stub_warning.
591 * sysdeps/stub/mmap.c: Likewise.
592 * sysdeps/stub/munmap.c: Likewise.
593
594 1997-10-12 05:09 Ulrich Drepper <drepper@cygnus.com>
595
596 * libio/Makefile (routines): Remove iofprintf.
597 * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
598 * libio/filedoalloc.c: Use _G_stat64 instead of stat.
599 * libio/fileops.c (_IO_file_open): Change to take extra argument
600 indicating whether 32 or 64 bit mode is wanted.
601 * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
602 * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
603 * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
604 * libio/iofgetpos.c: Pretty print.
605 * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
606
607 * manual/conf.texi: Document all the _SC_ and _CS_ constants.
608 * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
609 and _FILE_OFFSET_BITS.
610 * manual/llio.texi: Document truncate and ftruncate.
611 * manual/stdio.texi: Document positional parameters for printf.
612
613 * math/Makefile (headers): Add tgmath.h.
614 (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
615 move to ...
616 (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma.
617 * math/libm-test.c (lround_test, llround_test): Test for all FP formats
618 by using FUNC().
619 * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
620 nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
621 llrintl, lroundf, lroundl, llroundf, and llroundl.
622 * math/math.h: Document new platform specific macros from mathdef.h.
623 Remove declaration of lrint, llrint, lround, and llround.
624 * math/test-double.c: Define TEST_DOUBLE.
625 * math/test-idouble.c: Likewise.
626 * math/test-float.c: Define TEST_FLOAT.
627 * math/test-ifloat.c: Likewise.
628 * math/tgmath.h: New file.
629 * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
630 lround, and llround.
631 Change second argument of scalbn to `int'.
632 * sysdeps/libm-ieee754/s_fma.c: New file.
633 * sysdeps/libm-ieee754/s_fmaf.c: New file.
634 * sysdeps/libm-ieee754/s_fmal.c: New file.
635 * sysdeps/libm-i387/s_fma.S: New file.
636 * sysdeps/libm-i387/s_fmaf.S: New file.
637 * sysdeps/libm-i387/s_fmal.S: New file.
638 * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
639 * sysdeps/libm-i387/s_lrint.S: Likewise.
640 * sysdeps/libm-i387/s_llrintf.S: New file.
641 * sysdeps/libm-i387/s_llrintl.S: New file.
642 * sysdeps/libm-i387/s_lrintf.S: New file.
643 * sysdeps/libm-i387/s_lrintl.S: New file.
644 * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
645 80bit double.
646 * sysdeps/libm-ieee754/s_lrint.c: Likewise.
647 * sysdeps/libm-ieee754/s_llrintf.c: New file.
648 * sysdeps/libm-ieee754/s_llrintl.c: New file.
649 * sysdeps/libm-ieee754/s_lrintf.c: New file.
650 * sysdeps/libm-ieee754/s_lrintl.c: New file.
651 * sysdeps/libm-i387/s_scalbln.c: New file. Empty file.
652 * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file.
653 * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file.
654 * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
655 * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
656 * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
657 * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
658 80bit double.
659 * sysdeps/libm-ieee754/s_lround.c: Likewise.
660 * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
661 * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
662 * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
663 * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
664 * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
665 * sysdeps/libm-ieee754/s_nextafterx.c: New file.
666 * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
667 * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
668 * sysdeps/libm-ieee754/s_scalbln.c: New file.
669 * sysdeps/libm-ieee754/s_scalblnf.c: New file.
670 * sysdeps/libm-ieee754/s_scalblnl.c: New file.
671 * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
672 * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
673 * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
674
675 * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
676 by #ifdefs since they are duplicated in inttypes.h.
677 * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
678 strtoumax plus needed declarations.
679
680 * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
681
682 1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
683
684 * locale/programs/locfile.c (locfile_read): Correct while loop.
685
686 * db2/makedb.c (main): Add missing parameter for error output.
687 (process_input): Likewise.
688
689 * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
690
691 1997-10-12 05:05 Ulrich Drepper <drepper@cygnus.com>
692
693 * libc-map: Add __bzero, __mempcpy.
694
695 1997-10-10 18:51 David S. Miller <davem@tanya.rutgers.edu>
696
697 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
698 on kernel_termios.h
699
700 1997-10-09 10:24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
701
702 Add the changes from the Solaris 2.6 header files, use the new public
703 defines/functions.
704 * nis/nis_addmember.c: Updated.
705 * nis/nis_checkpoint.c: Updated.
706 * nis/nis_creategroup.c: updated.
707 * nis/nis_destroygroup.c: Updated.
708 * nis/nis_getservlist.c: Updated.
709 * nis/nis_ismember.c: Updated.
710 * nis/nis_lookup.c: Updated.
711 * nis/nis_modify.c: Updated.
712 * nis/nis_ping.c: Updated.
713 * nis/nis_print.c: Updated.
714 * nis/nis_print_group_entry.c: Updated.
715 * nis/nis_remove.c: Updated.
716 * nis/nis_removemember.c: Updated.
717 * nis/nis_xdr.c: Updated.
718 * nis/nss_nisplus/nisplus-alias.c: Updated.
719 * nis/nss_nisplus/nisplus-ethers.c: Updated.
720 * nis/nss_nisplus/nisplus-hosts.c: Updated.
721 * nis/nss_nisplus/nisplus-network.c: Updated.
722 * nis/nss_nisplus/nisplus-parser.c: Updated.
723 * nis/nss_nisplus/nisplus-proto.c: Updated.
724 * nis/nss_nisplus/nisplus-rpc.c: Updated.
725 * nis/nss_nisplus/nisplus-service.c: Updated.
726 * nis/rpcsvc/nis.h: Updated.
727 * nis/rpcsvc/nis.x: Updated.
728 * nis/rpcsvc/nis_object.x: Updated.
729 * nis/rpcsvc/nis_tags.h: Updated.
730 * nis/rpcsvc/nislib.h: Updated.
731
732 * nis/lckcache.c: Removed, since Sun has dropped the directory
733 signatures. The old cache version is now a security risk and not
734 longer supported by Sun.
735 * nis/nis_cache.c: Likewise.
736 * nis/rpcsvc/nis_cache.h: Likewise.
737 * nis/rpcsvc/nis_cache.x: Likewise.
738
739 * nis/nis_call.c: Remove calls to the cache functions.
740
741 * nis/libnsl.map: Remove cache and depending functions.
742 * nis/nis_intern.h: Likewise.
743
744 * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
745 * nis/nis_domain_of.c: Likewise.
746 * nis/nis_domain_of_r.c: Likewise.
747 * nis/nis_error.c: Likewise.
748 * nis/nis_file.c: Likewise.
749 * nis/nis_local_names.c: Likewise.
750 * nis/nis_mkdir.c: Likewise.
751 * nis/nis_rmdir.c: Likewise.
752 * nis/nis_subr.c: Likewise.
753 * nis/nis_verifygroup.c: Likewise.
754
755 * nis/nis_clone.c: Removed, replaced by ...
756 * nis/nis_clone_dir.c: New.
757 * nis/nis_clone_obj.c: New.
758 * nis/nis_clone_res.c: New.
759 * nis/nis_table.c: Fixed bugs shown through the new clone functions.
760
761 * nis/nis_defaults.c: Fixed a lot of race conditions.
762
763 * nis/nis_free.c: Rewritten.
764
765 * sunrpc/auth_des.c: Fix use of free'ed pointer.
766
767 * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
768 lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
769
770 1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
771
772 * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
773
774 1997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
775
776 * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
777 be empty.
778
779 1997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com>
780
781 * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
782 * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
783 struct and not a pointer. Little optimizations.
784
785 1997-10-09 05:00 Ulrich Drepper <drepper@cygnus.com>
786
787 * sysdeps/stub/getenv.c: Remove unused file.
788 * sysdeps/stub/lxstat.c: Likewise.
789 * sysdeps/stub/morecore.c: Likewise.
790 * sysdeps/stub/putenv.c: Likewise.
791 * sysdeps/stub/sbrk.c: Likewise.
792 * sysdeps/stub/setenv.c: Likewise.
793 * sysdeps/stub/sysd-stdio.c: Likewise.
794 * sysdeps/stub/sysdep.h: Likewise.
795 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
796
797 1997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com>
798
799 * configure.in: Add __bzero definition to DWARF2 unwind test.
800 Reported by David S. Miller <davem@caip.rutgers.edu>.
801
802 1997-10-07 Paul Eggert <eggert@twinsun.com>
803
804 * intl/loadmsgcat.c (_nl_load_domain):
805 Fix &&/|| typo when checking file size.
806 Check for overflow when stuffing off_t into size_t.
807
808 1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com>
809
810 * time/africa: Update from tzdata1997i.
811
812 1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
813
814 * posix/globtest.sh: Add arguments for name of dynamic linker and
815 call dynamic linker to execute globtest.
816
817 * posix/Makefile (tests): Supply arguments to globtest.sh.
818
819 1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
820
821 * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
822
823 1997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
824
825 * libc.map: Add mempcpy, prctl.
826
827 1997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
828
829 * sysdeps/generic/memcmp.c: Avoid warnings.
830 * sysdeps/generic/memset.c: Likewise.
831 * sysdeps/generic/strchr.c: Likewise.
832 * sysdeps/generic/strlen.c: Likewise.
833
834 1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
835
836 * malloc/Makefile ($(objpfx)mtrace): Fix typo.
837
838 1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
839
840 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
841 The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
842 the addend, Richard.
843 (elf_machine_fixup_plt): Don't add the addend.
844 (elf_machine_plt_value): New function.
845
846 * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
847 function.
848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
849 function.
850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
851 function.
852 * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
853 function.
854 * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
855 function.
856
857 * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
858 addend, instead let the machine dependent setup decide.
859
860 1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
861
862 * sysdeps/m68k/m68020/bits/string.h: New file.
863
864 1997-10-07 04:27 Richard Henderson <rth@cygnus.com>
865
866 * Makeconfig (+includes): Add -I$(objpfx).
867
868 * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
869
870 * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp. Make
871 the former a strong symbol and the later a weak alias.
872 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
874
875 1997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu>
876
877 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
878 64-bits.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
880 member 64-bits as well, to match the kernel.
881
882 1997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com>
883
884 * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
885 Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
886
887 1997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
888
889 * time/README: Correct list of files from tzcode package. Add
890 contact information for tzcode/tzdata maintainers. Correct
891 spelling of author's name. Compact lists.
892
893 1997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com>
894
895 * malloc/malloc.h: Remove hook definition without caller argument.
896 * malloc/malloc.c: Likewise.
897
898 * string/tester.c: Correct strsep test.
899
900 * string/bits/string2.h: Define __string2_1bptr_p and use it.
901 Patch by David S. Miller <davem@tanya.rutgers.edu>.
902
903 * math/Makefile (routines): Add s_clog10.
904 * math/libm-test.c: Add test for clog10.
905 * math/libm.map: Add clog10{,f,l}.
906 * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
907 * sysdeps/libm-ieee754/s_clog10.c: New file.
908 * sysdeps/libm-ieee754/s_clog10f.c: New file.
909 * sysdeps/libm-ieee754/s_clog10l.c: New file.
910 * manual/math.texi: Describe clog10.
911
912 * config.h.in: Add USE_REGPARMS and define internal_function based on
913 this.
914 * configure.in: Define USE_REGPARMS for ix86 machines.
915 * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
916 as internal functions.
917 * inet/getnameinfo.c: Likewise for nrl_domainname.
918 * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
919 * inet/rcmd.c: Likewise for __icheckhost.
920 * intl/dcgettext.c: Likewise for category_to_name and
921 guess_category_value.
922 * intl/localealias.c: Likewise for read_alias_file.
923 * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
924 fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
925 * libio/genops.c: Likewise for save_for_backup.
926 * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
927 main_trim, heap_trim): Likewise.
928 * malloc/mtrace.c (tr_where): Likewise.
929 * misc/fstab.c (mnt2fs): Likewise.
930 * misc/getttyent.c (skip, value): Likewise.
931 * misc/syslog.c (openlog_internal): Likewise.
932 * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
933 * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
934 nss_parse_service_list, nss_new_service): Likewise.
935 * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
936 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
937 * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
938 * resolv/res_init.c (res_setoptions): Likewise.
939 * stdio-common/printf_fp.c (group_number): Likewise.
940 * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
941 * stdlib/fmtmsg.c (internal_addseverity): Likewise.
942 * sunrpc/auth_des.c (synchronize): Likewise.
943 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
944 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
945 * sunrpc/key_call.c (key_call): Likewise.
946 * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
947 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
948 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
949 Likewise.
950 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
951 set_input_fragment, get_input_bytes): Likewise.
952 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
953 phys_pages_info): Likewise.
954 * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
955 * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
956 * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
957 Likewise.
958 * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
959 Likewise.
960 * time/strptime.c (strptime_internal): Likewise.
961 * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
962 * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
963
964 * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
965
966 * ctype/ctype.h: Pretty print.
967 * grp/grp.h: Likewise.
968 * include/libc-symbols.h: Likewise.
969 * include/limits.h: Likewise.
970 * include/values.h: Likewise.
971 * io/fcntl.h: Likewise.
972 * io/sys/stat.h: Likewise.
973 * libio/stdio.h: Likewise.
974 * malloc/malloc.h: Likewise.
975 * misc/err.h: Likewise.
976 * misc/regexp.h: Likewise.
977 * misc/sys/cdefs.h: Likewise.
978 * misc/sys/file.h: Likewise.
979 * posix/sys/utsname.h: Likewise.
980 * posix/sys/wait.h: Likewise.
981 * pwd/pwd.h: Likewise.
982 * resolv/netdb.h: Likewise.
983 * signal/signal.h: Likewise.
984 * stdlib/stdlib.h: Likewise.
985 * string/endian.h: Likewise.
986 * string/memory.h: Likewise.
987 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
988 * sysdeps/mach/hurd/sys/param.h: Likewise.
989 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
990 * termios/termios.h: Likewise.
991 * wcsmbs/wchar.h: Likewise.
992 * wctype/wctype.h: Likewise.
993
994 * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
995
996 Implement Large File Support API.
997 * include/features.h: Add suuport for _LARGEFILE_SOURCE,
998 _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
999 * libc.map: Add new functions for LFS.
1000 * dirent/Makefile (routines): Add readdir64 and readdir64_r.
1001 * dirent/dirent.h: Update readdir prototype for LFS and add new
1002 prototypes for above functions.
1003 * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
1004 statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
1005 * io/creat64.c: New file.
1006 * io/fstat64.c: New file.
1007 * io/lstat64.c: New file.
1008 * io/stat64.c: New file.
1009 * io/ftw64.c: New file.
1010 * io/ftw.c: Rewrite to allow easy definition of ftw64.
1011 * io/ftw.h: Add LFS interface.
1012 * io/fcntl.h: Likewise.
1013 * io/sys/stat.h: Likewise.
1014 * io/sys/statfs.h: Likewise.
1015 * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
1016 freopen64, fseeko64, and ftello64.
1017 * libcio/fseeko64.c: New file.
1018 * libio/ftello64.c: New file.
1019 * libio/iofgetpos64.c: New file.
1020 * libio/iofopen64.c: New file.
1021 * libio/iofsetpos64.c: New file.
1022 * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
1023 (_IO_file_attach): Likewise.
1024 (_IO_do_write): Likewise.
1025 (_IO_file_sync): Likewise.
1026 (_IO_file_seek): Likewise.
1027 (_IO_file_seekoff): Likewise. Use _G_stat64.
1028 (_IO_file_fopen64): New function.
1029 (_IO_file_jumps): Initialize showmanyc and imbue.
1030 * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
1031 (_IO_default_seekoff): Likewise.
1032 (_IO_default_seek): Likewise.
1033 (_IO_default_showmanyc, _IO_default_imbue): New functions.
1034 * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
1035 * libio/iolibio.h: Add prototypes for LFS functions.
1036 * libio/ioseekoff.c: Change to use _IO_fpos64_t.
1037 * libio/ioseekpos.c: Likewise.
1038 * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
1039 (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
1040 (_IO_seekoff, _IO_seekpos): Change prototype.
1041 * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
1042 to use _IO_off64_t.
1043 Change prototypes for function from the *ops.c files.
1044 * libio/stdio.h: Add LFS interface definition.
1045 * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
1046 * posix/Makefile (routines): Add pread64 and pwrite64.
1047 * posix/confstr.c: Handle _CS_LFS* requests.
1048 * posix/getconf.c: Handle LFS* requests.
1049 * sysdeps/generic/confname.h: Add _CS_LFS* constants.
1050 * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
1051 Define off_t and off64_t appropriately. Change prototypes of
1052 LFS functions.
1053 * posix/sys/types.h: Add LFS types.
1054 * resources/Makefile (routines): Add getrlimit64 and setlimit64.
1055 * resource/sys/resource.h: Change prototypes of LFS functions.
1056 * stdio-common/Makefile (routines): Add tmpfile64.
1057 * stdio-common/tmpfile64.c: New file.
1058 * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
1059 Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
1060 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1061 * sysdeps/generic/bits/resource.h: Add LFS definitions.
1062 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
1063 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1064 * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
1065 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
1066 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1067 * sysdeps/generic/types.h: Define LFS types.
1068 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1069 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1071 * sysdeps/generic/sys/mman.h: Add LFS definitions.
1072 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1073 * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
1074 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1075 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
1076 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1077 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1078 * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
1079 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1080 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1081 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1082 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1083 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1085 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1086 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1087 * sysdeps/posix/open64.c: New file.
1088 * sysdeps/stub/fstatfs64.c: New file.
1089 * sysdeps/stub/fxstat64.c: New file.
1090 * sysdeps/stub/getrlimit64.c: New file.
1091 * sysdeps/stub/lseek64.c: New file.
1092 * sysdeps/stub/lxstat64.c: New file.
1093 * sysdeps/stub/open64.c: New file.
1094 * sysdeps/stub/pread64.c: New file.
1095 * sysdeps/stub/pwrite64.c: New file.
1096 * sysdeps/stub/readdir64.c: New file.
1097 * sysdeps/stub/readdir64_r.c: New file.
1098 * sysdeps/stub/setrlimit64.c: New file.
1099 * sysdeps/stub/statfs64.c: New file.
1100 * sysdeps/stub/xstat64.c: New file.
1101 * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
1102 llseek and lseek64 weak aliases.
1103 * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty.
1104 * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
1105 * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
1106
1107 * sysdeps/posix/tempname.c: Add extra argument to trigger use of
1108 open64.
1109 * sysdeps/stub/tempname.c: Likewise.
1110 * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
1111 argument.
1112 * stdio-common/tmpfile.c: Likewise.
1113 * stdio-common/tmpnam.c: Likewise.
1114 * stdio-common/tmpnam_r.c: Likewise.
1115
1116 * libio/libioP.h: Add definition ofr showmanyc and imbue callbacks.
1117 * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
1118 * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
1119 * libio/iopopen.c (_IO_proc_jumps): Likewise.
1120 * libio/memstream.c (_IO_mem_jumps): Likewise.
1121 * libio/obprintf.c (_IO_obstack_jumps): Likewise.
1122 * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
1123 * libio/strops.c (_IO_str_jumps): Likewise.
1124
1125 * manual/arith.texi: Add a few words why cabs should be used.
1126 * manual/llio.texi: Describe sync, fsync, fdatasync.
1127 Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
1128 * manual/process.texi: Tell about cleanup handlers & system,waitpid,
1129 wait.
1130 * manual/signal.texi: Likewise for pause.
1131 * manual/terminal.texi: Likewise for tcdrain.
1132 * manual/time.texi: Document nanosleep.
1133
1134 * posix/exevp.c: Don't use nested function.
1135
1136 * stdlib/ucontext.h: New file.
1137 * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions.
1138
1139 * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
1140
1141 * sysdeps/i386/setjmp.h: Make `here` label local.
1142
1143 * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
1144
1145 * sysdeps/stub/fstatfs.c: Correct warning.
1146 * sysdeps/stub/fxstat.c: Likewise.
1147 * sysdeps/stub/lxstat.c: Likewise.
1148
1149 * sysdeps/unix/sysv/i386/i686/time.S: New file.
1150
1151 1997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com>
1152
1153 * malloc/obstack.h (obstack_empty_p): New macro.
1154
1155 1997-10-04 17:41 Philip Blundell <Philip.Blundell@pobox.com>
1156
1157 * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
1158
1159 1997-09-30 Zack Weinberg <zack@rabi.phys.columbia.edu>
1160
1161 * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
1162 Document new --with-binutils switch; delete reference to
1163 --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
1164 Add to description of --without-fp: a kernel FPU emulator
1165 is adequate (from FAQ)
1166 * INSTALL: Regenerated.
1167
1168 1997-09-30 17:29 Richard Henderson <rth@cygnus.com>
1169
1170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
1171 _dl_hwcap declaration to ...
1172 (elf_machine_fixup_plt): ... here.
1173
1174 1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
1175
1176 * Makerules: Undo last change.
1177 * csu/Makefile: Define before-compile at the right place.
1178
1179 * aclocal.m4: Remove a.out file created by assembler test.
1180
1181 * set-init.c: Find set-hooks.h using <...>.
1182
1183 Update to db 2.3.10.
1184 * db2/Makefile: Update.
1185 * db2/db.h: Likewise.
1186 * db2/db_185.h: Likewise.
1187 * db2/db_int.h: Likewise.
1188 * db2/btree/bt_close.c: Likewise.
1189 * db2/btree/bt_conv.c: Likewise.
1190 * db2/btree/bt_cursor.c: Likewise.
1191 * db2/btree/bt_put.c: Likewise.
1192 * db2/btree/bt_rec.c: Likewise.
1193 * db2/btree/bt_recno.c: Likewise.
1194 * db2/btree/btree.src: Likewise.
1195 * db2/btree/btree_auto.c: Likewise.
1196 * db2/clib/getlong.c: Likewise.
1197 * db2/db/db.c: Likewise.
1198 * db2/db/db_auto.c: Likewise.
1199 * db2/db/db_conv.c: Likewise.
1200 * db2/db/db_pr.c: Likewise.
1201 * db2/db/db_ret.c: Likewise.
1202 * db2/db/db_thread.c: Likewise.
1203 * db2/hash/hash.c: Likewise.
1204 * db2/hash/hash_auto.c: Likewise.
1205 * db2/hash/hash_conv.c: Likewise.
1206 * db2/hash/hash_dup.c: Likewise.
1207 * db2/hash/hash_func.c: Likewise.
1208 * db2/hash/hash_page.c: Likewise.
1209 * db2/hash/hash_rec.c: Likewise.
1210 * db2/include/btree.h: Likewise.
1211 * db2/include/btree_ext.h: Likewise.
1212 * db2/include/db.h.src: Likewise.
1213 * db2/include/db_185.h.src: Likewise.
1214 * db2/include/db_cxx.h: Likewise.
1215 * db2/include/db_ext.h: Likewise.
1216 * db2/include/db_int.h.src: Likewise.
1217 * db2/include/db_page.h: Likewise.
1218 * db2/include/db_shash.h: Likewise.
1219 * db2/include/lock.h: Likewise.
1220 * db2/include/log.h: Likewise.
1221 * db2/include/log_ext.h: Likewise.
1222 * db2/include/mp.h: Likewise.
1223 * db2/include/shqueue.h: Likewise.
1224 * db2/include/txn.h: Likewise.
1225 * db2/lock/lock.c: Likewise.
1226 * db2/lock/lock_deadlock.c: Likewise.
1227 * db2/log/log.c: Likewise.
1228 * db2/log/log_archive.c: Likewise.
1229 * db2/log/log_auto.c: Likewise.
1230 * db2/log/log_get.c: Likewise.
1231 * db2/log/log_put.c: Likewise.
1232 * db2/log/log_register.c: Likewise.
1233 * db2/mp/mp_bh.c: Likewise.
1234 * db2/mp/mp_fget.c: Likewise.
1235 * db2/mp/mp_fopen.c: Likewise.
1236 * db2/mp/mp_fput.c: Likewise.
1237 * db2/mp/mp_fset.c: Likewise.
1238 * db2/mp/mp_open.c: Likewise.
1239 * db2/mutex/mutex.c: Likewise.
1240 * db2/os/db_os_dir.c: Likewise.
1241 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1242 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1243 * db2/progs/db_dump185/db_dump185.c: Likewise.
1244 * db2/progs/db_load/db_load.c: Likewise.
1245 * db2/progs/db_recover/db_recover.c: Likewise.
1246 * db2/txn/txn.c: Likewise.
1247 * db2/txn/txn_auto.c: Likewise.
1248
1249 * elf/link.h: Define struct libname_list outside struct link_map
1250 to not confuse C++ compilers.
1251
1252 * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
1253 __USE_UNIX98.
1254 * manual/creature.texi: Explain this.
1255
1256 * libc.map: Add new functions.
1257
1258 * libio/Makefile (routines): Add fseeko and ftello.
1259 * libio/ftello.c: New file.
1260 * libio/fseeko.c: New file.
1261 * libio/stdio.h: Add prototypes for new functions.
1262 * manual/stdio.texi: Document fseeko and ftello.
1263
1264 * posix/Makefile (routines): Add pread and pwrite.
1265 * sysdeps/posix/pread.c: New file.
1266 * sysdeps/posix/pwrite.c: New file.
1267 * sysdeps/stub/pread.c: New file.
1268 * sysdeps/stub/pwrite.c: New file.
1269 * posix/unistd.h: Add prototypes for pread and pwrite.
1270 Pretty print header.
1271 Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
1272 Declare ctermid and cuserid if __USE_UNIX98.
1273 (swab): Change to take void * arguments.
1274 * string/swab.c: Change parameter to void *.
1275 * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
1276 already happened.
1277 * manual/llio.texi: Document pread and pwrite.
1278
1279 * string/strings.h: Don't simply include string.h. Define BSD
1280 functions according to Unix98.
1281 * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
1282 * sunrpc/clnt_simp.c: Likewise.
1283
1284 * malloc/Makefile (aux): Add set-freeres.
1285 * malloc/mtrace.c: Define function release_libc_mem which calls the
1286 __libc_subfreeres handler.
1287 (mtrace): Register release_libc_mem.
1288 * malloc/set-freeres.c: New file.
1289
1290 * intl/dcgettext.c: Define free_mem function and add to
1291 __libc_subfreeres list.
1292 * intl/finddomain.c: Likewise.
1293 * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
1294 and mmap_size. Add prototype for _nl_unloaded_domain.
1295 * intl/loadmsgcat.c: Define new function _nl_unload_domain.
1296 (_nl_load_domain): Store informaiton about mmap use and file size.
1297 * intl/localealias.c (read_alias_file): Optimize locale alias file
1298 reading by avoid frequen mallocs.
1299 Define free_mem function and add to __libc_subfreeres list.
1300
1301 * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
1302 undeletable.
1303 Add prototype for _nl_unload_locale.
1304 * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
1305 * locale/C-ctype: Likewise.
1306 * locale/C-messages: Likewise.
1307 * locale/C-monetary: Likewise.
1308 * locale/C-numeric: Likewise.
1309 * locale/C-time: Likewise.
1310 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
1311 MAX_USAGE_COUNT and UNDELETABLE.
1312 (free_mem): New function. Add it to __libc_subfreeres list.
1313 * locale/loadlocale.c: Define _nl_unload_locale function.
1314
1315 * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
1316
1317 * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
1318 correctly
1319 Define free_mem function and add to __libc_subfreeres list.
1320
1321 * locale/programs/localedef.c (options): short form os verbose is v.
1322 Reported by Andreas Jaeger.
1323
1324 * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1325 header is used in some others as well for historical reasons.
1326
1327 * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
1328
1329 * string/bits/string2.h: Add missing braces and optimize strcmp a
1330 bit more.
1331 * sysdeps/i386/i486/bits/string.h: Likewise.
1332
1333 * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
1334 Pretty print.
1335
1336 * sysdeps/mach/hurd/cthreads.c: Add copyright text.
1337
1338 * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
1339
1340 * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
1341
1342 * time/time.h: Pretty print.
1343
1344 1997-09-29 Paul Eggert <eggert@twinsun.com>
1345
1346 * time/strftime.c: Synchronize with GNU Emacs strftime.c.
1347 (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
1348 (gmtime_r, localtime_r): Undef before defining.
1349 (iso_week_days): Use __inline__, not inline.
1350
1351 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1352
1353 * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
1354 __ieee754_exp2{,l,f}.
1355 * sysdeps/m68k/fpu/s_exp2.c: Likewise.
1356 * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
1357 * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
1358
1359 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1360
1361 * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
1362 section read-only, it contains relocations.
1363 * elf/sofini.c (__FRAME_END__): Likewise.
1364
1365 1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
1366
1367 * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
1368 __strpbrk_cg, __strstr_cg): Optimize even more. No spill register
1369 needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1370
1371 1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1372
1373 * nis/nis_call.c (__do_niscall2): Fix return code, add missing
1374 break in switch case.
1375
1376 * nis/nis_mkdir.c: Fix return codes to match Solaris version.
1377 * nis/nis_rmdir.c: Likewise.
1378
1379 * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1380 for C++.
1381
1382 1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
1383
1384 * configure.in: Fix typo.
1385 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1386
1387 1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
1388
1389 * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
1390 * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
1391
1392 1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com>
1393
1394 * Makeconfig (extra-objs): Depend in before-compile.
1395
1396 * configure.in: Locate Perl and substitute with complete path.
1397 * config.make.in: Add PERL for substitution.
1398 * elf/Makefile (routines): Add dl-addr.
1399 * elf/dladdr.c: Move the real code into ...
1400 * elf/dl-addr.c: New file.
1401 * elf/link.h: Add prototype for _dl_addr.
1402
1403 * elf/dladdr.c (dladdr): Change address argument to be const.
1404 * elf/dlfcn.h: Likewise.
1405
1406 * locale/C_name.c: Add _nl_POSIX_name.
1407 * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
1408 * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
1409 (_nl_remove_locale): Free name of data set.
1410 * locale/setlocale.c (clever_copy): Remove.
1411 (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
1412 (setname): Only remove old name when it is for category LC_ALL.
1413
1414 Change malloc, free, realloc, and memalign hooks for glibc to take
1415 another parameter indicating the location of the caller.
1416 * malloc/malloc.c: Change hook functions and variables.
1417 * malloc/malloc.h: Likewise.
1418 * malloc/mcheck.c: Likewise. Make sure later hooked function also
1419 get the original caller address.
1420 * malloc/mtrace.c: Likewise.
1421 (tr_where): If no information in _mtrace_file is given use the
1422 information about the caller.
1423 * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
1424 Add rules to install mtrace.pl after rewriting.
1425 * malloc/mtrace.pl: New file. Based on the old AWK script but
1426 with extended functionality.
1427 * malloc/mtrace.awk: Removed.
1428
1429 * po/fr.po: New version.
1430
1431 * string/Makefile: Do use builtins for tester.c and inl-tester.c.
1432 * string/tester.c: Rewrite. Split in many small functions to not
1433 exceed gcc's limits.
1434
1435 * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1436
1437 1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1438
1439 * string/bits/string2.h (__stpcpy_small): Don't use casts as
1440 lvalues.
1441
1442 1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1443
1444 * manual/time.texi (Formatting Date and Time): Clarify
1445 explanation of strftime flags a bit.
1446 Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
1447
1448 1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu>
1449
1450 * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
1451 Fix typo, it is FLT_MANT_DIG.
1452
1453 1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
1454
1455 * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
1456
1457 1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu>
1458
1459 * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
1460
1461 * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
1462 _IO_MTSAFE_IO is undefined.
1463
1464 1997-09-24 23:27 Richard Henderson <rth@cygnus.com>
1465
1466 * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
1467 lookup the value of the target symbol ourselves and call the new
1468 elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack.
1469 (profile_fixup): Likewise, but don't fix up the plt.
1470 * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
1471 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
1472 (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
1473 * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
1474 (ELF_MACHINE_JMP_SLOT): Renamed.
1475 (elf_machine_fixup_plt): New function.
1476 * sysdeps/m68k/dl-machine.h: Likewise.
1477 * sysdeps/powerpc/dl-machine.h: Likewise.
1478 (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
1479 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1481 * sysdeps/stub/dl-machine.h: Update, sorta.
1482
1483 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
1484 (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
1485 both normal and profile code.
1486 (elf_machine_rela): Handle r_addend for .got and .plt too.
1487
1488 1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
1489
1490 * elf/dl-profile.c: Correct implementation.
1491
1492 * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
1493
1494 * locale/setlocale.c: Rewrite a bit for more clarity.
1495
1496 * math/Makefile (libm-calls): Add w_exp2.
1497 * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
1498 * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
1499 * sysdeps/libm-i387/s_exp2f.S: Likewise.
1500 * sysdeps/libm-i387/s_exp2l.S: Likewise.
1501 * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
1502
1503 * string/bits/string2.h (__strcpy_small): Optimize.
1504 (__stpcpy_small): Likewise.
1505 (strncpy): Use variable for dest argument since it's used more than
1506 once.
1507 (strncat): Likewise.
1508 (strcmp): Add optimization for this function.
1509 * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
1510 (__strcpy_small): Optimize.
1511 (__stpcpy_small): Likewise.
1512 (__stpcpy_c): Correctly use __mempcpy_* macros.
1513 (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
1514 byte following last copied.
1515 (strncat): Use variable for dest argument since it's used more than
1516 once.
1517 (strcmp): Add optimization for this function.
1518
1519 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
1520 .text and .previous to select correct section.
1521
1522 1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
1523
1524 * configure.in: Add `--disable-versioning' option to suppress the
1525 use of symbol versions even if binutils claims to support it.
1526
1527 1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
1528
1529 * csu/Makefile (before-compile): Don't try to build abi-tags.h if
1530 not using ELF.
1531
1532 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1533
1534 * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
1535 the frame unwind info section.
1536
1537 * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
1538 the frame unwind info.
1539
1540 * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
1541
1542 * configure.in: Check whether gcc supports DWARF2 unwind info.
1543
1544 * libc.map: Export frame handling tables.
1545
1546 1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
1547
1548 * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
1549 Use the size of the kernel's termios structure for ioctls.
1550
1551 * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
1552
1553 * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
1554 of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
1555 routines, because gcc has them as internals.
1556
1557 * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
1558 CFLAGS-.os.
1559
1560 * sysdeps/powerpc/bzero.S: New file.
1561 * sysdeps/powerpc/strcat.c: New file.
1562 * sysdeps/powerpc/strcpy.S: New file.
1563 * sysdeps/powerpc/stpcpy.S: New file.
1564
1565 * math/Makefile: Add atest_exp2, test-reduce.
1566 * math/atest_exp2.c: New file.
1567 * math/test-reduce.c: New file.
1568 * sysdeps/libm-ieee754/Dist: New file.
1569 * sysdeps/libm-ieee754/s_exp2.c: New file.
1570 * sysdeps/libm-ieee754/s_exp2f.c: New file.
1571 * sysdeps/libm-ieee754/t_exp2.h: New file.
1572 * sysdeps/libm-ieee754/t_exp2f.h: New file.
1573 * math/libm-test.c (exp2_test): Add some more tests.
1574
1575 * Rules: Use empty.os instead of empty.o, since it gets linked into
1576 libc.so...
1577 * configure.in: Add --disable-static to disable building .a files.
1578 * config.make.in: Substitute the new variable.
1579 * Makeconfig: Don't build .o files if not building .a files.
1580
1581 * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
1582 (profile_fixup): Likewise.
1583
1584 1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1585
1586 * posix/globtest.c (main): Change to directory passed as first
1587 argument.
1588
1589 * posix/globtest.sh: Don't cd before running the program, instead
1590 pass testdir as argument, so that $common_objpfx remains valid.
1591
1592 1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1593
1594 * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
1595
1596 * nis/nis_findserver.c: Save latest working sockaddr_in.
1597
1598 1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
1599
1600 * configure.in: Automatically determine whether as and ld are the
1601 GNU versions.
1602 (options): --with-gnu-{as,ld,binutils} replaced by
1603 single option --with-binutils=PATH specifying a -B option to gcc.
1604 * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
1605 LIBC_PROG_BINUTILS.
1606
1607 * configure.in: Allow the user to force configuration for
1608 unsupported platforms with an undocumented option.
1609
1610 1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1611
1612 * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
1613 return loopback address only if there is no other interface.
1614
1615 * nis/Makefile: Add nis_callback libnsl-routines.
1616
1617 * nis/nis_add.c: Use new __do_niscall* interface.
1618 * nis/nis_cache.c: Likewise.
1619 * nis/nis_checkpoint.c: Likewise.
1620 * nis/nis_lookup.c: Likewise.
1621 * nis/nis_mkdir.c: Likewise.
1622 * nis/nis_modify.c: Likewise.
1623 * nis/nis_ping.c: Likewise.
1624 * nis/nis_remove.c: Likewise.
1625 * nis/nis_rmdir.c: Likewise.
1626 * nis/nis_server.c: Likewise.
1627 * nis/nis_util.c: Likewise.
1628
1629 * nis/rpcsvc/nis.h: Make C++ safe.
1630
1631 * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
1632 of variables.
1633
1634 * nis/nis_findserv.c: Make thread safe.
1635
1636 * nis/nis_call.c: Add support for callback, Fix use of variables.
1637 * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
1638 ALL_RESULTS.
1639 * nis/nis_callback.c: New, callback functions.
1640 * nis/nis_intern.h: Add callback declarations.
1641
1642 1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1643
1644 * string/bits/string2.h: Fix logic in preprocessor directive.
1645 (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
1646 const, to save a cast and a possible warning.
1647
1648 1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
1649
1650 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
1651 memory in xadd not %1.
1652
1653 1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
1654
1655 * manual/maint.texi (Supported Configurations): Add SPARC64 to
1656 list of supported platforms.
1657
1658 1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com>
1659
1660 * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if
1661 _G_HAVE_PRINTF_FP is not defined.
1662 * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a
1663 different solution for the problem.
1664
1665 * misc/search.h [__USE_GNU]: Define comparison_fn_t.
1666 * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
1667 not defined.
1668 Fix typo. Pretty print inline functions.
1669
1670 * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
1671 Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1672
1673 1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com>
1674
1675 * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
1676 HES_DOMAIN environment variable.
1677 Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
1678
1679 * hesiod/README.hesiod: A bit of information about Hesiod and how
1680 to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>.
1681
1682 1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com>
1683
1684 * manual/maint.texi: Update requirement list.
1685
1686 * io/ftw.h: Don't use parameter names from global namespace in
1687 prototypes.
1688
1689 * stdlib/strtol.c: If used outside glibc handle broken systems
1690 which have character classification functions which are not 8-bit
1691 clean gracefully. Patch by Bruno Haible <haible@ilog.fr>.
1692
1693 1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu>
1694
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
1696 a long long int.
1697
1698 1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu>
1699
1700 * posix/Makefile (test-srcs): New, set to globtest.
1701
1702 1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com>
1703
1704 * manual/filesys.texi: Document ftw, nftw and needed data types.
1705
1706 1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu>
1707
1708 * sysdeps/i386/i486/bits/string.h: Fix typo.
1709
1710 1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com>
1711
1712 * io/ftwtest.c (cb): Print level.
1713 * io/ftwtest-sh: Updated for ftwtest.c change.
1714
1715 * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1716 compilers.
1717 Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1718
1719 * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1720 Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1721
1722 1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
1723
1724 * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
1725 additional argument.
1726 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1727 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1728 * sysdeps/stub/init-first.c: Likewise.
1729
1730 1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com>
1731
1732 * manual/search.texi: Document lsearch, lfind, the hsearch and
1733 tsearch functions.
1734
1735 1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com>
1736
1737 * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
1738 if the table is full and we *really* have to enter a new entry.
1739
1740 1997-09-17 19:44 Ulrich Drepper <drepper@cygnus.com>
1741
1742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
1743 of hack for handling flush opcode.
1744 Patch by Richard Henderson <rth@cygnus.com>.
1745
1746 1997-09-16 23:48 Ulrich Drepper <drepper@cygnus.com>
1747
1748 * libio/fileops.c: Define __set_errno if necessary.
1749 * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
1750
1751 1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com>
1752
1753 * string/Makefile (headers): Instead bits/string2.h.
1754 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1755
1756 1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu>
1757
1758 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
1759
1760 1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com>
1761
1762 * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
1763 as of type __fdset *.
1764 * sysdeps/i386/bits/select.h: Likewise.
1765 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1766
1767 1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com>
1768
1769 * hesiod/hesiod.c: Don't use and define cistrcmp. We have
1770 strcasecmp.
1771 (hesiod_init): Use of HES_DOMAIN need not be protected by
1772 __secure_getenv.
1773 (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
1774 stpcpy.
1775
1776 * string/Makefile (noinl-tester-ENV): New variable to make
1777 strerror test pass.
1778 (CFLAGS-noinl-tester): Make sure we test the correct functions.
1779
1780 * sysdeps/stub/atomicity.h: Fix typo.
1781 Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
1782
1783 * manual/string.texi: Document strnlen and mempcpy.
1784 Tell a bit more about the locale dependence of strcasecmp and
1785 strncasecmp.
1786
1787 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
1788 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1789 value type to long int.
1790 * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable
1791 types.
1792 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
1793 Patches by David S. Miller <davem@jenolan.rutgers.edu>.
1794
1795 1997-09-16 02:14 Ulrich Drepper <drepper@cygnus.com>
1796
1797 Implementation of Hesiod NSS module by Mark Kettenis.
1798 * hesiod/Makefile: New file.
1799 * hesiod/hesiod.c: New file.
1800 * hesiod/hesiod.h: New file.
1801 * hesiod/hesiod_p.h: New file.
1802 * hesiod/libnss_hesiod.map: New file.
1803 * hesiod/nss_hesiod/hesiod-grp.c: New file.
1804 * hesiod/nss_hesiod/hesiod-pwd.c: New file.
1805 * hesiod/nss_hesiod/hesiod-service.c: New file.
1806 * sysdeps/unix/inet/Subdirs: Add hesiod.
1807
1808 * shlib-versions: Add version number for libnss_hesiod.
1809
1810 * libio/iolibio.h: Remove definition of _IO_* macros.
1811 * libio/fileops.c: Define close, fstat, lseek, read, and write as
1812 macros to use __ protected versions. Use those functions instead
1813 of _IO_* functions.
1814 * libio/iopopen.c: Define _IO_close to close.
1815
1816 * manual/math.texi: Explain the use of the optimizing inline
1817 functions.
1818 Describe rand_r function and tell about SysV RNGs in introduction.
1819
1820 * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
1821 variable.
1822
1823 * string/Makefile (tests): Add noinl-tester.
1824 * string/noinl-tester.c: New file.
1825 * string/tester.c: Add more stpcpy tests for constant arguments for
1826 all short lengths.
1827
1828 * string/string.h: Always declare __bzero.
1829 Describe __NO_STRING_INLINES.
1830 Always include <bits/string.h>.
1831 * string/bits/string2.h: Add warning about direct use.
1832 Change __strcpy_small and __stpcpy_small implementation to use
1833 macros and provide alternative for platforms which cannot do
1834 unaligned stores.
1835 * sysdeps/i386/bits/string.h: Don't define anything is
1836 __NO_STRING_INLINES is defined.
1837 * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
1838 __stpcpy_small implementation to use macros and provide
1839 alternative for platforms which cannot do unaligned stores.
1840 * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
1841 * sysdeps/generic/bzero.c: Likewise.
1842 * sysdeps/i386/bzero.c: Likewise.
1843 * sysdeps/i386/i586/bzero.S: Likewise.
1844 * sysdeps/vax/bzero.s: Likewise.
1845
1846 * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
1847 * sysdeps/i386/bits/select.h: Likewise.
1848
1849 * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
1850 constraints a bit.
1851 Don't define and test for _BITS_MATHINLINE_H. Emit warning if used
1852 directly and not through math.h.
1853
1854 * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
1855 to char to get better code. Fix typo.
1856 * sysdeps/stub/atomicity.h: Fix typo.
1857
1858 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1859
1860 * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
1861
1862 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1863
1864 * string/bits/string2.h: Add prototypes to avoid warning.
1865
1866 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1867
1868 * string/bits/string2.h (strsep): Fix handling of empty REJECT.
1869 (__strsep_1c): Handle NULL and empty string.
1870 (__strsep_g): Likewise.
1871
1872 1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1873
1874 * catgets/Makefile (extra-objs): Set this instead of generated.
1875
1876 * md5-crypt/Makefile (extra-objs): Add all object file variants of
1877 onlymd5-entry.
1878
1879 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1880
1881 * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
1882 change.
1883
1884 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1885
1886 * sysdeps/m68k/m68020/atomicity.h: New file.
1887
1888 1997-09-15 05:11 Ulrich Drepper <drepper@cygnus.com>
1889
1890 * posix/Makefile (distribute): Add globtest.c and globtest.sh.
1891 Compile and run globtest if not cross-compiling.
1892 * posix/globtest.c: New file.
1893 * posix/globtest.sh: New file.
1894 * posix/glob.c: Pretty print preprocessor stuff.
1895 (glob_in_dir): If PATTERN is not really a pattern still check
1896 whether it is a real file in the current directory and return
1897 error if not.
1898 Reported by Eugene Mamchits <eugin@ips.ras.ru>.
1899
1900 * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
1901 * libio/ioseekoff.c (_IO_seekoff): Likewise.
1902 * libio/ioseekpos.c (_IO_seekpos): Likewise.
1903
1904 1997-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1905
1906 * configure.in: Prevent configuration for unsupported platforms.
1907
1908 1997-09-13 04:07 Ulrich Drepper <drepper@cygnus.com>
1909
1910 * elf/rtld.c (dl_main): Make sure we always have a file argument by
1911 testing for < 2 arguments after recognizing the options.
1912
1913 1997-09-12 11:47 Fila Kolodny <fila@ibi.com>
1914
1915 * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
1916 (__strsep_g): Likewise.
1917
1918 1997-09-11 17:32 Ulrich Drepper <drepper@cygnus.com>
1919
1920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
1921 Patch by David S. Miller <davem@jenolan.rutgers.edu>.
1922
1923 1997-09-11 04:36 Ulrich Drepper <drepper@cygnus.com>
1924
1925 * db2/db_int.h: Define __set_errno if not yet available.
1926 * db2/btree/bt_rec.c: Use __set_errno to set errno value.
1927 * db2/clib/getlong.c: Likewise.
1928 * db2/db185/db185.c: Likewise.
1929 * db2/db185/db185_int.h: Likewise.
1930 * db2/dbm/dbm.c: Likewise.
1931 * db2/lock/lock_deadlock.c: Likewise.
1932 * db2/log/log_archive.c: Likewise.
1933
1934 * elf/dl-profile.c: Implement mcount function.
1935
1936 * gmon/gmon.c: Use __profil not profil because of namespace pollution.
1937 * gmon/mcount.c: Remove BSD kernel code.
1938 Use compare&swap instruction if possible to change state variable.
1939 Optimize frompc folding.
1940 * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
1941 * sysdeps/i386/i486/atomicity.h: New file.
1942 * sysdeps/stub/atomicity.h: New file.
1943 * sysdeps/mach/hurd/profil.c: Define function as __profil and make
1944 profil weak alias.
1945 * sysdeps/posix/profil.c: Likewise.
1946
1947 * string/bits/string2.h: New file.
1948 * include/bits/string2.h: New file.
1949 * string/Makefile (routines): Add mempcpy.
1950 (tests): Add inl-tester.
1951 Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
1952 * sysdeps/generic/mempcpy.c: New file.
1953 * sysdeps/generic/memccpy.c: Undef function name to enable definition
1954 as macro.
1955 * sysdeps/generic/memchr.c: Likewise.
1956 * sysdeps/generic/memcmp.c: Likewise.
1957 * sysdeps/generic/memmem.c: Likewise.
1958 * sysdeps/generic/memmove.c: Likewise.
1959 * sysdeps/generic/strcat.c: Likewise.
1960 * sysdeps/generic/strchr.c: Likewise.
1961 * sysdeps/generic/strcmp.c: Likewise.
1962 * sysdeps/generic/strcpy.c: Likewise.
1963 * sysdeps/generic/strcspn.c: Likewise.
1964 * sysdeps/generic/strlen.c: Likewise.
1965 * sysdeps/generic/strncat.c: Likewise.
1966 * sysdeps/generic/strncmp.c: Likewise.
1967 * sysdeps/generic/strncpy.c: Likewise.
1968 * sysdeps/generic/strpbrk.c: Likewise.
1969 * sysdeps/generic/strrchr.c: Likewise.
1970 * sysdeps/generic/strsep.c: Likewise.
1971 * sysdeps/generic/strspn.c: Likewise.
1972 * sysdeps/generic/strstr.c: Likewise.
1973 * sysdeps/generic/strtok.c: Likewise.
1974 * sysdeps/generic/strtok_r.c: Likewise.
1975 * sysdeps/i386/memset.c: Likewise.
1976 * sysdeps/i386/bits/string.h: Correct a few types and constraints.
1977 * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
1978 * string/stratcliff.c: Undefine __USE_STRING_INLINES.
1979 * string/tst-strlen.c: Likewise.
1980 * string/string.h: Add prototype for mempcpy. Include bits/string2.h
1981 header always if optimizing.
1982 * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
1983 yet defined.
1984 * intl/l10nflist.c: Likewise.
1985
1986 * string/tester.c: Add copyright and make little cleanups.
1987
1988 * inet/test_ifindex.c: Change type of ni variable to unsigned int.
1989
1990 * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
1991 of fields map_collection_max and map_collection_act to size_t.
1992
1993 * nss/libnss_files.map: Group entries.
1994
1995 * posix/unistd.h: Add prototype for __setpgid and __profil.
1996
1997 * sysdeps/generic/crypt.h: Declare __crypt_r.
1998
1999 * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
2000
2001 * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2002 isless, islessequal, islessgreater, isunordered): Optimize a bit.
2003
2004 * sysdeps/stub/ftruncate.c: Include missing header for prototype.
2005 * sysdeps/stub/getdents.c: Likewise.
2006 * sysdeps/stub/reboot.c: Likewise.
2007 * sysdeps/stub/swapon.c: Likewise.
2008 * sysdeps/stub/syscall.c: Likewise.
2009 * sysdeps/stub/ualarm.c: Likewise.
2010 * sysdeps/stub/usleep.c: Likewise.
2011
2012 * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
2013 if SIOGIFINDEX and SIOGIFNAME are not defined.
2014
2015 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
2016 according to recent kernel changes.
2017
2018 1997-09-10 21:32 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
2019
2020 * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
2021 the installed name of the startup code.
2022 (common-generated): Add version.mk.
2023 * Makefile (distclean-1): Add glibcbug.
2024 * Makerules: Replace -lgcc by $(gnulib).
2025 * catgets/Makefile (generated): Add xmalloc.o.
2026 * csu/Makefile (generated): Replace align.h and end.h by defs.h to
2027 match the generated file.
2028 * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
2029 (realclean): Changed to remove chapters-incl[12].
2030 * po/Makefile (realclean): New rule to remove the generated .mo files.
2031 * time/Makefile: Only include zonefile dependencies if $(no_deps) is
2032 not true to avoid make clean failure when directory time doesn't exist
2033 yet.
2034 (generated): Add tzselect.
2035
2036 * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
2037 * stdio/internals.c (flushbuf): Likewise.
2038 * stdio/linewrap.c (lwupdate): Likewise.
2039 * stdio/memstream.c (enlarge_buffer): Likewise.
2040 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2041 * time/tzset.c (compute_change): Likewise.
2042 * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
2043 is defined.
2044 * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
2045 functions.
2046 * sysdeps/stub/init-posix.c: Likewise.
2047 * sysdeps/stub/profil.c: Likewise.
2048 * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
2049 reduce gcc warning noise.
2050 * stdio/glue.c (_filbuf, _flsbuf): Likewise.
2051 * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
2052 * stdio/vasprintf.c (enlarge_buffer): Likewise.
2053 * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
2054 __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
2055 __stdio_reopen): Likewise.
2056 * sysdeps/posix/defs.c (_cleanup): Likewise.
2057 * time/offtime.c (__offtime): Add cast.
2058
2059 * posix/getopt.c: Don't use text_set_element if not defined.
2060
2061 * configure.in: Provide a check for underscores before user labels
2062 that works even when the compiler used for building doesn't work
2063 (like when there is no C library). Use the old way if the compiler
2064 works.
2065
2066 1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu>
2067
2068 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
2069 'T' not 't' on SparcLinux.
2070 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
2071
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
2073 _longjmp and siglongjmp.
2074
2075 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2076
2077 * libio/stdio.h: Add format attributes to the extra printf and
2078 scanf like functions.
2079 * stdio/stdio.h: Likewise.
2080
2081 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2082
2083 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2084 Print tablename_val, not tablename_len.
2085
2086 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
2087 Use sprintf instead of sprintf, the string always fits.
2088 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2089 Likewise.
2090 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2091 Likewise.
2092 * nis/nss_nisplus/nisplus-proto.c
2093 (_nss_nisplus_getprotobynumber_r): Likewise.
2094 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
2095 Likewise.
2096 * nis/nss_nisplus/nisplus-service.c
2097 (_nss_nisplus_getservbynumber_r): Likewise.
2098
2099 * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
2100 __stpcpy, __stpncpy and __strdup instead of public names.
2101 * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
2102 Likewise.
2103 * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
2104 * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
2105 Likewise.
2106 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
2107 Likewise.
2108 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
2109 Likewise.
2110 (_nss_create_tablename): Likewise.
2111 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
2112 Likewise.
2113 (_nss_create_tablename): Likewise.
2114 * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
2115 Likewise.
2116 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
2117 Likewise.
2118 (_nss_create_tablename): Likewise.
2119 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
2120 Likewise.
2121 (_nss_create_tablename): Likewise.
2122 * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
2123 Likewise.
2124
2125 * libc.map: Export __stpcpy and __strdup.
2126
2127 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2128
2129 * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
2130 CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
2131 precision.
2132
2133 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2134
2135 * include/rpc/auth_des.h: New file.
2136
2137 1997-09-09 Paul Eggert <eggert@twinsun.com>
2138
2139 * time/mktime.c (__mktime_internal): Declare sec_requested even if
2140 !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
2141 for time_t overflow.
2142
2143 1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com>
2144
2145 * sysdeps/posix/getcwd.c: Correct test for too small buffer.
2146 Reported by Erik Troan <ewt@redhat.com>.
2147
2148 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2149 * elf/dl-open.c: Likewise.
2150
2151 1997-09-07 17:09 Richard Henderson <rth@cygnus.com>
2152
2153 * sysdeps/alpha/Makefile: Kill setjmp_aux.
2154 * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
2155 * sysdeps/alpha/__longjmp.c: Remove.
2156 * sysdeps/alpha/setjmp_aux.c: Remove.
2157 * sysdeps/alpha/__longjmp.S: New file.
2158 * sysdeps/alpha/bsd-_setjmp.S: Stub out.
2159 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2160 * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
2161 Move _setjmp and setjmp from bsd-*.S.
2162
2163 1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com>
2164
2165 * include/rpc/auth.h: New file.
2166 * include/rpc/auth_unix.h: New file.
2167
2168 1997-09-06 Paul Eggert <eggert@twinsun.com>
2169
2170 Fix gmtime so that it reports leap seconds when TZ
2171 indicates that leap seconds are desired.
2172
2173 * time/gmtime.c (<stddef.h>): Remove unnecessary include.
2174 (gmtime): Put after gmtime_r, to help the compiler inline.
2175 (__tz_convert): New decl.
2176 (gmtime_r): Use __tz_convert instead of __offtime,
2177 so that leap seconds are handled correctly.
2178
2179 * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
2180 are now unnecessary.
2181 (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
2182 __tzset_lock): Remove extern decls that are now unnecessary.
2183 (localtime_internal): Moved to __tz_convert in tzset.c.
2184 so that localtime and gmtime can both use it easily.
2185 (localtime): Put after localtime_r, to help the compiler inline.
2186 (localtime_r): Use __tz_convert instead of localtime_internal.
2187
2188 * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
2189 decl.
2190
2191 * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
2192
2193 * time/tzset.c (<errno.h>): Include.
2194 (_tmbuf): New decl.
2195 (__tzfile_compute): New function.
2196 (tz_compute): Renamed from __tz_compute. No longer extern.
2197 Remove redundant call to tzset_internal.
2198 (tzset_internal): Renamed from __tzset_internal. No longer extern.
2199 (tzset_lock): Renamed from __tzset_lock. No longer extern.
2200 (__tz_convert): New function, containing functionality of old
2201 localtime_internal function, plus locking and optional UTC.
2202
2203 1997-09-06 Paul Eggert <eggert@twinsun.com>
2204
2205 * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
2206 string, just use UTC without leap seconds. This is for compatibility
2207 with the Olson code.
2208
2209 1997-09-06 Paul Eggert <eggert@twinsun.com>
2210
2211 * time/tzset.c (__tzname_max): Lock tz data structures before
2212 invoking tzset_internal.
2213
2214 * time/tzfile.c: Define compute_tzname_max statically.
2215
2216 1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2217
2218 * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
2219 * nis/nis_intern.h: Likewise.
2220 * nis/nss_nis/nis-publickey.c: Likewise.
2221 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2222 * nis/ypclnt.c: Likewise.
2223
2224 * sunrpc/auth_des.c: Don't dereference NULL pointer,
2225 initialize ad->ad_timediff.
2226
2227 * sunrpc/auth_none.c: Don't define our own prototypes, use the one
2228 from the header files.
2229 * sunrpc/auth_unix.c: Likewise.
2230 * sunrpc/clnt_raw.c: Likewise.
2231 * sunrpc/clnt_tcp.c: Likewise.
2232 * sunrpc/rpc_cmsg.c: Likewise.
2233
2234 * sunrpc/key_call.c: Fix signal handling.
2235
2236 * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
2237 or we will get a deadlock with NIS+.
2238
2239 * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
2240 HAVE_SECURE_RPC.
2241
2242 1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com>
2243
2244 * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
2245 __FD_ISSET): Use correct casts to address array correctly.
2246 Reported by urbanw@cs.umu.se.
2247
2248 1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com>
2249
2250 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2251 * elf/dl-open.c: Likewise.
2252 * sysdeps/i386/memset.c: Undefine memset in case the header with the
2253 optimized functions is included.
2254 Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
2255
2256 * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
2257 strsep): Use register for second parameter.
2258 * sysdeps/i386/i486/bits/string.h: Likewise.
2259 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2260
2261 1997-09-03 09:48 Geoff Keating <geoffk@ozemail.com.au>
2262
2263 * math/libm-test.c: Change various tolerances to match what the
2264 tested routines can actually provide.
2265
2266 * math/Makefile: Add new tests.
2267 * math/atest-sincos.c: New file.
2268 * math/atest-exp.c: New file.
2269
2270 * csu/Makefile: Give initfini.s and initfiniS.s their own
2271 CFLAGS-* macros so they can be overridden.
2272 * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
2273 initfiniS.s to use -fpic instead of -fPIC, because the sed script
2274 breaks otherwise.
2275
2276 * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
2277 efficiency.
2278
2279 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2280 Don't use register 0, to let _mcount be in a shared object.
2281
2282 * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
2283 Generally clean up. Suppress some code we don't need when relocating
2284 ld.so.
2285 * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
2286 appropriate to suppress gcc warning.
2287 * resolv/res_send.c: Suppress warning.
2288 * sunrpc/xdr_sizeof.c: Suppress warning.
2289
2290 * FAQ: Add ppc-linux.
2291 * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it
2292 yet.
2293
2294 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
2295 current kernels.
2296
2297 1997-08-15 07:45 Geoff Keating <geoffk@ozemail.com.au>
2298
2299 * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
2300 * sysdeps/i386/machine-gmon.h: Correct typo.
2301
2302 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
2303 kernel.
2304
2305 * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
2306 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
2307 sysdeps/linux/dl-sysdep.c.
2308
2309 * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
2310 * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
2311 * sysdeps/powerpc/ppc-mcount: New file.
2312
2313 The following are mostly changes to allow profiling:
2314 * sysdeps/powerpc/add_n.S: Added.
2315 * sysdeps/powerpc/add_n.s: Removed.
2316 * sysdeps/powerpc/addmul_1.S: Added.
2317 * sysdeps/powerpc/addmul_1.s: Removed.
2318 * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
2319 * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
2320 * sysdeps/powerpc/lshift.S: Added.
2321 * sysdeps/powerpc/lshift.s: Removed.
2322 * sysdeps/powerpc/memset.S: Added.
2323 * sysdeps/powerpc/memset.s: Removed.
2324 * sysdeps/powerpc/mul_1.S: Added.
2325 * sysdeps/powerpc/mul_1.s: Removed.
2326 * sysdeps/powerpc/rshift.S: Added.
2327 * sysdeps/powerpc/rshift.s: Removed.
2328 * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
2329 * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
2330 * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
2331 * sysdeps/powerpc/strchr.S: Added.
2332 * sysdeps/powerpc/strchr.s: Removed.
2333 * sysdeps/powerpc/strcmp.S: Added.
2334 * sysdeps/powerpc/strcmp.s: Removed.
2335 * sysdeps/powerpc/strlen.S: Added.
2336 * sysdeps/powerpc/strlen.s: Removed.
2337 * sysdeps/powerpc/sub_n.S: Added.
2338 * sysdeps/powerpc/sub_n.s: Removed.
2339 * sysdeps/powerpc/submul_1.S: Added.
2340 * sysdeps/powerpc/submul_1.s: Removed.
2341 * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
2342 * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
2343 * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
2344 * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
2345 various bugs. Document that it isn't tested.
2346 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
2347 sysdeps/unix/_exit.S.
2348 * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
2349 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
2350 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
2351 to make assembler (possibly) more portable, allow profiling, etc.
2352
2353 1997-09-05 03:15 Ulrich Drepper <drepper@cygnus.com>
2354
2355 * Makefile (subdirs): Reorganize order so that nss follows add-ons.
2356 * config.make.in (LDAP): Add.
2357 * configure.in: Prepare for ldap add-on.
2358 * shlib-versions: Add version numbers for ldap NSS module.
2359 * nss/Makefile: Add rules to build ldap NSS module.
2360
2361 * db/btree/bt_page.c (__bt_free): Update meta data information.
2362
2363 Update db from db-2.3.6.
2364 * db2/db.h: Updated.
2365 * db2/btree/bt_close.c: Updated.
2366 * db2/btree/bt_compare.c: Updated.
2367 * db2/btree/bt_conv.c: Updated.
2368 * db2/btree/bt_cursor.c: Updated.
2369 * db2/btree/bt_delete.c: Updated.
2370 * db2/btree/bt_put.c: Updated.
2371 * db2/btree/bt_rec.c: Updated.
2372 * db2/btree/bt_recno.c: Updated.
2373 * db2/btree/bt_search.c: Updated.
2374 * db2/btree/bt_split.c: Updated.
2375 * db2/btree/bt_stat.c: Updated.
2376 * db2/common/db_appinit.c: Updated.
2377 * db2/common/db_apprec.c: Updated.
2378 * db2/common/db_byteorder.c: Updated.
2379 * db2/common/db_err.c: Updated.
2380 * db2/common/db_region.c: Updated.
2381 * db2/db/db.c: Updated.
2382 * db2/db/db_conv.c: Updated.
2383 * db2/db/db_dup.c: Updated.
2384 * db2/db/db_pr.c: Updated.
2385 * db2/db/db_ret.c: Updated.
2386 * db2/db185/db185.c: Updated.
2387 * db2/dbm/dbm.c: Updated.
2388 * db2/hash/hash_dup.c: Updated.
2389 * db2/include/db_am.h: Updated.
2390 * db2/include/db_page.h: Updated.
2391 * db2/include/mp.h: Updated.
2392 * db2/include/queue.h: Updated.
2393 * db2/log/log.c: Updated.
2394 * db2/log/log_findckp.c: Updated.
2395 * db2/log/log_get.c: Updated.
2396 * db2/log/log_rec.c: Updated.
2397 * db2/mp/mp_bh.c: Updated.
2398 * db2/mp/mp_fopen.c: Updated.
2399 * db2/mp/mp_pr.c: Updated.
2400 * db2/mp/mp_sync.c: Updated.
2401 * db2/mutex/x86.gcc: Updated.
2402 * db2/os/db_os_dir.c: Updated.
2403 * db2/os/db_os_fid.c: Updated.
2404 * db2/progs/db_archive/db_archive.c: Updated.
2405 * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
2406 * db2/progs/db_deadlock/db_deadlock.c: Updated.
2407 * db2/progs/db_dump/db_dump.c: Updated.
2408 * db2/progs/db_dump185/db_dump185.c: Updated.
2409 * db2/progs/db_load/db_load.c: Updated.
2410 * db2/progs/db_printlog/db_printlog.c: Updated.
2411 * db2/progs/db_recover/db_recover.c: Updated.
2412 * db2/progs/db_stat/db_stat.c: Updated.
2413 * db2/txn/txn.c: Updated.
2414 * db2/txn/txn_rec.c: Updated.
2415
2416 * db2/Makefile: Add rule to build db_printlog.
2417 * db2/config.h: Don't include endian.h and don't define
2418 WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H.
2419
2420 * elf/dl-open.c (_dl_open): Make thread-safe.
2421 * elf/dl-close.c (_dl_close): Likewise.
2422 * elf/dlclose.c: Pretty print.
2423 * elf/dl-version.c (make_string): Use __strdup not strdup.
2424 (find_needed): Don't use l_searchlist of _dl_loaded, use the
2425 l_next list.
2426 * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
2427
2428 * manual/math.texi: Add note about == and != for FP values.
2429 * manual/message.texi: Mention problems with relative paths and
2430 binstextdomain.
2431 * manual/string.texi: Mark strdupa and strndupa correctly as macros.
2432
2433 * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
2434 * sunrpc/rpc_cout.c: Avoid needless races around return value.
2435
2436 * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
2437
2438 Update from tzdata-1997h.
2439 * time/africa: Updated.
2440 * time/europe: Updated.
2441 * time/iso3166.tab: Updated.
2442 * time/northamerica: Updated.
2443 * time/southamerica: Updated.
2444 * time/zone.tab: Updated.
2445
2446 1997-09-04 13:19 Richard Henderson <rth@cygnus.com>
2447
2448 * sysdeps/alpha/w_sqrt.S: Removed.
2449 * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact
2450 and build a version that is as fast as possible given the constraint.
2451
2452 1997-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2453
2454 * manual/maint.texi: Document some defaults for configuration
2455 parameters.
2456
2457 1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com>
2458
2459 * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
2460 * termios/termios.h: Change prototype accordingly.
2461 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2462
2463 1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
2464
2465 * libio/stdfiles.c (_libio_using_thunks): Define if
2466 _G_USING_THUNKS is defined.
2467
2468 * libio/_G_config.h: Moved to ...
2469 * sysdeps/generic/_G_config.h: ...here.
2470
2471 * sysdeps/unix/sysv/linux/_G_config.h: New,
2472 Add vtable thunks support.
2473
2474 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2475
2476 * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
2477 efficient code (together with a change in gcc).
2478
2479 * Makeconfig (pic-ccflag): New variable.
2480 (CFLAGS-.os): Use it instead of hardcoding -fPIC.
2481
2482 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2483
2484 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2485 _dl_start instead of a local label, to avoid getting an unreadable
2486 label name.
2487
2488 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2489
2490 * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
2491 libdb.so.
2492
2493 * Makeconfig (dbobjdir): Use db2.
2494
2495 1997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2496
2497 * manual/maint.texi (Porting to Unix): Update description of the
2498 implementation of Unix system calls.
2499 (Contributors): Use real umlaut in tege's name.
2500
2501 1997-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2502
2503 * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
2504 _IEEE_LIBM.
2505 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2506 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2507
2508 1997-08-29 21:45 Ulrich Drepper <drepper@cygnus.com>
2509
2510 * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on.
2511 * sunrpc/authdes_prot.c: New file. Likewise.
2512 * sunrpc/des.h: New file. Likewise.
2513 * sunrpc/des_crypt.c: New file. Likewise.
2514 * sunrpc/des_soft.c: New file. Likewise.
2515 * sunrpc/key_call.c: New file. Likewise.
2516 * sunrpc/key_prot.c: New file. Likewise.
2517 * sunrpc/netname.c: New file. Likewise.
2518 * sunrpc/openchild.c: New file. Likewise.
2519 * sunrpc/rtime.c: New file. Likewise.
2520 * sunrpc/svc_auth.c: New file. Likewise.
2521 * sunrpc/svcauth_des.c: New file. Likewise.
2522 * sunrpc/xcrypt.c: New file. Likewise.
2523 * sunrpc/rpc/auth.h: New file. Likewise.
2524 * sunrpc/rpc/auth_des.h: New file. Likewise.
2525 * sunrpc/rpc/des_crypt.h: New file. Likewise.
2526 * sunrpc/rpc/key_prot.h: New file. Likewise.
2527 * sunrpc/rpcsvc/key_prot.x: New file. Likewise.
2528 * sysdeps/generic/svc_auth.h: Removed.
2529 * sysdeps/generic/rpc/auth.h: Removed.
2530 * sysdeps/generic/rpc/auth_des.h: Removed.
2531 * sysdeps/stub/des_impl.c: New file. Stub version for DES.
2532 * sunrpc/Makefile (rpcsvc): Add keyprot.x.
2533 (headers): Add des_crypt.h and key_prot.h.
2534 (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
2535 key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
2536 (distribute): Add des.h.
2537
2538 * db2/Makefile: Add all headers and other files to distribute.
2539 (others): Add db_printlog.
2540
2541 * sysdeps/mach/hurd/Dist: Add net/* headers.
2542 * sysdeps/mach/hurd/mips/Dist: New file.
2543 * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
2544 * sysdeps/sparc/Dist: Add sys/trap.h.
2545 * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
2546 * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
2547 * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
2548 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
2549 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
2550
2551 Add previously missing assembler files for PPC.
2552 * sysdeps/powerpc/add_n.s: New file.
2553 * sysdeps/powerpc/addmul_1.s: New file.
2554 * sysdeps/powerpc/lshift.s: New file.
2555 * sysdeps/powerpc/memset.s: New file.
2556 * sysdeps/powerpc/mul_1.s: New file.
2557 * sysdeps/powerpc/rshift.s: New file.
2558 * sysdeps/powerpc/strchr.s: New file.
2559 * sysdeps/powerpc/strcmp.s: New file.
2560 * sysdeps/powerpc/sub_n.s: New file.
2561 * sysdeps/powerpc/submul_1.s: New file.
2562
2563 1997-08-28 18:42 Thorsten Kukuk <kukuk@uni-paderborn.de>
2564
2565 * nis/nis_server.c: Rewritten to fix a lot of bugs.
2566
2567 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2568
2569 * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
2570 variables.
2571
2572 1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com>
2573
2574 * Makefile (version-info.h): Use ISO form for the date.
2575
2576 * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
2577 (struct catalog_obj): Add lock field.
2578 (__open_catalog): Remove second parameter from prototype.
2579 * catgets/catgets.c (catopen): Initialize lock field.
2580 (catgets): Don't pass second parameter to __open_catalog.
2581 * catgets/gencat.c: Initialize lock field and don't pass second
2582 parameter to __open_catalog.
2583 * catgets/open_catalog.c (__open_catalog): Decide about use of
2584 path by examining path in struct, not based on extra argument.
2585 Acquire a the lock before trying to load the catalog and release
2586 it before returning.
2587
2588 * csu/Makefile (abi-tag.h): Make sure target directory exists.
2589
2590 * io/Makefile (headers): Add bits/poll.h.
2591 * io/sys/poll.h: Remove definitions of POLL* constants.
2592 Include <bits/poll.h>.
2593 * sysdeps/generic/bits/poll.h: New file.
2594 * sysdeps/unix/sysv/linux/bits/poll.h: New file.
2595 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
2596 * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
2597 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
2598
2599 * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
2600
2601 * malloc/obstack.c: Add casts to keep very verbose compilers on
2602 64bit machine quiet.
2603
2604 * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
2605
2606 1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com>
2607
2608 * catgets/catgets.c (catopen): Correctly determine length of string
2609 in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
2610
2611 1997-08-27 23:19 Richard Henderson <rth@cygnus.com>
2612
2613 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
2614 default macro to track down arguments from stack start.
2615 (_dl_sysdep_start): Use it.
2616 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
2617 providing a special DL_FIND_ARG_COMPONENTS and including the next
2618 file up the line.
2619
2620 * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
2621 * sysdeps/powerpc/e_sqrtf.c: Likewise.
2622 * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
2623 the double precision version.
2624 * sysdeps/powerpc/s_fabsf.S: Likewise.
2625 * sysdeps/powerpc/s_isnanf.S: Likewise.
2626
2627 1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
2628
2629 * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>. Somebody
2630 should update this to use the new db API.
2631 * nss/nss_db/db-netgrp.c: Likewise.
2632 * nss/nss_db/db-alias.c: Likewise.
2633 * db2/Makefile: Makefile for db-2.x in glibc.
2634
2635 1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com>
2636
2637 * csu/Makefile (before-compile): New goal. Make sure abi-tag.h
2638 is generated.
2639 [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
2640
2641 * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
2642 -D__USE_STRING_INLINES.
2643 * string/string.f: Move strnlen optimization after inclusion of
2644 <bits/string.h>. Include <bits/string.h> only if __USE_STRING_INLINES
2645 is defined.
2646 * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
2647 in <bits/string.h>.
2648 * sysdeps/generic/memset.c: Likewise.
2649 * sysdeps/i386/string.h: i386 optimized string functions.
2650 * sysdeps/i386/i486string.h: i486+ optimized string functions.
2651
2652 * Makefile (subdirs): Change db to db2.
2653 * shlib-versions: Bump libdb verion number to 3.
2654 * include/db.h: Include from db2 directory.
2655 * include/db_185.h: New file.
2656 * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
2657 to provide spinlock information for db2.
2658 * sysdeps/m68k/m68020/Makefile: New file. Likewise.
2659 * sysdeps/sparc/Makefile: New file. Likewise.
2660 * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
2661 Add -DHAVE_LLSEEK.
2662 * db2/config.h: Hand-edited config file for db2 in glibc.
2663 * db2/compat.h: New file from db-2.3.4.
2664 * db2/db.h: Likewise.
2665 * db2/db_185.h: Likewise.
2666 * db2/db_int.h: Likewise.
2667 * db2/makedb.c: Likewise.
2668 * db2/btree/bt_close.c: Likewise.
2669 * db2/btree/bt_compare.c: Likewise.
2670 * db2/btree/bt_conv.c: Likewise.
2671 * db2/btree/bt_cursor.c: Likewise.
2672 * db2/btree/bt_delete.c: Likewise.
2673 * db2/btree/bt_open.c: Likewise.
2674 * db2/btree/bt_page.c: Likewise.
2675 * db2/btree/bt_put.c: Likewise.
2676 * db2/btree/bt_rec.c: Likewise.
2677 * db2/btree/bt_recno.c: Likewise.
2678 * db2/btree/btree_auto.c: Likewise.
2679 * db2/btree/bt_rsearch.c: Likewise.
2680 * db2/btree/bt_search.c: Likewise.
2681 * db2/btree/bt_split.c: Likewise.
2682 * db2/btree/bt_stat.c: Likewise.
2683 * db2/btree/btree.src: Likewise.
2684 * db2/common/db_appinit.c: Likewise.
2685 * db2/common/db_err.c: Likewise.
2686 * db2/common/db_byteorder.c: Likewise.
2687 * db2/common/db_apprec.c: Likewise.
2688 * db2/common/db_salloc.c: Likewise.
2689 * db2/common/db_log2.c: Likewise.
2690 * db2/common/db_region.c: Likewise.
2691 * db2/common/db_shash.c: Likewise.
2692 * db2/db/db.c: Likewise.
2693 * db2/db/db.src: Likewise.
2694 * db2/db/db_conv.c: Likewise.
2695 * db2/db/db_dispatch.c: Likewise.
2696 * db2/db/db_dup.c: Likewise.
2697 * db2/db/db_overflow.c: Likewise.
2698 * db2/db/db_pr.c: Likewise.
2699 * db2/db/db_rec.c: Likewise.
2700 * db2/db/db_ret.c: Likewise.
2701 * db2/db/db_thread.c: Likewise.
2702 * db2/db/db_auto.c: Likewise.
2703 * db2/db185/db185.c: Likewise.
2704 * db2/db185/db185_int.h: Likewise.
2705 * db2/dbm/dbm.c: Likewise.
2706 * db2/hash/hash.c: Likewise.
2707 * db2/hash/hash.src: Likewise.
2708 * db2/hash/hash_page.c: Likewise.
2709 * db2/hash/hash_conv.c: Likewise.
2710 * db2/hash/hash_debug.c: Likewise.
2711 * db2/hash/hash_stat.c: Likewise.
2712 * db2/hash/hash_rec.c: Likewise.
2713 * db2/hash/hash_dup.c: Likewise.
2714 * db2/hash/hash_func.c: Likewise.
2715 * db2/hash/hash_auto.c: Likewise.
2716 * db2/include/mp.h: Likewise.
2717 * db2/include/btree.h: Likewise.
2718 * db2/include/db.h.src: Likewise.
2719 * db2/include/db_int.h.src: Likewise.
2720 * db2/include/db_shash.h: Likewise.
2721 * db2/include/db_swap.h: Likewise.
2722 * db2/include/db_185.h.src: Likewise.
2723 * db2/include/txn.h: Likewise.
2724 * db2/include/db_am.h: Likewise.
2725 * db2/include/shqueue.h: Likewise.
2726 * db2/include/hash.h: Likewise.
2727 * db2/include/db_dispatch.h: Likewise.
2728 * db2/include/lock.h: Likewise.
2729 * db2/include/db_page.h: Likewise.
2730 * db2/include/log.h: Likewise.
2731 * db2/include/db_auto.h: Likewise.
2732 * db2/include/btree_auto.h: Likewise.
2733 * db2/include/hash_auto.h: Likewise.
2734 * db2/include/log_auto.h: Likewise.
2735 * db2/include/txn_auto.h: Likewise.
2736 * db2/include/db_ext.h: Likewise.
2737 * db2/include/btree_ext.h: Likewise.
2738 * db2/include/clib_ext.h: Likewise.
2739 * db2/include/common_ext.h: Likewise.
2740 * db2/include/hash_ext.h: Likewise.
2741 * db2/include/lock_ext.h: Likewise.
2742 * db2/include/log_ext.h: Likewise.
2743 * db2/include/mp_ext.h: Likewise.
2744 * db2/include/mutex_ext.h: Likewise.
2745 * db2/include/os_ext.h: Likewise.
2746 * db2/include/txn_ext.h: Likewise.
2747 * db2/include/cxx_int.h: Likewise.
2748 * db2/include/db_cxx.h: Likewise.
2749 * db2/include/queue.h: Likewise.
2750 * db2/lock/lock.c: Likewise.
2751 * db2/lock/lock_conflict.c: Likewise.
2752 * db2/lock/lock_util.c: Likewise.
2753 * db2/lock/lock_deadlock.c: Likewise.
2754 * db2/log/log.c: Likewise.
2755 * db2/log/log_get.c: Likewise.
2756 * db2/log/log.src: Likewise.
2757 * db2/log/log_compare.c: Likewise.
2758 * db2/log/log_put.c: Likewise.
2759 * db2/log/log_rec.c: Likewise.
2760 * db2/log/log_archive.c: Likewise.
2761 * db2/log/log_register.c: Likewise.
2762 * db2/log/log_auto.c: Likewise.
2763 * db2/log/log_findckp.c: Likewise.
2764 * db2/mp/mp_bh.c: Likewise.
2765 * db2/mp/mp_fget.c: Likewise.
2766 * db2/mp/mp_fopen.c: Likewise.
2767 * db2/mp/mp_fput.c: Likewise.
2768 * db2/mp/mp_fset.c: Likewise.
2769 * db2/mp/mp_open.c: Likewise.
2770 * db2/mp/mp_region.c: Likewise.
2771 * db2/mp/mp_pr.c: Likewise.
2772 * db2/mp/mp_sync.c: Likewise.
2773 * db2/mutex/68020.gcc: Likewise.
2774 * db2/mutex/mutex.c: Likewise.
2775 * db2/mutex/README: Likewise.
2776 * db2/mutex/x86.gcc: Likewise.
2777 * db2/mutex/sparc.gcc: Likewise.
2778 * db2/mutex/uts4.cc.s: Likewise.
2779 * db2/mutex/alpha.dec: Likewise.
2780 * db2/mutex/alpha.gcc: Likewise.
2781 * db2/mutex/parisc.gcc: Likewise.
2782 * db2/mutex/parisc.hp: Likewise.
2783 * db2/os/db_os_abs.c: Likewise.
2784 * db2/os/db_os_dir.c: Likewise.
2785 * db2/os/db_os_fid.c: Likewise.
2786 * db2/os/db_os_lseek.c: Likewise.
2787 * db2/os/db_os_mmap.c: Likewise.
2788 * db2/os/db_os_open.c: Likewise.
2789 * db2/os/db_os_rw.c: Likewise.
2790 * db2/os/db_os_sleep.c: Likewise.
2791 * db2/os/db_os_stat.c: Likewise.
2792 * db2/os/db_os_unlink.c: Likewise.
2793 * db2/txn/txn.c: Likewise.
2794 * db2/txn/txn.src: Likewise.
2795 * db2/txn/txn_rec.c: Likewise.
2796 * db2/txn/txn_auto.c: Likewise.
2797 * db2/clib/getlong.c: Likewise.
2798 * db2/progs/db_archive/db_archive.c: Likewise.
2799 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2800 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2801 * db2/progs/db_dump/db_dump.c: Likewise.
2802 * db2/progs/db_dump185/db_dump185.c: Likewise.
2803 * db2/progs/db_load/db_load.c: Likewise.
2804 * db2/progs/db_printlog/db_printlog.c: Likewise.
2805 * db2/progs/db_recover/db_recover.c: Likewise.
2806 * db2/progs/db_stat/db_stat.c: Likewise.
2807
2808 * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
2809
2810 * po/de.po, po/sv.po: Update from 2.0.5 translations.
2811
2812 * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
2813
2814 * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
2815 as const.
2816 * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
2817 * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
2818 * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
2819
2820 1997-08-27 18:47 Ulrich Drepper <drepper@cygnus.com>
2821
2822 * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
2823 Reported by Benjamin Kosnik <bkoz@cygnus.com>.
2824
2825 1997-08-27 02:27 Roland McGrath <roland@baalperazim.frob.com>
2826
2827 * abi-tags: New file.
2828 * csu/Makefile (distribute): Remove abi-tag.h.
2829 ($(objpfx)abi-tag.h): New target.
2830 * Makefile (distribute): Add abi-tags.
2831 * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
2832 * sysdeps/mach/hurd/abi-tag.h: File removed.
2833 * sysdeps/stub/abi-tag.h: File removed.
2834
2835 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2836
2837 * sysdeps/unix/make-syscalls.sh: Change output so that it
2838 generates compilation rules only for the currently selected object
2839 suffixes.
2840
2841 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2842
2843 * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
2844 section to avoid confusing the compiler.
2845 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2846 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2847 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2848 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
2849 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2850
2851 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
2852 relocation instead of a constant to avoid text relocation.
2853 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2854 (RTLD_START): Declare global labels as functions and add size
2855 directive.
2856
2857 1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com>
2858
2859 * sysdeps/i386/bits/select.h: Correct assembler versions to work even
2860 for descriptors >= 32.
2861
2862 * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
2863 is used __alloca is not defined to __builtin_alloca and so might
2864 not be available.
2865 Reported by Uwe Ohse <uwe@ohse.de>.
2866
2867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
2868 way if gcc is not used and so dev_t is an array.
2869 Reported by Uwe Ohse <uwe@ohse.de>.
2870
2871 1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2872
2873 * manual/libc.texinfo: Reorder chapters to match logical order.
2874
2875 1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com>
2876
2877 * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
2878 xdr_reference, xdrmem_create, and xdrstdio_create because of clash
2879 with g++ internal symbols.
2880 Patch by Sudish Joseph <sj@eng.mindspring.net>.
2881
2882 1997-08-24 Miles Bader <miles@gnu.ai.mit.edu>
2883
2884 * string/argz.h: Add missing __END_DECLS.
2885
2886 1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com>
2887
2888 * configure.in (INSTALL): Quote `$'.
2889
2890 * libc.map: Add __xpg_basename.
2891
2892 * csu/Makefile (initfini.s): Disable optimization.
2893
2894 * elf/dl-deps.c: Implement handling of DT_FILTER.
2895
2896 * elf/dl-load.c (_dl_init_paths): Add error check.
2897
2898 * intl/finddomain.c (_nl_find_domain): Correct comment.
2899 * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
2900
2901 * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
2902 Change extern inline functions to work correctly in C++.
2903
2904 * locale/iso-4217.def: Update for more recent ISO 4217 version.
2905
2906 * locale/loadlocale.c (_nl_load_locale): Add cast.
2907
2908 * manual/message.texi: Finish gettext section.
2909
2910 * posix/getopt_init.c: Don't use relative #include path.
2911 (__getopt_clean_environment): Change function to take pointer to
2912 environment as argument. Optimize generation of test string a bit.
2913 * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
2914 with additional argument.
2915
2916 * poisx/glob.c: Add prototype for next_brace_sub.
2917
2918 * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
2919 vector.
2920
2921 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
2922 to not generate relocation entry. Suggested by Richard Henderson.
2923 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
2924 (elf_machine_runtime_setup): Add .aligns.
2925
2926 * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
2927
2928 * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
2929 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects.
2930
2931 * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
2932 * sysdeps/standalone/i960/i960ca.h: Likewise.
2933
2934 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
2935
2936 * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
2937 undocumented test addition in _dl_map_object.
2938
2939 Support ET_EXEC versions of ld.so, for debugging at least:
2940
2941 * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
2942 called despite the DT_SONAME != NULL test, segfaulting. Simplify
2943 the code here as well.
2944 * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
2945 (_dl_setup_hash): Likewise for hash tables.
2946 * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
2947 * elf/rtld.c (_dl_start): Likewise for rpath.
2948 (_dl_rtld_libname2): New variable.
2949 (dl_main): Use it to add an soname for ourselves when we don't have
2950 one of our own. Base it on the target's .interp.
2951 (dl_main): Again, skip printing of objects that don't have strtabs.
2952
2953 Sparc 32 merge:
2954
2955 * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
2956 (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE.
2957 (profile_fixup): Likewise, though this still needs fixing for
2958 Sparc32 and PPC.
2959 * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
2960 to ELF_FIXUP_RETURN_VALUE.
2961
2962 * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
2963 Fix up _dl_start_user to handle _dl_skip_args properly.
2964 Use _dl_hwcap to determine if "flush" is available/needed.
2965
2966 * sysdeps/sparc/configure.in: Remove. It doesn't actually do
2967 anything anymore, and what it did do is done somewhere else.
2968 * sysdeps/sparc/configure: Likewise.
2969
2970 * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
2971
2972 * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
2973
2974 * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
2975 in divrem expansions.
2976
2977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
2978 definitions for assembly syntax differences.
2979
2980 * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
2981 "system". Use %g2,%g3 instead. Use new local label macro.
2982 * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
2983 and LOC for proper assembly headers/footers.
2984 * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
2985 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2986 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2987 * sysdeps/sparc/sparc32/lshift.S: Likewise.
2988 * sysdeps/sparc/sparc32/mul_1.S: Likewise.
2989 * sysdeps/sparc/sparc32/rshift.S: Likewise.
2990 * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
2991 * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
2992 * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
2993 * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
2994 * sysdeps/sparc/sparc32/sub_n.S: Likewise.
2995 * sysdeps/sparc/sparc32/submul_1.S: Likewise.
2996 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
2997 * sysdeps/sparc/sparc32/umul.S: Likewise.
2998 * sysdeps/sparc/sparc32/divrem.m4: Likewise.
2999 * sysdeps/sparc/sparc32/rem.S: Regenerate.
3000 * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
3001 * sysdeps/sparc/sparc32/udiv.S: Regenerate.
3002 * sysdeps/sparc/sparc32/urem.S: Regenerate.
3003
3004 * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
3005 * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
3006 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
3007 * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
3008 * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
3009 * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
3010
3011 * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
3012 * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
3013 * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
3014
3015 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
3016 Clean up PIC code.
3017
3018 * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
3019 from the sparc64 version.
3020 * sysdeps/sparc/sparc32/elf/start.c: Removed.
3021
3022 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
3023 assembly based on the sparc64 version.
3024
3025 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh. Use proper syntax
3026 for manipulating %fsr.
3027 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
3028 be the default.
3029
3030 * elf/elf.h (HWCAP_SPARC_*): New definitions.
3031 * elf/rtld.c (_dl_hwcap): New variable.
3032 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
3033
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
3035 Attempt to get hold of the page size based on what we might have
3036 been told at startup time in _dl_pagesize. This will be obsolete
3037 when I finish the kernel hooks for a proper sysconf(), stay tuned.
3038
3039 Sparc 64 merge:
3040
3041 * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
3042 Figure out the right thing to return based on the .plt format.
3043
3044 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
3045
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
3047 Should have been 64-bits wide.
3048
3049 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
3050 optimize for branch delay slot usage.
3051
3052 1997-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3053
3054 * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
3055 change.
3056
3057 1997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3058
3059 * math/libm-test.c (identities): Change epsilon.
3060
3061 * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
3062 fabsf, fabsl, __fabsl.
3063
3064 1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com>
3065
3066 * catgets/catgets.c (catclose): Use __munmap instead of munmap.
3067 * catgets/gencat.c (read_input_file): Fix typo.
3068
3069 * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
3070
3071 * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
3072 executed (e.g., when it is a static binary).
3073
3074 * intl/bindtextdomain.c: Use strdup in glibc. Correct comment.
3075 * intl/dcgettext.c: Likewise.
3076 * intl/dgettext.c: Likewise.
3077 * intl/explodename.c: Likewise.
3078 * intl/finddomain.c: Likewise.
3079 * intl/gettext.c: Likewise.
3080 * intl/gettext.h: Likewise.
3081 * intl/hash-string.h: Likewise.
3082 * intl/l10nflist.c: Likewise.
3083 * intl/libintl.h: Likewise.
3084 * intl/loadinfo.h: Likewise.
3085 * intl/loadmsgcat.c: Likewise.
3086 * intl/localealias.c: Likewise.
3087 * intl/textdomain.c: Likewise.
3088
3089 Unify libio sources with code in libg++.
3090 * libio/fcloseall.c: Update and reformat copyright. Protect use
3091 of weak_alias. Use _IO_* thread macros instead of __libc_*.
3092 * libio/feof.c: Likewise.
3093 * libio/feof_u.c: Likewise.
3094 * libio/ferror.c: Likewise.
3095 * libio/ferror_u.c: Likewise.
3096 * libio/fgetc.c: Likewise.
3097 * libio/filedoalloc.c: Likewise.
3098 * libio/fileno.c: Likewise.
3099 * libio/fileops.c: Likewise.
3100 * libio/fputc.c: Likewise.
3101 * libio/fputc_u.c: Likewise.
3102 * libio/freopen.c: Likewise.
3103 * libio/fseek.c: Likewise.
3104 * libio/genops.c: Likewise.
3105 * libio/getc.c: Likewise.
3106 * libio/getc_u.c: Likewise.
3107 * libio/getchar.c: Likewise.
3108 * libio/getchar_u.c: Likewise.
3109 * libio/iofclose.c: Likewise.
3110 * libio/iofdopen.c: Likewise.
3111 * libio/iofflush.c: Likewise.
3112 * libio/iofflush_u.c: Likewise.
3113 * libio/iofgetpos.c: Likewise.
3114 * libio/iofgets.c: Likewise.
3115 * libio/iofopen.c: Likewise.
3116 * libio/iofopncook.c: Likewise.
3117 * libio/iofprintf.c: Likewise.
3118 * libio/iofputs.c: Likewise.
3119 * libio/iofread.c: Likewise.
3120 * libio/iofsetpos.c: Likewise.
3121 * libio/ioftell.c: Likewise.
3122 * libio/iofwrite.c: Likewise.
3123 * libio/iogetdelim.c: Likewise.
3124 * libio/iogetline.c: Likewise.
3125 * libio/iogets.c: Likewise.
3126 * libio/iopadn.c: Likewise.
3127 * libio/iopopen.c: Likewise.
3128 * libio/ioputs.c: Likewise.
3129 * libio/ioseekoff.c: Likewise.
3130 * libio/ioseekpos.c: Likewise.
3131 * libio/iosetbuffer.c: Likewise.
3132 * libio/iosetvbuf.c: Likewise.
3133 * libio/iosprintf.c: Likewise.
3134 * libio/ioungetc.c: Likewise.
3135 * libio/iovdprintf.c: Likewise.
3136 * libio/iovsprintf.c: Likewise.
3137 * libio/iovsscanf.c: Likewise.
3138 * libio/libio.h: Likewise.
3139 * libio/libioP.h: Likewise.
3140 * libio/obprintf.c: Likewise.
3141 * libio/pclose.c: Likewise.
3142 * libio/peekc.c: Likewise.
3143 * libio/putc.c: Likewise.
3144 * libio/putchar.c: Likewise.
3145 * libio/rewind.c: Likewise.
3146 * libio/setbuf.c: Likewise.
3147 * libio/setlinebuf.c: Likewise.
3148 * libio/stdfiles.c: Likewise.
3149 * libio/stdio.c: Likewise.
3150 * libio/strfile.h: Likewise.
3151 * libio/strops.c: Likewise.
3152 * libio/vasprintf.c: Likewise.
3153 * libio/vscanf.c: Likewise.
3154 * libio/vsnprintf.c: Likewise.
3155
3156 * manual/libc.texinfo: Add menu entries for chapter on message
3157 translation.
3158 * manual/locale.texi: Correct next entry in @node for new chapter.
3159 * manual/search.texi: Likewise for previous link.
3160 * manual/message.texi: New file.
3161 * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
3162 setenv, unsetenv, and clearenv.
3163 * manual/string.texi: Fix typos. Patch by Jim Meyering.
3164
3165 * math/Makefile (test-longdouble-yes): Enable. We want long double
3166 tests now.
3167
3168 Crusade against strcat.
3169 * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
3170 * stdlib/canonicalize.c: Likewise.
3171
3172 * posix/glob.h: Define __const if necessary. Use __const in all
3173 prototypes.
3174
3175 * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
3176 GNU packages.
3177
3178 * posix/wordexp.c: Completely reworked buffer handling for much
3179 better performance. Patch by Tim Waugh.
3180
3181 * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
3182 it must be socklen_t.
3183
3184 * sysdeps/libm-i387/e_remainder.S: Pretty print.
3185 * sysdeps/libm-i387/e_remainderf.S: Likewise.
3186 * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
3187 * sysdeps/libm-i387/s_cexp.S: Little optimization.
3188 * sysdeps/libm-i387/s_cexpl.S: Likewise.
3189 * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
3190
3191 1997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com>
3192
3193 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
3194 in cleanup code.
3195
3196 1997-08-17 Paul Eggert <eggert@twinsun.com>
3197
3198 * tzset.c (__tzset_internal): Fix memory leak when the user
3199 specifies a TZ value that uses a default rule file.
3200 Do not assume US DST rules when the user specifies
3201 that there is no DST.
3202
3203 1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
3204
3205 * inet/getnameinfo.c: Tidy up.
3206 * sysdeps/posix/getaddrinfo.c: Likewise.
3207
3208 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
3209 using stub code.
3210 (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
3211 (if_nameindex): Use alloca() rather than malloc(); use
3212 SIOCGIFCOUNT ioctl if the kernel supports it.
3213
3214 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3215
3216 * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
3217 they operate on internal kernel structures and have no place in a
3218 user header.
3219
3220 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3221
3222 * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
3223 (build-shlib): Filter them out of $^.
3224
3225 1997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3226
3227 * elf/dl-error.c (_dl_signal_error): Fix error message.
3228
3229 1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com>
3230
3231 * assert/assert.h [__USE_GNU]: Undefine assert_perror.
3232 Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
3233
3234 1997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3235
3236 * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
3237 to avoid conflict with PO files.
3238 * Makerules: Likewise.
3239 * Rules: Likewise.
3240 * elf/Makefile: Likewise.
3241 * extra-lib.mk: Likewise.
3242 * gmon/Makefile: Likewise.
3243 * nis/Makefile: Likewise.
3244 * nss/Makefile: Likewise.
3245 * resolv/Makefile: Likewise.
3246 * rpm/Makefile: Likewise.
3247 * sunrpc/Makefile: Likewise.
3248 * sysdeps/sparc/elf/Makefile: Likewise.
3249 * sysdeps/sparc64/elf/Makefile: Likewise.
3250 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
3251 (ASFLAGS-.os): Renamed from as-FLAGS.os.
3252
3253 1997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com>
3254
3255 * elf/dl-minimal.c: Don't use relative #include paths.
3256 (malloc): Don't try to initialize _dl_pagesize, it already is.
3257 (__sigjmp_save, longjmp): Reformat.
3258
3259 * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
3260 show content of auxiliary array.
3261 (_dl_sysdep_start): Remember start of auxiliary vector.
3262 * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
3263 * elf/link.h: Add prototype for _dl_show_auxv.
3264 * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
3265 is present.
3266
3267 * libio/iofdopen.c: Better prepare for use in libstdc++.
3268 * libio/iofflush.c: Likewise.
3269 * libio/iofgetpos.c: Likewise.
3270 * libio/iofgets.c: Likewise.
3271 * libio/iofopen.c: Likewise.
3272 * libio/iofputs.c: Likewise.
3273 * libio/iofread.c: Likewise.
3274 * libio/iofsetpos.c: Likewise.
3275 * libio/ioftell.c: Likewise.
3276 * libio/iofwrite.c: Likewise.
3277 * libio/iogetdelim.c: Likewise.
3278 * libio/iogets.c: Likewise.
3279 * libio/iopopen.c: Likewise.
3280 * libio/ioputs.c: Likewise.
3281 * libio/iosetbuffer.c: Likewise.
3282 * libio/iosetvbuf.c: Likewise.
3283 * libio/ioungetc.c: Likewise.
3284 * libio/iovsprintf.c: Likewise.
3285 * libio/iovsscanf.c: Likewise.
3286
3287 * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
3288 place.
3289
3290 * manual/math.texi: Add comment to sincos decsription to say it's a
3291 GNU extension.
3292 Fix description of random function.
3293
3294 * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
3295 * posix/glob.c: Likewise. Handle stupid system headers on SunOS.
3296 Add casts for all __alloca calls.
3297 * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
3298 Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
3299 Patches by Paul D. Smith <psmith@BayNetworks.COM>.
3300
3301 * stdio-common/_itoa.c: Don't use relateive #include paths.
3302
3303 * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
3304 gcc 2.7.
3305 (atan): Loading 1.0 from memory does not pay off.
3306 (asinh): Fix typo.
3307
3308 1997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com>
3309
3310 * sysdeps/stub/accept.c: Use socklen_t where necessary.
3311 * sysdeps/stub/bind.c: Likewise.
3312 * sysdeps/stub/connect.c: Likewise.
3313 * sysdeps/stub/getsockname.c: Likewise.
3314 * sysdeps/stub/getsockopt.c: Likewise.
3315 * sysdeps/stub/recvfrom.c: Likewise.
3316 * sysdeps/stub/sendto.c: Likewise.
3317 * sysdeps/stub/setsockopt.c: Likewise.
3318
3319 1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3320
3321 * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
3322 types.
3323
3324 1997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3325
3326 * math/libm-test.c (cbrt_test): Add epsilon for long double to
3327 `cbrt (-0.001)'.
3328
3329 1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3330
3331 * sysdeps/stub/bits/string.h: Fix comment.
3332
3333 1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3334
3335 * elf/Makefile (routines): Remove dl-version.
3336 (dl-routines): Add it here instead. This removes dead code from
3337 libc.so.
3338
3339 1997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3340
3341 * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
3342 macros to encapsulate pthread_atfork's functionality.
3343 * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
3344 functions, registered via thread_atfork in the initialization
3345 routine or via thread_atfork_static in global scope. This
3346 ensures a consistent state of all locks across fork().
3347
3348 1997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl>
3349
3350 * login/programs/xtmp.c (compare_entry):
3351 Partially undo patch made by Klaus Espenlaub. There
3352 was no xtmp/utmp typo. Added comment to cclarify this.
3353 * login/programs/xtmp.h: Likewise.
3354
3355 * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
3356 Patch by Paul D. Smith <psmith@BayNetworks.COM>.
3357
3358 1997-08-12 13:51 Ulrich Drepper <drepper@cygnus.com>
3359
3360 * login/getutid.c: Rename to __getutid and make getutid and getutxid
3361 weak aliases.
3362 Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
3363
3364 1997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com>
3365
3366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3367 Add bits/mman.h.
3368
3369 1997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
3370
3371 * stdlib/fmtmsg.c (fmtmsg): Add static to
3372 __libc_once_define macro.
3373
3374 * libc.map (__progname_full, __progname): Added.
3375
3376 1997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu>
3377
3378 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
3379 if SIOGIFINDEX is not defined.
3380 (if_indextoname): Initialize "result" to NULL.
3381 (if_nametoindex, if_nameindex): Fix ENOSYS setting.
3382
3383 1997-08-11 11:58 Richard Henderson <rth@cygnus.com>
3384
3385 Sparc ISO C 9x exception handling:
3386 * sysdeps/sparc/fpu/bits/mathdef.h: New file.
3387 * sysdeps/sparc/fpu/fclrexcpt.c: New file.
3388 * sysdeps/sparc/fpu/fegetenv.c: New file.
3389 * sysdeps/sparc/fpu/fegetround.c: New file.
3390 * sysdeps/sparc/fpu/feholdexcpt.c: New file.
3391 * sysdeps/sparc/fpu/fesetenv.c: New file.
3392 * sysdeps/sparc/fpu/fesetround.c: New file.
3393 * sysdeps/sparc/fpu/feupdateenv.c: New file.
3394 * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
3395 * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
3396 * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
3397 * sysdeps/sparc/fpu/ftestexcept.c: New file.
3398 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
3399 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
3400
3401 1997-08-11 11:58 Richard Henderson <rth@cygnus.com>
3402
3403 Sparc64 merge:
3404 * configure.in: Change up subdirectories, rename sparc8->sparcv8.
3405
3406 * csu/Makefile: Nuke need-nopic-initfini bits. The problem was
3407 that sparc64 ld did not recognize pic relocs at all.
3408
3409 * elf/dl-deps.c: Include <string.h>.
3410 * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
3411 directly instead of the DT names to get them from.
3412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
3413 from ELF_DYNAMIC_DO_REL{,A}. Define a second version that accounts
3414 for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
3415 the case on the Sparc.
3416
3417 * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
3418 Elf32_Ver* bits. The linker does not even know to differentiate
3419 between the word sizes. Someone should examine this and figure
3420 out what the proper sizes of things should be for 64-bit hosts
3421 before the sparc64 libraries are distributed.
3422
3423 * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
3424 on the same machine.
3425
3426 Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
3427 rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
3428 sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc.
3429
3430 * sysdeps/sparc/Implies: Do ieee754 here.
3431 * sysdeps/sparc/configure.in: Move from sparc32/.
3432 * sysdeps/sparc/sparc32/Implies: Do wordsize here.
3433 * sysdeps/sparc/sparc64/Implies: Likewise.
3434
3435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
3436 Use uninitialized .got to find load address instead of AT_BASE, as
3437 the later does not exist when running ld.so directly.
3438
3439 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
3440 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3441
3442 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
3443
3444 * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
3445 and s_signbitl for stdio.
3446 * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
3447 nopic_initfini.
3448
3449 * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
3450 * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
3451 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
3452 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
3453 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
3454 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
3455 and setjmp entry points.
3456
3457 * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
3458
3459 * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
3460 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
3461
3462 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
3463 Fix sa_flags size for sparc64; add sa_restorer for kernel.
3464
3465 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
3466 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3467 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3469
3470 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
3471
3472 1997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl>
3473
3474 * login/login.c (login): Check for correct return value of
3475 utmpname.
3476
3477 1997-08-11 16:49 Ulrich Drepper <drepper@cygnus.com>
3478
3479 * time/tzset.c (__tzset_internal): Correctly handle TZ strings
3480 following incorrect old POSIX specs.
3481 Patch by Paul Eggert <eggert@twinsun.com>.
3482
3483 * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
3484 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
3485 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
3486 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
3487 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3488 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3489 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
3490 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
3491 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
3492
3493 1997-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3494
3495 * manual/math.texi: Define the macros @mul and @infinity and use
3496 them to format the multiplication and infinity signs.
3497 (FP Comparison Functions): Use @code, not @math, for C code
3498 examples.
3499
3500 1997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com>
3501
3502 * Makeconfig: Define build-programs to no if not set and $(config-os)
3503 is none.
3504 * Makerules (+depfiles): Don't add $(others) if not build-programs.
3505 * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
3506 and $(install-sbin) if not build-programs.
3507 * Makefile (subdirs): Remove login.
3508 * sysdeps/mach/hurd/Subdirs: Add login.
3509 * sysdeps/unix/Subdirs: Add login.
3510
3511 * sysdeps/generic/sys/mman.h: Test feature macros before defining
3512 non-POSIX things. Add MAP_FAILED.
3513 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
3514 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
3515 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
3516 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
3517 * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
3518 but bits/mman.h. Test feature macros before definitions non-POSIX
3519 functions.
3520 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
3521 * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
3522 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
3523 * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
3524 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
3525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
3526 * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
3527 * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
3528 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3529 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3530 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3531 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3532 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3533 * sysdeps/unix/sysv/linux/sparc64/Dist: New file. Likewise.
3534
3535 * catgets/open_catalog.c (__open_catalog): Compare result of mmap
3536 with MAP_FAILED and not -1.
3537 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3538 * elf/dl-minimal.c (malloc): Likewise.
3539 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
3540 * locale/loadlocale.c (_nl_load_locale): Likewise.
3541 * locale/programs/localedef.c: Likewise.
3542 * malloc/malloc.c (mmap_chunk): Likewise.
3543 (new_heap): Likewise.
3544 * string/stratcliff.c: Likewise.
3545 * string/tester.c: Add tests for stpcpy.
3546
3547 * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
3548
3549 * gmon/sys/gmon.h: Add prototype for write_profiling.
3550
3551 * elf/dl-profile.c: Add descriptions and implement reading of
3552 existing data in profiling file.
3553 * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
3554 lib profiling data.
3555
3556 * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
3557 parameter for class.
3558
3559 * inet/inet_ntoa.c: Make once control variable static.
3560 Correctly handle case where key cannot be retrieved.
3561 * inet/Makefile (tests): Add tst-ntoa.
3562 * inet/tst-ntoa.c: New file.
3563
3564 * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
3565 ctime_r.
3566 Mention that tzname values must not be changed.
3567
3568 * manual/users.texi: Document UTMP/WTMP handling functions.
3569 Mainly written by Mark Kettenis.
3570
3571 * math/libm-test.c (cbrt_test): Add test for number with aboslute
3572 value < 1.0.
3573
3574 * nss/nss_files/files-XXX.c (internal_setent): If opening of file
3575 failed with EGAIN return NSS_STATUS_TRYAGAIN.
3576 * nss/nss_files/files-alias.c (internal_setent): Likewise.
3577
3578 * sysdeps/generic/bits/utmp.h: Pretty print.
3579
3580 * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation.
3581 * sysdeps/i386/i586/stpcpy.S: New file.
3582 * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
3583 these are less efficient than i486/i386 versions.
3584
3585 * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
3586 version from libm-ieee754 be compiled since the later is not needed.
3587 * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
3588 * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
3589 * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
3590 * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
3591 * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
3592 * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
3593 * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
3594 * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
3595 * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
3596 * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
3597 * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
3598
3599 * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
3600 * sysdeps/libm-i387/s_cbrtf.S: Likewise.
3601 * sysdeps/libm-i387/s_cbrtl.S: Likewise.
3602
3603 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
3604 little bug.
3605
3606 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
3607 msg_iovlen of type int.
3608
3609 * time/tzfile.c: Change return type of __tzstring to char *.
3610 * time/tzset.c: Likewise. Change definition of __tzstring.
3611
3612 * time/tzset.c: Interpret no DST information in user provided time
3613 zone specification as it is meant: no DST.
3614 Patch by Paul Eggert <eggert@twinsun.com>.
3615
3616 1997-07-20 03:01 Geoff Keating <geoffk@ozemail.com.au>
3617
3618 * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
3619 (_dl_map_object_from_fd): Use add_name_to_object.
3620 (_dl_map_object): If an object's SONAME is used to resolve a
3621 dependency, add it to the list of the object's names.
3622
3623 * inet/getnameinfo.c: Make `domain' non-const.
3624
3625 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
3626
3627 * math/test-fenv.c (feenv_nomask_test): Don't execute if
3628 FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
3629 sets errno to ENOSYS.
3630
3631 * sysdeps/powerpc/dl-machine.h: Print proper error message on
3632 unknown reloc type (rather than using assert).
3633
3634 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
3635 * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
3636
3637 1997-07-16 12:47 Geoff Keating <geoffk@ozemail.com.au>
3638
3639 * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
3640 (feclearexcept): New optimising macro.
3641 (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
3642 (FE_ENABLED_ENV): Add.
3643 (FE_NONIEEE_ENV): Add.
3644 * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
3645 __fe_nonieee_env; delete __fe_nomask_env.
3646 * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
3647 gets implemented in the kernel).
3648
3649 * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
3650 FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
3651 * sysdeps/powerpc/fsetexcptflag.c: Likewise.
3652
3653 * io/ftw.c: Don't compare holes in structures.
3654 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
3655 macros to `int', because otherwise it might be `long long' which
3656 the calling code is probably not expecting.
3657
3658 * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
3659 document the existence of some more.
3660
3661 * sysdeps/powerpc/s_llrint.c: New file.
3662 * sysdeps/powerpc/s_lrint.c: New file.
3663 * sysdeps/powerpc/s_llround.c: New file.
3664 * sysdeps/powerpc/s_lround.c: New file.
3665
3666 * sysdeps/powerpc/s_sqrt.c: New file.
3667 * sysdeps/powerpc/s_sqrtf.c: New file.
3668 * sysdeps/powerpc/w_sqrt.s: New empty file.
3669 * sysdeps/powerpc/w_sqrtf.s: New empty file.
3670 * sysdeps/powerpc/t_sqrt.c: New file.
3671 * sysdeps/powerpc/test-arithf.c: New file.
3672 * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
3673 routines. Add test-arithf to test programs.
3674
3675 * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
3676
3677 * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
3678 and possibly faster (or possibly slower, depending on input).
3679
3680 1997-06-08 22:55 Geoff Keating <geoffk@ozemail.com.au>
3681
3682 * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
3683 macros.
3684 * sysdeps/powerpc/s_rint.c: New file.
3685
3686 1997-05-22 08:47 Geoff Keating <geoffk@ozemail.com.au>
3687
3688 * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
3689 * sysdeps/powerpc/Dist: Add quad_float.h.
3690 * sysdeps/powerpc/q_dtoq.c: New file.
3691 * sysdeps/powerpc/q_itoq.c: New file.
3692 * sysdeps/powerpc/q_lltoq.c: New file.
3693 * sysdeps/powerpc/q_neg.c: New file.
3694 * sysdeps/powerpc/q_qtoi.c: New file.
3695 * sysdeps/powerpc/q_qtoll.c: New file.
3696 * sysdeps/powerpc/q_qtos.c: New file.
3697 * sysdeps/powerpc/q_qtou.c: New file.
3698 * sysdeps/powerpc/q_qtoull.c: New file.
3699 * sysdeps/powerpc/q_stoq.c: New file.
3700 * sysdeps/powerpc/q_ulltoq.c: New file.
3701 * sysdeps/powerpc/q_utoq.c: New file.
3702 * sysdeps/powerpc/quad_float.h: New file.
3703 * sysdeps/powerpc/test-arith.c: New file.
3704
3705 * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
3706 * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
3707 require a stack frame.
3708 * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
3709
3710 1997-05-18 05:55 Geoff Keating <geoffk@ozemail.com.au>
3711
3712 * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
3713 fesetenv_register): Add 'volatile'.
3714 (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
3715 constants to use with them.
3716 * sysdeps/powerpc/s_copysign.S: New file.
3717 * sysdeps/powerpc/s_copysignf.s: New file.
3718 * sysdeps/powerpc/s_fabs.S: New file.
3719 * sysdeps/powerpc/s_fabsf.s: New file.
3720 * sysdeps/powerpc/s_isnan.c: New file.
3721 * sysdeps/powerpc/s_isnanf.s: New file.
3722 * sysdeps/powerpc/s_rintf.c: New file.
3723
3724 * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
3725 bit in the FPSCR, not the enable bit.
3726 * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
3727 * sysdeps/powerpc/fclrexcpt.c: Correct.
3728 * sysdeps/powerpc/fsetexcptflag.c: Correct.
3729 * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
3730 * sysdeps/powerpc/fgetexcptflg.c: Simplify.
3731
3732 * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
3733
3734 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
3735 explaining some reentrancy issues with lazy PLT entries.
3736
3737 1997-08-09 13:04 Mark Kettenis <kettenis@phys.uva.nl>
3738
3739 * login/logout.c (logout): utmpname returns -1 on error.
3740
3741 * login/libutil.map: Remove updwtmp.
3742
3743 * login/getutline.c: Rename getutline to __getutline and make
3744 getutline a weak alias. Make getutxline a weak alias for
3745 __getutline.
3746 * login/getutid.c: Rename getutid to __getutid and make getutid a
3747 weak alias. Make getutxid a weak alias for __getutid.
3748 * libc.map: Add getutxid, getutxline.
3749
3750 * login/utmpname.c (__utmpname): Reset backend right after backend
3751 endutent call.
3752 * login/utmp_file.c: Reordered functions. Remove unecessary
3753 header files.
3754 (getutent_r_file, pututline_file): Do not call setutent_file. At this
3755 point the file is guaranteed to be open (assert!).
3756 (getutid_r_file, getutline_r_file): Remove check for validity of file
3757 descriptor. At this point the file is guaranteed to be open.
3758 (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
3759 updwtmp_file): Do not wait when unlocking file.
3760 * login/utmp_daemon.c: General cleanup and a bit of reordering.
3761 (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
3762 At this point the socket is guaranteed to be open (assert!).
3763 (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
3764 valid. At this point the socket is guaranteed to be open (assert!).
3765 * login/getutline_r.c: Remove unnecessary header files.
3766 (__getutline_r): Do not call backend setutent.
3767 * login/getutid_r.c: Remove unnecessary header files.
3768 (__getutid_r): Do not call backend setutent.
3769 * login/getutent_r.c: Remove unneccesary header files.
3770 (__libc_utmp_unknown_functions): Added getutid_r_unknown,
3771 getutline_r_unknown.
3772 (setutent_unknown): Only set file backend if setutent for the file
3773 backend was successful.
3774 (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
3775 of __setutent. Report failure if no backend was selected.
3776 (getutid_r_unknown): New function.
3777 (getutline_r_unknown): New function.
3778 (__endutent): Reset backend. This makes sure all backends are checked
3779 on the next setutent call.
3780
3781 1997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3782
3783 * nis_cache.c: Replace dummy functions.
3784
3785 * libc.map: Add xdr_sizeof symbol.
3786
3787 * sunrpc/Makefile: Add xdr_sizeof to routines.
3788 * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
3789 * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
3790
3791 1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3792
3793 * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
3794
3795 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3796
3797 * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
3798 right place.
3799
3800 1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3801
3802 * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
3803 PC's in long long to avoid overflow.
3804
3805 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3806
3807 * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
3808 New macros.
3809
3810 1997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3811
3812 * nis/Makefile (headers): Remove bits/nislib.h.
3813
3814 1997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com>
3815
3816 * sysdeps/mach/hurd/Subdirs: Add login.
3817
3818 1997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
3819
3820 * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
3821 the preferred block size.
3822
3823 * login/programs/database.c (store_state_entry): Don't compile if
3824 there is no ut_type field.
3825 (store_state_entry, store_process_entry): Use the ut_tv field
3826 for timestamps if supported.
3827
3828 * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
3829
3830 * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv
3831 field for timestamps if supported.
3832
3833 * login/programs/xtmp.h: Fix xtmp/utmp typo.
3834
3835 * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
3836
3837 * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
3838 * sysdeps/stub/send.c (send): Likewise.
3839 * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
3840 * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
3841 * sysdeps/stub/init-first.c: Add definition of __libc_pid.
3842
3843 1997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk>
3844
3845 * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
3846 tidy up formatting.
3847
3848 * Makefile (subdirs): Remove `login'.
3849 * sysdeps/unix/Subdirs: New file; build `login' subdirectory
3850 for Unix systems.
3851
3852 1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3853
3854 * sysdeps/generic/bits/utmpx.h: New file.
3855
3856 * sysdeps/mach/hurd/Dist: Add some files.
3857 * sysdeps/mips/Dist: Likewise.
3858 * sysdeps/mips/mips64/Dist: Likewise.
3859 * sysdeps/sparc/Dist: Likewise.
3860 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3861 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
3862 * sysdeps/mips/mipsel/Dist: New file.
3863 * sysdeps/sparc64/elf/Dist: New file.
3864 * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
3865
3866 1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3867
3868 * libc.map: Add missing symbols.
3869
3870 1997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3871
3872 * manual/socket.texi: Correct typos.
3873
3874 * manual/math.texi: Correct typos.
3875
3876 * manual/time.texi (Formatting Date and Time): Likewise.
3877
3878 1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3879
3880 * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
3881 (_mcleanup): Use write_gmon.
3882 (write_profiling): This function can be safely called at any time
3883 to write a current histogram without interfering with ongoing
3884 profiling.
3885
3886 * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
3887
3888 1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3889
3890 * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
3891 not be vm_deallocated; it's a stack buffer.
3892 (profil_vm_deallocate): Delete prototype.
3893 (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
3894 inclusion.
3895 * sysdeps/mach/hurd/Makefile
3896 ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
3897 this rule.
3898
3899 * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
3900 from profile_waiter.
3901 (profile_waiter): Use fetch_samples.
3902 (profil): When turning off profiling, fetch the last bunch of
3903 samples before disabling PC sampling.
3904 (fetch_samples): Add prototype.
3905
3906 1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3907
3908 * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
3909 source included by profil.c instead of trying to use
3910 before-compile grot.
3911
3912 1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
3913
3914 * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
3915 after releasing lock. Use special RPC stubs and avoid assert,
3916 thus making this function entirely independent of the threadvar
3917 mechanism and of cthreads.
3918 (lock): Convert to be a spin lock instead of a mutex, so that the
3919 waiter thread need not use cthreads. Use a fork prepare hook
3920 instead of _hurd_fork_locks to make sure we are clean before
3921 forking.
3922 (fork_profil_child): Renamed from fork_profil.
3923 (profil_reply_port): New variable.
3924 (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
3925 stubs made by special hacks.
3926 * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
3927 source files that profil.c needs if we are in the gmon directory.
3928
3929 * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
3930 cthreads bug that hasn't existed for two years.
3931
3932 1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com>
3933
3934 * locale/programs/localedef.c (main): Set bit in avail for those
3935 categories which are successfully read.
3936 * locale/programs/locfile.c (check_all_categories): Don't check
3937 categories if they are not available.
3938 (write_all_categories): Don't write categories if they are not
3939 available.
3940
3941 * login/setutent_r.c (setutent_unknown): Change return type to
3942 int and return result of called function.
3943
3944 * manual/arith.texi: Mark floating-point test macro from ISO C 9X
3945 as macros (not functions).
3946 * manual/libc.texinfo (UPDATED): Update.
3947 * manual/math.texi: Document exceptions, functions to handle
3948 exceptions, mathematical constants, FP comparison functions
3949 and several new functions from ISO C 9X.
3950 Change parameter of drand48, lrand48, and mrand48 to void (not
3951 empty).
3952 * manual/pattern.texi: Remove paragraph which explained that wordexp
3953 is executed by running a shell.
3954 * manual/time.texi: Explain difficulties with strftime if the
3955 functions returns 0 and no error occurred.
3956
3957 * math/math.h: Correct comment for some M_* constants.
3958 (isgreater, isgreaterequal, isless, islessequal, islessgreater,
3959 inunordered): Rewrite to make sure the arguments are evaluated
3960 exactly once.
3961
3962 * nis/rpcsvc/nis.x: Undo last change.
3963 * nis/rpcsvc/nis.h: Likewise.
3964 * nis/rpcsvc/nislib.h: File moved back to here.
3965
3966 * posix/sys/types.h: Don't define socklen_t. Pretty print.
3967 * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
3968 getsockopt, setsockopt, accept): Change size argument to type
3969 socklen_t.
3970 Pretty print.
3971 * manual/socket.texi: Describe socklen_t and change prototypes of
3972 socket functions to use socklen_t.
3973 * sysdeps/generic/bits/socket.h: Define socklen_t.
3974 (struct msghdr): Correct types to use socklen_t.
3975 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3976 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3977
3978 * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
3979 1.0 < x < 8.0.
3980 * stdio-common/tfformat.c: Add new tests for above bug.
3981
3982 * stdlib/strtod.c: Fix typo.
3983
3984 * string/Makefile (headers): Add bits/string.h.
3985 (CFLAGS-*): Add -D__NO_STRING_INLINES.
3986 * string/string.h: Include <bits/string.h> if optimizing and
3987 __NO_STRING_INLINES is not defined.
3988 * sysdeps/stub/bits/string.h: New file.
3989
3990 * sysdeps/powerpc/bits/fenv.h: Fix typos.
3991
3992 * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
3993 if SIOGIFINDEX is not defined.
3994
3995 * sysdeps/wordsize-32/inttypes.h: Pretty print.
3996 * sysdeps/wordsize-64/inttypes.h: Pretty print.
3997
3998 * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
3999
4000 * wcsmbs/Makefile (tests): Add tst-wcstof.
4001 * wcsmbs/tst-wcstof.c: New file.
4002
4003 1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4004
4005 * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
4006 loop, to avoid dragging stdio into the dynamic linker.
4007
4008 1997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu>
4009
4010 * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
4011 u_int32_t.
4012
4013 1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4014
4015 * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
4016 __getpwuid_r.
4017 Include <stdio.h> to get prototypes of *printf.
4018 (exec_comm): Remove unneeded variable *sh.
4019
4020 * libc.map: Add wordexp, wordfree.
4021
4022 * posix/Makefile (routines): Add wordexp.
4023
4024 1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4025
4026 * posix/wordexp.c: Correct typo in comment.
4027 (wordexp): Likewise.
4028
4029 * manual/errno.texi (Error Codes): Fix typo.
4030
4031 1997-08-03 15:28 Ulrich Drepper <drepper@cygnus.com>
4032
4033 * csu/initfini.c (SECTION): Don't put quotes around section name
4034 since this is not understood by all assemblers.
4035 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4036
4037 1997-08-02 21:27 Ulrich Drepper <drepper@cygnus.com>
4038
4039 * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
4040 * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
4041 * sysdeps/generic/netinet/inbits.h: Move to...
4042 * sysdeps/generic/bits/in.h: ... here.
4043 * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
4044 * sysdeps/unix/sysv/linux/bits/in.h: ... here.
4045
4046 * nis/Makefile (headers): Add bits/nislib.h.
4047 * nis/rpcsvc/nislib.h: Moved to ....
4048 * nis/bits/nislib.h: ... here.
4049
4050 * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
4051 * nis/nss_compat/compat-pwd.c: Likewise.
4052 * nis/nss_compat/compat-spwd.c: Likewise.
4053 * nis/nss_nisplus/nisplus-alias.c: Likewise.
4054 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4055 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4056 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4057 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4058 * nis/nss_nisplus/nisplus-ntework.c: Likewise.
4059 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4060 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4061 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4062 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4063 * nis/nss_nisplus/nisplus-service.c: Likewise.
4064 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4065
4066 * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
4067 * nis/rpcsvc/nis.h: Likewise.
4068
4069 * inet/getnameinfo.c (nrl_domainname): Change return type to const
4070 char *.
4071 (getnameinfo): Change type of local variable c to const char *.
4072
4073 * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
4074 * stdlib/fmtmsg.c: Likewise.
4075
4076 * intl/bindtextdom.c: Update from latest gettext.
4077 * intl/dcgettext.c: Likewise.
4078 * intl/finddomain.c: Likewise.
4079 * intl/l10nflist.c: Likewise.
4080 * intl/localealias.c: Likewise.
4081 * intl/textdomain.c: Likewise.
4082
4083 * login/getutid_r.c: Remove parameter to setutent call.
4084 * login/getutline_r.c: Likewise.
4085
4086 * posix/wordexp.c: Complete rewrite. Not fully implemented yet,
4087 though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
4088
4089 * stdio-common/printf_fp.c: Remove relative include paths.
4090 * stdio-common/printf_fphex.c: Likewise.
4091
4092 * sysdeps/generic/crypt.h: Cleanup. Don't define non standard
4093 elements unless __USE_GNU.
4094
4095 * sysdeps/generic/vlimit.c: Pretty print.
4096 * sysdeps/generic/vtimes.c: Likewise.
4097
4098 * sysdeps/i386/elf/bsd-_setjmp.S: New file. Empty dummy file.
4099 * sysdeps/i386/elf/bsd-setjmp.S: New file. Empty dummy file.
4100 * sysdeps/i386/elf/setjmp.S: New file. Define __setjmp and also
4101 weak definitions of setjmp and _setjmp.
4102
4103 * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
4104
4105 * sysdeps/stub/if_index.h: Set errno in all functions and add
4106 stub warnings.
4107
4108 * sysdeps/stub/libc-lock.h: Add __libc_once.
4109
4110 1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com>
4111
4112 * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
4113 case since the __syscall_ptrace call already did this.
4114 Reported by Philip Gladstone <philip@talon.raptor.com>.
4115
4116 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4117
4118 * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
4119 <gnu/types.h> to <sys/types.h>.
4120
4121 1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com>
4122
4123 * csu/defs.awk: Fix regexp for end and align.
4124 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4125
4126 * locale/programs/locale.c (print_escaped): New function.
4127 (show_info): Use print_escaped if strings can control unprintable
4128 characters.
4129 Patch by Jochen Hein <jochen.hein@delphi.central.de>.
4130
4131 1997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4132
4133 * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
4134 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4135
4136 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4137
4138 * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
4139 instead of fprintf.
4140
4141 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4142
4143 * manual/socket.texi (Host Address Functions): Fix arguments of
4144 @deftypefun.
4145
4146 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4147
4148 * elf/dl-runtime.c: Avoid warning about profile_fixup being
4149 unused.
4150
4151 * sysdeps/m68k/dl-machine.h: Add support for shared library
4152 profiling.
4153
4154 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4155
4156 * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
4157 dependencies.
4158
4159 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4160
4161 * Make-dist (subdirs): Distribute both aout and elf.
4162
4163 1997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl>
4164
4165 * login/utmp-private.h: Remove reset argument from backend
4166 setutent.
4167 * login/getutent_r.c (__setutent): Allways call the setutent
4168 function in the daemon backend.
4169 (setutent_unknown): Function removed.
4170 (getutent_unknown, pututline_unknown): Call __setutent instead of
4171 setutent_unknown.
4172 * login/utmp_file.c (setutent_file): Removed reset argument. All
4173 callers changed.
4174 * login/utmp_daemon.c (setutent_daemon): Removed reset
4175 argument. All callers changed. Try to open connection even if a
4176 previous connection failed, but first check if the sockets exist
4177 in the filesystem.
4178
4179 * login/utmp_daemon.c (pututline_daemon): Try to open connection
4180 before reporting failure.
4181
4182 * login/programs/database.c (open_database): Create compatibility
4183 file if it does not already exist. Supply mode argument in open
4184 calls to guarantee that created files have the proper protection.
4185
4186 * login/programs/utmpd.c (main): Remove files created by a
4187 previous `bind' before creating sockets.
4188 Suggested by a sun <asum@zoology.washington.edu>.
4189
4190 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4191
4192 * math/libm-test.c: Remove unneeded function check_int_exec.
4193
4194 * BUGS: Correct typos.
4195
4196 * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
4197
4198 1997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4199
4200 * manual/socket.texi (Host Address Functions): Reformat inet_ntop
4201 entry to confirm with expected behaviour of some scripts.
4202
4203 * libc.map: Add functions/variables in global namespace,
4204 remove wildcards.
4205
4206 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4207
4208 * resolv/libresolv.map: Add variables and routines used by named,
4209 nslookup and other bind utils.
4210 * libc.map: Likewise.
4211
4212 1997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com>
4213
4214 * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
4215 filesystem.
4216 * inet/test_ifindex.c: New file.
4217 * inet/Makefile (tests): Add test_ifindex.
4218
4219 1997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com>
4220
4221 * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
4222 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
4223
4224 * manual/errno.texi: Fix typo.
4225 Reported by Erik Talvola <etalvo@sapient.com>.
4226
4227 1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com>
4228
4229 * csu/gmon-start.c (__gmon_start__): Call __monstartup not
4230 monstartup.
4231 * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
4232 to __monstartup.
4233 * gmon/sys/gmon.h: Fix prototypes.
4234 * gmon/sys/gmon_out.h: Pretty print.
4235
4236 * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
4237 * gmon/gmon.c (__monstartup): Likewise.
4238 (write_hist): Remove dependency on 32 bit int.
4239 (_mcleanup): Don't call perror, use fprintf.
4240
4241 * elf/dl-load.c: Fix handling of current directory in search path.
4242
4243 * elf/Makefile (dl-routines): Add dl-profile.
4244 * elf/dl-profile.c: New file.
4245 * elf/dl-runtime.c (fixup): Add new parameter with address to store
4246 relocation result in to elf_machine_relplt.
4247 (profile_fixup): New function.
4248 * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
4249 to store relocation result in to elf_machine_relplt.
4250 * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
4251 * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
4252 call elf_machine_runtime_setup with extra argument.
4253 * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
4254 ELF_DYNAMIC_RELOCATE.
4255 * elf/link.h: Add prototypes for new functions and variables.
4256 * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
4257 variables and call _dl_start_profile if necessary.
4258 * include/sys/gmon_out.h: New file.
4259 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
4260 new parameter to enable profiling.
4261 (elf_machine_rela): Add new parameter to specify place to store
4262 result in.
4263 * sysdeps/m68k/dl-machine.h: Likewise.
4264 * sysdeps/mips/dl-machine.h: Likewise.
4265 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4266 * sysdeps/powerpc/dl-machine.h: Likewise.
4267 * sysdeps/sparc/dl-machine.h: Likewise.
4268 * sysdeps/sparc64/dl-machine.h: Likewise.
4269 * sysdeps/i386/dl-machine.h: Likewise.
4270 (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
4271 we do profiling.
4272 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
4273
4274 * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
4275 for stream on input file.
4276 * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
4277 * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
4278 * nss/nss_db/db-XXX.c (internal_setent): Likewise.
4279 * nss/nss_db/db-alias.c (internal_setent): Likewise.
4280 * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
4281 * nss/nss_files/files-XXX.c (internal_setent): Likewise.
4282 * nss/nss_files/files-alias.c (internal_setent): Likewise.
4283 * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
4284
4285 * string/string.h: Pretty print.
4286
4287 * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
4288 Add float and long double versions.
4289
4290 1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4291
4292 * elf/rtld.c (print_unresolved): Replace empty object name by main
4293 program name.
4294
4295 1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4296
4297 * sysdeps/generic/htons.c (htons): Renamed from __htons.
4298
4299 1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4300
4301 * sysdeps/m68k/bits/byteswap.h: New file.
4302
4303 1997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com>
4304
4305 * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
4306 advanced API.
4307 * inet/netinet/in.h: Likewise.
4308 * inet/netinet/ip6.h: Likewise.
4309 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4310 * posix/sys/types.h: Add socklen_t.
4311
4312 * manual/socket.texi: Document some more IPv6 things.
4313 * manual/libc.texinfo: Likewise.
4314
4315 1997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4316
4317 * libc.map: Define missing symbol.
4318
4319 1997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4320
4321 * nis/Makefile: Add nis_findserv.
4322 * nis/lckcache.c: Fix typo.
4323 * nis/nis_call.c: Fix problems with multihomed servers.
4324 * nis/nis_findserv.c: New file.
4325 * nis/nis_intern.h: Add more prototypes.
4326 * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
4327 is unreachable.
4328 * nis/nis_table.c (nis_list): Likewise.
4329 * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
4330 in error case.
4331 * nis/nis_util.c (__nis_finddirectory): Give the right error code
4332 back.
4333 * nis/ypclnt.c: Make sure, that all sockets are closed.
4334
4335 1997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com>
4336
4337 * elf/Makefile (distribute): Add genrtldtbl.awk.
4338 (before-compile): Add rtldtbl.h.
4339 (GAWK): New variable.
4340 (generated): Add trusted-dirs.h and rtldtbl.h.
4341 ($(objpfx)rtldtbl.h): New rule. File is needed by dl-load.c.
4342 * elf/dl-load.c: Rewrite. Now use cache and look for shared
4343 objects in machine dependent directories.
4344 * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
4345 * elf/dl-support.c: Rename function to non_dynamic_init and add
4346 initialization for _dl_platform, _dl_platformlen, _dl_pagesize
4347 and call to initializer for search path.
4348 * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
4349 * elf/genrtldtbl.awk: New file.
4350 * elf/link.h: Add type definitions and declarations for search
4351 path cache.
4352 * elf/rtld.c: Add definitions of variables used for search path cache.
4353 * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
4354 _dl_platform. Initialize _dl_pagesize early and use this value.
4355 * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
4356 * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
4357 * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
4358 of calling getpagesize.
4359
4360 * elf/dl-error.c (_dl_signal_error): Make message nicer.
4361
4362 * nss/libnss_files.map: Fix typo.
4363 Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
4364
4365 * sysdeps/generic/strsep.c: Optimize case where separator set contains
4366 only one character.
4367
4368 * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
4369 == +-Inf.
4370 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
4371 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
4372
4373 1997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu>
4374
4375 * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
4376 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
4377 * sysdeps/unix/mips/sysdep.S: Likewise.
4378 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4379
4380 * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
4381 * sysdeps/mips/bsd-setjmp.S: Likewise.
4382
4383 * sysdeps/mips/dl-machine.h: Remove extra stuff.
4384 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4385
4386 1997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com>
4387
4388 * sysdeps/standalone/arm/sysdep.c: New file.
4389
4390 1997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com>
4391
4392 * aout/Makefile: New file.
4393 * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
4394
4395 * sysdeps/generic/machine-gmon.h: Add warning about limitations of
4396 __builtin_return_address().
4397 * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
4398 above problem.
4399
4400 1997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu>
4401
4402 * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
4403
4404 1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4405
4406 * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
4407 tests.
4408
4409 1997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4410
4411 * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
4412 not shadow the variable in the outer scope.
4413
4414 1997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com>
4415
4416 * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
4417
4418 * inet/Makefile (tests): Add htontest.
4419 * inet/htontest.c: New file.
4420
4421 * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
4422 when they are no noops.
4423 * sysdeps/alpha/htonl.S: Don't define __ protected names.
4424 * sysdeps/alpha/htons.S: Likewise.
4425 * sysdeps/generic/htonl.c: Likewise.
4426 * sysdeps/generic/htons.c: Likewise.
4427 * sysdeps/i386/htonl.S: Likewise.
4428 * sysdeps/i386/htons.S: Likewise.
4429 * sysdeps/i386/i486/htonl.S: Likewise.
4430 * sysdeps/vax/htonl.s: Likewise.
4431 * sysdeps/vax/htons.s: Likewise.
4432
4433 * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
4434 * string/byteswap.h: New file.
4435 * sysdeps/generic/bits/byteswap.h: New file.
4436 * sysdeps/i386/bits/byteswap.h: New file.
4437 * sysdeps/generic/bits/htontoh.h: Removed.
4438 * sysdeps/i386/bits/htontoh.h: Removed.
4439
4440 * misc/search.h: General cleanup. Don't define reentrant hsearch
4441 functions uless __USE_GNU.
4442
4443 * nss/nsswitch.c: Pretty print.
4444
4445 * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
4446 warning.
4447
4448 * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
4449 been fixed meanwhile.
4450 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4451
4452 1997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com>
4453
4454 * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
4455 exists for this port.
4456
4457 1997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com>
4458
4459 * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
4460
4461 1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4462
4463 * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
4464 to format a proper minus sign.
4465
4466 1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4467
4468 * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
4469 specially, the standard doesn't require it.
4470
4471 * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
4472 if non-zero then don't test inexact flag. Callers changed.
4473 (set_single_exc): Ignore inexact flag if underflow or overflow
4474 exception is raised.
4475
4476 1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com>
4477
4478 * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
4479 Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
4480 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
4481 * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
4482
4483 1997-07-16 10:09 Fila Kolodny <fila@ibi.com>
4484
4485 * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
4486 and 1035 state that a fully qualified domain name cannot exceed 255
4487 octets in length.
4488 * resolv/nss_dns/dns-host.c: Likewise.
4489
4490 1997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu>
4491
4492 * inet/netinet/in.h (htons): Fix typos.
4493
4494 * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
4495
4496 1997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com>
4497
4498 * nss/nsswitch.c (nss_lookup_function): Include function.def, not
4499 functions.def.
4500 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
4501
4502 1997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com>
4503
4504 * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
4505 that optimizing is also selected for dependency generation.
4506
4507 * configure.in: Add machine description for TI c[34]x.
4508
4509 * inet/Makefile (routines): Remove ntohl and ntohs.
4510 * inet/netinet/in.h: Use optimized version of hton? and ntoh?
4511 for little endian machines.
4512 * sysdeps/alpha/ntohl.s: Removed.
4513 * sysdeps/alpha/ntohs.s: Removed.
4514 * sysdeps/generic/ntohl.c: Removed.
4515 * sysdeps/generic/ntohs.c: Removed.
4516 * sysdeps/generic/htonl.c: Add aliases for ntohl.
4517 * sysdeps/vax/htonl.s: Likewise.
4518 * sysdeps/generic/htons.c: Add aliases for ntohs.
4519 * sysdeps/vax/htons.s: Likewise.
4520 * sysdeps/vax/ntohl.s: Removed.
4521 * sysdeps/vax/ntohs.s: Removed.
4522 * sysdeps/generic/bits/htontoh.h: New file.
4523 * sysdeps/i386/htonl.S: New file.
4524 * sysdeps/i386/htons.S: New file.
4525 * sysdeps/i386/i486/htonl.S: New file.
4526
4527 * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
4528 macros.
4529
4530 * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
4531 * sysdeps/mips/mips64/dl-machine.h: New file.
4532
4533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
4534 syscall-list.h.
4535
4536 1997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4537
4538 * libc.map: Add missing symbol _obstack.
4539
4540 1997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu>
4541
4542 * sysdeps/mips/rtld-parms: New.
4543
4544 * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
4545 * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
4546
4547 * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
4548 * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
4549
4550 * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
4551
4552 1997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu>
4553
4554 * sysdeps/mips/dl-machine.h: Remove extra stuff.
4555
4556 1997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au>
4557 * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
4558
4559 * stdlib/grouping.h: Suppress gcc warning about testing
4560 unsigned char for less-than-zero.
4561 * stdio-common/printf_fp.c: Likewise.
4562 * stdio-common/vfprintf.c: Likewise.
4563
4564 * sysdeps/powerpc/add_n.s: New file.
4565 * sysdeps/powerpc/sub_n.s: New file.
4566 * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
4567 * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
4568 * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
4569 * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
4570 * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
4571
4572 * math/libm-test.c (cos_test, sin_test, sincos_test): Use
4573 precomputed pi/6 rather than having gcc calculate it, otherwise
4574 tests give inaccurate result due to inaccurate input.
4575 * math/libm.map: Add __fe_*_env constants to list of exported
4576 symbols.
4577
4578 * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
4579 * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
4580 * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
4581 round-to-nearest value.
4582
4583 * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
4584 * sysdeps/libm-ieee754/e_log10.c: Likewise.
4585 * sysdeps/libm-ieee754/e_log10f.c: Likewise.
4586 * sysdeps/libm-ieee754/e_logf.c: Likewise.
4587 * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
4588 * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
4589 * sysdeps/libm-ieee754/s_log2.c: Likewise.
4590 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4591
4592 1997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4593
4594 * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
4595 and memory leaks.
4596 * nis/nss_compat/compat-pwd.c: Likewise.
4597 * nis/nss_compat/compat-spwd.c: Likewise.
4598 * nis/nss_nis/nis-alias.c: Likewise.
4599 * nis/nss_nis/nis-ethers.c: Likewise.
4600 * nis/nss_nis/nis-grp.c: Likewise.
4601 * nis/nss_nis/nis-hosts.c: Likewise.
4602 * nis/nss_nis/nis-network.c: Likewise.
4603 * nis/nss_nis/nis-proto.c: Likewise.
4604 * nis/nss_nis/nis-pwd.c: Likewise.
4605 * nis/nss_nis/nis-rpc.c: Likewise.
4606 * nis/nss_nis/nis-service.c: Likewise.
4607 * nis/nss_nis/nis-spwd.c: Likewise.
4608 * nis/nss_nisplus-alias.c: Likewise.
4609 * nis/nss_nisplus-ethers.c: Likewise.
4610 * nis/nss_nisplus-grp.c: Likewise.
4611 * nis/nss_nisplus-hosts.c: Likewise.
4612 * nis/nss_nisplus-netgrp.c: Likewise.
4613 * nis/nss_nisplus-network.c: Likewise.
4614 * nis/nss_nisplus-proto.c: Likewise.
4615 * nis/nss_nisplus-pwd.c: Likewise.
4616 * nis/nss_nisplus-rpc.c: Likewise.
4617 * nis/nss_nisplus-service.c: Likewise.
4618 * nis/nss_nisplus-spwd.c: Likewise.
4619
4620 * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
4621
4622 1997-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4623
4624 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
4625 name in warning message.
4626 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
4627 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
4628 * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4629
4630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
4631 first.
4632
4633 1997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4634
4635 * libc.map: Add _null_auth and _seterr_reply.
4636
4637 * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
4638
4639 1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com>
4640
4641 * time/africa: Update from tzdata1997g.
4642 * time/asia: Likewise.
4643 * time/australasia: Likewise.
4644 * time/europe: Likewise.
4645 * time/iso3166.tab: Likewise.
4646 * time/zone.tab: Likewise.
4647 * time/private.h: Update from tzcode1997f.
4648 * time/scheck.c: Likewise.
4649
4650 * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
4651
4652 * math/math.h: Correct comments. Include <bits/mathinline.h>
4653 always when optimizing.
4654
4655 1997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl>
4656
4657 * time/getdate.c (__getdate_r):
4658 Report failure if string was not completely parsed.
4659 (getdate): Set getdate_err on failure.
4660
4661 1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4662
4663 * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
4664 Synchronize with malloc/obstack.c.
4665
4666 1997-07-16 Miles Bader <miles@gnu.ai.mit.edu>
4667
4668 * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
4669 than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
4670 Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
4671
4672 1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
4673
4674 * manual/Makefile (INSTALL_INFO): Introduce variable to override
4675 path to install-info for systems like Debian that have an
4676 install-info with a different command line interface from the
4677 canonical GNU texinfo version.
4678
4679 1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4680
4681 * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
4682 * posix/unistd.h: Likewise.
4683 * sysdeps/stub/ttyname_r.c: Likewise.
4684
4685 1997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com>
4686
4687 * inet/getnameinfo.c: Pretty print.
4688 Correctly enlarge buffers.
4689
4690 * login/programs/utmpd.c: Use _() instead of gettext().
4691
4692 * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
4693 * nis/nss_nisplus/nisplus-network.c: Likewise.
4694 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4695 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4696 * nis/nss_nisplus/nisplus-service.c: Likewise.
4697
4698 * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
4699 __OPTIMIZE__.
4700 * sysdeps/powerpc/bits/mathinline.h: Likewise.
4701 * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
4702 function always.
4703 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4704 * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
4705 it should look like in real files.
4706
4707 * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
4708 prevent prototype trouble, use simple loop.
4709 * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
4710
4711 * sysdeps/mips/mips64/Implies: Imply ieee754.
4712
4713 * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
4714 installed.
4715 * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
4716
4717 1997-07-14 00:25 Ulrich Drepper <drepper@cygnus.com>
4718
4719 * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
4720 * sysdeps/standalone/bits/stdio_lim.h: Removed.
4721 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4722
4723 1997-06-22 Paul Eggert <eggert@twinsun.com>
4724
4725 * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
4726
4727 * time/tzfile.c (__tzstring): New decl.
4728 (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
4729 (__tzfile_default): First two args are now const char *.
4730
4731 * time/tzset.c (__tzstring): New function.
4732 (tz_rule): Name is now const char *.
4733 (struct tzstring_head): New type.
4734 (tzstring_list, tzstring_last_buffer_size): New static vars.
4735 (__tzset_internal): Time zone names are now permanent, not temporary.
4736
4737 1997-07-13 01:18 Ulrich Drepper <drepper@cygnus.com>
4738
4739 * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
4740
4741 * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
4742 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4743 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4744 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4745
4746 * time/Makefile (routines): Add getdate.
4747 * time/time.h: Add prototype for getdate and getdate_r.
4748 * time/getdate.c: New file.
4749 Provided by Mark Kettenis <kettenis@phys.uva.nl>.
4750
4751 1997-06-30 14:49 H.J. Lu <hjl@gnu.ai.mit.edu>
4752
4753 From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
4754 Sat Jun 21 18:11:21 1997:
4755
4756 * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
4757 (swapoff): New.
4758
4759 * elf/Makefile: Add linker script support.
4760 (headers): Add bits/dlfcn.h.
4761
4762 * elf/dl-load.c (MAP_BASE_ADDR): New.
4763
4764 * elf/dlfcn.h: Include <bits/dlfcn.h>.
4765
4766 * elf/elf.h: Add MIPS support.
4767
4768 * sysdeps/generic/Dist: Add entry.h.
4769 * sysdeps/generic/entry.h: New, define the entry symbol.
4770
4771 * elf/rtld.c (_start): Include <entry.h>. Change to ENTRY_POINT.
4772 * sysdeps/generic/dl-sysdep.c (_start): Likewise.
4773 * mips/elf/start.S (_start): Likewise.
4774
4775 * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
4776 * sysdeps/mips/bsd-setjmp.S: Likewise.
4777 * sysdeps/mips/setjmp.S: Likewise.
4778 * mips/elf/start.S: Likewise.
4779 * sysdeps/unix/mips/brk.S: Likewise.
4780 * sysdeps/unix/mips/sysdep.S: Likewise.
4781 * sysdeps/unix/mips/sysdep.h: Likewise.
4782 * sysdeps/unix/mips/wait.S: Likewise.
4783
4784 * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
4785 * sysdeps/mips/fpu_control.h: Likewise.
4786
4787 * sysdeps/generic/bits/dlfcn.h: New file.
4788
4789 * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
4790 * sysdeps/mips/rtld-parms: Likewise.
4791 * sysdeps/mips/bits/dlfcn.h: Likewise.
4792 * sysdeps/mips/mips64/rtld-parms: Likewise.
4793 * sysdeps/mips/mipsel/rtld-parms: Likewise.
4794 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
4795 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4796 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
4797 * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
4798 * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
4799 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
4800 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
4801 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
4802 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
4803 * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
4804 * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
4805 * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
4806 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4807 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4808 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4809 * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
4810 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
4811 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4812 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
4813 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
4814 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4815 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
4816 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
4817 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4818 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4819 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
4820 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4821 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
4822 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
4823 * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
4824 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
4825 * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
4826 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4827 * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
4828 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
4829 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
4830
4831 1997-04-09 19:05 H.J. Lu (hjl@gnu.ai.mit.edu)
4832
4833 * isomac.c (xstrndup): New, use it instead of strndup ().
4834
4835 1997-07-02 08:55 H.J. Lu <hjl@gnu.ai.mit.edu>
4836
4837 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
4838 the program name for different sizes.
4839
4840 1997-07-10 15:47 Fila Kolodny <fila@ibi.com>
4841
4842 * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
4843 Add include of rpcsvc/nis.h.
4844 * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
4845 * sysdeps/posix/getaddrinfo.c: Likewise.
4846 Change size of variable buffer to be big enough to hold an IPv6
4847 address in printable format.
4848
4849 1997-07-12 18:47 Ulrich Drepper <drepper@cygnus.com>
4850
4851 * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
4852 and && in tests to allow use in C++ code which overloads these
4853 operators. Reported by Istvan Marko <istvan@cmdmail.amd.com>.
4854
4855 * configure.in: Move mips64* recognition before mips*.
4856 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4857
4858 1997-07-03 20:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4859
4860 * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
4861 automatic variables in dependency lists.
4862 (build-shlib): Always filter out the version script file.
4863 * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
4864
4865 1997-07-12 17:56 Ulrich Drepper <drepper@cygnus.com>
4866
4867 * login/login.c (tty_name): Test return value of ttyname_r for !=
4868 0, not < 0.
4869 * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
4870 0, not >= 0.
4871 * sysdeps/unix/getlogin.c (getlogin): Test return value of
4872 ttyname_r for != 0.
4873 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4874
4875 1997-07-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4876
4877 * login/utmp_file.c (getutline_r_file): Fix type: compare with
4878 *result.
4879
4880 1997-07-11 00:21 Mark Kettenis <kettenis@phys.uva.nl>
4881
4882 * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
4883
4884 1997-07-09 19:21 Mark Kettenis <kettenis@phys.uva.nl>
4885
4886 * login/programs/utmpd.c, login/programs/database.c,
4887 login/programs/request.c: Prepare messages for
4888 internationalization.
4889
4890 * login/programs/utmpd.c:
4891 (main): Change handling of errors in opening the database.
4892 * login/programs/database.c:
4893 (open_database, synchronize_database, initialize_database):
4894 Properly handle errors.
4895 (get_mtime): Use fstat instead of stat. All callers changed.
4896
4897 * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
4898 * login/getutent.c: Rename getutent to __getutent and make
4899 getutent a weak alias.
4900 Make getutxent a weak alias for __getutent.
4901 * login/utmpx.h: New file.
4902 * sysdeps/gnu/bits/utmp.h: Cleanup. Added comments.
4903 * sysdeps/gnu/bits/utmpx.h: New file.
4904
4905 1997-07-11 03:00 Ulrich Drepper <drepper@cygnus.com>
4906
4907 * inet/inet_ntoa.c: Prevent looking for thread data key if we found
4908 one.
4909
4910 * signal/sigandset.c: Include stddef.h to get NULL defined.
4911 * signal/sigisempty.c: Likewise.
4912 * signal/sigorset.c: Likewise.
4913 * sysdeps/stub/if_index.h: Likewise.
4914 * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
4915 * wcsmbs/wcstof_l.c: Likewise.
4916 * wcsmbs/wcstol_l.c: Likewise.
4917 * wcsmbs/wcstold_l.c: Likewise.
4918 * wcsmbs/wcstoll_l.c: Likewise.
4919 * wcsmbs/wcstoul_l.c: Likewise.
4920 * wcsmbs/wcstoull_l.c: Likewise.
4921 Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
4922
4923 * stdio-common/snprintf.c: Use ISO C function definition form.
4924
4925 * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
4926 __libc_setspecific as empty macros since they are used as
4927 function with return value.
4928 Reported by Andreas Jaeger.
4929
4930 * stdio-common/strops.c: Partialy undo last change. Will need
4931 more investigation.
4932
4933 1997-07-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
4934
4935 * sysdeps/mach/hurd/select.c (__select): Need bit count for
4936 MACH_MSG_TYPE_INTEGER_T.
4937
4938 1997-07-08 10:12 Fila Kolodny <fila@ibi.com>
4939
4940 * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
4941 * sysdeps/mvs/Implies: Likewise.
4942
4943 1997-07-09 23:06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4944
4945 * nis/Makefile: Add new source files.
4946
4947 * nis/nis_intern.h: Add new internal functions.
4948 * nis/rpcsvc/nislib.h: Likewise.
4949
4950 * nis/lckcache.c: New.
4951 * nis/nis_cache.c: New, dummy functions in the moment.
4952 * nis/nis_util.c: New.
4953 * nis/nisplus-parser.h: New.
4954 * nis/nss_nisplus/nisplus-parser.c: New.
4955 * nis/rpcsvc/nis_cache.h: New.
4956 * nis/rpcsvc/nis_cache.x: New.
4957
4958 * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
4959 * nis/nss_compat/compat-pwd.c: Likewise.
4960 * nis/nss_compat/compat-spwd.c: Likewise.
4961 * nis/nss_nisplus/nisplus-alias.c: Likewise.
4962 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4963 * nis/nss_nisplus/nisplus-grp.c: Likewise.
4964 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4965 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
4966 * nis/nss_nisplus/nisplus-network.c: Likewise.
4967 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4968 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
4969 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4970 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4971 * nis/nss_nisplus/nisplus-service.c: Likewise.
4972 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4973
4974 * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
4975
4976 * nis/nis_intern.c: Removed.
4977
4978 * nis/nis_call.c: Complete rewrite.
4979 * nis/nis_lookup.c: Likewise.
4980 * nis/nis_table.c: Likewise.
4981
4982 * nis/libnsl.map: Add missing symbols.
4983
4984 * nis/nis_print.c: Fix nis_print_link.
4985 * nis/nis_subr.c: Fix nis_getnames.
4986
4987 1997-07-09 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
4988
4989 * posix/execvp.c (execvp): Handle ESTALE.
4990
4991 1997-07-10 13:54 Ulrich Drepper <drepper@cygnus.com>
4992
4993 * posix/regex.c: Make CHAR_SET_SIZE definition always available,
4994 even if SYNTAX_TABLE is defined.
4995 Patch by Akim Demaille <demaille@inf.enst.fr>.
4996
4997 1997-07-09 08:16 H.J. Lu <hjl@gnu.ai.mit.edu>
4998
4999 * libio/fileops.c (_IO_file_underflow): Adjust pointers
5000 before calling _IO_SYSREAD ().
5001
5002 1997-07-07 22:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
5003
5004 * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
5005 (sysdep.h does the same job).
5006 * sysdeps/sparc/alloca.S: Likewise.
5007 * sysdeps/sparc/dotmul.S: Likewise.
5008 * sysdeps/sparc/udiv_qrnnd.S: Likewise.
5009
5010 * sysdeps/sparc/rem.S: Regenerated.
5011 * sysdeps/sparc/sdiv.S: Regenerated.
5012 * sysdeps/sparc/udiv.S: Regenerated.
5013 * sysdeps/sparc/urem.S: Regenerated.
5014
5015 * sysdeps/sparc/DEFS.h: Removed.
5016 * sysdeps/sparc/elf/DEFS.h: Removed.
5017 * sysdeps/sparc/Dist: Don't distribute DEFS.h.
5018
5019 * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
5020 directive #ifdef HAVE_ELF. Minor format changes.
5021
5022 * sysdeps/alpha/DEFS.h: Removed.
5023 * sysdeps/alpha/Dist: Don't distribute DEFS.h.
5024
5025 1997-07-07 19:03 H.J. Lu <hjl@gnu.ai.mit.edu>
5026
5027 * math/test-fenv.c (feenv_nomask_test): Move
5028 fesetenv (FE_NOMASK_ENV) after fork () to work with
5029 SMP.
5030
5031 * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
5032
5033 1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5034
5035 * libc.map: Add _IO_peekc_locked.
5036
5037 1997-07-07 15:45 Fila Kolodny <fila@ibi.com>
5038
5039 * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
5040
5041 1997-07-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5042
5043 * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
5044 right position.
5045 * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
5046
5047 1997-07-08 13:59 Ulrich Drepper <drepper@cygnus.com>
5048
5049 * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
5050 Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
5051
5052 1997-07-08 02:18 Ulrich Drepper <drepper@cygnus.com>
5053
5054 * io/lockf.c (lockf): Clear fl before using.
5055 Patch by sr@adb.fr.
5056
5057 * libio/strops.c: Correctly handle _IO_write_end.
5058
5059 * nss/libnss_files.map: Add __nss_netgroup_parseline.
5060 * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
5061 panic if setnetgrent wasn't called before, return error.
5062 Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
5063
5064 * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
5065 if locally defined.
5066 * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
5067 if locally defined.
5068 Define tm_diff function as ftime_tm_diff if locally defined.
5069 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
5070
5071 1997-07-06 23:36 Ulrich Drepper <drepper@cygnus.com>
5072
5073 * isomac.c (get_null_defines): Put NULL at end of list.
5074
5075 * hurd/Makefile: Remove special handling of sunrpc code.
5076 * sysdeps/mach/hurd/Makefile: Likewise.
5077 Compile CThreads code.
5078 * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
5079 * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
5080 functions.
5081 * sysdeps/stub/bits/libc-lock.h: Likewise.
5082 * sysdeps/mach/hurd/net/ethernet.h: New file.
5083 * sysdeps/mach/hurd/net/if.h: New file.
5084 * sysdeps/mach/hurd/net/if_arp.h: New file.
5085 * sysdeps/mach/hurd/net/if_ether.h: New file.
5086 * sysdeps/mach/hurd/net/if_ppp.h: New file.
5087 * sysdeps/mach/hurd/net/route.h: New file.
5088 Patches by Fila Kolodny <fila@ibi.com>.
5089
5090 * math/fenv-test.c: Add more tests.
5091 Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
5092
5093 * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
5094 INTFAST_MAX, and UINTFAST_MAX.
5095 * sysdeps/wordsize-64/inttypes.h: Likewise.
5096 Correct intmax_t definition.
5097
5098 1997-07-04 15:33 H.J. Lu <hjl@gnu.ai.mit.edu>
5099
5100 * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
5101
5102 1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu>
5103
5104 * libc.map: Add missing symbol.
5105
5106 1997-07-04 18:04 H.J. Lu <hjl@gnu.ai.mit.edu>
5107
5108 * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
5109 in cc1. Cpp in gcc doesn't do it.
5110
5111 1997-07-01 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5112
5113 * libio/libioP.h: Remove second definition of _IO_file_attach.
5114
5115 * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
5116
5117 * sysdeps/sparc64/elf/start.S (_start): Update and reformat
5118 copyright.
5119 * manual/summary.awk: Likewise.
5120 * misc/bits/stab.def: Likewise.
5121 * posix/glob/Makefile.ami: Likewise.
5122 * posix/glob/Makefile.in: Likewise.
5123 * posix/glob/SMakefile: Likewise.
5124 * sysdeps/gnu/errlist.awk: Likewise.
5125 * sysdeps/mach/hurd/errnos.awk: Likewise.
5126 * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
5127 * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
5128 * sysdeps/unix/snarf-ioctls: Likewise.
5129 * sysdeps/vax/setjmp.c: Likewise.
5130
5131 1997-07-05 11:56 Ulrich Drepper <drepper@cygnus.com>
5132
5133 * login/login.c (tty_name): Use newly allocated buffer.
5134 Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
5135
5136 * time/asctime.c: Never translate week and month name according
5137 to LC_TIME. Patch by Paul Eggert <eggert@twinsun.com>.
5138
5139 1997-07-03 22:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5140
5141 * locale/setlocale.c (setname): Do nothing when reusing the same
5142 name.
5143
5144 1997-07-03 20:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5145
5146 * libc.map: Add global variables of malloc.
5147
5148 1997-07-03 13:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5149
5150 * elf/dl-version.c (find_needed): Look for needed objects also in
5151 the dependency list of the current object. Added new parameter to
5152 find its link map, caller changed.
5153
5154 1997-07-03 12:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5155
5156 * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
5157 FE_UNDERFLOW cases.
5158
5159 1997-07-01 13:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5160
5161 * elf/link.h: Remove final comma from enumerator list, forbidden
5162 by ISO C. Use __inline instead of inline.
5163
5164 1997-07-01 16:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
5165
5166 * hurd/hurdsig.c: Include <hurd/id.h>.
5167 (reauth_proc): Call proc_setowner appropriately too.
5168
5169 1997-07-01 09:18 H.J. Lu <hjl@gnu.ai.mit.edu>
5170
5171 * libc.map: Add missing symbol.
5172
5173 1997-06-30 12:12 Fila Kolodny <fila@ibi.com>
5174
5175 * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
5176 * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
5177 declaration of addr.
5178
5179 1997-06-29 17:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5180
5181 * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
5182 it work in TeX.
5183
5184 1997-06-27 21:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5185
5186 * Makeconfig (+includes): Add include directory to include path.
5187 * configure.in (sysnames): Don't add it here.
5188 * Makefile (subdir-dirs): Define and add it to vpath for headers.
5189 * Make-dist (all-headers): Look in include directory for
5190 indirection headers. Filter out header names pointing outside the
5191 source directory.
5192
5193 * Makefile (distribute): Remove ansidecl.h, add libc.map.
5194 * Make-dist (+tsrcs): Add version scripts for extra libraries.
5195 * Makerules (distinfo-vars): Add %-map for extra libraries.
5196
5197 * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
5198 to kernel_termios.h.
5199 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
5200 termbits.h and sys/kernel_termios.h.
5201 * sysdeps/mips/mips64/Dist: New file.
5202 * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
5203
5204 1997-06-29 23:03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5205
5206 * math/test-fenv.c (feenv_nomask_test): New test for non masked
5207 exceptions.
5208 (feenv_mask_test): New test for masked exceptions
5209 (feenv_tests): New function calls feenv_nomask_test and
5210 feenv_mask_test.
5211 (main): Call new tests.
5212 (initial_tests): New test for initilisation.
5213
5214 1997-06-29 23:43 Ulrich Drepper <drepper@cygnus.com>
5215
5216 * config.make.in: Define need-nopic-initfini.
5217 * configure.in: Write out nopic_initfini.
5218 * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
5219 is defined.
5220
5221 * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
5222
5223 * sysdeps/sparc/rem.S: Get trap definition properly.
5224 * sysdeps/sparc/sdiv.S: Likewise.
5225 * sysdeps/sparc/udiv.S: Likewise.
5226 * sysdeps/sparc/urem.S: Likewise.
5227 * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
5228 * sysdeps/sparc/sys/trap.h: New file.
5229 * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
5230
5231 1997-06-25 10:26 Thorsten Kukuk <kukuk@uni-paderborn.de>
5232
5233 * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
5234
5235 1997-06-29 10:34 Fila Kolodny <fila@ibi.com>
5236
5237 * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
5238 to MACH_MSG_TYPE_INTEGER_T.
5239
5240 1997-06-29 01:04 Richard Henderson <richard@gnu.ai.mit.edu>
5241
5242 Initial sparc64-linux support:
5243 * configure.in: Recognize sparc64 as being different from sparc.
5244 * io/ftwtest-sh: Only invoke ld.so if it exists.
5245 * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
5246 static tests to link. Honour $(omit-long-double-fcts) == yes.
5247 * math/libm-test.c (test_single_exception): The argument to
5248 fetestexcept is `int' not `fexcept_t'.
5249 * shlib-versions: Recognize sparc64.
5250 * signal/signal.h: Add typedef for stack_t.
5251
5252 * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
5253 Attempt to fix up most of this by cleaning up assumptions below,
5254 but give up and change the defaults.
5255
5256 * setjmp/longjmp.c: Moved to ...
5257 * sysdeps/generic/longjmp.c: ... here.
5258 * setjmp/sigjmp.c: Moved to ...
5259 * sysdeps/generic/sigjmp.c: ... here.
5260
5261 * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
5262 Ought to fix up gas to catch these silly things properly.
5263 * sysdeps/sparc/bsd-setjmp.S: Likewise.
5264
5265 * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
5266 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
5267 * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
5268 the unused fields.
5269
5270 * sysdeps/sparc/sparc64/add_n.s: Moved to ...
5271 * sysdeps/sparc64/add_n.S: ... here. Fix up %g4 and stack usage.
5272 * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
5273 * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
5274 * sysdeps/sparc/sparc64/lshift.s: Likewise.
5275 * sysdeps/sparc/sparc64/mul_1.s: Likewise.
5276 * sysdeps/sparc/sparc64/rshift.s: Likewise.
5277 * sysdeps/sparc/sparc64/sub_n.s: Likewise.
5278 * sysdeps/sparc/sparc64/submul_1.s: Likewise.
5279
5280 * sysdeps/sparc64/Implies: New file.
5281 * sysdeps/sparc64/Makefile: Likewise.
5282 * sysdeps/sparc64/bits/endian.h: Likewise.
5283 * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
5284 * sysdeps/sparc64/bsd-setjmp.S: Likewise.
5285 * sysdeps/sparc64/dl-machine.h: Likewise.
5286 * sysdeps/sparc64/elf/Makefile: Likewise.
5287 * sysdeps/sparc64/elf/crtbegin.S: Likewise.
5288 * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
5289 * sysdeps/sparc64/elf/crtend.S: Likewise.
5290 * sysdeps/sparc64/elf/crtendS.S: Likewise.
5291 * sysdeps/sparc64/elf/start.S: Likewise.
5292 * sysdeps/sparc64/fpu_control.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
5295 * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
5297 * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
5298 * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
5301 * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
5302 * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
5303 * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
5304 * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
5305 * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
5307 * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
5308 * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
5309 * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
5310 * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
5311 * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
5313
5314 1997-06-28 16:28 H.J. Lu <hjl@gnu.ai.mit.edu>
5315
5316 * configure.in: Add -nostartfiles -nostdlib when check for
5317 --version-script.
5318
5319 1997-06-28 12:03 H.J. Lu <hjl@gnu.ai.mit.edu>
5320
5321 * sysdeps/powerpc/bits/endian.h: New file.
5322
5323 1997-06-28 20:52 Ulrich Drepper <drepper@cygnus.com>
5324
5325 * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
5326 setresgid.
5327
5328 1997-06-27 20:09 Ulrich Drepper <drepper@cygnus.com>
5329
5330 * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
5331 Reported by a sun <asun@zoology.washington.edu>.
5332
5333 * libc.map: Add _rpc_dtablesize. Reported by Thorsten Kukuk.
5334
5335 * db/makedb.c: Exit with error if number of option is incorrect.
5336
5337 * math/Makefile (tests): Add test-fenv.
5338 * math/test-fenv.c: New file. Test for exception handling functions.
5339 Written mainly by Andreas Jaeger.
5340
5341 * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
5342
5343 * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
5344 compatibility version to 0. Reported by Roland McGrath.
5345
5346 1997-06-27 18:49 Philip Blundell <Philip.Blundell@pobox.com>
5347
5348 * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
5349 * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
5350 * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
5351
5352 1997-06-27 10:44 Fila Kolodny <fila@ibi.com>
5353
5354 * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
5355
5356 1997-06-27 00:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5357
5358 * elf/dl-open.c (_dl_open): Check versions of all newly loaded
5359 objects, including dependencies.
5360
5361 * elf/dl-runtime.c (fixup): Always use version information if
5362 available.
5363
5364 1997-06-26 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5365
5366 * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
5367
5368 1997-06-26 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5369
5370 * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
5371 int, not pointer to fail_stack_elt_t.
5372 (PUSH_FAILURE_POINT): Fix all formats in debugging messages. Fix
5373 type of this_reg.
5374 (POP_FAILURE_POINT): Likewise. Fix type of failure_id.
5375 (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
5376
5377 1997-06-27 02:17 Ulrich Drepper <drepper@cygnus.com>
5378
5379 * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
5380 Reported by a sun.
5381
5382 1997-06-26 21:50 Ulrich Drepper <drepper@cygnus.com>
5383
5384 * math/math.h: Move definition of macros for unordered comparison
5385 after inclusion of <bits/mathinline.h>.
5386 * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
5387 unordered comparison before definition.
5388 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5389
5390 * Makerules: Move definition of load-map-file before use.
5391 (lib%.so): Depend on load-map-file, not lib%-map.
5392
5393 * manual/lgpl.texinfo: Update copyright.
5394
5395 1997-06-24 09:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5396
5397 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
5398 * sysdeps/m68k/fpu/s_ilogb.c: Define it here. Handle zero, NaN
5399 and infinity specially.
5400 * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
5401 Adapted.
5402
5403 * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
5404
5405 1997-06-26 17:06 Ulrich Drepper <drepper@cygnus.com>
5406
5407 * configure.in: Don't use .long in tests since some strange
5408 platforms without binutils don't know this.
5409 Redirect output of test commands correctly.
5410 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
5411
5412 * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
5413 Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
5414
5415 1997-06-26 09:02 Fila Kolodny <fila@ibi.com>
5416
5417 * sysdeps/mach/hurd/abi-tag.h: New file.
5418
5419 * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
5420 * sysdeps/stub/bits/libc-lock.h: Likewise.
5421
5422 * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
5423 Add variable addr containing the desired part of the union.
5424 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
5425 * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
5426 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
5427 * sysdeps/mach/hurd/connect.c (__connect): Likewise.
5428 * sysdeps/mach/hurd/bind.c (bind): Likewise.
5429
5430 * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
5431 to sizeof(MACH_MSG_TYPE_INTEGER_T).
5432
5433 * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
5434
5435 * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
5436
5437 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
5438 paramater list since it is used.
5439
5440 * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
5441
5442 * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
5443 ss to argss.
5444
5445 1997-06-24 14:02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5446
5447 * Rules: Update copyright.
5448 * mach/Machrules: Likewise.
5449
5450 1997-06-26 14:28 Ulrich Drepper <drepper@cygnus.com>
5451
5452 * configure.in: Fix accidently removed AC_OUTPUT line.
5453 Reported by Andreas Jaeger.
5454
5455 * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
5456 defined. Reported by Akim Demaille <demaille@inf.enst.fr>.
5457
5458 * sysdeps/generic/getdomain.c: Include handling for stub case.
5459 This eliminated the only case of a function in generic and stub.
5460 * sysdeps/stub/getdomain.c: Removed.
5461 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5462
5463 1997-06-23 22:20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5464
5465 * sysdeps/alpha/_mcount.S: Update and reformat copyright,
5466 remove trailing white spaces and send through unexpand.
5467 * sysdeps/alpha/bb_init_func.S: Likewise.
5468 * sysdeps/alpha/bzero.S: Likewise.
5469 * sysdeps/alpha/ffs.S: Likewise.
5470 * sysdeps/alpha/memset.S: Likewise.
5471 * sysdeps/alpha/s_fabs.S: Likewise.
5472 * sysdeps/alpha/strcmp.S: Likewise.
5473 * sysdeps/alpha/strlen.S: Likewise.
5474 * sysdeps/alpha/strncmp.S: Likewise.
5475 * sysdeps/alpha/strncpy.S: Likewise.
5476 * sysdeps/alpha/strrchr.S: Likewise.
5477 * sysdeps/alpha/stxcpy.S: Likewise.
5478 * sysdeps/alpha/stxncpy.S: Likewise.
5479 * sysdeps/alpha/elf/start.S: Likewise.
5480 * sysdeps/i386/strchr.S: Likewise.
5481 * sysdeps/m68k/bsd-_setjmp.S: Likewise.
5482 * sysdeps/m68k/bsd-setjmp.S: Likewise.
5483 * sysdeps/m68k/elf/start.S: Likewise.
5484 * sysdeps/mach/alpha/syscall.S: Likewise.
5485 * sysdeps/mach/i386/syscall.S: Likewise.
5486 * sysdeps/mips/elf/start.S: Likewise.
5487 * sysdeps/sparc/alloca.S: Likewise.
5488 * sysdeps/standalone/i386/start.S: Likewise.
5489 * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
5490 * sysdeps/standalone/i960/start.S: Likewise.
5491 * sysdeps/standalone/m68k/m68020/start.S: Likewise.
5492 * sysdeps/unix/_exit.S: Likewise.
5493 * sysdeps/unix/fork.S: Likewise.
5494 * sysdeps/unix/getegid.S: Likewise.
5495 * sysdeps/unix/geteuid.S: Likewise.
5496 * sysdeps/unix/getppid.S: Likewise.
5497 * sysdeps/unix/syscall.S: Likewise.
5498 * sysdeps/unix/arm/brk.S: Likewise.
5499 * sysdeps/unix/arm/fork.S: Likewise.
5500 * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
5501 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
5502 * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
5503 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5504 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5505 * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
5506 * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
5507 * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
5508 * sysdeps/unix/bsd/m68k/wait.S: Likewise.
5509 * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
5510 * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
5511 * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
5512 * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
5513 * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
5514 * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
5515 * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
5516 * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
5517 * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
5518 * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
5519 * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
5520 * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
5521 * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
5522 * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
5523 * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
5524 * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
5525 * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
5526 * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
5527 * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
5528 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
5529 * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
5530 * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
5531 * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
5532 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
5533 * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
5534 * sysdeps/unix/bsd/vax/brk.S: Likewise.
5535 * sysdeps/unix/bsd/vax/pipe.S: Likewise.
5536 * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
5537 * sysdeps/unix/bsd/vax/vfork.S: Likewise.
5538 * sysdeps/unix/bsd/vax/wait.S: Likewise.
5539 * sysdeps/unix/bsd/vax/wait3.S: Likewise.
5540 * sysdeps/unix/i386/brk.S: Likewise.
5541 * sysdeps/unix/i386/fork.S: Likewise.
5542 * sysdeps/unix/i386/pipe.S: Likewise.
5543 * sysdeps/unix/i386/sigreturn.S: Likewise.
5544 * sysdeps/unix/i386/syscall.S: Likewise.
5545 * sysdeps/unix/i386/vfork.S: Likewise.
5546 * sysdeps/unix/i386/wait.S: Likewise.
5547 * sysdeps/unix/mips/brk.S: Likewise.
5548 * sysdeps/unix/mips/fork.S: Likewise.
5549 * sysdeps/unix/mips/pipe.S: Likewise.
5550 * sysdeps/unix/mips/sigreturn.S: Likewise.
5551 * sysdeps/unix/mips/sysdep.S: Likewise.
5552 * sysdeps/unix/mips/wait.S: Likewise.
5553 * sysdeps/unix/sparc/brk.S: Likewise.
5554 * sysdeps/unix/sparc/fork.S: Likewise.
5555 * sysdeps/unix/sparc/pipe.S: Likewise.
5556 * sysdeps/unix/sparc/sysdep.S: Likewise.
5557 * sysdeps/unix/sparc/vfork.S: Likewise.
5558 * sysdeps/unix/sysv/i386/signal.S: Likewise.
5559 * sysdeps/unix/sysv/i386/time.S: Likewise.
5560 * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
5561 * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
5562 * sysdeps/unix/sysv/irix4/uname.S: Likewise.
5563 * sysdeps/unix/sysv/irix4/wait.S: Likewise.
5564 * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
5565 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5566 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5567 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
5568 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
5570 * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
5571 * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
5572 * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
5573 * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
5574 * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
5575 * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
5576 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
5577 * sysdeps/vax/bsd-_setjmp.S: Likewise.
5578 * sysdeps/vax/bsd-setjmp.S: Likewise.
5579
5580 1997-06-26 02:06 Ulrich Drepper <drepper@cygnus.com>
5581
5582 * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
5583 public.
5584
5585 * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
5586 dependency, not $(libc-map).
5587
5588 * sysdeps/posix/mk-stdiolim.c: Pretty print.
5589
5590 1997-06-25 15:54 Fila Kolodny <fila@ibi.com>
5591
5592 * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
5593 include of bits/types.h.
5594
5595 * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
5596 conditionalize this on whether we are cross-compiling.
5597
5598 1997-06-21 15:47 H.J. Lu <hjl@gnu.ai.mit.edu>
5599
5600 * elf/dl-lookup.c (do_lookup): Use default definition
5601 for a default versioned symbol.
5602
5603 * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
5604
5605 * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
5606
5607 * elf/link.h (r_found_version): Add the hidden field.
5608
5609 * math/test-matherr.c: New file.
5610
5611 * math/Makefile (tests): Add test-matherr.
5612 (libm-support): Put back s_matherr.
5613 (static-only-routines, aux): Remove s_matherr.
5614
5615 1997-06-23 23:39 Ulrich Drepper <drepper@cygnus.com>
5616
5617 * string/Makefile (headers): Change bytesex.h to bits/endian.h.
5618 * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
5619 bits/endian.h.
5620
5621 * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
5622 function will not fail because of exceptions.
5623
5624 * math/math.h: Add warning about use of M_* constants.
5625 Pretty print.
5626
5627 1997-06-23 11:36 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5628
5629 * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
5630 copyright, remove trailing white spaces and send through unexpand.
5631 * inet/netinet/icmp6.h: Likewise.
5632 * inet/netinet/in.h: Likewise.
5633 * inet/netinet/ip6.h: Likewise.
5634 * locale/programs/xmalloc.c: Likewise.
5635 * locale/programs/xstrdup.c: Likewise.
5636 * sysdeps/generic/make_siglist.c: Likewise.
5637 * sysdeps/generic/morecore.c: Likewise.
5638 * sysdeps/generic/sbrk.c: Likewise.
5639 * sysdeps/generic/signame.c: Likewise.
5640 * sysdeps/generic/signame.h: Likewise.
5641 * sysdeps/generic/netinet/inbits.h: Likewise.
5642 * sysdeps/posix/getpagesize.c: Likewise.
5643 * sysdeps/unix/errnos-tmpl.c: Likewise.
5644 * sysdeps/unix/getpagesize.c: Likewise.
5645 * sysdeps/unix/make_errlist.c: Likewise.
5646 * sysdeps/unix/mkfifo.c: Likewise.
5647 * sysdeps/unix/nlist.c: Likewise.
5648 * sysdeps/unix/start.c: Likewise.
5649 * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
5650
5651 * munch-tmpl.c: Update and reformat copyright, remove trailing
5652 white spaces and send through unexpand.
5653 * libio/clearerr_u.c: Likewise.
5654 * libio/memstream.c: Likewise.
5655 * libio/putc_u.c: Likewise.
5656 * libio/putchar_u.c: Likewise.
5657 * stdio-common/scanf.c: Likewise.
5658 * stdlib/longlong.h: Likewise.
5659 * sysdeps/alpha/__longjmp.c: Likewise.
5660 * sysdeps/alpha/divrem.h: Likewise.
5661 * sysdeps/alpha/machine-gmon.h: Likewise.
5662 * sysdeps/alpha/setjmp_aux.c: Likewise.
5663 * sysdeps/alpha/bits/setjmp.h: Likewise.
5664 * sysdeps/arm/fpu_control.h: Likewise.
5665 * sysdeps/generic/_strerror.c: Likewise.
5666 * sysdeps/generic/det_endian.c: Likewise.
5667 * sysdeps/generic/fdatasync.c: Likewise.
5668 * sysdeps/generic/fpu_control.c: Likewise.
5669 * sysdeps/generic/ftime.c: Likewise.
5670 * sysdeps/generic/getdomain.c: Likewise.
5671 * sysdeps/generic/group_member.c: Likewise.
5672 * sysdeps/generic/ldiv.c: Likewise.
5673 * sysdeps/generic/lldiv.c: Likewise.
5674 * sysdeps/generic/lxstat.c: Likewise.
5675 * sysdeps/generic/memcmp.c: Likewise.
5676 * sysdeps/generic/memmem.c: Likewise.
5677 * sysdeps/generic/mig-reply.c: Likewise.
5678 * sysdeps/generic/pagecopy.h: Likewise.
5679 * sysdeps/generic/profil-counter.h: Likewise.
5680 * sysdeps/generic/pselect.c: Likewise.
5681 * sysdeps/generic/setfpucw.c: Likewise.
5682 * sysdeps/generic/stpcpy.c: Likewise.
5683 * sysdeps/generic/uname.c: Likewise.
5684 * sysdeps/generic/varargs.h: Likewise.
5685 * sysdeps/generic/vlimit.c: Likewise.
5686 * sysdeps/generic/bits/sigaction.h: Likewise.
5687 * sysdeps/generic/bits/ustat.h: Likewise.
5688 * sysdeps/generic/netinet/if_ether.h: Likewise.
5689 * sysdeps/generic/sys/swap.h: Likewise.
5690 * sysdeps/generic/sys/sysinfo.h: Likewise.
5691 * sysdeps/i386/init-first.c: Likewise.
5692 * sysdeps/i386/ldbl2mpn.c: Likewise.
5693 * sysdeps/i386/memcopy.h: Likewise.
5694 * sysdeps/i386/i586/memcopy.h: Likewise.
5695 * sysdeps/i860/memcopy.h: Likewise.
5696 * sysdeps/m68k/__longjmp.c: Likewise.
5697 * sysdeps/m68k/fpu_control.h: Likewise.
5698 * sysdeps/m68k/memcopy.h: Likewise.
5699 * sysdeps/m68k/s_isinfl.c: Likewise.
5700 * sysdeps/m68k/s_isnanl.c: Likewise.
5701 * sysdeps/m68k/setjmp.c: Likewise.
5702 * sysdeps/mach/_strerror.c: Likewise.
5703 * sysdeps/mach/getsysstats.c: Likewise.
5704 * sysdeps/mach/mprotect.c: Likewise.
5705 * sysdeps/mach/munmap.c: Likewise.
5706 * sysdeps/mach/pagecopy.h: Likewise.
5707 * sysdeps/mach/start.c: Likewise.
5708 * sysdeps/mach/sysdep.h: Likewise.
5709 * sysdeps/mach/alpha/machine-lock.h: Likewise.
5710 * sysdeps/mach/alpha/machine-sp.h: Likewise.
5711 * sysdeps/mach/alpha/sysdep.h: Likewise.
5712 * sysdeps/mach/alpha/thread_state.h: Likewise.
5713 * sysdeps/mach/hppa/machine-lock.h: Likewise.
5714 * sysdeps/mach/hurd/access.c: Likewise.
5715 * sysdeps/mach/hurd/closedir.c: Likewise.
5716 * sysdeps/mach/hurd/dirstream.h: Likewise.
5717 * sysdeps/mach/hurd/dl-cache.c: Likewise.
5718 * sysdeps/mach/hurd/euidaccess.c: Likewise.
5719 * sysdeps/mach/hurd/fdatasync.c: Likewise.
5720 * sysdeps/mach/hurd/fexecve.c: Likewise.
5721 * sysdeps/mach/hurd/fork.c: Likewise.
5722 * sysdeps/mach/hurd/fpathconf.c: Likewise.
5723 * sysdeps/mach/hurd/fstatfs.c: Likewise.
5724 * sysdeps/mach/hurd/fxstat.c: Likewise.
5725 * sysdeps/mach/hurd/getcwd.c: Likewise.
5726 * sysdeps/mach/hurd/getpriority.c: Likewise.
5727 * sysdeps/mach/hurd/getrlimit.c: Likewise.
5728 * sysdeps/mach/hurd/getsid.c: Likewise.
5729 * sysdeps/mach/hurd/group_member.c: Likewise.
5730 * sysdeps/mach/hurd/kill.c: Likewise.
5731 * sysdeps/mach/hurd/lchown.c: Likewise.
5732 * sysdeps/mach/hurd/lxstat.c: Likewise.
5733 * sysdeps/mach/hurd/mig-reply.c: Likewise.
5734 * sysdeps/mach/hurd/mmap.c: Likewise.
5735 * sysdeps/mach/hurd/opendir.c: Likewise.
5736 * sysdeps/mach/hurd/pathconf.c: Likewise.
5737 * sysdeps/mach/hurd/profil.c: Likewise.
5738 * sysdeps/mach/hurd/ptrace.c: Likewise.
5739 * sysdeps/mach/hurd/readdir.c: Likewise.
5740 * sysdeps/mach/hurd/readdir_r.c: Likewise.
5741 * sysdeps/mach/hurd/send.c: Likewise.
5742 * sysdeps/mach/hurd/sendto.c: Likewise.
5743 * sysdeps/mach/hurd/setpriority.c: Likewise.
5744 * sysdeps/mach/hurd/statfs.c: Likewise.
5745 * sysdeps/mach/hurd/ttyname.c: Likewise.
5746 * sysdeps/mach/hurd/uname.c: Likewise.
5747 * sysdeps/mach/hurd/xstat.c: Likewise.
5748 * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
5749 * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
5750 * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
5751 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
5752 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
5753 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
5754 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
5755 * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
5756 * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
5757 * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
5758 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
5759 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5760 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
5761 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
5762 * sysdeps/mach/hurd/sys/param.h: Likewise.
5763 * sysdeps/mach/i386/machine-lock.h: Likewise.
5764 * sysdeps/mach/i386/machine-sp.h: Likewise.
5765 * sysdeps/mach/i386/sysdep.h: Likewise.
5766 * sysdeps/mach/i386/thread_state.h: Likewise.
5767 * sysdeps/posix/dup2.c: Likewise.
5768 * sysdeps/posix/flock.c: Likewise.
5769 * sysdeps/posix/getdtsz.c: Likewise.
5770 * sysdeps/posix/gettimeofday.c: Likewise.
5771 * sysdeps/posix/isatty.c: Likewise.
5772 * sysdeps/posix/killpg.c: Likewise.
5773 * sysdeps/posix/mk-stdiolim.c: Likewise.
5774 * sysdeps/posix/profil.c: Likewise.
5775 * sysdeps/posix/remove.c: Likewise.
5776 * sysdeps/posix/rename.c: Likewise.
5777 * sysdeps/posix/sigsuspend.c: Likewise.
5778 * sysdeps/posix/tempname.c: Likewise.
5779 * sysdeps/posix/truncate.c: Likewise.
5780 * sysdeps/posix/utimes.c: Likewise.
5781 * sysdeps/posix/wait.c: Likewise.
5782 * sysdeps/posix/wait3.c: Likewise.
5783 * sysdeps/rs6000/memcopy.h: Likewise.
5784 * sysdeps/sparc/memcopy.h: Likewise.
5785 * sysdeps/standalone/close.c: Likewise.
5786 * sysdeps/standalone/dirstream.h: Likewise.
5787 * sysdeps/standalone/filedesc.h: Likewise.
5788 * sysdeps/standalone/open.c: Likewise.
5789 * sysdeps/standalone/read.c: Likewise.
5790 * sysdeps/standalone/standalone.h: Likewise.
5791 * sysdeps/standalone/write.c: Likewise.
5792 * sysdeps/standalone/bits/stdio_lim.h: Likewise.
5793 * sysdeps/standalone/i386/i386.h: Likewise.
5794 * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
5795 * sysdeps/stub/__longjmp.c: Likewise.
5796 * sysdeps/stub/accept.c: Likewise.
5797 * sysdeps/stub/access.c: Likewise.
5798 * sysdeps/stub/acct.c: Likewise.
5799 * sysdeps/stub/adjtime.c: Likewise.
5800 * sysdeps/stub/alarm.c: Likewise.
5801 * sysdeps/stub/bind.c: Likewise.
5802 * sysdeps/stub/brk.c: Likewise.
5803 * sysdeps/stub/bsd-_setjmp.c: Likewise.
5804 * sysdeps/stub/bsd-setjmp.c: Likewise.
5805 * sysdeps/stub/chdir.c: Likewise.
5806 * sysdeps/stub/chflags.c: Likewise.
5807 * sysdeps/stub/chmod.c: Likewise.
5808 * sysdeps/stub/chown.c: Likewise.
5809 * sysdeps/stub/chroot.c: Likewise.
5810 * sysdeps/stub/clock.c: Likewise.
5811 * sysdeps/stub/close.c: Likewise.
5812 * sysdeps/stub/closedir.c: Likewise.
5813 * sysdeps/stub/connect.c: Likewise.
5814 * sysdeps/stub/ctermid.c: Likewise.
5815 * sysdeps/stub/cuserid.c: Likewise.
5816 * sysdeps/stub/dbl2mpn.c: Likewise.
5817 * sysdeps/stub/dirstream.h: Likewise.
5818 * sysdeps/stub/dup.c: Likewise.
5819 * sysdeps/stub/dup2.c: Likewise.
5820 * sysdeps/stub/exc2signal.c: Likewise.
5821 * sysdeps/stub/execve.c: Likewise.
5822 * sysdeps/stub/fchflags.c: Likewise.
5823 * sysdeps/stub/fchown.c: Likewise.
5824 * sysdeps/stub/fcntl.c: Likewise.
5825 * sysdeps/stub/fdopen.c: Likewise.
5826 * sysdeps/stub/fexecve.c: Likewise.
5827 * sysdeps/stub/flock.c: Likewise.
5828 * sysdeps/stub/fork.c: Likewise.
5829 * sysdeps/stub/fpathconf.c: Likewise.
5830 * sysdeps/stub/fpu_control.h: Likewise.
5831 * sysdeps/stub/fstatfs.c: Likewise.
5832 * sysdeps/stub/fsync.c: Likewise.
5833 * sysdeps/stub/ftruncate.c: Likewise.
5834 * sysdeps/stub/fxstat.c: Likewise.
5835 * sysdeps/stub/getcwd.c: Likewise.
5836 * sysdeps/stub/getdomain.c: Likewise.
5837 * sysdeps/stub/getdtsz.c: Likewise.
5838 * sysdeps/stub/getegid.c: Likewise.
5839 * sysdeps/stub/geteuid.c: Likewise.
5840 * sysdeps/stub/getgid.c: Likewise.
5841 * sysdeps/stub/getgroups.c: Likewise.
5842 * sysdeps/stub/gethostid.c: Likewise.
5843 * sysdeps/stub/gethostname.c: Likewise.
5844 * sysdeps/stub/getitimer.c: Likewise.
5845 * sysdeps/stub/getpeername.c: Likewise.
5846 * sysdeps/stub/getpgid.c: Likewise.
5847 * sysdeps/stub/getpid.c: Likewise.
5848 * sysdeps/stub/getppid.c: Likewise.
5849 * sysdeps/stub/getpriority.c: Likewise.
5850 * sysdeps/stub/getrlimit.c: Likewise.
5851 * sysdeps/stub/getrusage.c: Likewise.
5852 * sysdeps/stub/getsid.c: Likewise.
5853 * sysdeps/stub/getsockname.c: Likewise.
5854 * sysdeps/stub/getsockopt.c: Likewise.
5855 * sysdeps/stub/getsysstats.c: Likewise.
5856 * sysdeps/stub/gettimeofday.c: Likewise.
5857 * sysdeps/stub/getuid.c: Likewise.
5858 * sysdeps/stub/gtty.c: Likewise.
5859 * sysdeps/stub/if_index.c: Likewise.
5860 * sysdeps/stub/init-posix.c: Likewise.
5861 * sysdeps/stub/ioctl.c: Likewise.
5862 * sysdeps/stub/isatty.c: Likewise.
5863 * sysdeps/stub/isfdtype.c: Likewise.
5864 * sysdeps/stub/jmp-unwind.c: Likewise.
5865 * sysdeps/stub/kill.c: Likewise.
5866 * sysdeps/stub/killpg.c: Likewise.
5867 * sysdeps/stub/ldbl2mpn.c: Likewise.
5868 * sysdeps/stub/link.c: Likewise.
5869 * sysdeps/stub/listen.c: Likewise.
5870 * sysdeps/stub/lockfile.c: Likewise.
5871 * sysdeps/stub/longjmp-ts.c: Likewise.
5872 * sysdeps/stub/lseek.c: Likewise.
5873 * sysdeps/stub/lxstat.c: Likewise.
5874 * sysdeps/stub/machine-lock.h: Likewise.
5875 * sysdeps/stub/machine-sp.h: Likewise.
5876 * sysdeps/stub/madvise.c: Likewise.
5877 * sysdeps/stub/mkdir.c: Likewise.
5878 * sysdeps/stub/mkfifo.c: Likewise.
5879 * sysdeps/stub/mmap.c: Likewise.
5880 * sysdeps/stub/morecore.c: Likewise.
5881 * sysdeps/stub/mpn2dbl.c: Likewise.
5882 * sysdeps/stub/mpn2flt.c: Likewise.
5883 * sysdeps/stub/mpn2ldbl.c: Likewise.
5884 * sysdeps/stub/mprotect.c: Likewise.
5885 * sysdeps/stub/msgctl.c: Likewise.
5886 * sysdeps/stub/msgget.c: Likewise.
5887 * sysdeps/stub/msgrcv.c: Likewise.
5888 * sysdeps/stub/msgsnd.c: Likewise.
5889 * sysdeps/stub/munmap.c: Likewise.
5890 * sysdeps/stub/nanosleep.c: Likewise.
5891 * sysdeps/stub/nice.c: Likewise.
5892 * sysdeps/stub/nlist.c: Likewise.
5893 * sysdeps/stub/open.c: Likewise.
5894 * sysdeps/stub/opendir.c: Likewise.
5895 * sysdeps/stub/pathconf.c: Likewise.
5896 * sysdeps/stub/pause.c: Likewise.
5897 * sysdeps/stub/pipestream.c: Likewise.
5898 * sysdeps/stub/poll.c: Likewise.
5899 * sysdeps/stub/profil.c: Likewise.
5900 * sysdeps/stub/ptrace.c: Likewise.
5901 * sysdeps/stub/putenv.c: Likewise.
5902 * sysdeps/stub/read.c: Likewise.
5903 * sysdeps/stub/readdir.c: Likewise.
5904 * sysdeps/stub/readdir_r.c: Likewise.
5905 * sysdeps/stub/readlink.c: Likewise.
5906 * sysdeps/stub/reboot.c: Likewise.
5907 * sysdeps/stub/recv.c: Likewise.
5908 * sysdeps/stub/recvfrom.c: Likewise.
5909 * sysdeps/stub/recvmsg.c: Likewise.
5910 * sysdeps/stub/remove.c: Likewise.
5911 * sysdeps/stub/rename.c: Likewise.
5912 * sysdeps/stub/revoke.c: Likewise.
5913 * sysdeps/stub/rewinddir.c: Likewise.
5914 * sysdeps/stub/rmdir.c: Likewise.
5915 * sysdeps/stub/sbrk.c: Likewise.
5916 * sysdeps/stub/sched_getp.c: Likewise.
5917 * sysdeps/stub/sched_gets.c: Likewise.
5918 * sysdeps/stub/sched_primax.c: Likewise.
5919 * sysdeps/stub/sched_primin.c: Likewise.
5920 * sysdeps/stub/sched_rr_gi.c: Likewise.
5921 * sysdeps/stub/sched_setp.c: Likewise.
5922 * sysdeps/stub/sched_sets.c: Likewise.
5923 * sysdeps/stub/sched_yield.c: Likewise.
5924 * sysdeps/stub/seekdir.c: Likewise.
5925 * sysdeps/stub/select.c: Likewise.
5926 * sysdeps/stub/semctl.c: Likewise.
5927 * sysdeps/stub/semget.c: Likewise.
5928 * sysdeps/stub/semop.c: Likewise.
5929 * sysdeps/stub/send.c: Likewise.
5930 * sysdeps/stub/sendmsg.c: Likewise.
5931 * sysdeps/stub/sendto.c: Likewise.
5932 * sysdeps/stub/setdomain.c: Likewise.
5933 * sysdeps/stub/setegid.c: Likewise.
5934 * sysdeps/stub/setenv.c: Likewise.
5935 * sysdeps/stub/seteuid.c: Likewise.
5936 * sysdeps/stub/setgid.c: Likewise.
5937 * sysdeps/stub/setgroups.c: Likewise.
5938 * sysdeps/stub/sethostid.c: Likewise.
5939 * sysdeps/stub/sethostname.c: Likewise.
5940 * sysdeps/stub/setjmp.c: Likewise.
5941 * sysdeps/stub/setlogin.c: Likewise.
5942 * sysdeps/stub/setpgid.c: Likewise.
5943 * sysdeps/stub/setpriority.c: Likewise.
5944 * sysdeps/stub/setregid.c: Likewise.
5945 * sysdeps/stub/setreuid.c: Likewise.
5946 * sysdeps/stub/setrlimit.c: Likewise.
5947 * sysdeps/stub/setsid.c: Likewise.
5948 * sysdeps/stub/setsockopt.c: Likewise.
5949 * sysdeps/stub/settimeofday.c: Likewise.
5950 * sysdeps/stub/setuid.c: Likewise.
5951 * sysdeps/stub/shmctl.c: Likewise.
5952 * sysdeps/stub/shmget.c: Likewise.
5953 * sysdeps/stub/shutdown.c: Likewise.
5954 * sysdeps/stub/sigaction.c: Likewise.
5955 * sysdeps/stub/sigaltstack.c: Likewise.
5956 * sysdeps/stub/sigblock.c: Likewise.
5957 * sysdeps/stub/sigintr.c: Likewise.
5958 * sysdeps/stub/sigpending.c: Likewise.
5959 * sysdeps/stub/sigprocmask.c: Likewise.
5960 * sysdeps/stub/sigreturn.c: Likewise.
5961 * sysdeps/stub/sigsetmask.c: Likewise.
5962 * sysdeps/stub/sigstack.c: Likewise.
5963 * sysdeps/stub/sigsuspend.c: Likewise.
5964 * sysdeps/stub/sigvec.c: Likewise.
5965 * sysdeps/stub/socket.c: Likewise.
5966 * sysdeps/stub/socketpair.c: Likewise.
5967 * sysdeps/stub/sstk.c: Likewise.
5968 * sysdeps/stub/statfs.c: Likewise.
5969 * sysdeps/stub/stdio_init.c: Likewise.
5970 * sysdeps/stub/stime.c: Likewise.
5971 * sysdeps/stub/stty.c: Likewise.
5972 * sysdeps/stub/swapoff.c: Likewise.
5973 * sysdeps/stub/swapon.c: Likewise.
5974 * sysdeps/stub/symlink.c: Likewise.
5975 * sysdeps/stub/sync.c: Likewise.
5976 * sysdeps/stub/syscall.c: Likewise.
5977 * sysdeps/stub/sysd-stdio.c: Likewise.
5978 * sysdeps/stub/system.c: Likewise.
5979 * sysdeps/stub/tcdrain.c: Likewise.
5980 * sysdeps/stub/tcflow.c: Likewise.
5981 * sysdeps/stub/tcflush.c: Likewise.
5982 * sysdeps/stub/tcgetattr.c: Likewise.
5983 * sysdeps/stub/tcgetpgrp.c: Likewise.
5984 * sysdeps/stub/tcsendbrk.c: Likewise.
5985 * sysdeps/stub/tcsetpgrp.c: Likewise.
5986 * sysdeps/stub/telldir.c: Likewise.
5987 * sysdeps/stub/thread_state.h: Likewise.
5988 * sysdeps/stub/time.c: Likewise.
5989 * sysdeps/stub/times.c: Likewise.
5990 * sysdeps/stub/trampoline.c: Likewise.
5991 * sysdeps/stub/truncate.c: Likewise.
5992 * sysdeps/stub/ttyname.c: Likewise.
5993 * sysdeps/stub/ttyname_r.c: Likewise.
5994 * sysdeps/stub/ualarm.c: Likewise.
5995 * sysdeps/stub/ulimit.c: Likewise.
5996 * sysdeps/stub/umask.c: Likewise.
5997 * sysdeps/stub/unlink.c: Likewise.
5998 * sysdeps/stub/usleep.c: Likewise.
5999 * sysdeps/stub/ustat.c: Likewise.
6000 * sysdeps/stub/utime.c: Likewise.
6001 * sysdeps/stub/utimes.c: Likewise.
6002 * sysdeps/stub/vdprintf.c: Likewise.
6003 * sysdeps/stub/vhangup.c: Likewise.
6004 * sysdeps/stub/wait.c: Likewise.
6005 * sysdeps/stub/wait3.c: Likewise.
6006 * sysdeps/stub/wait4.c: Likewise.
6007 * sysdeps/stub/waitpid.c: Likewise.
6008 * sysdeps/stub/write.c: Likewise.
6009 * sysdeps/stub/xmknod.c: Likewise.
6010 * sysdeps/stub/xstat.c: Likewise.
6011 * sysdeps/stub/bits/errno.h: Likewise.
6012 * sysdeps/stub/bits/sigcontext.h: Likewise.
6013 * sysdeps/unix/fxstat.c: Likewise.
6014 * sysdeps/unix/mk-local_lim.c: Likewise.
6015 * sysdeps/unix/mkdir.c: Likewise.
6016 * sysdeps/unix/nice.c: Likewise.
6017 * sysdeps/unix/rmdir.c: Likewise.
6018 * sysdeps/unix/stime.c: Likewise.
6019 * sysdeps/unix/telldir.c: Likewise.
6020 * sysdeps/unix/xstat.c: Likewise.
6021 * sysdeps/unix/arm/sysdep.h: Likewise.
6022 * sysdeps/unix/bsd/ftime.c: Likewise.
6023 * sysdeps/unix/bsd/isatty.c: Likewise.
6024 * sysdeps/unix/bsd/setegid.c: Likewise.
6025 * sysdeps/unix/bsd/seteuid.c: Likewise.
6026 * sysdeps/unix/bsd/setsid.c: Likewise.
6027 * sysdeps/unix/bsd/sigaction.c: Likewise.
6028 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6029 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6030 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6031 * sysdeps/unix/bsd/times.c: Likewise.
6032 * sysdeps/unix/bsd/ulimit.c: Likewise.
6033 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
6034 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
6035 * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
6036 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
6037 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
6038 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
6039 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
6040 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
6041 * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
6042 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
6043 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
6044 * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
6045 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
6046 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
6047 * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
6048 * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
6049 * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
6050 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
6051 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
6052 * sysdeps/unix/common/lxstat.c: Likewise.
6053 * sysdeps/unix/common/tcsendbrk.c: Likewise.
6054 * sysdeps/unix/common/bits/dirent.h: Likewise.
6055 * sysdeps/unix/i386/sysdep.h: Likewise.
6056 * sysdeps/unix/mips/sysdep.h: Likewise.
6057 * sysdeps/unix/sysv/setrlimit.c: Likewise.
6058 * sysdeps/unix/sysv/settimeofday.c: Likewise.
6059 * sysdeps/unix/sysv/sigaction.c: Likewise.
6060 * sysdeps/unix/sysv/sysv_termio.h: Likewise.
6061 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6062 * sysdeps/unix/sysv/tcflow.c: Likewise.
6063 * sysdeps/unix/sysv/tcflush.c: Likewise.
6064 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6065 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6066 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6067 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
6068 * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
6069 * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
6070 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
6071 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6072 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6073 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
6074 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6075 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6076 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
6077 * sysdeps/unix/sysv/linux/speed.c: Likewise.
6078 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6079 * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
6080 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6081 * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
6082 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
6083 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
6084 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
6085 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
6086 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6087 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
6088 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
6089 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
6090 * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
6091 * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
6092 * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
6093 * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
6094 * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
6095 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
6096 * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
6097 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
6098 * sysdeps/vax/fl.h: Likewise.
6099 * sysdeps/vax/setjmp.c: Likewise.
6100
6101 1997-06-21 16:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6102
6103 * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
6104 and NaN strings.
6105
6106 1997-06-20 21:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6107
6108 * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
6109 argument.
6110 (__ilogb): Remove special case for zero, add stupid special case
6111 for NaN.
6112 (__ieee754_scalb): Remove definition.
6113 * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
6114 * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
6115
6116 * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
6117 * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
6118 * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
6119
6120 * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
6121 returning NaN. Handle zero specially.
6122 * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
6123 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
6124
6125 * math/libm-test.c (ilogb_test): Don't require exceptions for zero
6126 and NaN.
6127 (gamma_test): Use different argument when checking whether
6128 function is implemented.
6129 (scalb_test): Remove duplicate tests.
6130
6131 1997-06-03 15:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6132
6133 * Makerules (+depfiles): Add dependencies for $(test-srcs).
6134 (distinfo-vars): Add test-srcs.
6135
6136 1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com>
6137
6138 * argp/argp.h: Remove extra #endif. Pretty print.
6139 * md5-crypt/md5.h: Likewise.
6140
6141 * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
6142 * wctype/wctype.h: Likewise.
6143
6144 * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
6145 directory.
6146
6147 * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
6148 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
6149 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
6150 * sysdeps/libm-i387/s_lrint.S: Likewise.
6151 * sysdeps/libm-i387/s_llrint.S: Likewise.
6152
6153 1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com>
6154
6155 * config.h.in: Add DO_STATIC_NSS.
6156 * config.make.in: Add build-static-nss.
6157
6158 * elf/eval.c: Use __getdelim instead of __getline.
6159
6160 * locale/programs/locale.c: Correct comment.
6161
6162 * manual/libc.texinfo: Update copyright and date.
6163 Remove A4 option.
6164
6165 * sysdeps/libm-ieee754/k_standard.c: Always return HUGE_VAL
6166 for gamma overflow.
6167 * sysdeps/libm-ieee754/w_gamma.c: Handle SVID and ISO C behaviour.
6168 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
6169 * sysdeps/libm-ieee754/w_gammalp.c: Likewise.
6170
6171 * po/ko.po: Update.
6172
6173 1997-06-13 10:06 Richard Henderson <rth@tamu.edu>
6174
6175 The Great Bit File Move:
6176 * configure.in (AC_INIT): Look in include/ for features.h.
6177 (sysnames): Add include as the final search directory.
6178 (AC_OUTPUT): Create a bits directory in the build directory.
6179 * Makeconfig (CPPFLAGS): Look in include/ for libc-symbols.h.
6180 * Makefile: Make sure the target directory exists when installing
6181 <gnu/stubs.h> and <gnu/lib-names.h>.
6182 * csu/Makefile: Use $(compile.S) and $(compile.c) instead of
6183 invoking $(CC) directly, as the former have the full include path.
6184
6185 * ansidecl.h: Removed.
6186
6187 * aliases.h: Moved to include/.
6188 * alloca.h: Likewise.
6189 * argp.h: Likewise.
6190 * argz.h: Likewise.
6191 * arpa/ftp.h: Likewise.
6192 * arpa/inet.h: Likewise.
6193 * arpa/nameser.h: Likewise.
6194 * arpa/telnet.h: Likewise.
6195 * arpa/tftp.h: Likewise.
6196 * assert.h: Likewise.
6197 * ctype.h: Likewise.
6198 * db.h: Likewise.
6199 * dirent.h: Likewise.
6200 * dlfcn.h: Likewise.
6201 * elf.h: Likewise.
6202 * endian.h: Likewise.
6203 * envz.h: Likewise.
6204 * err.h: Likewise.
6205 * errno.h: Likewise.
6206 * error.h: Likewise.
6207 * fcntl.h: Likewise.
6208 * features.h: Likewise.
6209 * fnmatch.h: Likewise.
6210 * ftw.h: Likewise.
6211 * getopt.h: Likewise.
6212 * glob.h: Likewise.
6213 * gnu-versions.h: Likewise.
6214 * grp.h: Likewise.
6215 * langinfo.h: Likewise.
6216 * libc-symbols.h: Likewise.
6217 * libgen.h: Likewise.
6218 * libintl.h: Likewise.
6219 * limits.h: Likewise.
6220 * linewrap.h: Likewise.
6221 * link.h: Likewise.
6222 * locale.h: Likewise.
6223 * malloc.h: Likewise.
6224 * math.h: Likewise.
6225 * mathcalls.h: Likewise.
6226 * mcheck.h: Likewise.
6227 * memory.h: Likewise.
6228 * netdb.h: Likewise.
6229 * netgroup.h: Likewise.
6230 * netinet/ether.h: Likewise.
6231 * netinet/in.h: Likewise.
6232 * nlist.h: Likewise.
6233 * nss.h: Likewise.
6234 * nsswitch.h: Likewise.
6235 * obstack.h: Likewise.
6236 * poll.h: Likewise.
6237 * posix1_lim.h: Likewise.
6238 * posix2_lim.h: Likewise.
6239 * printf.h: Likewise.
6240 * protocols/routed.h: Likewise.
6241 * protocols/rwhod.h: Likewise.
6242 * protocols/talkd.h: Likewise.
6243 * protocols/timed.h: Likewise.
6244 * pwd.h: Likewise.
6245 * regex.h: Likewise.
6246 * resolv.h: Likewise.
6247 * rpc/auth_unix.h: Likewise.
6248 * rpc/clnt.h: Likewise.
6249 * rpc/netdb.h: Likewise.
6250 * rpc/pmap_clnt.h: Likewise.
6251 * rpc/pmap_prot.h: Likewise.
6252 * rpc/pmap_rmt.h: Likewise.
6253 * rpc/rpc.h: Likewise.
6254 * rpc/rpc_msg.h: Likewise.
6255 * rpc/svc.h: Likewise.
6256 * rpc/svc_auth.h: Likewise.
6257 * rpc/types.h: Likewise.
6258 * rpc/xdr.h: Likewise.
6259 * sched.h: Likewise.
6260 * search.h: Likewise.
6261 * set-hooks.h: Likewise.
6262 * setjmp.h: Likewise.
6263 * sgtty.h: Likewise.
6264 * shadow.h: Likewise.
6265 * signal.h: Likewise.
6266 * stab.def: Likewise.
6267 * stab.h: Likewise.
6268 * stdio.h: Likewise.
6269 * stdlib.h: Likewise.
6270 * string.h: Likewise.
6271 * strings.h: Likewise.
6272 * sys/bitypes.h: Likewise.
6273 * sys/cdefs.h: Likewise.
6274 * sys/dir.h: Likewise.
6275 * sys/errno.h: Likewise.
6276 * sys/fcntl.h: Likewise.
6277 * sys/file.h: Likewise.
6278 * sys/gmon.h: Likewise.
6279 * sys/ioctl.h: Likewise.
6280 * sys/ipc.h: Likewise.
6281 * sys/msg.h: Likewise.
6282 * sys/poll.h: Likewise.
6283 * sys/queue.h: Likewise.
6284 * sys/resource.h: Likewise.
6285 * sys/select.h: Likewise.
6286 * sys/sem.h: Likewise.
6287 * sys/shm.h: Likewise.
6288 * sys/signal.h: Likewise.
6289 * sys/socket.h: Likewise.
6290 * sys/stat.h: Likewise.
6291 * sys/statfs.h: Likewise.
6292 * sys/syslog.h: Likewise.
6293 * sys/termios.h: Likewise.
6294 * sys/time.h: Likewise.
6295 * sys/timeb.h: Likewise.
6296 * sys/times.h: Likewise.
6297 * sys/types.h: Likewise.
6298 * sys/uio.h: Likewise.
6299 * sys/un.h: Likewise.
6300 * sys/unistd.h: Likewise.
6301 * sys/utsname.h: Likewise.
6302 * sys/vlimit.h: Likewise.
6303 * sys/vtimes.h: Likewise.
6304 * sys/wait.h: Likewise.
6305 * syscall.h: Likewise.
6306 * syslog.h: Likewise.
6307 * tar.h: Likewise.
6308 * termios.h: Likewise.
6309 * time.h: Likewise.
6310 * ttyent.h: Likewise.
6311 * unistd.h: Likewise.
6312 * utime.h: Likewise.
6313 * utmp.h: Likewise.
6314 * values.h: Likewise.
6315 * wchar.h: Likewise.
6316 * wctype.h: Likewise.
6317 * wordexp.h: Likewise.
6318 * xlocale.h: Likewise.
6319 * xopen_lim.h: Likewise.
6320
6321 * sysdeps/mach/libc-lock.h: Likewise.
6322 * sysdeps/stub/libc-lock.h: Likewise.
6323 * sysdeps/mach/hurd/local_lim.h: Likewise.
6324 * sysdeps/stub/local_lim.h: Likewise.
6325 * sysdeps/unix/sysv/linux/local_lim.h: Likewise.
6326 * sysdeps/unix/sysv/local_lim.h: Likewise.
6327 * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
6328 * sysdeps/mach/hurd/posix_opt.h: Likewise.
6329 * sysdeps/stub/posix_opt.h: Likewise.
6330 * sysdeps/unix/bsd/posix_opt.h: Likewise.
6331 * sysdeps/unix/bsd/ultrix4/posix_opt.h: Likewise.
6332 * sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
6333 * math/cmathcalls.h: -> bits/
6334 * math/mathcalls.h: Likewise.
6335 * misc/stab.def: -> bits/
6336 * posix/posix1_lim.h: -> bits/
6337 * posix/posix2_lim.h: Likewise.
6338 * sysdeps/alpha/__math.h: -> .../fpu/bits/mathinline.h
6339 * sysdeps/i386/fpu/__math.h: Likewise.
6340 * sysdeps/m68k/fpu/__math.h: Likewise.
6341 * sysdeps/m68k/fpu/switch/__math.h: Likewise.
6342 * sysdeps/powerpc/__math.h: Likewise.
6343 * sysdeps/stub/__math.h: Likewise.
6344 * sysdeps/alpha/bytesex.h: -> .../bits/endian.h
6345 * sysdeps/arm/bytesex.h: Likewise.
6346 * sysdeps/i386/bytesex.h: Likewise.
6347 * sysdeps/m68k/bytesex.h: Likewise.
6348 * sysdeps/mips/bytesex.h: Likewise.
6349 * sysdeps/mips/dec/bytesex.h: Likewise.
6350 * sysdeps/mips/mipsel/bytesex.h: Likewise.
6351 * sysdeps/mips/p40/bytesex.h: Likewise.
6352 * sysdeps/sparc/bytesex.h: Likewise.
6353 * sysdeps/stub/bytesex.h: Likewise.
6354 * sysdeps/alpha/fpu/fenvbits.h: -> .../bits/fenv.h
6355 * sysdeps/i386/fpu/fenvbits.h: Likewise.
6356 * sysdeps/m68k/fpu/fenvbits.h: Likewise.
6357 * sysdeps/powerpc/fenvbits.h: Likewise.
6358 * sysdeps/stub/fenvbits.h: Likewise.
6359 * sysdeps/alpha/jmp_buf.h: -> .../bits/setenv.h
6360 * sysdeps/arm/jmp_buf.h: Likewise.
6361 * sysdeps/i386/jmp_buf.h: Likewise.
6362 * sysdeps/m68k/jmp_buf.h: Likewise.
6363 * sysdeps/mips/jmp_buf.h: Likewise.
6364 * sysdeps/sparc/jmp_buf.h: Likewise.
6365 * sysdeps/powerpc/jmp_buf.h: Likewise.
6366 * sysdeps/stub/jmp_buf.h: Likewise.
6367 * sysdeps/vax/jmp_buf.h: Likewise.
6368 * sysdeps/generic/confname.h: -> bits/
6369 * sysdeps/unix/sysv/irix4/confname.h: Likewise.
6370 * sysdeps/unix/sysv/sco3.2.4/confname.h: Likewise.
6371 * sysdeps/generic/gnu/types.h: -> ../bits/types.h
6372 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Likewise.
6373 * sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
6374 * sysdeps/generic/ioctl-types.h: -> bits/
6375 * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
6376 * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Likewise.
6377 * sysdeps/generic/iovec.h: -> .../bits/uio.h
6378 * sysdeps/unix/sysv/linux/iovec.h: Likewise.
6379 * sysdeps/generic/mathbits.h: -> .../bits/mathdef.h
6380 * sysdeps/i386/fpu/mathbits.h: Likewise.
6381 * sysdeps/m68k/fpu/mathbits.h: Likewise.
6382 * sysdeps/powerpc/mathbits.h: Likewise.
6383 * sysdeps/generic/resourcebits.h: -> .../bits/resource.h
6384 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
6385 * sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
6386 * sysdeps/generic/schedbits.h: -> .../bits/sched.h
6387 * sysdeps/unix/sysv/linux/schedbits.h: Likewise.
6388 * sysdeps/generic/selectbits.h: -> .../bits/select.h
6389 * sysdeps/i386/selectbits.h: Likewise.
6390 * sysdeps/generic/sigaction.h: -> bits/
6391 * sysdeps/unix/bsd/osf/sigaction.h: Likewise.
6392 * sysdeps/unix/sysv/linux/alpha/sigaction.h: Likewise.
6393 * sysdeps/unix/sysv/linux/sigaction.h: Likewise.
6394 * sysdeps/unix/sysv/linux/sparc/sigaction.h: Likewise.
6395 * sysdeps/unix/sysv/minix/sigaction.h: Likewise.
6396 * sysdeps/unix/sysv/sco3.2.4/sigaction.h: Likewise.
6397 * sysdeps/unix/sysv/sysv4/sigaction.h: Likewise.
6398 * sysdeps/generic/sigset.h: -> bits/
6399 * sysdeps/unix/sysv/linux/sigset.h: Likewise.
6400 * sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
6401 * sysdeps/generic/sockaddrcom.h: -> .../bits/sockaddr.h
6402 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
6403 * sysdeps/generic/socketbits.h: -> .../bits/socket.h
6404 * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
6405 * sysdeps/generic/statfsbuf.h: -> .../bits/statfs.h
6406 * sysdeps/unix/sysv/linux/statfsbuf.h: Likewise.
6407 * sysdeps/generic/termbits.h: -> .../bits/termios.h
6408 * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
6409 * sysdeps/unix/sysv/linux/alpha/termbits.h: Likewise.
6410 * sysdeps/unix/sysv/linux/powerpc/termbits.h: Likewise.
6411 * sysdeps/unix/sysv/linux/sparc/termbits.h: Likewise.
6412 * sysdeps/unix/sysv/linux/termbits.h: Likewise.
6413 * sysdeps/generic/ustatbits.h: -> .../bits/ustat.h
6414 * sysdeps/unix/sysv/linux/ustatbits.h: Likewise.
6415 * sysdeps/generic/utmpbits.h: -> .../bits/utmp.h
6416 * sysdeps/gnu/utmpbits.h: Likewise.
6417 * sysdeps/unix/sysv/utmpbits.h: Likewise.
6418 * sysdeps/generic/utsnamelen.h: -> .../bits/utsname.h
6419 * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h: Likewise.
6420 * sysdeps/unix/bsd/ultrix4/utsnamelen.h: Likewise.
6421 * sysdeps/unix/sysv/linux/utsnamelen.h: Likewise.
6422 * sysdeps/unix/sysv/sysv4/utsnamelen.h: Likewise.
6423 * sysdeps/unix/sysv/utsnamelen.h: Likewise.
6424 * sysdeps/generic/waitstatus.h: -> bits/
6425 * sysdeps/i386/huge_val.h: -> bits/
6426 * sysdeps/ieee754/huge_val.h: Likewise.
6427 * sysdeps/m68k/huge_val.h: Likewise.
6428 * sysdeps/stub/huge_val.h: Likewise.
6429 * sysdeps/vax/huge_val.h: Likewise.
6430 * sysdeps/ieee754/nan.h: Likewise.
6431 * sysdeps/stub/nan.h: Likewise.
6432 * sysdeps/mach/hurd/alpha/sigcontext.h: -> bits/
6433 * sysdeps/mach/hurd/hppa/sigcontext.h: Likewise.
6434 * sysdeps/mach/hurd/i386/sigcontext.h: Likewise.
6435 * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
6436 * sysdeps/stub/sigcontext.h: Likewise.
6437 * sysdeps/unix/bsd/sun/m68k/sigcontext.h: Likewise.
6438 * sysdeps/unix/bsd/sun/sparc/sigcontext.h: Likewise.
6439 * sysdeps/unix/bsd/ultrix4/mips/sigcontext.h: Likewise.
6440 * sysdeps/unix/sysv/linux/sigcontext.h: Likewise.
6441 * sysdeps/mach/hurd/errnos.h: -> .../bits/errno.h
6442 * sysdeps/standalone/arm/errnos.h: Likewise.
6443 * sysdeps/stub/errnos.h: Likewise.
6444 * sysdeps/unix/bsd/bsd4.4/errnos.h: Likewise.
6445 * sysdeps/unix/sysv/linux/errnos.h: Likewise.
6446 * sysdeps/mach/hurd/fcntlbits.h: -> .../bits/fcntl.h
6447 * sysdeps/stub/fcntlbits.h: Likewise.
6448 * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
6449 * sysdeps/unix/bsd/fcntlbits.h: Likewise.
6450 * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
6451 * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
6452 * sysdeps/unix/common/fcntlbits.h: Likewise.
6453 * sysdeps/unix/sysv/fcntlbits.h: Likewise.
6454 * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
6455 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
6456 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
6457 * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: Likewise.
6458 * sysdeps/mach/hurd/ioctls.h: -> bits/
6459 * sysdeps/stub/ioctls.h: Likewise.
6460 * sysdeps/unix/bsd/bsd4.4/ioctls.h: Likewise.
6461 * sysdeps/unix/sysv/linux/alpha/ioctls.h: Likewise.
6462 * sysdeps/unix/sysv/linux/ioctls.h: Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/ioctls.h: Likewise.
6464 * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
6465 * sysdeps/stub/statbuf.h: Likewise.
6466 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
6467 * sysdeps/unix/bsd/statbuf.h: Likewise.
6468 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
6469 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
6470 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
6471 * sysdeps/unix/sysv/statbuf.h: Likewise.
6472 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
6473 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
6474 * sysdeps/standalone/stdio_lim.h: -> bits/
6475 * sysdeps/stub/stdio_lim.h: Likewise.
6476 * sysdeps/stub/direntry.h: -> ../bits/dirent.h
6477 * sysdeps/unix/bsd/bsd4.4/direntry.h: Likewise.
6478 * sysdeps/unix/bsd/direntry.h: Likewise.
6479 * sysdeps/unix/common/direntry.h: Likewise.
6480 * sysdeps/unix/sysv/direntry.h: Likewise.
6481 * sysdeps/unix/sysv/linux/direntry.h: Likewise.
6482 * sysdeps/stub/elfclass.h: -> bits/
6483 * sysdeps/wordsize-32/elfclass.h: Likewise.
6484 * sysdeps/wordsize-64/elfclass.h: Likewise.
6485 * sysdeps/stub/signum.h: -> bits/
6486 * sysdeps/unix/bsd/signum.h: Likewise.
6487 * sysdeps/unix/bsd/sun/signum.h: Likewise.
6488 * sysdeps/unix/sysv/irix4/signum.h: Likewise.
6489 * sysdeps/unix/sysv/linux/alpha/signum.h: Likewise.
6490 * sysdeps/unix/sysv/linux/signum.h: Likewise.
6491 * sysdeps/unix/sysv/linux/sparc/signum.h: Likewise.
6492 * sysdeps/unix/sysv/signum.h: Likewise.
6493 * sysdeps/unix/sysv/sysv4/signum.h: Likewise.
6494 * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
6495 * sysdeps/stub/sys/ipc_buf.h: -> .../bits/ipc.h
6496 * sysdeps/unix/sysv/linux/alpha/sys/ipc_buf.h: Likewise.
6497 * sysdeps/unix/sysv/linux/sys/ipc_buf.h: Likewise.
6498 * sysdeps/stub/sys/msq_buf.h: -> .../bits/msq.h
6499 * sysdeps/unix/sysv/linux/sys/msq_buf.h: Likewise.
6500 * sysdeps/stub/sys/sem_buf.h: -> .../bits/sem.h
6501 * sysdeps/unix/sysv/linux/sys/sem_buf.h: Likewise.
6502 * sysdeps/stub/sys/shm_buf.h: -> .../bits/shm.h
6503 * sysdeps/unix/sysv/linux/sys/shm_buf.h: Likewise.
6504 * sysdeps/stub/timebits.h: -> .../bits/time.h
6505 * sysdeps/unix/sysv/linux/alpha/timebits.h: Likewise.
6506 * sysdeps/unix/sysv/linux/timebits.h: Likewise.
6507 * sysdeps/stub/waitflags.h: -> bits/
6508 * sysdeps/unix/bsd/waitflags.h: Likewise.
6509 * sysdeps/unix/sysv/linux/waitflags.h: Likewise.
6510 * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
6511 * sysdeps/unix/sysv/linux/alpha/sys/kernel_termios.h: -> ../
6512 * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Likewise.
6513 * sysdeps/unix/sysv/linux/sys/kernel_termios.h: Likewise.
6514 * sysdeps/unix/sysv/linux/sys/socketcall.h: -> ../
6515
6516 * argp/argp-fmtstream.h: Standardize the multiple-include protect.
6517 * argp/argp.h: Likewise.
6518 * catgets/nl_types.h: Likewise.
6519 * crypt/sysdeps/unix/crypt.h: Likewise.
6520 * ctype/ctype.h: Likewise.
6521 * db/db.h: Likewise.
6522 * db/mpool.h: Likewise.
6523 * db/ndbm.h: Likewise.
6524 * dirent/dirent.h: Likewise.
6525 * elf/dlfcn.h: Likewise.
6526 * elf/elf.h: Likewise.
6527 * elf/link.h: Likewise.
6528 * gmon/sys/gmon.h: Likewise.
6529 * gmon/sys/gmon_out.h: Likewise.
6530 * grp/grp.h: Likewise.
6531 * inet/aliases.h: Likewise.
6532 * inet/arpa/ftp.h: Likewise.
6533 * inet/arpa/inet.h: Likewise.
6534 * inet/arpa/telnet.h: Likewise.
6535 * inet/arpa/tftp.h: Likewise.
6536 * inet/netinet/ether.h: Likewise.
6537 * inet/netinet/icmp6.h: Likewise.
6538 * inet/netinet/in.h: Likewise.
6539 * inet/netinet/ip6.h: Likewise.
6540 * inet/protocols/routed.h: Likewise.
6541 * inet/protocols/rwhod.h: Likewise.
6542 * inet/protocols/talkd.h: Likewise.
6543 * inet/protocols/timed.h: Likewise.
6544 * intl/libintl.h: Likewise.
6545 * io/fcntl.h: Likewise.
6546 * io/fts.h: Likewise.
6547 * io/ftw.h: Likewise.
6548 * io/sys/poll.h: Likewise.
6549 * io/sys/stat.h: Likewise.
6550 * io/sys/statfs.h: Likewise.
6551 * io/utime.h: Likewise.
6552 * locale/locale.h: Likewise.
6553 * login/pty.h: Likewise.
6554 * login/utmp.h: Likewise.
6555 * malloc/malloc.h: Likewise.
6556 * malloc/obstack.h: Likewise.
6557 * math/complex.h: Likewise.
6558 * math/fenv.h: Likewise.
6559 * math/math.h: Likewise.
6560 * md5-crypt/md5.h: Likewise.
6561 * misc/ar.h: Likewise.
6562 * misc/err.h: Likewise.
6563 * misc/error.h: Likewise.
6564 * misc/fstab.h: Likewise.
6565 * misc/libgen.h: Likewise.
6566 * misc/nlist.h: Likewise.
6567 * misc/sys/cdefs.h: Likewise.
6568 * misc/sys/file.h: Likewise.
6569 * misc/sys/ioctl.h: Likewise.
6570 * misc/sys/queue.h: Likewise.
6571 * misc/sys/select.h: Likewise.
6572 * misc/sys/syslog.h: Likewise.
6573 * misc/sys/uio.h: Likewise.
6574 * misc/sysexits.h: Likewise.
6575 * misc/ttyent.h: Likewise.
6576 * nss/nss.h: Likewise.
6577 * posix/fnmatch.h: Likewise.
6578 * posix/getopt.h: Likewise.
6579 * posix/glob.h: Likewise.
6580 * posix/regex.h: Likewise.
6581 * posix/sys/times.h: Likewise.
6582 * posix/sys/types.h: Likewise.
6583 * posix/sys/utsname.h: Likewise.
6584 * posix/sys/wait.h: Likewise.
6585 * posix/tar.h: Likewise.
6586 * posix/unistd.h: Likewise.
6587 * posix/wordexp.h: Likewise.
6588 * pwd/pwd.h: Likewise.
6589 * resolv/arpa/nameser.h: Likewise.
6590 * resolv/netdb.h: Likewise.
6591 * resolv/resolv.h: Likewise.
6592 * resource/sys/resource.h: Likewise.
6593 * resource/sys/vlimit.h: Likewise.
6594 * resource/sys/vtimes.h: Likewise.
6595 * setjmp/setjmp.h: Likewise.
6596 * shadow/shadow.h: Likewise.
6597 * socket/sys/socket.h: Likewise.
6598 * socket/sys/un.h: Likewise.
6599 * stdlib/exit.h: Likewise.
6600 * stdlib/fmtmsg.h: Likewise.
6601 * stdlib/monetary.h: Likewise.
6602 * stdlib/stdlib.h: Likewise.
6603 * string/argz.h: Likewise.
6604 * string/envz.h: Likewise.
6605 * string/memory.h: Likewise.
6606 * string/string.h: Likewise.
6607 * string/strings.h: Likewise.
6608 * sunrpc/rpc/rpc.h: Likewise.
6609 * sunrpc/rpc/svc.h: Likewise.
6610 * sunrpc/rpc/types.h: Likewise.
6611 * sunrpc/rpc/xdr.h: Likewise.
6612 * termios/sys/ttychars.h: Likewise.
6613 * termios/termios.h: Likewise.
6614
6615 * argp/argp-parse.c: <foo.h> -> <bits/foo.h>.
6616 * crypt/sysdeps/unix/crypt_util.c: Likewise.
6617 * dirent/dirent.h: Likewise.
6618 * elf/link.h: Likewise.
6619 * grp/fgetgrent.c: Likewise.
6620 * grp/grp.h: Likewise.
6621 * hurd/hurd/ioctl.h: Likewise.
6622 * inet/getnameinfo.c: Likewise.
6623 * inet/getnetgrent_r.c: Likewise.
6624 * inet/inet_ntoa.c: Likewise.
6625 * inet/netinet/in.h: Likewise.
6626 * io/fcntl.h: Likewise.
6627 * io/ftw.h: Likewise.
6628 * io/sys/stat.h: Likewise.
6629 * io/sys/statfs.h: Likewise.
6630 * io/utime.h: Likewise.
6631 * libio/_G_config.h: Likewise.
6632 * libio/libio.h: Likewise.
6633 * libio/libioP.h: Likewise.
6634 * libio/stdio.h: Likewise.
6635 * locale/duplocale.c: Likewise.
6636 * locale/freelocale.c: Likewise.
6637 * locale/lc-time.c: Likewise.
6638 * locale/setlocale.c: Likewise.
6639 * login/getutent_r.c: Likewise.
6640 * login/getutid_r.c: Likewise.
6641 * login/getutline_r.c: Likewise.
6642 * login/lastlog.h: Likewise.
6643 * login/pty.h: Likewise.
6644 * login/utmp.h: Likewise.
6645 * login/utmpname.c: Likewise.
6646 * malloc/mtrace.c: Likewise.
6647 * malloc/thread-m.h: Likewise.
6648 * math/complex.h: Likewise.
6649 * math/fenv.h: Likewise.
6650 * math/libm-test.c: Likewise.
6651 * math/math.h: Likewise.
6652 * misc/sgtty.h: Likewise.
6653 * misc/stab.h: Likewise.
6654 * misc/sys/ioctl.h: Likewise.
6655 * misc/sys/select.h: Likewise.
6656 * misc/sys/uio.h: Likewise.
6657 * misc/sys/ustat.h: Likewise.
6658 * misc/syslog.c: Likewise.
6659 * nis/nss_compat/compat-grp.c: Likewise.
6660 * nis/nss_compat/compat-pwd.c: Likewise.
6661 * nis/nss_compat/compat-spwd.c: Likewise.
6662 * nis/nss_nis/nis-alias.c: Likewise.
6663 * nis/nss_nis/nis-ethers.c: Likewise.
6664 * nis/nss_nis/nis-grp.c: Likewise.
6665 * nis/nss_nis/nis-hosts.c: Likewise.
6666 * nis/nss_nis/nis-netgrp.c: Likewise.
6667 * nis/nss_nis/nis-network.c: Likewise.
6668 * nis/nss_nis/nis-proto.c: Likewise.
6669 * nis/nss_nis/nis-publickey.c: Likewise.
6670 * nis/nss_nis/nis-pwd.c: Likewise.
6671 * nis/nss_nis/nis-rpc.c: Likewise.
6672 * nis/nss_nis/nis-service.c: Likewise.
6673 * nis/nss_nis/nis-spwd.c: Likewise.
6674 * nss_nisplus/nisplus-alias.c: Likewise.
6675 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6676 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6677 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6678 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6679 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6680 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6681 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6682 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6683 * nis/nss_nisplus/nisplus-service.c: Likewise.
6684 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6685 * nis/ypclnt.c: Likewise.
6686 * nss/getXXbyYY.c: Likewise.
6687 * nss/getXXent.c: Likewise.
6688 * nss/getXXent_r.c: Likewise.
6689 * nss/nss_db/db-XXX.c: Likewise.
6690 * nss/nss_db/db-alias.c: Likewise.
6691 * nss/nss_db/db-netgrp.c: Likewise.
6692 * nss/nss_files/files-XXX.c: Likewise.
6693 * nss/nss_files/files-alias.c: Likewise.
6694 * nss/nsswitch.c: Likewise.
6695 * posix/sched.h: Likewise.
6696 * posix/sys/types.h: Likewise.
6697 * posix/sys/utsname.h: Likewise.
6698 * posix/sys/wait.h: Likewise.
6699 * posix/unistd.h: Likewise.
6700 * pwd/fgetpwent.c: Likewise.
6701 * pwd/pwd.h: Likewise.
6702 * resource/sys/resource.h: Likewise.
6703 * setjmp/setjmp.h: Likewise.
6704 * shadow/fgetspent.c: Likewise.
6705 * shadow/lckpwdf.c: Likewise.
6706 * shadow/sgetspent.c: Likewise.
6707 * signal/signal.h: Likewise.
6708 * signal/sigsetops.c: Likewise.
6709 * socket/sys/socket.h: Likewise.
6710 * socket/sys/un.h: Likewise.
6711 * stdio/stdio.h: Likewise.
6712 * stdio-common/vfprintf.c: Likewise.
6713 * stdio-common/vfscanf.c: Likewise.
6714 * stdlib/atexit.c: Likewise.
6715 * stdlib/fmtmsg.c: Likewise.
6716 * stdlib/random.c: Likewise.
6717 * string/endian.h: Likewise.
6718 * sysdeps/alpha/w_sqrt.S: Likewise.
6719 * sysdeps/arm/__longjmp.S: Likewise.
6720 * sysdeps/arm/setjmp.S: Likewise.
6721 * sysdeps/generic/abort.c: Likewise.
6722 * sysdeps/generic/netinet/ip.h: Likewise.
6723 * sysdeps/generic/setenv.c: Likewise.
6724 * generic/sys/mman.h: Likewise.
6725 * sysdeps/i386/__longjmp.S: Likewise.
6726 * sysdeps/i386/setjmp.S: Likewise.
6727 * sysdeps/mach/hurd/dirstream.h: Likewise.
6728 * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
6729 * sysdeps/posix/mk-stdiolim.c: Likewise.
6730 * sysdeps/powerpc/__longjmp.S: Likewise.
6731 * sysdeps/powerpc/setjmp.S: Likewise.
6732 * sysdeps/sparc/__longjmp.S: Likewise.
6733 * sysdeps/sparc/setjmp.S: Likewise.
6734 * sysdeps/standalone/close.c: Likewise.
6735 * sysdeps/standalone/filedesc.h: Likewise.
6736 * sysdeps/standalone/open.c: Likewise.
6737 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
6738 * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
6739 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
6740 * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
6741 * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
6742 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
6743 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
6744 * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
6745 * sysdeps/unix/dirstream.h: Likewise.
6746 * sysdeps/unix/i386/sysdep.S: Likewise.
6747 * sysdeps/unix/mips/sysdep.S: Likewise.
6748 * sysdeps/unix/mk-local_lim.c: Likewise.
6749 * sysdeps/unix/sparc/sysdep.S: Likewise.
6750 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
6751 * sysdeps/unix/sysv/linux/alpha/brk.S: Likewise.
6752 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6753 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6754 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6755 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6756 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
6757 * sysdeps/unix/sysv/linux/netinet/tcp.h: Likewise.
6758 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
6759 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6760 * sysdeps/unix/sysv/linux/sys/syscall.h: Likewise.
6761 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.
6762 * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
6763 * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
6764 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
6765 * sysvipc/sys/ipc.h: Likewise.
6766 * sysvipc/sys/msg.h: Likewise.
6767 * sysvipc/sys/sem.h: Likewise.
6768 * sysvipc/sys/shm.h: Likewise.
6769 * termios/termios.h: Likewise.
6770 * time/localtime.c: Likewise.
6771 * time/sys/time.h: Likewise.
6772 * time/time.h: Likewise.
6773 * time/tzset.c: Likewise.
6774
6775 * sysdeps/unix/sysv/linux/arm/socket.S: socketcall.h change.
6776 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6777 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6778 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6779 * sysdeps/unix/sysv/linux/sparc/socket.S: Likewise.
6780
6781 * Makefile (headers): foo.h -> bits/foo.h.
6782 * dirent/Makefile: Likewise.
6783 * elf/Makefile: Likewise.
6784 * io/Makefile: Likewise.
6785 * login/Makefile: Likewise.
6786 * math/Makefile: Likewise.
6787 * misc/Makefile: Likewise.
6788 * posix/Makefile: Likewise.
6789 * resource/Makefile: Likewise.
6790 * setjmp/Makefile: Likewise.
6791 * signal/Makefile: Likewise.
6792 * socket/Makefile: Likewise.
6793 * stdio-common/Makefile: Likewise.
6794 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6795 * sysvipc/Makefile: Likewise.
6796 * termios/Makefile: Likewise.
6797 * time/Makefile: Likewise.
6798 * sysdeps/generic/Makefile (make_siglist-CFLAGS): Likewise.
6799 * sysdeps/posix/Makefile: stdio_lim.h -> bits/stdio_lim.h
6800 * sysdeps/unix/Makefile: Likewise with local_lim.h, errnos.h,
6801 ioctls.h, termbits.h.
6802
6803 * sysdeps/unix/sysv/linux/Dist: sys/kernel_termios.h
6804 -> kernel_termios.h, sys/socketcall.h -> socketcall.h
6805
6806 * elf/elf.h: Use <inttypes.h> definitions instead of __attribute__
6807 for getting the proper length on the ELF types to be friendly to
6808 non-gcc compilers.
6809 * posix/sys/types.h: Notice when int8_t and friends are defined
6810 and don't redefine them.
6811 * sysdeps/wordsize-32/inttypes.h: Likewise.
6812 * sysdeps/wordsize-64/inttypes.h: Likewise.
6813
6814 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Get sigcontext
6815 via <signal.h> instead.
6816 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Likewise.
6818
6819 1997-06-20 17:59 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>
6820
6821 * hurd/intr-msg.c: More 64bit changes.
6822 * mach/msg-destroy.c: Likewise.
6823 * sysdeps/mach/hurd/ioctl.c: Likewise.
6824 * sysdeps/mach/hurd/ioctls.h: Likewise.
6825 * sysdeps/mach/hurd/select.c: Likewise.
6826 * sysdeps/mach/hurd/statbuf.h: Likewise.
6827
6828 * sysdeps/mach/hurd/mips/dl-machine.c: Hurd/MIPS64 patches.
6829 * sysdeps/mach/hurd/mips/exc2signal.c: Likewise.
6830 * sysdeps/mach/hurd/mips/init-fault.c: Likewise.
6831 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
6832 * sysdeps/mach/hurd/mips/intr-msg.h: Likewise.
6833 * sysdeps/mach/hurd/mips/longjmp-ctx.c: Likewise.
6834 * sysdeps/mach/hurd/mips/longjmp-ts.c: Likewise.
6835 * sysdeps/mach/hurd/mips/sigcontext.h: Likewise.
6836 * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
6837 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
6838 * sysdeps/mach/mips/cacheflush.c: Likewise.
6839 * sysdeps/mach/mips/machine-lock.h: Likewise.
6840 * sysdeps/mach/mips/machine-sp.h: Likewise.
6841 * sysdeps/mach/mips/syscall.S: Likewise.
6842 * sysdeps/mach/mips/sysdep.h: Likewise.
6843 * sysdeps/mach/mips/thread_state.h: Likewise.
6844 * sysdeps/mach/start.c: Likewise.
6845
6846 * sysdeps/mips/dl-machine.h: MIPS changes.
6847 * sysdeps/mips/elf/start.S: Likewise.
6848 * sysdeps/mips/init-first.c: Likewise.
6849 * sysdeps/mips/fpu_control.h: Likewise.
6850 * sysdeps/mips/machine-gmon.h: Likewise.
6851 * sysdeps/mips/jmp_buf.h: Likewise.
6852 * sysdeps/mips/__longjmp.c: Likewise.
6853 * sysdeps/mips/bsd-_setjmp.S: Likewise.
6854 * sysdeps/mips/bsd-setjmp.S: Likewise.
6855 * sysdeps/mips/setjmp.S: Likewise.
6856 * sysdeps/mips/setjmp_aux.c: Likewise.
6857 * sysdeps/mips/mips64/gmp-mparam.h: Likewise.
6858 * sysdeps/mips/add_n.S: New file.
6859 * sysdeps/mips/addmul_1.S: Likewise.
6860 * sysdeps/mips/lshift.S: Likewise.
6861 * sysdeps/mips/mul_1.S: Likewise.
6862 * sysdeps/mips/rshift.S: Likewise.
6863 * sysdeps/mips/sub_n.S: Likewise.
6864 * sysdeps/mips/submul_1.S: Likewise.
6865 * sysdeps/mips/mips64/Implies: Likewise.
6866 * sysdeps/mips/mips64/add_n.S: Likewise.
6867 * sysdeps/mips/mips64/addmul_1.S: Likewise.
6868 * sysdeps/mips/mips64/lshift.S: Likewise.
6869 * sysdeps/mips/mips64/mul_1.S: Likewise.
6870 * sysdeps/mips/mips64/rshift.S: Likewise.
6871 * sysdeps/mips/mips64/sub_n.S: Likewise.
6872 * sysdeps/mips/mips64/submul_1.S: Likewise.
6873 * sysdeps/mips/add_n.S: Removed.
6874 * sysdeps/mips/addmul_1.S: Likewise.
6875 * sysdeps/mips/lshift.S: Likewise.
6876 * sysdeps/mips/mul_1.S: Likewise.
6877 * sysdeps/mips/rshift.S: Likewise.
6878 * sysdeps/mips/sub_n.S: Likewise.
6879 * sysdeps/mips/submul_1.S: Likewise.
6880
6881 * nss/Makefile: Prepare for static NSS.
6882 * resolv/Makefile: Likewise.
6883 * nss/nsswitch.c: Add code for static NSS.
6884 * nss/function.def: Define functions for static NSS.
6885
6886 1997-06-19 11:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6887
6888 * libc.map: Add yet more symbols.
6889
6890 1997-06-19 20:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6891
6892 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Don't pass NULL
6893 as object name to _dl_signal_error.
6894 (do_lookup): Skip objects that could not be opened.
6895
6896 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Check that the
6897 symbol was found.
6898 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6899 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
6900
6901 1997-06-20 03:13 Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>
6902
6903 * ctype/ctype-info.c: Use int32_t where `int' with 4 bytes is
6904 assumed.
6905 * ctype/ctype.h: Likewise.
6906 * math/math_private.h: Likewise.
6907 * inet/netinet/in.h: Likewise.
6908 * wctype/wctype.h: Likewise.
6909
6910 * nss/Makefile: Only inhibit nss_files and nss_db modules if static
6911 NSS modules are not enabled.
6912 * resolv/Makefile: Likewise for nss_dns.
6913 * nss/function.def: New file. List all available lookup functions
6914 for static NSS.
6915 * nss/nsswitch.c: Add code for static NSS.
6916
6917 1997-06-15 21:15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6918
6919 * math/libm-test.c (gamma_test): Test for _SVID_ and for normal
6920 behaviour.
6921
6922 1997-06-15 20:32 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6923
6924 * math/libm.map: Add all necessary functions, correct existing entries.
6925
6926 1997-06-20 02:35 a sun <asun@zoology.washington.edu>
6927
6928 * sysdeps/unix/sysv/linux/netipx/ipx.h: Don't use kernel header.
6929
6930 1997-06-19 18:43 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6931
6932 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
6933 Compare pointer with NULL.
6934
6935 * login/logout.c (logout): Compare pututline result with NULL.
6936
6937 1997-06-19 19:38 Ulrich Drepper <drepper@cygnus.com>
6938
6939 * features.h: Define __STDC_IEC_559__ and _STDC_IEC_559_COMPLEX__.
6940
6941 * elf/dl-minimal.c (__dcgettext): Remove assertion.
6942
6943 * inet/rcmd.c: Correct a few typos. Reported by Erik Troan.
6944
6945 * manual/Makefile (distribute): Add dir.
6946 * manual/dir: New file.
6947
6948 * math/Makefile (libm-support): Rename s_rinttol, s_rinttoll,
6949 s_roundtol, and s_roundtoll to s_lrint, s_llrint, s_lround,
6950 and s_llround respectively.
6951 (libm-calls): Add e_gamma_r.
6952 * math/libm-test.c (check_int_exc): New function.
6953 (signbit_test): Remove test for sign of NaN.
6954 (gamma_test): Clear exception after test of existence.
6955 Correct tests and and epsilons.
6956 (lgamma_test): Likewise.
6957 (ilogb_test): Correct all tests.
6958 (scalb_test): Rewrite.
6959 (rinttol_test): Rename to lrint_test and correct tests.
6960 (rinttoll_test): Likewise.
6961 (roundtol_test): Likewise.
6962 (roundtoll_test): Likewise.
6963 (main): Call lrint/lround functions instead of rinttol/roundtol.
6964 * math/math.h: Change prototypes for rinttol/roundtol.
6965 * math/mathcalls.h: Rearrange prototypes according to ISO C9X draft.
6966 * sysdeps/generic/mathbits.h: Define FP_ILOGB0 and FP_ILOGBNAN.
6967 * sysdeps/i386/mathbits.h: Likewise.
6968 * sysdeps/libm-i387/e_scalb.S: Handle special cases correctly.
6969 * sysdeps/libm-i387/e_scalbf.S: Likewise.
6970 * sysdeps/libm-i387/e_scalbl.S: Likewise.
6971 * sysdeps/libm-i387/s_asinh.S: Handle -inf correctly.
6972 * sysdeps/libm-i387/s_asinhf.S: Likewise.
6973 * sysdeps/libm-i387/s_asinhl.S: Likewise.
6974 * sysdeps/libm-i387/s_ilogb.S: Optimize.
6975 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
6976 * sysdeps/libm-i387/s_ilogbl.S: Likewise.
6977 * sysdeps/libm-i387/s_rinttol.S: Rename to...
6978 * sysdeps/libm-i387/s_lrint.S: ...this.
6979 * sysdeps/libm-i387/s_rinttoll.S: Rename to...
6980 * sysdeps/libm-i387/s_llrint.S: ...this.
6981 * sysdeps/libm-i387/s_remquo.S: Correctly set sign of remainder.
6982 * sysdeps/libm-i387/s_remquof.S: Likewise.
6983 * sysdeps/libm-i387/s_remquol.S: Likewise.
6984 * sysdeps/libm-i387/e_gamma_r.c: New file. Implementation of gamma
6985 function according to ISO C.
6986 * sysdeps/libm-i387/e_gammaf_r.c: New file.
6987 * sysdeps/libm-i387/e_gammal_r.c: New file.
6988 * sysdeps/libm-i387/e_lgamma_r.c: Don't let optimize compile the
6989 generation of exceptions away.
6990 * sysdeps/libm-i387/e_lgammaf_r.c: Likewise.
6991 * sysdeps/libm-i387/k_standard.c: Correct return value for infinity
6992 points of gamma function when not SVID mode.
6993 * sysdeps/libm-i387/s_rinttoll.c: Renamed to...
6994 * sysdeps/libm-i387/s_llrint.c: ...this.
6995 * sysdeps/libm-i387/s_rinttol.c: Renamed to...
6996 * sysdeps/libm-i387/s_lrint.c: ...this.
6997 * sysdeps/libm-i387/s_roundtoll.c: Renamed to...
6998 * sysdeps/libm-i387/s_llround.c: ...this.
6999 * sysdeps/libm-i387/s_roundtol.c: Renamed to...
7000 * sysdeps/libm-i387/s_lround.c: ..this.
7001 * sysdeps/libm-i387/s_scalbn.c: Change second parameter according to
7002 ISO C.
7003 * sysdeps/libm-i387/s_scalbnf.c: Likewise.
7004 * sysdeps/libm-i387/s_scalbnl.c: Likewise.
7005 * sysdeps/libm-i387/w_gamma.c: Call __ieee754_gamma_r if library
7006 mode is not _SVID_.
7007 * sysdeps/libm-i387/w_gammaf.c: Likewise.
7008 * sysdeps/libm-i387/w_gammal.c: Likewise.
7009 * sysdeps/m68k/fpu/__math.h: Rename __rinttol to __lrint and
7010 rinttol to lrint.
7011 * sysdeps/m68k/fpu/s_rinttol.c: Renamed to...
7012 * sysdeps/m68k/fpu/s_lrint.c: ...this.
7013 * sysdeps/m68k/fpu/s_rinttoll.c: Renamed to...
7014 * sysdeps/m68k/fpu/s_llrint.c: ...this.
7015
7016 * md5-crypt/Makefile: Link md5test program with md5.o.
7017
7018 * stdio-common/temptest.c: Don't use __stdio_gen_tempname which
7019 is not exported by the libc.so.
7020
7021 * stdio-common/vfscanf.c: Correct scanning of strings after last
7022 change.
7023
7024 * sysdeps/unix/sysv/linux/i386/sysdep.S: Use .comm to define errno.
7025
7026 1997-06-19 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
7027
7028 * time/tzfile.c (__tzfile_read): Store getc () return in int.
7029
7030 1997-06-13 Miles Bader <miles@gnu.ai.mit.edu>
7031
7032 * argp/argp-parse.c (argp_version_parser): Include `(PROGRAM ERROR)' in
7033 the no-version error text to indicate that something's fucked.
7034 [!_] (N_): New macro.
7035 (argp_default_options, argp_version_options): Wrap doc strings in N_().
7036
7037 1997-06-12 Miles Bader <miles@gnu.ai.mit.edu>
7038
7039 * argp/argp-parse.c (parser_parse_opt): Detect and report unhandled
7040 options here.
7041 (parser_parse_arg): Handle ARGP_KEY_ARGS here.
7042 Adjust NEXT pointer back if we fail to parse anything.
7043 (parser_parse_next): Simplify arg code. Leave state NEXT frobbing
7044 to parser_parse_arg.
7045
7046 1997-06-11 Miles Bader <miles@gnu.ai.mit.edu>
7047
7048 * argp/argp.h (ARGP_KEY_ARGS, ARGP_KEY_FINI): New macros.
7049 * argp/argp-parse.c (parser_finalize): Do another pass over the
7050 parsers with ARGP_KEY_FINI.
7051
7052 1997-06-18 Miles Bader <miles@gnu.ai.mit.edu>
7053
7054 * string/Makefile (routines): Add argz-replace.
7055
7056 1997-06-16 00:16 Miles Bader <miles@gnu.ai.mit.edu>
7057
7058 * manual/string.texi (Argz Functions): Document argz_replace.
7059
7060 1997-06-12 Miles Bader <miles@gnu.ai.mit.edu>
7061
7062 * string/argz.h (__argz_replace, argz_replace): New declarations.
7063 * string/argz-replace.c: New file.
7064
7065 1997-06-11 Miles Bader <miles@gnu.ai.mit.edu>
7066
7067 * manual/argp.texi (Argp Special Keys): Document ARGP_KEY_ARGS.
7068
7069 1997-06-16 23:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7070
7071 * Makeconfig (libc-map): Remove definition.
7072 * Makerules (libc-map): Define it here, using the full name.
7073 (load-map-file): Remove case for empty $(..).
7074 ($(common-objpfx)libc.so): Revert last change.
7075
7076 1997-06-17 22:18 Mark Kettenis <kettenis@phys.uva.nl>
7077
7078 * login/programs/utmpd.c (main): Improve signal handling.
7079
7080 * login/programs/request.c (do_setutent, do_updwtmp):
7081 Allow arbitrary length filenames.
7082 * login/programs/utmpd.h (setutent_request, updwtmp_request):
7083 Get rid of fixed length file field.
7084 * login/utmp_daemon.c (do_setutent, do_updwtmp):
7085 Allow arbitrary length filenames.
7086
7087 * login/programs/request.c (do_pututline):
7088 Don't fail if connection->position is -1 on entry.
7089
7090 1997-06-15 16:32 Mark Kettenis <kettenis@phys.uva.nl>
7091
7092 * login/utmp_file.c (updwtmp_file): Use the same method for
7093 appending an entry as in pututline_file.
7094
7095 1997-06-11 18:59 Mark Kettenis <kettenis@phys.uva.nl>
7096
7097 * login/utmp_file.c (getutent_r_file):
7098 Use read lock instead of write lock.
7099 (getutline_r_file, internal_getut_r): Lock utmp file.
7100 (updwtmp_file): Use fcntl to lock file instead of flock.
7101
7102 1997-06-18 00:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7103
7104 * stdio-common/vfscanf.c (inchar, ungetc): Don't count EOF as
7105 character read in/put back.
7106 * stdio-common/tstscanf.c: Add test case for this.
7107
7108 1997-06-17 22:17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7109
7110 * libc.map: Add more symbols.
7111
7112 1997-06-18 12:01 Ulrich Drepper <drepper@cygnus.com>
7113
7114 * manual/Makefile (install): Make sure `dir' file exists if we use
7115 install-info.
7116
7117 1997-06-17 19:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7118
7119 * manual/Makefile (info): Depend on dir-add.info.
7120
7121 1997-06-17 17:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7122
7123 * elf/ldd.bash.in: Fix spacing in message.
7124
7125 1997-06-17 14:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7126
7127 * elf/do-rel.h (elf_dynamic_do_rel): Always use version
7128 information if available.
7129
7130 1997-06-17 11:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7131
7132 * sunrpc/Makefile ($(rpcsvc:%.x=$(objpfx)rpcsvc/%.h)): Make
7133 command non-empty to force make to recheck modification time.
7134 ($(rpcsvc:%.x=$(objpfx)x%.c)): Likewise.
7135
7136 1997-06-17 00:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7137
7138 * sysdeps/stub/e_acoshl.c: Set errno to ENOSYS.
7139 * sysdeps/stub/e_acosl.c: Likewise.
7140 * sysdeps/stub/e_asinl.c: Likewise.
7141 * sysdeps/stub/e_atan2l.c: Likewise.
7142 * sysdeps/stub/e_expl.c: Likewise.
7143 * sysdeps/stub/e_fmodl.c: Likewise.
7144 * sysdeps/stub/e_j0l.c: Likewise.
7145 * sysdeps/stub/e_j1l.c: Likewise.
7146 * sysdeps/stub/e_jnl.c: Likewise.
7147 * sysdeps/stub/e_lgammal_r.c: Likewise.
7148 * sysdeps/stub/e_log10l.c: Likewise.
7149 * sysdeps/stub/e_logl.c: Likewise.
7150 * sysdeps/stub/e_powl.c: Likewise.
7151 * sysdeps/stub/e_rem_pio2l.c: Likewise.
7152 * sysdeps/stub/e_sqrtl.c: Likewise.
7153 * sysdeps/stub/k_cosl.c: Likewise.
7154 * sysdeps/stub/k_rem_pio2l.c: Likewise.
7155 * sysdeps/stub/k_sinl.c: Likewise.
7156 * sysdeps/stub/k_tanl.c: Likewise.
7157 * sysdeps/stub/s_atanl.c: Likewise.
7158 * sysdeps/stub/s_erfl.c: Likewise.
7159 * sysdeps/stub/s_exp2.c: Likewise.
7160 * sysdeps/stub/s_exp2f.c: Likewise.
7161 * sysdeps/stub/s_exp2l.c: Likewise.
7162 * sysdeps/stub/s_expm1l.c: Likewise.
7163 * sysdeps/stub/s_log1pl.c: Likewise.
7164 * sysdeps/stub/s_log2l.c: Likewise.
7165
7166 1997-06-18 11:46 Ulrich Drepper <drepper@cygnus.com>
7167
7168 * sysdeps/libm-ieee754/w_gamma.c: If _LIB_VERSION is _SVID_ compute
7169 result as before last change.
7170 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
7171 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
7172
7173 1997-06-16 23:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7174
7175 * sysdeps/libm-ieee754/s_remquo.c: Fix off-by-one when computing
7176 quotient.
7177 * sysdeps/libm-ieee754/s_remquof.c: Likewise.
7178 * sysdeps/libm-ieee754/s_remquol.c: Likewise.
7179
7180 * sysdeps/m68k/fpu/s_remquo.c: Remove FIXME and special case for
7181 quotient.
7182
7183 * sysdeps/libm-ieee754/w_gamma.c: Add missing call to exp
7184 function. Don't use global signgam.
7185 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
7186 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
7187
7188 * math/Makefile (libm-calls): Remove w_gamma_r.
7189 * sysdeps/libm-ieee754/w_gamma_r.c: Remove file.
7190 * sysdeps/libm-ieee754/w_gammaf_r.c: Remove file.
7191 * sysdeps/libm-ieee754/w_gammal_r.c: Remove file.
7192
7193 * math/libm-test.c (atanh_test): Declare x only if needed.
7194 (signbit_test): Fix typo.
7195 (gamma_test): Check whether function is implemented. Add
7196 epsilons.
7197 (lgamma_test): Likewise.
7198 (fmod_test): Add epsilons.
7199 (exp2_test): Use right function for existence test.
7200
7201 1997-06-07 09:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7202
7203 * sysdeps/powerpc/Dist: Add fenv_const.c.
7204 * sysdeps/unix/sysv/linux/Dist: Add net/if_slip.h.
7205 * sysdeps/unix/sysv/linux/powerpc/Dist: Add init-first.h and
7206 syscall.h.
7207 * sysdeps/unix/sysv/linux/sparc/Dist: Add init-first.h.
7208 * string/Makefile (distribute): Add tst-svc.expect.
7209 * nis/Makefile (distribute): Add nis_intern.h and Banner.
7210 * elf/Makefile (distribute): Add dl-hash.h.
7211 * Rules (subdir_echo-distinfo): Add headers from $(distribute).
7212
7213 * login/Makefile (others): Add utmpdump.
7214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7215 net/if_slip.h.
7216
7217 * manual/Makefile (dir-add.texi): Also look in indirectly included
7218 files.
7219
7220 1997-06-16 23:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7221
7222 * sysdeps/unix/sysv/linux/configure.in: Remove commands to
7223 generate stdio_lim.h.
7224 * sysdeps/unix/sysv/linux/mk-stdiolim.c: Remove.
7225 * sysdeps/unix/sysv/linux/Makefile: Add rules to generate
7226 stdio_lim.h here.
7227 (common-generated): Add generated files.
7228 (inhibit-stdio_lim): Define.
7229 * sysdeps/posix/Makefile [$(inhibit-stdio_lim)=yes]: Disable rules
7230 to generate stdio_lim.h.
7231
7232 * sysdeps/unix/sysv/linux/Makefile: Suppress inclusion of
7233 dependecy files if no_deps is set.
7234 ($(objpfx)syscall-%.d): Add header file as target to dependency
7235 generation.
7236
7237 1997-06-14 19:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7238
7239 * sysdeps/unix/sysv/linux/arm/Dist: New file.
7240
7241 1997-06-14 17:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7242
7243 * extra-lib.mk (others): Depend on versioned shared library, not
7244 the unversioned one.
7245 * Makerules (build-shlib): Don't make the version link here.
7246 ($(common-objpfx)libc.so$(libc.so-version)): New rule for libc
7247 version link.
7248
7249 1997-06-16 03:07 Ulrich Drepper <drepper@cygnus.com>
7250
7251 * sysdeps/libm-ieee754/k_standard.c: Undo change of Tue Aug 6
7252 01:13:56 1996.
7253
7254 1997-06-16 00:54 Ulrich Drepper <drepper@cygnus.com>
7255
7256 * libc.map: Add more symbols.
7257
7258 * Makerules (load-map-file): Currectly handle missing map file.
7259
7260 1997-06-15 17:00 Philip Blundell <Philip.Blundell@pobox.com>
7261
7262 * configure.in: Correct detection of generic uname implementation.
7263
7264 1997-06-15 23:19 Ulrich Drepper <drepper@cygnus.com>
7265
7266 * math/libm-test.c: Fix typos. Patch by Andreas Jaeger.
7267
7268 * libc.map: Add __nss_configure_lookup. Reported by Thorsten Kukuk.
7269
7270 1997-06-15 00:43 Ulrich Drepper <drepper@cygnus.com>
7271
7272 * Makeconfig: Define libc-map here.
7273 * Makefile: And remove definition here.
7274 * Makerules (load-map-file): Handle case where map file is in
7275 other directory.
7276 (build-shlib): Likewise.
7277
7278 * libc.map: Add more symbols.
7279 * resolv/libresolv.map: Likewise.
7280
7281 * db/libdb.map: Add __dbopen. Patch by HJ Lu.
7282
7283 * libio/stdio.h: Remove "optmizations" for vfscanf and vsscanf.
7284
7285 * locale/programs/localedef.c: Add normalize_codeset function. We
7286 don't want to use the _nl_normalize_codeset functions from libc.
7287
7288 * sysdeps/libm-i387/s_asinh.S: Handle +-Inf and NaN correctly.
7289 * sysdeps/libm-i387/s_asinhf.S: Likewise.
7290 * sysdeps/libm-i387/s_asinhl.S: Likewise.
7291 * sysdeps/libm-i387/s_nearbyint.S: Correctly leave function.
7292 * sysdeps/libm-i387/s_nearbyintf.S: Likewise.
7293 * sysdeps/libm-i387/s_nearbyintl.S: Likewise.
7294
7295 1997-06-14 12:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7296
7297 * nis/nss_nis/nis-ethers.c: Add static to internal_nis_setetherent.
7298
7299 * nis/nss_nis/nis-proto.c: Add static to internal_nis_setprotoent.
7300
7301 * nis/nss_nisplus/nisplus-hosts.c: Rewrite parser and fix
7302 _nss_nisplus_gethostbyaddr_r interface.
7303
7304 * nis/libnsl.map: Add all GLOBAL functions.
7305
7306 1997-06-13 18:32 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7307
7308 * libm-test.c (main): Call new tests, reorder tests.
7309 (fmod_test): Test function fmod.
7310 (nearbyint_test): Test function nearbyint.
7311 (acos_test): Add more test cases.
7312 (signbit_test): Test macro signbit.
7313 (output_result_bool): Output result if test fails.
7314 (asin_test): Add another test case.
7315 (atan2_test): Add more tests.
7316 (asinh_test): Add more tests.
7317 (atanh_test): Add more tests.
7318 (hypot_test): Add more tests.
7319 (isfinite_test): Test macro isfinite.
7320 (isnormal_test): Test macro isnormal.
7321 (sincos_test): Tests for sincos.
7322 (main): Enable remquo_test since the tests are
7323 correct (according to ANSI/IEEE 754-1985).
7324 (remquo_test): Corrected tests cases and added more tests.
7325 (remainder_test): Tests for remainder.
7326 (check_int): New Function to compare int values.
7327 (check_isnan_exc_ext): New function.
7328 (sqrt_test): Add some extra tests for sqrt.
7329 (erf_test): Tests for erf.
7330 (erfc_test): Tests for erfc.
7331 (gamma_test): Tests for gamma.
7332 (lgamma_test): Tests for lgamma.
7333
7334 1997-06-08 10:54 H.J. Lu <hjl@gnu.ai.mit.edu>
7335
7336 * sysdeps/unix/sysv/linux/configure.in: Try to generate
7337 stdio_lim.h using the target C preprocessor and mk-stdiolim.c.
7338 * sysdeps/unix/sysv/linux/stdio_lim.h.in: New, template for
7339 stdio_lim.h.
7340 * sysdeps/unix/sysv/linux/mk-stdiolim.c: New, used by the
7341 target C preprocessor to extract OPEN_MAX and PATH_MAX.
7342
7343 1997-06-14 17:32 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7344
7345 * math/libm.map: Add inline functions, global variables.
7346
7347 1997-06-14 00:39 Ulrich Drepper <drepper@cygnus.com>
7348
7349 * libc.map: Add more libio functions which are used in libio.h.
7350
7351 * login/Makefile (libutil-routines): Move updwtmp to ...
7352 (routines): ...here.
7353 Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
7354
7355 * sysdeps/stub/s_erfl.c: Add stub definition of erfcl.
7356 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
7357
7358 1997-06-13 21:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7359
7360 * nis/nis_add.c (nis_add): Create object name only if not set.
7361
7362 * nis/nis_clone.c: Use calloc instead of malloc to prevent
7363 RPC encode errors.
7364
7365 * nis/nis_modify.c (nis_modify): Create default object entrys if
7366 given are NULL.
7367 * nis/nis/nis_table.c (nis_add_entry, nis_modify_entry): Likewise.
7368
7369 1997-06-13 14:17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7370
7371
7372 * sysdeps/i386/addmul_1.S: Replace size with sizeP, otherwise the
7373 define might also replace the expanded macro ASM_SIZE_DIRECTIVE.
7374 * sysdeps/i386/submul_1.S: Likewise.
7375
7376 1997-06-13 12:19 Ulrich Drepper <drepper@cygnus.com>
7377
7378 * elf/rtld.c: Print version information if LD_TRACE_LOADED_OBJECT
7379 and LD_VERBOSE are given.
7380
7381 * elf/ldd.sh.in: Add -v|--verbose option. Add author information
7382 as per Coding Standard.
7383 * elf/ldd.bash.in: Likewise.
7384
7385 1997-06-12 21:22 Ulrich Drepper <drepper@cygnus.com>
7386
7387 * Makefile (libc-map): Define before including Makerules.
7388 * Makerules (lib%.so): Depend on $(lib%-map).
7389 (build-shlib): Adapt rule for above change.
7390 (libc.so): Depend on $(libc-map).
7391 * db/Makefile (libcdb-map): New definition.
7392 * elf/Makefile (libdl-map): New definition.
7393 * elf/dl-lookup.c: Don't use relative include path.
7394 (undefined_msg): New variable. Use single string in all functions.
7395 (do_lookup): Correctly recognize default version.
7396 Return -2 if no version information is available.
7397 Stop processing hash entries when string was found.
7398 Don't bark about missing versioned symbol in file with original
7399 reference if it is a weak symbol.
7400 (_dl_lookup_symbol): Use undefined_msg.
7401 (_dl_lookup_versioned_symbol): Likewise.
7402 Give extra information if no verdef info is available.
7403 * elf/dl-version.c (file_needed): Remove first argument. We must
7404 seek in the whole search list.
7405 (match_symbol): Correct check for available verdef info.
7406 (_dl_check_map_versions): Correct call of find_needed.
7407 * locale/Makefile (libBrokenLocale-map): New definition.
7408 * login/Makefile (libutil-map): New definition.
7409 * math/Makefile (libm-map): New definition.
7410 * md5-crypt/Makefile (libcrypt-map): New definition.
7411 * nis/Makefile (libnsl-map, libnss_compat-map, libnss_nis-map,
7412 libnss_nisplus-map): New definition.
7413 * nss/Makefile (libnss_files-map, libnss_db-map): New definitions.
7414 * resolv/Makefile (libresolv-map, libnss_dns-map): New definitions.
7415 * libc.map: New file.
7416 * db/libdb.map: New file.
7417 * elf/libdl.map: New file.
7418 * locale/libBrokenLocale.map: New file.
7419 * login/libutil.map: New file.
7420 * math/libm.map: New file.
7421 * md5-crypt/libcrypt.map: New file.
7422 * nis/libnss_compat.map: New file.
7423 * nis/libnsl.map: New file.
7424 * nis/libnss_nis.map: New file.
7425 * nis/libnss_nisplus.map: New file.
7426 * nss/libnss_files.map: New file.
7427 * nss/libnss_db.map: New file.
7428 * resolv/libnss_dns.map: New file.
7429 * resolv/libresolv.map: New file.
7430
7431 * sysdeps/i386/dl-machine.h (elf_machine_rel): Don't do anything
7432 for R_386_NONE entries.
7433
7434 * Makefile (manual/dir-add.info): New rule.
7435
7436 * Makerules: Add vpath definition for .x files.
7437
7438 * Makerules (distinfo): Make sure target directory exists.
7439
7440 * argp/argp-help.c (argp_args_usage): Don't modify `fdoc' value
7441 since it is used to distinguish filtered strings from unmodifed
7442 strings.
7443
7444 * elf/dl-lookup.c (do_lookup): Optimize STT_* recognition.
7445 * elf/dl-reloc.c: Fix typo.
7446
7447 * inet/arpa/tftp.h (struct tftphdr): Change type of tu_block to
7448 `unsigned short'.
7449
7450 * manual/Makefile (dir-add.texi): Also emit wrapper text for
7451 info/install-info.
7452 (distribute): Add dir-add.texi and dir-add.info.
7453 (mostlyclean): Add dir-add.info.
7454 (realclean): Add dir-add.texi.
7455 (install): Add entries in `dir' file using install-info.
7456
7457 * manual/libc.texinfo: Add @dircategory and @direntry text.
7458 Reported by Miles Bader <miles@gnu.ai.mit.edu>.
7459
7460 * manual/pattern.texi: Correct description of GLOB_MAGCHAR and
7461 GLOB_NOMAGIC. Changes by Roland McGrath <roland@gnu.ai.mit.edu>.
7462
7463 * nis/nis_addmember.c: Little optimizations.
7464 * nis/nis_call.c: Likewise.
7465 * nis/nis_creategroup.c: Likewise.
7466 * nis/nis_defaults.c: Likewise.
7467 * nis/nis_destroygroup.c: Likewise.
7468 * nis/nis_ismember.c: Likewise.
7469 * nis/nis_local_names.c: Likewise.
7470 * nis/nis_print_group_entry.c: Likewise.
7471 * nis/nis_verifygroup.c: Likewise.
7472
7473 * posix/unistd.h: Fix comment for getcwd.
7474
7475 * stdlib/Makefile (headers): Remove inttypes.h. It's a system
7476 dependent header.
7477 * sysdeps/wordsize-32/Dist: New file.
7478 * sysdeps/wordsize-32/Makefile: New file.
7479 * sysdeps/wordsize-64/Dist: New file.
7480 * sysdeps/wordsize-64/Makefile: New file.
7481
7482 * sunrpc/Makefile: Adopt comment for real situation.
7483
7484 * sysdeps/i386/add_n.S: Add ASM_TYPE_DIRECTIVE and AS_SIZE_DIRECTIVE.
7485 * sysdeps/i386/addmul_1.s: Likewise.
7486 * sysdeps/i386/lshist.s: Likewise.
7487 * sysdeps/i386/rshift.s: Likewise.
7488 * sysdeps/i386/sub_n.s: Likewise.
7489 * sysdeps/i386/submul_1.s: Likewise.
7490
7491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7492 Add .type and .size.
7493
7494 1997-06-12 13:32 Philip Blundell <Philip.Blundell@pobox.com>
7495
7496 * libc/sysdeps/unix/arm/brk.S: New file.
7497 * libc/sysdeps/unix/arm/sysdep.S: Likewise.
7498 * libc/sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
7499
7500 1997-06-11 11:51 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7501
7502 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent):
7503 Check if we have shadow information.
7504
7505 1997-06-08 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7506
7507 * nis/nis_getservlist.c (nis_getservlist): Use calloc instead of
7508 malloc, alloc memory for nis_server struct.
7509 * nis/nis_getservlist.c (nis_freeservlist): Give the memory for
7510 the nis_server struct free, too.
7511
7512 * nis/nis_removemember (nis_removemember): Fix for loop.
7513
7514 1997-06-12 12:45 Ulrich Drepper <drepper@cygnus.com>
7515
7516 * sysdeps/i386/fpu/__math.h (__M_SQRT2): Define here since we
7517 cannot rely on M_SQRT2 being defined.
7518 (log1p): Use __M_SQRT2 not M_SQRT2.
7519 * math/math.h (_Mldbl): Define even if M_* constants are not
7520 defined.
7521 Reported by corsepiu@faw.uni-ulm.de.
7522
7523 1997-06-12 03:08 Philip Blundell <Philip.Blundell@pobox.com>
7524
7525 * nss/getXXbyYY_r.c (do_weak_alias): Remove extra parentheses.
7526
7527 1997-06-11 13:22 Ulrich Drepper <drepper@cygnus.com>
7528
7529 * misc/regexp.h (compile): Allow use of macro INIT for variable
7530 declaration. Add documentation for INIT.
7531 Reported by Robert Bihlmeyer <robbe@orcus.priv.at>.
7532
7533 1997-06-11 10:47 Philip Blundell <Philip.Blundell@pobox.com>
7534
7535 * sysdeps/unix/sysv/linux/net/if_arp.h: Add two new hardware types.
7536
7537 1997-06-10 11:31 H.J. Lu <hjl@gnu.ai.mit.edu>
7538
7539 * sysdeps/powerpc/strlen.s: Use -0x101 instead of 0xfffffeff
7540 for a signed 16-bit value.
7541
7542 1997-06-07 07:54 H.J. Lu <hjl@gnu.ai.mit.edu>
7543
7544 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7545 (_dl_sysdep_read_whole_file): Deleted.
7546
7547 * sysdeps/powerpc/fenvbits.h (__FE_ALL_INVALID): Changed
7548 to FE_ALL_INVALID.
7549
7550 * sysdeps/powerpc/fraiseexcpt.c (__FE_INVALID_SOFTWARE):
7551 Changed to FE_INVALID_SOFTWARE.
7552 (__FPSCR_STICKY_BITS): Changed to FPSCR_STICKY_BITS.
7553
7554 * sysdeps/libm-ieee754/s_fmin.c: Fix a typo.
7555
7556 1997-06-07 18:48 H.J. Lu <hjl@gnu.ai.mit.edu>
7557
7558 * shlib-versions (.*-.*-linux.*): Set libc to 6.
7559
7560 1997-06-08 15:35 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7561
7562 * nis/nis_add.c (nis_add): Use nis_leaf_of_r instead of nis_name_of_r.
7563
7564 * nis/nis_addmember.c (nis_addmember): Fix a lot of pointer errors.
7565 * nis/nis_clone.c: Likewise.
7566 * nis/nis_removemember.c (nis_removemember): Likewise.
7567 * nis/nis_table.c: Likewise.
7568
7569 * nis/nss_nis/nis-hosts.c: Use addr, not p for inet_pton call.
7570 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7571
7572 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Check for
7573 group == NULL.
7574
7575 1997-06-08 21:21 Mark Kettenis <kettenis@phys.uva.nl>
7576
7577 * login/login.c, login/utmp_daemon.c, login/utmp_file.c,
7578 login/getutent_r.c, login/utmpname.c: Cleanup `#if _LIBC' and
7579 `#ifndef _LIBC' fragments.
7580
7581 * login/programs/utmpd.c: Define DEFAULT_USER.
7582 (drop_priviliges): Use it.
7583 (main): Set locale and text domain.
7584
7585 * login/programs/utmpd-private.h: Declare proc_utmp_eq.
7586 * login/programs/database.c (proc_utmp_eq): Removed.
7587 * login/programs/request.c (proc_utmp_eq): Made global. Only use
7588 ut_id field if valid.
7589
7590 * login/utmp_file.c (proc_utmp_eq): Restore patch made by Miles
7591 Bader that was lost when adding the daemon backend; Only use ut_id
7592 field if valid.
7593
7594 1997-06-05 23:10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7595
7596 * sysdeps/unix/sysv/linux/Dist: Remove netatalk/atalk.h and
7597 netinet/icmp.h, add netatalk/at.h.
7598 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove termios.h.
7599 * sysdeps/unix/sysv/linux/sparc/Dist: Remove start.c.
7600
7601 1997-06-04 19:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7602
7603 * stdlib/testsort.c (compare): Fix parameter types.
7604
7605 1997-06-04 19:05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7606
7607 * md5-crypt/Makefile (distribute): Fix name of file.
7608
7609 1997-06-04 19:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7610
7611 * login/Makefile (utmpd-routines): Remove utmpd again, which is
7612 already added implicitly through $(others).
7613
7614 1997-06-05 13:43 Fila Kolodny <fila@filapc.ibi.com>
7615
7616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add netipx/ipx.h.
7617
7618 1997-06-05 13:25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7619
7620 * md5-crypt/md5-crypt.c: Add prototype for __md5_crypt.
7621
7622 1997-06-05 17:08 Ulrich Drepper <drepper@cygnus.com>
7623
7624 * string/argz-addsep.c: Correct weak alias.
7625 Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7626
7627 * locale/setlocale.c (setlocale): Free variable with locale path
7628 before returning.
7629 (setname): Don't test for _nl_current[category] being NULL before
7630 freeing.
7631 Reported by Ben Pfaff <pfaffben@pilot.msu.edu>.
7632
7633 1997-06-04 12:41 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7634
7635 * manual/intro.texi (XPG): Correct some typos.
7636
7637 1997-06-04 05:09 Miles Bader <miles@gnu.ai.mit.edu>
7638
7639 * argp/argp-help.c (_help): Use uparams.usage_indent instead of
7640 the USAGE_INDENT macro.
7641
7642 * manual/summary.awk: Strip trailing commas from node-names.
7643
7644 * manual/.cvsignore: Ignore chapters-incl[12] rather than
7645 chapters-incl.
7646
7647 * manual/Makefile (%.c.texi): Deal with multiple @-commands on a
7648 single line.
7649
7650 * manual/string.texi (Argz Functions, Envz Functions): Add magic
7651 comments for generating summary.texi.
7652
7653 1997-06-02 22:18 Miles Bader <miles@gnu.ai.mit.edu>
7654
7655 * manual/argp.texi: New file.
7656 * manual/examples/argp-ex1.c, manual/examples/argp-ex2.c,
7657 manual/examples/argp-ex3.c, manual/examples/argp-ex4.c: New files.
7658 * manual/Makefile [chapters] (chapters-incl1): New rule & include.
7659 [chapters-incl1] (chapters-incl2): New rule & include.
7660 (chapters-incl): Set based on $(chapters-incl1) & $(chapters-incl2).
7661 * manual/maint.texi (Contributors): Give myself credit.
7662
7663 1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu>
7664
7665 * manual/getopt.texi: New file.
7666 * manual/startup.texi: Mention argp_parse in places that
7667 previously mentioned only getopt.
7668 Include getopt.texi (now containing all the getopt nodes that used
7669 to be here) and argp.texi.
7670 (Program Arguments): Move parsing bits into the new Parsing
7671 Program Arguments node.
7672 (Parsing Program Arguments): New node.
7673 (Parsing Options, Example of Getopt, Long Options, Long Option
7674 Example): Nodes removed.
7675 * manual/libc.texinfo (Program Arguments): Menu updated.
7676 (Parsing Program Arguments): New menu.
7677
7678 1997-06-04 20:57 Ulrich Drepper <drepper@cygnus.com>
7679
7680 * manual/string.texi: Add comments to discourage use of index and
7681 rindex.
7682 (strtok, strsep): Apply function on copy of the strings in example.
7683 (l64a): Add example.
7684
7685 * posix/unistd.h: Correct value for _POSIX_VERSION.
7686
7687 * sunrpc/Makefile (defines): Remove definition.
7688
7689 * sysdeps/ieee754/nan.h: Correct typo.
7690
7691 1997-06-04 10:50 Fila Kolodny <fila@ibi.com>
7692
7693 * posix/unistd.h: Add definition of __fchdir corresponding to fchdir.
7694
7695 * login/utmp_daemon.c: Correct location of utmpd.h.
7696
7697 1997-06-03 19:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7698
7699 * Makerules: Rename $(common-objpfx)distinfo-$(subdir) to
7700 $(objpfx)distinfo.
7701 * rpm/Makefile (distinfo): Adapted.
7702
7703 1997-06-03 18:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7704
7705 * rpm/Makefile (install-slib): Collect shared libraries here
7706 instead of in install-lib, including libc.
7707 (instvars): Add slib.
7708
7709 1997-06-03 18:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7710
7711 * login/Makefile (libutil-routines): Add updwtmp.
7712
7713 1997-06-03 16:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7714
7715 * monetary.h: New file, needed for localedata/tst-fmon.c.
7716
7717 1997-06-02 20:31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7718
7719 * math/libm-test.c (cpow_test): Add epsilon for long double in
7720 test for 2^10.
7721 (identities): Add epsilon for float in second identity test.
7722
7723 * sysdeps/m68k/huge_val.h: Change GCC's HUGE_VAL{,F,L} to use
7724 DI and SI mode integers instead of bytes. Fix value of HUGE_VALL.
7725
7726 * sysdeps/m68k/nan.h: New file.
7727
7728 * sysdeps/m68k/fpu/__math.h (isgreater, isgreaterequal, isless,
7729 islessequal, islessgreater, isunordered): Fix assembler syntax.
7730
7731 * sysdeps/m68k/fpu/fraiseexcpt.c: Do it right so that gcc doesn't
7732 optimize out the operations.
7733
7734 * sysdeps/libm-ieee754/s_nan.c: Use NaN macro instead of static
7735 constant.
7736 * sysdeps/libm-ieee754/s_nanf.c: Likewise.
7737 * sysdeps/libm-ieee754/s_nanl.c: Likewise.
7738
7739 * math/carg.c [NO_LONG_DOUBLE]: Add alias for long double
7740 function.
7741 * sysdeps/libm-ieee754/s_erf.c: Likewise.
7742 * sysdeps/libm-ieee754/s_fdim.c: Likewise.
7743 * sysdeps/libm-ieee754/s_fmax.c: Likewise.
7744 * sysdeps/libm-ieee754/s_fmin.c: Likewise.
7745 * sysdeps/libm-ieee754/s_log2.c: Likewise.
7746 * sysdeps/libm-ieee754/s_nan.c: Likewise.
7747 * sysdeps/libm-ieee754/s_remquo.c: Likewise.
7748
7749 1997-06-03 23:42 Ulrich Drepper <drepper@cygnus.com>
7750
7751 * elf/dl-support.c: Define and initialize _dl_verbose used in
7752 dl-machine.h.
7753
7754 * io/ftw.c: Expand stat/lstat calls.
7755
7756 * manual/intro.texi: Also refer to ISO 9945.
7757 Update info about SVID.
7758 Add description for XPG.
7759
7760 * md5-crypt/md5-crypt.c: Namespace cleanups.
7761 * md5-crypt/md5.c: Likewise.
7762 * md5-crypt/md5.h: Likewise.
7763 * sysdeps/generic/crypt-entry.c: Likewise.
7764
7765 * posix/unistd.h (_POSIX2_C_VERSION): Set to 199209L.
7766
7767 * stdlib/fmtmsg.h: Declare addseverity only if __USE_SVID is
7768 defined.
7769
7770 * sunrpc/rpc_scan.c (findkind): Declare `token' as const.
7771 * sunrpc/rpc_util.c (toktostr): Declare `token' as const.
7772
7773 * time/Makefile: Make tzselect depend on config.make.
7774
7775 1997-06-01 15:01 Miles Bader <miles@gnu.ai.mit.edu>
7776
7777 * manual/string.texi (String and Array Utilities): Add `Argz and
7778 Envz Vectors' to the menu.
7779 (Argz and Envz Vectors, Argz Functions, Envz Functions): New nodes.
7780
7781 1997-05-31 20:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7782
7783 * login/Makefile (utmpd-routines): Add utmpd.
7784 (extra-objs): Add utmpd objects to get dependencies.
7785 (distribute): Add sources for utmpd.
7786 (subdir-dirs): Define.
7787
7788 1997-06-02 16:28 Ulrich Drepper <drepper@cygnus.com>
7789
7790 * sysdeps/wordsize-32/inttypes.h: Include features.h and use
7791 __CONCAT instead of defined __CONCAT__ ourself.
7792 * sysdeps/wordsize-64/inttypes.h: Likewise.
7793
7794 1997-06-01 19:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7795
7796 * sysdeps/wordsize-64/inttypes.h (INTMAX_C): Use `l' suffix, not `ll'.
7797 (PRIdFAST, PRIoFAST, PRIxFAST, PRIuFAST, SCNdFAST, SCNiFAST,
7798 SCNoFAST, SCNxFAST): Correct format specifiers.
7799
7800 1997-06-02 04:23 Ulrich Drepper <drepper@cygnus.com>
7801
7802 * sysdeps/unix/syscalls.list: Make fchdir weak alias for __fchdir.
7803
7804 1997-06-01 19:17 Ulrich Drepper <drepper@cygnus.com>
7805
7806 * md5-crypt/Makefile: Correct libmd5crypt file to really generate
7807 DES free libcrypt.
7808 * md5-crypt/onlymd5-entry.c: New file. Wrapper around
7809 sysdeps/generic/crypt-entry.c.
7810
7811 1997-06-01 12:48 Ulrich Drepper <drepper@cygnus.com>
7812
7813 * sysdeps/unix/sysv/linux/alpha/gnu/types.h (__fd_mask): Change
7814 type to `unsigned long int'.
7815 Patch by Richard Henderson <richard@twiddle.rth.home>.
7816
7817 1997-05-30 17:34 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7818
7819 * sysdeps/generic/bb_init_func.c (__bb_init_func): Use ISO C
7820 declaration style.
7821
7822 * nss/nss_files/files-hosts.c: Delete inclusion of
7823 "../resolv/mapv4v6hostent.h".
7824
7825 1997-05-31 02:33 Ulrich Drepper <drepper@cygnus.com>
7826
7827 * io/ftwtest-sh: More tests.
7828
7829 * misc/tsearch.c: Rewrite tdestroy_recursive.
7830
7831 * libio/libio.h: Define bits for libg++-2.8.
7832
7833 1997-05-30 22:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7834
7835 * nis/nss_nis/nis-hosts.c: Same changes as in
7836 nss/nss_files/files-hosts.c (Always use inet_pton).
7837 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7838
7839 1997-05-30 09:50 Richard Henderson <rth@tamu.edu>
7840
7841 * manual/maint.texi: ECOFF hasn't been tested in ages and I don't
7842 plan on doing so ever again. Don't say alpha-linuxecoff is known
7843 to work.
7844
7845 * elf/dl-lookup.c: Include <alloca.h>.
7846 * misc/tsearch.c: Include <string.h>.
7847 * posix/execle.c: Include <alloca.h>.
7848 * posix/execlp.c: Likewise.
7849 * stdio-common/printf_fphex.c: Include <string.h>.
7850 * sunrpc/xdr.c: Include <string.h>.
7851 * sysdeps/generic/memccpy.c: Include only <string.h>.
7852
7853 * sunrpc/clnt_udp.c (clntudp_call): Make fromlen a size_t to fix
7854 parameters to network functions.
7855 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7856 * sunrpc/svc_tcp.c (svctcp_create): Likewise with `len'.
7857 (rendezvous_request): Likewise.
7858 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7859 (svcudp_recv): Similar, but go through a local variable. The old code
7860 used &xprt->xp_addrlen. Someone should determine if the type of the
7861 structure member should be changed instead.
7862 * sunrpc/xdr_rec.c (xdrrec_create): Expunge a ptr->int cast warning
7863 and transform a nonsense for-loop to a closed form calculation.
7864 (fill_input_buf): Another ptr->int warning.
7865
7866 * sysdeps/alpha/Makefile: Temporarily turn on -mieee globally. This
7867 will last until I figure out how to build a parallel libm_ieee.
7868
7869 * sysdeps/alpha/fpu/fclrexcpt.c,
7870 * sysdeps/alpha/fpu/fegetenv.c,
7871 * sysdeps/alpha/fpu/fegetround.c,
7872 * sysdeps/alpha/fpu/feholdexcpt.c,
7873 * sysdeps/alpha/fpu/fenvbits.h,
7874 * sysdeps/alpha/fpu/fesetenv.c,
7875 * sysdeps/alpha/fpu/fesetround.c,
7876 * sysdeps/alpha/fpu/feupdateenv.c,
7877 * sysdeps/alpha/fpu/fgetexcptflg.c,
7878 * sysdeps/alpha/fpu/fraiseexcpt.c,
7879 * sysdeps/alpha/fpu/fsetexcptflg.c,
7880 * sysdeps/alpha/fpu/ftestexcept.c: New files. There is, btw, a small
7881 kernel patch that must be applied as of 2.0.31-pre1 and 2.1.41 for
7882 this to work properly.
7883
7884 * sysdeps/alpha/fpu/fpu_control.h: Update copyright. Change default
7885 FP mode to round to nearest, no exceptions as for Intel.
7886 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Add copyright.
7887 (rdfpcr): Use excb rather than trapb. Be more efficient about
7888 getting at the fpcr.
7889 (wrfpcr): Likewise.
7890 (__setfpucw): Reformat.
7891
7892 * sysdeps/ieee754/huge_val.h: Change GCC's HUGE_VAL definition to use
7893 a single DI-mode integer instead of bytes. This produces better code
7894 on Alpha. Similar for HUGE_VALF.
7895 * sysdeps/ieee754/nan.h: Similar for NAN. Add NANF and NANL.
7896
7897 * sysdeps/libm-ieee754/s_log2.c: Missing */ and weak_alias.
7898
7899 * sysdeps/unix/alpha/sysdep.S: Tiny cleanups.
7900 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
7901 * sysdeps/unix/sysv/linux/alpha/brk.S: Don't use jmp macro to make
7902 sure the stack frame is released the very instruction before the
7903 real jump out.
7904 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
7905 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
7906
7907 * sysdeps/unix/sysv/linux/alpha/gnu/types.h: Undef some bits we may
7908 have gotten from <linux/posix_types.h>.
7909
7910 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add definition for Miata.
7911
7912 1997-05-30 13:05 Ulrich Drepper <drepper@cygnus.com>
7913
7914 * misc/tst-tsearch.c (mangle_tree): Update casts to prevent
7915 warnings.
7916
7917 1997-05-29 14:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7918
7919 * sysdeps/unix/sysv/linux/sys/ttydefaults.h (CEOL, CSTATUS): Use
7920 correct value for _POSIX_VDISABLE.
7921
7922 1997-05-29 13:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7923
7924 * Makefile (manual/dir-add.texi): Force execution.
7925
7926 1997-05-29 13:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7927
7928 * sysexits.h: New file.
7929
7930 1997-05-29 13:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7931
7932 * stdlib/strfmon.c: Don't run past EOS after `='.
7933
7934 1997-05-29 12:48 Ulrich Drepper <drepper@cygnus.com>
7935
7936 * io/ftw.c: Complete rewrite. Add implementation of `nftw'.
7937 * io/ftw.h: Update for new implementation and XPG4.2.
7938 * io/Makefile (test-srcs): Add ftwtest.
7939 (distribute): Add ftwtest-sh.
7940 (tests): Call ftwtest-sh for this goal.
7941 * io/ftwtest-sh: New file. Sets up test environment, calls test
7942 program and compares the result.
7943 * io/ftwtest.c: Test program for ftw.
7944
7945 * misc/search.h: Add comments. Declare tdestroy.
7946 * misc/tsearch.c (tdestroy): New function.
7947
7948 * login/Makefile: Update for UTMP daemon implementation.
7949
7950 Update resolver code to bind-4.9.6-T1A.
7951 * resolv/Banner: Update.
7952 * nss/digits_dots.c: Adapt text address matching to T1A.
7953 * nss/nss_files/files-hosts.c: Always use inet_pton.
7954 * resolv/base64.c (b64_pton): Follow T1A but don't use this code since
7955 it would lead to warnings.
7956 * resolv/gethnamaddr.c (getanswer): Test host name for maximal length
7957 at several places.
7958 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Correct typo in comment.
7959 * resolv/res_comp.c (dn_expand): Check for overflow.
7960 (dn_comp): Likewise.
7961 * resolv/res_debug.c (precsize_aton): Better implementation.
7962 * resolv/res_init.c (res_init): Make `buf' of size MAXDNAME.
7963 * resolv/res_send.c (res_send): Check for overflow in descriptor set.
7964 * resolv/nss_dns/dns-host.c (getanswer_r): Test host name for maximal
7965 length at several places.
7966
7967 1997-05-29 12:51 Mark Kettenis <kettenis@phys.uva.nl>
7968
7969 * login/utmp-private.h (struct utfuncs): Add one more parameter
7970 to updwtmp function.
7971 Declare all three function jump tables.
7972 * login/utmp.h: Declare __utmpname.
7973 * login/getutent_r.c: Remove db backend and provide support for
7974 utmpd backend.
7975 * login/login.c: Use `updwtmp' function insteead of writing the
7976 record ourself.
7977 * login/logwtmp.c: Move `updwtmp' function to...
7978 * login/updwtmp.c: ...here. New file.
7979 * login/utmp_db.h: Removed.
7980 * login/utmp_file.c: Add updwtmp function to write to file.
7981 * login/utmp_daemon.c: New file. Daemon backend.
7982 * login/utmpname.c: New file. Implementation of utmpname function.
7983 * login/utmpdump.c: New file. Tool to dump utmp-like files.
7984 * login/utmpd/connection.c: New file.
7985 * login/utmpd/database.c: New file.
7986 * login/utmpd/error.c: New file.
7987 * login/utmpd/request.c: New file.
7988 * login/utmpd/utmpd-private.h: New file.
7989 * login/utmpd/utmpd.c: New file.
7990 * login/utmpd/utmpd.h: New file.
7991 * login/utmpd/xtmp.c: New file.
7992 * login/utmpd/xtmp.h: New file.
7993
7994 1997-05-29 12:28 Jim Meyering <meyering@eng.ascend.com>
7995
7996 * time/strftime.c: Correct/normalize indentation in cpp directives.
7997
7998 1997-05-28 20:43 Philip Blundell <pjb27@cam.ac.uk>
7999
8000 * nis/nis_error.c: Include <string.h> to fix warning.
8001 * nis/nis_print.c: Likewise.
8002 * nis/nss_nisplus/nisplus-hosts.c: Arg 3 of map_v4v6_hostent
8003 is int* not size_t*.
8004
8005 1997-05-28 21:56 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8006
8007 * math/cmathcalls.h: Correct typo in comment.
8008
8009 * inet/netinet/icmp6.h: Include <netinet/in.h> for in6_addr.
8010
8011 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Include <net/if.h> for
8012 IFNAMSIZ.
8013
8014 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Include <time.h> for
8015 time_t.
8016
8017 * login/pty.h: Include <ioctl-types.h> for definition of struct
8018 winsize.
8019
8020 * misc/regexp.h (compile): Correct typo.
8021
8022 * argp/argp.h: Put extern before __const in defintion of
8023 argp_program_bug_address.
8024
8025 1997-05-29 00:20 Ulrich Drepper <drepper@cygnus.com>
8026
8027 * sysdeps/wordsize-32/inttypes.h: Correct names of unsigned fast
8028 and least types. Correct names of ?INT_FAST*_{MIN,MAX} macros.
8029 * sysdeps/wordsize-64/inttypes.h: Likewise.
8030 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8031
8032 1997-05-28 22:51 Ulrich Drepper <drepper@cygnus.com>
8033
8034 * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Use generic
8035 ttydefaults.h file instead of non-existing version in termios/sys.
8036 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8037
8038 * time/strptime.c (strptime_internal, case 'Y'): Restrict year
8039 number to four digits and to representable range for 4 byte time_t
8040 values.
8041 Patch by H.J. Lu <hjl@lucon.org>.
8042
8043 1997-05-28 18:19 Philip Blundell <pjb27@cam.ac.uk>
8044
8045 * posix/execl.c: Include <alloca.h> to avoid warning.
8046
8047 1997-05-27 18:19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8048
8049 * math/libm-test.c: Implement testing of inlined functions, make
8050 output nicer, update comments.
8051
8052 * math/test-idouble.c: New file. Frontend for double tests of
8053 inlined functions.
8054 * math/test-ildoubl.c: New file. Frontend for long double tests of
8055 inlined functions.
8056 * math/test-ifloat.c: New file. Frontend for float tests of
8057 inlined functions.
8058
8059 * math/test-longdouble.c: Rename to...
8060 * math/test-ldouble.c: ...this.
8061
8062 * math/Makefile: Add rules for new test programs, change rules for
8063 renaming of longdouble test.
8064
8065 1997-05-20 15:50 H.J. Lu <hjl@gnu.ai.mit.edu>
8066
8067 * sunrpc/rpc/svc.h (__dispatch_fn_t): New.
8068 (svc_register): Use __dispatch_fn_t in prototype.
8069
8070 1997-05-28 17:02 Ulrich Drepper <drepper@cygnus.com>
8071
8072 * sysdeps/generic/bzero.c (bzero): Fix typo.
8073 Patch by Witek Wnuk <spider@pest.waw.ids.edu.pl>.
8074
8075 1997-05-27 12:00 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8076
8077 * sysdeps/generic/vtimes.c: Use ISO C declaration style.
8078
8079 * sysdeps/unix/bsd/ualarm.c: Include <unistd.h> for prototype.
8080
8081 * sysdeps/generic/memccpy.c: Include <string.h> for prototype.
8082
8083 * signal/tst-signal.c (handler): Correct function declaration to
8084 avoid warning.
8085 * stdlib/testsort.c (compare): Likewise.
8086 * string/tester.c: Likewise.
8087
8088 1997-05-27 14:16 Miles Bader <miles@gnu.ai.mit.edu>
8089
8090 * argp/argp-help.c (argp_args_usage): Supply correct argp to
8091 filter_doc.
8092
8093 1997-05-27 17:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8094
8095 * db/hash/extern.h, db/hash/hash.c, db/hash/hash.h,
8096 db/hash/hash_log2.c: Rename __log2 to __hash_log2 to avoid clash
8097 with libm.
8098
8099 1997-05-27 14:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8100
8101 * sysdeps/m68k/fpu/e_atan2.c: Fix missing negate. Use __m81_test
8102 instead of explicit comparisons.
8103
8104 1997-05-26 18:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8105
8106 * inet/netinet/icmp6.h: Remove use of <asm/bitops.h> which has no
8107 place in a generic header and is no user include file.
8108
8109 1997-05-27 02:20 Ulrich Drepper <drepper@cygnus.com>
8110
8111 * stdio/obstream.c (obstack_printf): Fix bug in
8112 de-ansidecl-fication.
8113 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8114
8115 1997-05-26 22:51 Ulrich Drepper <drepper@cygnus.com>
8116
8117 * configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROC_CC.
8118 * aclocal.m4: Add AC_PROG_CC_LOCAL which does not fail for
8119 environments in which linking is not possible at configure time
8120 (since te libc is just build).
8121 Based on patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8122
8123 * time/scheck.c (scheck): Make 2nd parameter const.
8124 * time/private.h: Likewise.
8125
8126 1997-05-26 18:58 Ulrich Drepper <drepper@cygnus.com>
8127
8128 * stdlib/random_r.c (__initstate_r): Initialize randomizer type in
8129 state array only at right place.
8130 Reported by Sven Verdoolaege <skimo@breughel.ufsia.ac.be>.
8131
8132 * stdlib/erand48_r.c (__erand48_r): Don't generate numbers in
8133 [0.5,1.0) but really in [0.0, 1.0).
8134 Patch by Oliver Gathmann <gathmann@scar.utoronto.ca>.
8135
8136 1997-05-22 12:50 Eric Delaunay <delaunay@lix.polytechnique.fr>
8137
8138 * shlib-versions: Provide Linux/SPARC defaults.
8139
8140 1997-05-26 15:00 Matthias Urlichs <urlichs@noris.de>
8141
8142 * stdlib/strtod_l.c: Add missing #include <xlocale.h>.
8143 * stdlib/strtof_l.c: Likewise.
8144 * stdlib/strtol_l.c: Likewise.
8145 * stdlib/strtold_l.c: Likewise.
8146 * stdlib/strtoll_l.c: Likewise.
8147 * stdlib/strtoul_l.c: Likewise.
8148 * stdlib/strtoull_l.c: Likewise.
8149
8150 1997-05-26 02:42 Zack Weinberg <zack@rabi.phys.columbia.edu>
8151
8152 * hurd/dtable.c: De-ansidecl-fy.
8153 * math/test-math.c: Likewise.
8154 * signal/tst-signal.c: Likewise.
8155 * stdio/getc.c: Likewise.
8156 * stdio/obstream.c: Likewise.
8157 * stdio/putc.c: Likewise.
8158 * stdio-common/bug1.c: Likewise.
8159 * stdio-common/bug2.c: Likewise.
8160 * stdio-common/bug6.c: Likewise.
8161 * stdio-common/fscanf.c: Likewise.
8162 * stdlib/testsort.c: Likewise.
8163 * string/tester.c: Likewise.
8164 * sysdeps/am29k/ffs.c: Likewise.
8165 * sysdeps/generic/bb_init_func.c: Likewise.
8166 * sysdeps/generic/bcopy.c: Likewise.
8167 * sysdeps/generic/bzero.c: Likewise.
8168 * sysdeps/generic/div.c: Likewise.
8169 * sysdeps/generic/ffs.c: Likewise.
8170 * sysdeps/generic/memccpy.c: Likewise.
8171 * sysdeps/generic/memcpy.c: Likewise.
8172 * sysdeps/generic/memmove.c: Likewise.
8173 * sysdeps/generic/memset.c: Likewise.
8174 * sysdeps/generic/vfork.c: Likewise.
8175 * sysdeps/generic/vtimes.c: Likewise.
8176 * sysdeps/i386/bzero.c: Likewise.
8177 * sysdeps/i386/ffs.c: Likewise.
8178 * sysdeps/i960/ffs.c: Likewise.
8179 * sysdeps/m68k/ffs.c: Likewise.
8180 * sysdeps/m88k/ffs.c: Likewise.
8181 * sysdeps/mach/hurd/_exit.c: Likewise.
8182 * sysdeps/mach/hurd/accept.c: Likewise.
8183 * sysdeps/mach/hurd/access.c: Likewise.
8184 * sysdeps/mach/hurd/adjtime.c: Likewise.
8185 * sysdeps/mach/hurd/bind.c: Likewise.
8186 * sysdeps/mach/hurd/brk.c: Likewise.
8187 * sysdeps/mach/hurd/chdir.c: Likewise.
8188 * sysdeps/mach/hurd/chflags.c: Likewise.
8189 * sysdeps/mach/hurd/chmod.c: Likewise.
8190 * sysdeps/mach/hurd/chown.c: Likewise.
8191 * sysdeps/mach/hurd/chroot.c: Likewise.
8192 * sysdeps/mach/hurd/close.c: Likewise.
8193 * sysdeps/mach/hurd/connect.c: Likewise.
8194 * sysdeps/mach/hurd/defs.c: Likewise.
8195 * sysdeps/mach/hurd/dup2.c: Likewise.
8196 * sysdeps/mach/hurd/execve.c: Likewise.
8197 * sysdeps/mach/hurd/fchdir.c: Likewise.
8198 * sysdeps/mach/hurd/fchflags.c: Likewise.
8199 * sysdeps/mach/hurd/fchmod.c: Likewise.
8200 * sysdeps/mach/hurd/fchown.c: Likewise.
8201 * sysdeps/mach/hurd/fcntl.c: Likewise.
8202 * sysdeps/mach/hurd/fdopen.c: Likewise.
8203 * sysdeps/mach/hurd/flock.c: Likewise.
8204 * sysdeps/mach/hurd/fsync.c: Likewise.
8205 * sysdeps/mach/hurd/ftruncate.c: Likewise.
8206 * sysdeps/mach/hurd/getdtsz.c: Likewise.
8207 * sysdeps/mach/hurd/getegid.c: Likewise.
8208 * sysdeps/mach/hurd/geteuid.c: Likewise.
8209 * sysdeps/mach/hurd/getgid.c: Likewise.
8210 * sysdeps/mach/hurd/getgroups.c: Likewise.
8211 * sysdeps/mach/hurd/gethostid.c: Likewise.
8212 * sysdeps/mach/hurd/gethostname.c: Likewise.
8213 * sysdeps/mach/hurd/getitimer.c: Likewise.
8214 * sysdeps/mach/hurd/getlogin.c: Likewise.
8215 * sysdeps/mach/hurd/getpeername.c: Likewise.
8216 * sysdeps/mach/hurd/getpgid.c: Likewise.
8217 * sysdeps/mach/hurd/getpid.c: Likewise.
8218 * sysdeps/mach/hurd/getppid.c: Likewise.
8219 * sysdeps/mach/hurd/getsockname.c: Likewise.
8220 * sysdeps/mach/hurd/getsockopt.c: Likewise.
8221 * sysdeps/mach/hurd/getuid.c: Likewise.
8222 * sysdeps/mach/hurd/ioctl.c: Likewise.
8223 * sysdeps/mach/hurd/isatty.c: Likewise.
8224 * sysdeps/mach/hurd/link.c: Likewise.
8225 * sysdeps/mach/hurd/listen.c: Likewise.
8226 * sysdeps/mach/hurd/lseek.c: Likewise.
8227 * sysdeps/mach/hurd/mkdir.c: Likewise.
8228 * sysdeps/mach/hurd/open.c: Likewise.
8229 * sysdeps/mach/hurd/pipe.c: Likewise.
8230 * sysdeps/mach/hurd/read.c: Likewise.
8231 * sysdeps/mach/hurd/readlink.c: Likewise.
8232 * sysdeps/mach/hurd/reboot.c: Likewise.
8233 * sysdeps/mach/hurd/recv.c: Likewise.
8234 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8235 * sysdeps/mach/hurd/rename.c: Likewise.
8236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8237 * sysdeps/mach/hurd/rmdir.c: Likewise.
8238 * sysdeps/mach/hurd/sbrk.c: Likewise.
8239 * sysdeps/mach/hurd/seekdir.c: Likewise.
8240 * sysdeps/mach/hurd/select.c: Likewise.
8241 * sysdeps/mach/hurd/setegid.c: Likewise.
8242 * sysdeps/mach/hurd/seteuid.c: Likewise.
8243 * sysdeps/mach/hurd/setgid.c: Likewise.
8244 * sysdeps/mach/hurd/setgroups.c: Likewise.
8245 * sysdeps/mach/hurd/sethostid.c: Likewise.
8246 * sysdeps/mach/hurd/sethostname.c: Likewise.
8247 * sysdeps/mach/hurd/setlogin.c: Likewise.
8248 * sysdeps/mach/hurd/setpgid.c: Likewise.
8249 * sysdeps/mach/hurd/setregid.c: Likewise.
8250 * sysdeps/mach/hurd/setreuid.c: Likewise.
8251 * sysdeps/mach/hurd/setrlimit.c: Likewise.
8252 * sysdeps/mach/hurd/setsid.c: Likewise.
8253 * sysdeps/mach/hurd/setsockopt.c: Likewise.
8254 * sysdeps/mach/hurd/settimeofday.c: Likewise.
8255 * sysdeps/mach/hurd/setuid.c: Likewise.
8256 * sysdeps/mach/hurd/shutdown.c: Likewise.
8257 * sysdeps/mach/hurd/sigaction.c: Likewise.
8258 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
8259 * sysdeps/mach/hurd/sigpending.c: Likewise.
8260 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
8261 * sysdeps/mach/hurd/sigstack.c: Likewise.
8262 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
8263 * sysdeps/mach/hurd/socket.c: Likewise.
8264 * sysdeps/mach/hurd/socketpair.c: Likewise.
8265 * sysdeps/mach/hurd/stdio_init.c: Likewise.
8266 * sysdeps/mach/hurd/symlink.c: Likewise.
8267 * sysdeps/mach/hurd/sync.c: Likewise.
8268 * sysdeps/mach/hurd/sysd-stdio.c: Likewise.
8269 * sysdeps/mach/hurd/telldir.c: Likewise.
8270 * sysdeps/mach/hurd/truncate.c: Likewise.
8271 * sysdeps/mach/hurd/umask.c: Likewise.
8272 * sysdeps/mach/hurd/unlink.c: Likewise.
8273 * sysdeps/mach/hurd/wait4.c: Likewise.
8274 * sysdeps/mach/hurd/utimes.c: Likewise.
8275 * sysdeps/mach/hurd/write.c: Likewise.
8276 * sysdeps/mach/adjtime.c: Likewise.
8277 * sysdeps/mach/gettimeofday.c: Likewise.
8278 * sysdeps/mach/usleep.c: Likewise.
8279 * sysdeps/mips/__longjmp.c: Likewise.
8280 * sysdeps/posix/clock.c: Likewise.
8281 * sysdeps/posix/ctermid.c: Likewise.
8282 * sysdeps/posix/defs.c: Likewise.
8283 * sysdeps/posix/dup.c: Likewise.
8284 * sysdeps/posix/libc_fatal.c: Likewise.
8285 * sysdeps/posix/stdio_init.c: Likewise.
8286 * sysdeps/rs6000/ffs.c: Likewise.
8287 * sysdeps/sparc/e_sqrt.c: Likewise.
8288 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
8289 * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
8290 * sysdeps/standalone/i386/force_cpu386/console.c: Likewise.
8291 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
8292 * sysdeps/standalone/i960/nindy960/brdinit.c: Likewise.
8293 * sysdeps/standalone/i960/nindy960/console.c: Likewise.
8294 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
8295 * sysdeps/standalone/m68k/m68020/mvme136/brdinit.c: Likewise.
8296 * sysdeps/standalone/brk.c: Likewise.
8297 * sysdeps/stub/_exit.c: Likewise.
8298 * sysdeps/stub/brdinit.c: Likewise.
8299 * sysdeps/stub/console.c: Likewise.
8300 * sysdeps/stub/defs.c: Likewise.
8301 * sysdeps/stub/errlist.c: Likewise.
8302 * sysdeps/stub/libc_fatal.c: Likewise.
8303 * sysdeps/stub/siglist.c: Likewise.
8304 * sysdeps/stub/stdio_init.c: Likewise.
8305 * sysdeps/stub/strtsupp.c: Likewise.
8306 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Likewise.
8307 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Likewise.
8308 * sysdeps/unix/bsd/bsd4.4/wait3.c: Likewise.
8309 * sysdeps/unix/bsd/sun/sunos4/tcflow.c: Likewise.
8310 * sysdeps/unix/bsd/sun/sunos4/tcflush.c: Likewise.
8311 * sysdeps/unix/bsd/sun/sunos4/tcgetattr.c: Likewise.
8312 * sysdeps/unix/bsd/sun/sunos4/tcsendbrk.c: Likewise.
8313 * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
8314 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
8315 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8316 * sysdeps/unix/bsd/clock.c: Likewise.
8317 * sysdeps/unix/bsd/gtty.c: Likewise.
8318 * sysdeps/unix/bsd/init-posix.c: Likewise.
8319 * sysdeps/unix/bsd/setgid.c: Likewise.
8320 * sysdeps/unix/bsd/setrgid.c: Likewise.
8321 * sysdeps/unix/bsd/setruid.c: Likewise.
8322 * sysdeps/unix/bsd/setuid.c: Likewise.
8323 * sysdeps/unix/bsd/stty.c: Likewise.
8324 * sysdeps/unix/bsd/telldir.c: Likewise.
8325 * sysdeps/unix/bsd/ualarm.c: Likewise.
8326 * sysdeps/unix/common/glue-ctype.c: Likewise.
8327 * sysdeps/unix/sparc/start.c: Likewise.
8328 * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
8329 * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
8330 * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
8331 * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
8332 * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
8333 * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
8334 * sysdeps/unix/sysv/irix4/start.c: Likewise.
8335 * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
8336 * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
8337 * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
8338 * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
8339 * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
8340 * sysdeps/unix/sysv/sysv4/ftruncate.c: Likewise.
8341 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
8342 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
8343 * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
8344 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
8345 * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
8346 * sysdeps/unix/sysv/gethostname.c: Likewise.
8347 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8348 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8349 * sysdeps/unix/alarm.c: Likewise.
8350 * sysdeps/unix/make_errlist.c: Likewise.
8351 * sysdeps/unix/rewinddir.c: Likewise.
8352 * sysdeps/unix/seekdir.c: Likewise.
8353 * sysdeps/unix/time.c: Likewise.
8354 * sysdeps/unix/utime.c: Likewise.
8355 * sysdeps/vax/__longjmp.c: Likewise.
8356 * sysdeps/vax/memccpy.c: Likewise.
8357 * time/strftime.c: Likewise.
8358
8359 1997-05-25 21:57 Miles Bader <miles@gnu.ai.mit.edu>
8360
8361 * argp/argp-parse.c (parser_init): For the special case where no
8362 parsing function is supplied for an argp, propagate its input to
8363 its first child, if any.
8364
8365 * argp/argp.h (struct argp_state): `argp' field renamed to `root_argp'.
8366 * argp/argp-help.c (__argp_state_help, argp_args_usage, hol_help):
8367 Replace references to STATE->argp with STATE->root_argp.
8368 * argp/argp-parse.c (parser_init): Likewise.
8369
8370 1997-05-26 14:17 Ulrich Drepper <drepper@cygnus.com>
8371
8372 * manual/main.texi: Clarify situation for other not supported ports.
8373 Proposed by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8374 We recommend binutils 2.8.
8375
8376 1997-05-26 12:17 Ulrich Drepper <drepper@cygnus.com>
8377
8378 * netinet/in.h: New file. Wrapper around inet/netinet/in.h.
8379
8380 1997-05-25 09:51 H.J. Lu <hjl@gnu.ai.mit.edu>
8381
8382 * sysdeps/i386/elf/start.S: Change local label "nofini"
8383 to ".Lnofini".
8384
8385 * sysdeps/i386/i386-mcount.S: Use GOT, instead of GOTOFF.
8386
8387 1997-05-24 17:45 H.J. Lu <hjl@gnu.ai.mit.edu>
8388
8389 * gmon/gmon.c (_mcleanup): Free tostruct array allocated in monstartup.
8390
8391 1997-05-25 03:00 Ulrich Drepper <drepper@cygnus.com>
8392
8393 * elf/dynamic-link.h (_dl_verbose): New variable, declare.
8394 * elf/rtld.c (_dl_verbose): New variable, define.
8395 (dl_main): Define _dl_verbose based on DL_WARN environment variable.
8396 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print warning about
8397 changed size in copy relocation only if symbol in shared object
8398 is larger or _dl_verbose is nonzero.
8399 * sysdeps/m68k/dl-machine.h (elf_machine_rel): Likewise.
8400 * sysdeps/powerpc/dl-machine.h (elf_machine_rel): Likewise.
8401 * sysdeps/sparc/dl-machine.h (elf_machine_rel): Likewise.
8402
8403 * nis/nss_nis/nis-ethers.c: Don't use relative include paths, use
8404 <...>.
8405 * nis/nss_nis/nis-grp.c: Likewise.
8406 * nis/nss_nis/nis-hosts.c: Likewise.
8407 * nis/nss_nis/nis-network.c: Likewise.
8408 * nis/nss_nis/nis-proto.c: Likewise.
8409 * nis/nss_nis/nis-pwd.c: Likewise.
8410 * nis/nss_nis/nis-rpc.c: Likewise.
8411 * nis/nss_nis/nis-spwd.c: Likewise.
8412 * sysdeps/unix/sysv/sysd-stdio.c: Likewise.
8413 * wcsmbs/wcscoll.c: Likewise.
8414 * wcsmbs/wcstod.c: Likewise.
8415 * wcsmbs/wcstof.c: Likewise.
8416 * wcsmbs/wcstol.c: Likewise.
8417 * wcsmbs/wcstold.c: Likewise.
8418 * wcsmbs/wcsxfrm.c: Likewise.
8419 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8420
8421 * time/strftime.c: Implement # flag which changes case of output for
8422 %a, %b, %B, %p, and %Z format.
8423 When printing numbers, the given field width is always respected.
8424 This means that padding happens only up to the given width.
8425 Proposed by Stephen Gildea <gildea@intouchsys.com>.
8426
8427 1997-05-25 00:44 Ulrich Drepper <drepper@cygnus.com>
8428
8429 * sysdeps/i386/fpu/__math.h (logb): Fix thinko, reverse output
8430 values.
8431 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
8432
8433 1997-05-24 21:03 Philip Blundell <pjb27@cam.ac.uk>
8434
8435 * db/btree/bt_open.c (__bt_open): Only try to use st_blksize (from
8436 struct stat) if it exists for this port.
8437
8438 1997-05-24 20:34 Philip Blundell <pjb27@cam.ac.uk>
8439
8440 * sysdeps/standalone/arm/errnos.h: Add EPERM.
8441
8442 1997-05-23 16:28 Philip Blundell <phil@kings-cross.london.uk.eu.org>
8443
8444 * linewrap.h: New file, needed to compile argp without libio.
8445
8446 1997-05-24 11:59 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8447
8448 * manual/stdio.texi (Formatted Messages): Corrected some typos.
8449
8450 1997-05-24 11:58 Philip Blundell <pjb27@cam.ac.uk>
8451
8452 * sysdeps/stub/start.c: Fix typo.
8453
8454 1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu>
8455
8456 * argp/argp-help.c (hol_add_cluster): Initialize CL->depth.
8457
8458 1997-05-24 03:51 Ulrich Drepper <drepper@cygnus.com>
8459
8460 * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l,
8461 strtoull_l, strtof_l, strtod_l, and strtold_l.
8462 * stdlib/stdlib.h: Add prototypes for new functions.
8463 * stdlib/strtod.c: Change for compiling as strtoX_l.
8464 * stdlib/strtol.c: Likewise.
8465 * stdlib/strtof.c: Likewise.
8466 * stdlib/strtold.c: Likewise.
8467 * stdlib/strtod_l.c: New file.
8468 * stdlib/strtof_l.c: New file.
8469 * stdlib/strtold_l.c: New file.
8470 * stdlib/strtol_l.c: New file.
8471 * stdlib/strtoul_l.c: New file.
8472 * stdlib/strtoll_l.c: New file.
8473 * stdlib/strtoull_l.c: New file.
8474 * string/Makefile (routines): Add strcasecmp_l and strncase_l.
8475 * string/string.h: Add prototypes for new functions.
8476 * sysdeps/generic/strcasecmp.c: Change for compiling as strcasecmp_l.
8477 * sysdeps/generic/strncase.c: Change for compiling as strncasecmp_l.
8478 * sysdeps/generic/strcasecmp_l.c: New file.
8479 * sysdeps/generic/strncase_l.c: New file.
8480 * wcsmbs/Makefile (routines): Add wcstol_l, wcstoul_l, wcstoll_l,
8481 wcstoull_l, wcstod_l, wcstold_l, wcstof_l, wcscasecmp_l, and
8482 wcsncase_l.
8483 * wcsmbs/wchar.h: Add prototypes for new functions.
8484 * wcsmbs/wcscasecmp.c: Change for compiling as wcscasecmp_l.
8485 * wcsmbs/wcsncase.c: Change for compiling as wcsncasecmp_l.
8486 * wcsmbs/wcscasecmp_l.c: New file.
8487 * wcsmbs/wcsncase_l.c: New file.
8488 * wcsmbs/wcstof.c: Change for compiling as wcstof_l.c
8489 * wcsmbs/wcstold.c: Change for compiling as wcstold_l.c
8490 * wcsmcs/wcstod_l.c: New file.
8491 * wcsmcs/wcstof_l.c: New file.
8492 * wcsmcs/wcstold_l.c: New file.
8493 * wcsmcs/wcstol_l.c: New file.
8494 * wcsmcs/wcstoul_l.c: New file.
8495 * wcsmcs/wcstoll_l.c: New file.
8496 * wcsmcs/wcstoull_l.c: New file.
8497
8498 * Makeconfig (binfmt-subdir): New variable. Set to `elf' if
8499 $(elf) is defined. More to come later when other binary formats
8500 are supported.
8501 * Makefile (subdirs): Remove elf. Add $(binfmt-subdir).
8502 Suggested by Philip Blundell.
8503
8504 * stdlib/Makefile (headers): Add fmtmsg.h.
8505 (routines): Add fmtmsg.
8506 * stdlib/fmtmsg.c: New file.
8507 * stdlib/fmtmsg.h: New file.
8508 * manual/stdio.texi: Add description of fmtmsg and addseverity.
8509 * manual/examples/fmtmsgexpl.c: Example program for fmtmsg
8510 documentation.
8511
8512 1997-05-23 15:26 Philip Blundell <pjb27@cam.ac.uk>
8513
8514 * resolv/res_query.c (res_querydomain): Avoid potential buffer
8515 overrun. Reported by Dan A. Dickey <ddickey@transition.com>.
8516
8517 1997-05-22 18:36 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
8518
8519 * elf/dl-support.c (_dl_sysdep_open_zero_fill,
8520 _dl_sysdep_read_whole_file): Moved functions to ...
8521 * elf/dl-misc.c: This new file.
8522 * sysdeps/generic/dl-sysdepio.c: Delete file and move functions...
8523 * elf/dl-misc.c: ... here.
8524 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill,
8525 _dl_sysdep_read_whole_file): Delete functions; they now come from
8526 elf/dl-misc.c (dl-support.c had contained identical versions).
8527 * sysdeps/mach/hurd/dl-sysdepio.c: Delete file; move functions...
8528 * sysdeps/mach/hurd/dl-sysdep.c: ... here, but mark them weak so
8529 that the regular ones in dl-misc work once we've initialized.
8530 * elf/Makefile (dl-routines): Remove dl-sysdepio.c. Add dl-misc.c.
8531
8532 1997-05-22 21:55 Philip Blundell <pjb27@cam.ac.uk>
8533
8534 * inet/Makefile (headers): Add netinet/inbits.h.
8535 * inet/netinet/in.h: New file.
8536 * sysdeps/generic/netinet/inbits.h: Likewise.
8537 * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
8538 * sysdeps/generic/netinet/ip6.h: Move to...
8539 * inet/netinet/ip6.h: ... here.
8540 * sysdeps/generic/netinet/icmp6.h: Move to...
8541 * inet/netinet/icmp6.h: ... here.
8542 * sysdeps/unix/sysv/linux/netinet/in.h: Remove.
8543 * sysdeps/generic/netinet/in.h: Remove.
8544
8545 1997-05-22 05:40 Richard Henderson <rth@tamu.edu>
8546
8547 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): If we are
8548 not looking at the new thread-safe .plt, don't be lazy about relocs.
8549 (_dl_runtime_resolve): Fix up arithmetic for new .plt layout.
8550 (elf_alpha_fix_plt): Insert wmb as appropriate to ensure safety.
8551 * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Let
8552 elf_machine_runtime_setup() decide if we can actually be lazy.
8553 * elf/rtld.c (_dl_start): So don't call it.
8554 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8555 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Return lazy.
8556 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8557 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
8558 * sysdeps/powerpc/dl-machine.h (elf_machine_runtime_setup): Likewise.
8559 * sysdeps/sparc/dl-machine.h (elf_machine_runtime_setup): Likewise.
8560 * sysdeps/stub/dl-machine.h (elf_machine_runtime_setup): Update
8561 skeleton definition.
8562
8563 1997-05-22 18:45 Ulrich Drepper <drepper@cygnus.com>
8564
8565 * sysdeps/i386/fpu/__math.h (logb): Remove second value placed on
8566 stack by fxtract.
8567
8568 1997-05-22 13:07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8569
8570 * sunrpc/rpcsvc/rusers.x: Provide and correct prototypes,
8571 add cast to (xdrproc_t) where necessary to prevent warnings.
8572
8573 1997-05-22 12:18 Ulrich Drepper <drepper@cygnus.com>
8574
8575 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove I/O functions.
8576
8577 1997-05-22 04:09 Ulrich Drepper <drepper@cygnus.com>
8578
8579 * sunrpc/clnt_perr.c (clnt_sperrno): Change type of variable i
8580 to size_t to prevent warning.
8581 * sunrpc/rpcinfo.c (get_inet_address): Use INADDR_NONE and INADDR_ANY
8582 instead of numeric values.
8583 Various cleanups.
8584 * sunrpc/xdr_mem.c: Use `const char *' instead of `const caddr_t'
8585 for xdrmem_putbytes.
8586 * sunrpc/xdr_rec.c: Likewise.
8587 * sunrpc/xdr_stdio.c: Likewise.
8588 * sunrpc/rpc/xdr.h: Likewise.
8589
8590 * sysdeps/unix/sysv/linux/arm/syscall.s: Pretty printing.
8591 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8593
8594 1997-05-21 22:22 Philip Blundell <pjb27@cam.ac.uk>
8595
8596 * inet/Makefile (headers): Add netinet/ip6.h, netinet/icmp6.h.
8597 * sysdeps/generic/netinet/ip6.h: New file (for IPv6 Advanced API).
8598 * sysdeps/generic/netinet/icmp6.h: Likewise.
8599 * sysdeps/unix/sysv/linux/netinet/in.h: Fix typo.
8600 * sysdeps/stub/direntry.h (struct dirent): Add d_fileno (needed by
8601 glob.c).
8602 * sysdeps/standalone/arm/errnos.h: Add EPROTOTYPE, ESRCH.
8603 * sysdeps/unix/arm/sysdep.h: Avoid warning about nested comments.
8604 * sysdeps/stub/accept.c (accept): Make args match prototype.
8605 * sysdeps/stub/bind.c (bind): Likewise.
8606 * sysdeps/stub/connect.c (connect): Likewise.
8607 * sysdeps/stub/getpeername.c (getpeername): Likewise.
8608 * sysdeps/stub/getsockname.c (getsockname): Likewise.
8609 * sysdeps/stub/recvfrom.c (recvfrom): Likewise.
8610 * sysdeps/stub/send.c (send): Likewise.
8611 * sysdeps/stub/ttyname_r.c (ttyname_r): Likewise.
8612 * sysdeps/stub/readv.c (readv): Likewise.
8613 * sysdeps/stub/writev.c (writev): Likewise.
8614 * sysdeps/stub/sendto.c (sendto): Likewise.
8615 * sysdeps/unix/sysv/linux/arm/profil-counter.h: New file.
8616
8617 1997-05-18 12:46 Philip Blundell <pjb27@cam.ac.uk>
8618
8619 * sysdeps/unix/sysv/linux/socketbits.h: Add new macros CMSG_SPACE,
8620 CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).
8621
8622 1997-05-21 13:51 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8623
8624 * sysdeps/unix/sysv/linux/shmat.c (shmat): Add cast to prevent warning.
8625
8626 * sunrpc/rpcsvc/rusers.x: Provide prototypes for implemented
8627 functions, include <rpc/xdr.h>.
8628
8629 * string/strverscmp.c: Correct typos in comment.
8630
8631 * sunrpc/rpc/xdr.h: Add more `const'.
8632 * sunrpc/xdr_stdio.c: Likewise.
8633 * sunrpc/xdr_rec.c: Likewise.
8634
8635 1997-05-21 17:50 Ulrich Drepper <drepper@cygnus.com>
8636
8637 * elf/Makefile (dl-routines): Add dl-sysdepio.
8638 * elf/dl-support.c (_dl_sysdep_fatal): Removed.
8639 * sysdeps/generic/dl-sysdep.c: Move definition of _dl_sysdep_fatal,
8640 _dl_sysdep_error and _dl_sysdep_warning to ...
8641 * sysdeps/generic/dl-sysdepio.c: ...here.
8642 * sysdeps/mach/hurd/dl-sysdep.c: Move the functions to ...
8643 * sysdeps/mach/hurd/dl-sysdepio.c: ...here.
8644 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Remove definition
8645 of functions.
8646 Bug reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
8647
8648 * db/Makefile (libdb.so): Depend on libc.so for dynamic loading
8649 and for Linux ld.so.
8650 * login/Makefile (libutil.so): Likewise.
8651 * math/Makefile (libm.so): Likewise.
8652 * md5-crypt/Makefile (libcrypt.so): Likewise.
8653 * nis/Makefile (libnss_%.so): Likewise.
8654 * resolv/Makefile (libnss_dns.so): Likewise.
8655
8656 1997-05-20 14:01 Miles Bader <miles@gnu.ai.mit.edu>
8657
8658 * argp/argp-help.c (_help): Supply STATE to argp_args_usage.
8659 (argp_args_usage): Add filtering of the args doc string.
8660 (comma): Print cluster headers for the first entry too.
8661 * argp/argp.h (ARGP_KEY_HELP_ARGS_DOC): New macro.
8662
8663 1997-05-21 02:49 Ulrich Drepper <drepper@cygnus.com>
8664
8665 * gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Set to 2 since
8666 interface was changed with addition of _obstack_memory_used.
8667 Suggested by Ian Taylor <ian@cygnus.com>.
8668
8669 * malloc/obstack.c: Include <config.h>. Include <stdlib.h> only
8670 if __GNU_LIBRARY__ or HAVE_STDLIB_H is defined.
8671 Reported by Ian Taylor <ian@cygnus.com>.
8672
8673 * dirent/Makefile (routines): Add versionsort.
8674 * dirent/dirent.h: Add prototype for versionsort.
8675 * dirent/versionsort.c: New file.
8676 * manual/filesys.texi: Add documentation for versionsort.
8677 * manual/string.texi: Add documentation for strverscmp.
8678 * string/Makefile (routines): Add strverscmp.
8679 (tests): Add tst-svc.
8680 * string/string.h: Add prototype for strverscmp.
8681 * string/strverscmp.c: New file.
8682 * string/tst-svc.c: New file. Test for strverscmp.
8683 * string/tst-svc.input: New file. Input data for tst-svc.
8684 * string/tst-svc.expect: New file. Expected out from tst-svc.
8685 Patches by Jean-François Bignolles <bignolle@ecoledoc.ibp.fr>.
8686
8687 * math/Makefile (calls): Add s_signbit.
8688
8689 * po/sv.po: Update.
8690
8691 * resolv/nss_dns/dns-host.c: Add casts to prevent warnings.
8692 * sunrpc/pmap_rmt.c: Likewise.
8693
8694 * string/basename.c: Don't use ISO C definition style.
8695 Include <config.h> if HAVE_CONFIG_H is defined.
8696
8697 * sunrpc/proto.h: Add `const' wherever possible.
8698 * sunrpc/rpc_cout.c: Likewise.
8699 * sunrpc/rpc_svcout.c: Likewise.
8700 * sunrpc/xdr_mem.c: Likewise.
8701 * sunrpc/xdr_rec.c: Likewise.
8702 * sunrpc/xdr_stdio.c: Likewise.
8703 * sunrpc/rpc_parse.c: Delete comma from end of enum definition.
8704 * sunrpc/xdr.c: Little code cleanups.
8705 * sunrpc/xdr_float.c: Likewise.
8706 Patches by Matthew Wilcox <matthew.wilcox@chbs.mhs.ciba.com>.
8707
8708 * sysdeps/i386/fpu/__math.h (__finite): Fix typo.
8709
8710 * sysdeps/unix/sysv/linux/shmdt.c: Add cast to prevent warning.
8711
8712 * time/europe: Update from tzdata1997f.
8713 * time/zic.c: Update from tzcode1997e.
8714
8715 1997-05-20 19:20 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
8716
8717 * sysdeps/sparc/setjmp.S: Flush windows.
8718 Bug found by Richard Henderson.
8719
8720 1997-05-19 12:54 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8721
8722 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Rewritten as to fit the specs.
8723
8724 1997-05-19 18:41 Thorsten Kukuk <kukuk@uni-paderborn.de>
8725
8726 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_parse_spent): Use
8727 atol instead of atoi.
8728
8729 1997-05-18 00:22 Philip Blundell <pjb27@cam.ac.uk>
8730
8731 * inet/Makefile (routines): Add if_index.
8732 * sysdeps/unix/sysv/linux/if_index.c: New file.
8733 * sysdeps/stub/if_index.c: New file.
8734 * sysdeps/unix/sysv/linux/net/if.h: Add prototypes for routines in
8735 if_index.c (required by IPv6 basic API).
8736 * sysdeps/unix/sysv/linux/netinet/in.h: Add struct ipv6_pktinfo.
8737
8738 1997-05-17 23:29 Philip Blundell <pjb27@cam.ac.uk>
8739
8740 * sysdeps/unix/sysv/linux/netinet/in.h: Update IPv6 definitions
8741 for new advanced API draft.
8742
8743 1997-05-13 21:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8744
8745 * stdio-common/printf_fp.c: Only use the field width for deciding
8746 on padding when printing special values.
8747 * stdio-common/printf_fphex.c: Likewise.
8748
8749 1997-05-15 13:14 Miles Bader <miles@gnu.ai.mit.edu>
8750
8751 Changes by Thomas Bushnell <thomas@gnu.ai.mit.edu>:
8752 * hurd/hurdauth.c (_S_msg_add_auth): Implement correctly.
8753
8754 1997-05-12 14:50 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
8755
8756 * hurd/hurdsig.c (_hurdsig_init): Double size of sigthread stack;
8757 msg_add_auth was overflowing it.
8758
8759 1997-05-12 21:20 Richard Henderson <rth@tamu.edu>
8760
8761 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Call _dl_signal_error
8762 when we can't find the symbol.
8763
8764 1997-05-12 16:54 Ulrich Drepper <drepper@cygnus.com>
8765
8766 * posix/regex.c: Fix handling of 32-bit Windog environments.
8767 Patch by Arnold Robbins <arnold@skeeve.atl.ga.us>.
8768
8769 1997-05-10 23:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8770
8771 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add cacheflush.
8772
8773 1997-05-10 11:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8774
8775 * elf/ldd.bash.in: Remove spurious quote character from version
8776 message.
8777
8778 1997-05-10 08:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8779
8780 * locale/programs/locale.c (write_charmaps): Don't get stuck in a
8781 loop if the file ends in a long line without newline.
8782 * locale/programs/charmap.c (charmap_read): Likewise.
8783
8784 1997-05-12 03:47 Ulrich Drepper <drepper@cygnus.com>
8785
8786 * sunrpc/rpc/xdr.h: Include more headers to be self-contained.
8787 * sunrpc/rpc/svc_auth.h: Likewise.
8788 * sunrpc/rpc/svc.h: Likewise.
8789 * sunrpc/rpc/rpc_msg.h: Likewise.
8790 * sunrpc/rpc/pmap_rmt.h: Likewise.
8791 * sunrpc/rpc/pmap_clnt.h: Likewise.
8792 * sunrpc/rpc/clnt.h: Likewise.
8793 * sunrpc/rpc/auth_unix.h: Likewise.
8794 * sysdeps/generic/rpc/auth.h: Likewise.
8795 Patches by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8796
8797 1997-05-11 15:29 Philip Blundell <pjb27@cam.ac.uk>
8798
8799 * sysdeps/stub/sigaction.c (__sigaction): Correct typo.
8800 * sysdeps/standalone/arm/errnos.h: New file.
8801 * sysdeps/stub/sys/param.h: Add dummy definition of MAXSYMLINKS.
8802 * sysdeps/unix/arm/fork.S: New file.
8803 * sysdeps/unix/sysv/linux/arm/sysdep.h: New file.
8804 * sysdeps/stub/tempname.c (__stdio_gen_tempname): Add missing
8805 `streamptr' argument.
8806 * sysdeps/stub/vdprintf.c: Remove second copy of file (!), include
8807 <stdarg.h> to get va_list defined, return 0 not NULL.
8808 * sysdeps/unix/sysv/linux/statfsbuf.h: Include <gnu/types.h>.
8809 * sysdeps/unix/sysv/linux/arm/syscall.S: New file.
8810 * sysdeps/stub/direntry.h (struct dirent): Add missing ';'.
8811 * sysdeps/stub/seekdir.c (seekdir): Likewise.
8812 * sysdeps/stub/dirfd.c (dirfd): Argument dirp is DIR*, not FILE*.
8813 * sysdeps/standalone/dirstream.h: Define struct __dirstream
8814 not DIR; <dirent.h> provides typedef.
8815 * sysdeps/unix/sysv/linux/arm/clone.S: New file.
8816 * sysdeps/unix/sysv/linux/arm/socket.S: New file.
8817 * sysdeps/stub/sysconf.c (__sysconf): Fix typos.
8818
8819 1997-05-01 06:35 Geoff Keating <geoffk@ozemail.com.au>
8820
8821 * sysdeps/powerpc/Dist: New file.
8822 * sysdeps/powerpc/Makefile: New file.
8823 * sysdeps/powerpc/fclrexcpt.c: New file.
8824 * sysdeps/powerpc/fegetenv.c: New file.
8825 * sysdeps/powerpc/fegetround.c: New file.
8826 * sysdeps/powerpc/feholdexcpt.c: New file.
8827 * sysdeps/powerpc/fenvbits.h: New file.
8828 * sysdeps/powerpc/fenv_const.c: New file.
8829 * sysdeps/powerpc/fenv_libc.h: New file.
8830 * sysdeps/powerpc/fesetenv.c: New file.
8831 * sysdeps/powerpc/fesetround.c: New file.
8832 * sysdeps/powerpc/feupdateenv.c: New file.
8833 * sysdeps/powerpc/fgetexcptflg.c: New file.
8834 * sysdeps/powerpc/fraiseexcpt.c: New file.
8835 * sysdeps/powerpc/fsetexcptflg.c: New file.
8836 * sysdeps/powerpc/ftestexcept.c: New file.
8837 * sysdeps/powerpc/mathbits.h: New file.
8838
8839 * sysdeps/powerpc/dl-machine.h: Wrap in #ifndef dl_machine_h;
8840 define elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
8841 ELF_MACHINE_RELOC_NOPLT; consequent changes to elf_machine_rela.
8842
8843 * sysdeps/powerpc/__math.h: Remove definition for hypot and __sgn.
8844
8845 * sysdep/powerpc/fpu_control.h: Correct IEEE default mode.
8846
8847 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use .text, but
8848 instead .section ".text".
8849
8850 1997-04-25 05:06 Geoff Keating <geoffk@ozemail.com.au>
8851
8852 * sysdeps/powerpc/__longjmp.S: Use symbolic register numbering.
8853 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
8854 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
8855 * sysdeps/powerpc/setjmp.S: Likewise.
8856
8857 * sysdeps/unix/sysv/linux/clone.S: Likewise.
8858 * sysdeps/unix/sysv/linux/socket.S: Likewise.
8859 * sysdeps/unix/sysv/linux/syscall.S: Likewise.
8860
8861 1997-04-20 04:37 Geoff Keating <geoffk@ozemail.com.au>
8862
8863 * sysdeps/powerpc/strchr.s: New file.
8864 * sysdeps/powerpc/strcmp.s: New (ugly) file.
8865 * sysdeps/powerpc/memset.s: New file.
8866 * string/tester.c: Include prototype and _GNU_SOURCE to make
8867 standalone compilation possible. Give strcmp a better
8868 test. Give memset a better test.
8869
8870 1997-04-05 06:34 Geoff Keating <geoffk@ozemail.com.au>
8871
8872 * sysdeps/powerpc/strlen.s: Fixed bugs (how did it ever pass its
8873 tests before?). Changed to symbolic register numbering as an
8874 experiment.
8875 * sysdeps/powerpc/ffs.c: Don't include bstring.h, it doesn't
8876 exist.
8877 * sysdeps/rs6000/ffs.c: Likewise.
8878
8879 1997-05-12 02:28 Ulrich Drepper <drepper@cygnus.com>
8880
8881 * time/sys/time.h: Make second argument of setitimer const.
8882 Patch by Michael Deutschmann <ldeutsch@mail.netshop.net>.
8883 * sysdeps/stub/setitimer.c: Likewise.
8884 * sysdeps/mach/hurd/setitimer.c: Likewise.
8885
8886 1997-05-10 11:46 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8887
8888 * nis/rpcsvc/nis_callback.x: New, from tirpcsrc-2.3.
8889
8890 * nis/nis_call.c (__nis_docall): Rewritten for navigation in NIS+
8891 namespace hierachy.
8892 * nis/nis_intern.h: Add new __nis_docall function prototypes.
8893 * nis/nis_add.c: Change __nis_docall/__nis_docall2 parameters for new
8894 rewritten functions.
8895 * nis/nis_checkpoint.c: Likewise.
8896 * nis/nis_lookup.c: Likewise.
8897 * nis/nis_mkdir.c: Likewise.
8898 * nis/nis_modify.c: Likewise.
8899 * nis/nis_ping.c: Likewise.
8900 * nis/nis_remove.c: Likewise.
8901 * nis/nis_rmdir.c: Likewise.
8902 * nis/nis_server.c: Likewise.
8903 * nis/nis_table.c: Likewise.
8904
8905 1997-05-09 16:09 Miles Bader <miles@gnu.ai.mit.edu>
8906
8907 * argp/argp-eexst.c: Include <sysexits.h>.
8908 (argp_err_exit_status): Initialize to EX_USAGE.
8909 * argp/argp.h, argp/argp-help.c: Doc fixes.
8910
8911 1997-05-08 17:15 Miles Bader <miles@gnu.ai.mit.edu>
8912
8913 * argp/argp.h [!__error_t_defined] (__error_t_defined): Define.
8914 * argp/argp-help.c (canon_doc_option): Correct ctype tests.
8915
8916 1997-05-08 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
8917
8918 * sysdeps/unix/sysv/linux/poll.c: Save errno.
8919
8920 1997-05-08 16:44 Ulrich Drepper <drepper@cygnus.com>
8921
8922 * sysdeps/unix/sysv/linux/syscalls.list: Add nfsservctl.
8923
8924 1997-05-07 20:27 H.J. Lu <hjl@gnu.ai.mit.edu>
8925
8926 * sys/ttydefaults.h: Removed.
8927
8928 1997-05-07 14:10 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
8929
8930 * termios/sys/ttydefaults.h: Delete file.
8931 * sysdeps/generic/sys/ttydefaults.h: New file; use OXTABS in
8932 TTYDEF_OFLAG.
8933 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: New file; use
8934 XTABS in TTYDEF_OFLAG.
8935 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: New file; use XTABS
8936 in TTYDEF_OFLAG (which is correct for all existing Linux ports).
8937
8938 1997-05-05 14:22 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
8939
8940 * hurd/hurdsig.c (_hurdsig_preemptors): Provide initialization.
8941 * hurd/hurdfault.c (_hurdsig_fault_preemptor): Likewise.
8942
8943 1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com>
8944
8945 * locale/categories.def: Change type of _NL_CTYPE_CLASS_NAMES and
8946 _NL_CTYPE_MAP_NAMES field to stringlist.
8947 Change name of _NL_CTYPE_CODESET_NAME to "charmap".
8948 * locale/localeinfo.h (enum value_type): Add stringlist.
8949 * locale/programs/locale.c (show_info): Handle stringlist.
8950
8951 * locale/programs/charmap.c (charmap_read): If charmap file is not
8952 using the given name try to find it by looking through all available
8953 charmap files and compare the code set name.
8954 * locale/programs/locale.c (write_charmaps): Also print names of
8955 charset in <code_set_name> fields in the files.
8956
8957 * elf/ldd.bash.in: Correct translatable strings.
8958
8959 * posix/TESTS: Add some more tests for character class matching.
8960 * posix/regex.c: Merge with GNU awk version.
8961 (regex_compile): Use ISO C/amend 1 functions for character class
8962 handling.
8963 * posix/regex.h: Merge with GNU awk version.
8964
8965 * posix/getopt.c: Declare as master copies.
8966 * posix/getopt1.c: Likewise.
8967 * posix/getopt.h: Likewise.
8968
8969 * sysdeps/unix/sysv/linux/sys/mount.h: Add definitions for option
8970 value to mount functions.
8971 Patch by a sun <asun@zoology.washington.edu>.
8972
8973 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check for mismatch
8974 in size for copy relocation.
8975 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
8976 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
8977 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
8978 Patch by Roland McGrath <roland@gnu.ai.mit.edu>.
8979
8980 1997-05-06 13:25 H.J. Lu <hjl@gnu.ai.mit.edu>
8981
8982 * stdio-common/bug3.c (main): Use /tmp/bug3.test for concurrency
8983 with other tests.
8984 * stdio-common/bug4.c (main): Use /tmp/bug4.test for concurrency
8985 with other tests.
8986
8987 * sunrpc/svc_run.c (svc_exit): New, defined.
8988 (svc_run): Test for svc_stop variable.
8989 * sunrpc/rpc/svc.h (svc_exit): New, declared.
8990
8991 1997-05-03 08:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8992
8993 * math/libm-test.c (test_not_exception): Don't mix the internal
8994 exception flags with the host defined FE_* values. All (indirect)
8995 callers of this and test_exceptions changed to pass the internal
8996 flag values.
8997 (csin_test): Allow invalid exception for +-Inf + i NaN. Fix typos
8998 in test names.
8999 (csinh_test): Allow invalid exception for NaN +- i Inf.
9000
9001 1997-05-03 09:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9002
9003 * sysdeps/m68k/fpu/__math.h (__frexp): Don't raise invalid
9004 exception on infinite value.
9005 (__m81_test, __M81_COND_NAN, __M81_COND_INF, __M81_COND_NEG,
9006 __M81_COND_ZERO): New definitions.
9007
9008 * sysdeps/m68k/e_pow.c: Raise invalid exception for NaN result.
9009 Use __m81_test.
9010
9011 * sysdeps/m68k/s_ccosh.c: Rewritten.
9012 * sysdeps/m68k/s_csinh.c: Rewritten.
9013 * sysdeps/m68k/s_cexp.c: Rewritten.
9014 * sysdeps/m68k/s_ccoshf.c: Don't define huge_val.
9015 * sysdeps/m68k/s_ccoshl.c: Likewise.
9016 * sysdeps/m68k/s_csinhf.c: Likewise.
9017 * sysdeps/m68k/s_csinhl.c: Likewise.
9018 * sysdeps/m68k/s_cexpf.c: Likewise.
9019 * sysdeps/m68k/s_cexpl.c: Likewise.
9020
9021 * sysdeps/m68k/s_ccos.c: New file.
9022 * sysdeps/m68k/s_ccosf.c: New file.
9023 * sysdeps/m68k/s_ccosl.c: New file.
9024 * sysdeps/m68k/s_csin.c: New file.
9025 * sysdeps/m68k/s_csinf.c: New file.
9026 * sysdeps/m68k/s_csinl.c: New file.
9027
9028 1997-05-02 19:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9029
9030 * Makerules, manual/Makefile: Remove -$(subdir) suffix from subdir
9031 stamp files to avoid problems with long file names.
9032
9033 1997-05-03 22:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9034
9035 * sysdeps/libm-ieee754/e_acoshl.c: Fix test for x < 1.
9036
9037 * sysdeps/libm-ieee754/e_atan2l.c: Ignore integer bit for Inf and
9038 NaN. Fix test for sign of infinite y.
9039
9040 * sysdeps/libm-ieee754/e_atanhl.c: Fix sign of result.
9041
9042 * sysdeps/libm-ieee754/e_sinhl.c: Fix test for sign of argument.
9043
9044 1997-05-03 01:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9045
9046 * csu/Makefile (extra-objs) [$(elf)=yes]: Add abi-note.o to get
9047 dependencies.
9048
9049 * csu/abi-note.S: Replace undefined macro ALIGNARG.
9050 * sysdeps/unix/sysv/linux/abi-tag.h: Don't use assembler comment
9051 character.
9052
9053 1997-05-03 22:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9054
9055 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use notation
9056 for local label.
9057
9058 1997-05-05 22:00 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9059
9060 * nis/Makefile (libnsl-routines): Add a lot of new file names.
9061
9062 * nis/nis_names.c (nis_add): Moved from here ...
9063 * nis/nis_add.c: ... to here and fix parameter flags.
9064 * nis/nis_names.c (nis_lookup): Moved from here ...
9065 * nis/nis_lookup.c: ... to here.
9066 * nis/nis_names.c (nis_modify): Moved from here ...
9067 * nis/nis_modify.c: ... to here and fix parameter flags.
9068 * nis/nis_names.c (nis_remove): Moved from here ...
9069 * nis/nis_remove.c: ... to here and fix parameter flags.
9070 * nis/nis_names.c: Removed.
9071
9072 * nis/nis_subr.c (nis_domain_of): Moved from here ...
9073 * nis/nis_domain_of.c: .. to here.
9074 * nis/nis_subr.c (nis_domain_of_r): Moved from here ...
9075 * nis/nis_domain_of_r.c: .. to here and fix pointer errors.
9076
9077 * nis/nis_addmember.c: New.
9078 * nis/nis_checkpoint.c: New.
9079 * nis/nis_creategroup.c: New.
9080 * nis/nis_defaults.c: New.
9081 * nis/nis_destroygroup.c: New.
9082 * nis/nis_getservlist.c: New.
9083 * nis/nis_ismember.c: New.
9084 * nis/nis_ping.c: New.
9085 * nis/nis_print_group_entry.c: New.
9086 * nis/nis_removemember.c: New.
9087 * nis/nis_mkdir.c: New.
9088 * nis/nis_rmdir.c: New.
9089 * nis/nis_verifygroup.c: New.
9090
9091 * nis/rpcsvc/nislib.h: Fix internal function declarations.
9092
9093 * nis/nis_server (nis_servstate): New.
9094 * nis/nis_server (nis_stats): New.
9095
9096 * nis/nis_subr.c (nis_leaf_of_r): Fix buffer problems.
9097
9098 * nis/nis_call.c: Remove debug output.
9099
9100 * nis/nis_intern.c (__nis_finddirectory): Remove.
9101
9102 1997-05-03 00:53 Ulrich Drepper <drepper@cygnus.com>
9103
9104 * posix/TESTS2C.sed: Recognize only digits in first field. This
9105 enables us to use colons in the pattern.
9106
9107 1997-05-01 20:02 Richard Henderson <rth@tamu.edu>
9108
9109 * sysdeps/unix/sysv/linux/alpha/brk.S: Don't presume that the kernel
9110 will preserve non-call-saved registers; save and restore a0 across
9111 the system call.
9112 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise tuck the thread
9113 data onto the new thread's stack.
9114
9115 1997-05-01 03:13 Ulrich Drepper <drepper@cygnus.com>
9116
9117 * sysdeps/unix/sysv/linux/shmat.c (shmat): For Linux-2.0 and up the
9118 kernel can return negative values. Only fail when return value is
9119 in range in range which is never returned as valid address.
9120 Patch by Bruno Haible <haible@ilog.fr>.
9121
9122 1997-04-30 17:35 Ulrich Drepper <drepper@cygnus.com>
9123
9124 * math/libm-test.c: Implement test for exceptions.
9125 Partly due to Andreas Jaeger.
9126 (csin_test): New function.
9127 * sysdeps/libm-i387/s_cexp.S: Raise correct exceptions.
9128 * sysdeps/libm-i387/s_cexpf.S: Likewise.
9129 * sysdeps/libm-i387/s_cexpl.S: Likewise.
9130 * sysdeps/libm-ieee754/s_ccos.c: Likewise.
9131 * sysdeps/libm-ieee754/s_ccosf.c: Likewise.
9132 * sysdeps/libm-ieee754/s_ccosl.c: Likewise.
9133 * sysdeps/libm-ieee754/s_ccosh.c: Likewise.
9134 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9135 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9136 * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9137 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9138 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9139 * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9140 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9141 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9142 * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
9143 * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
9144 * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
9145
9146 * sysdeps/libm-ieee754/s_ccosh.c: Correct computation.
9147 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9148 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9149 * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9150 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9151 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9152
9153 * sysdeps/libm-ieee754/s_csin.c: Rewrite.
9154 * sysdeps/libm-ieee754/s_csinf.c: Likewise.
9155 * sysdeps/libm-ieee754/s_csinl.c: Likewise.
9156
9157 * stdlib/random_r.c (__srandom_r): Don't use seed 0. Use 1 in this
9158 case.
9159
9160 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Use notation
9161 for local label.
9162
9163 * time/strftime.c (add): Respect `0' padding flag.
9164 Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
9165
9166 1997-04-30 15:46 Ulrich Drepper <drepper@cygnus.com>
9167
9168 * Makeconfig (start-installed-name): Define here, not in csu/Makefile.
9169 Use in +link macro.
9170 * csu/Makefile (distribute): Add abi-note.S and abi-tag.h.
9171 (start-installed-name): Don't define here.
9172 When ELF generate file named by start-installed-name from start.o
9173 and abi-note.o.
9174 * csu/abi-note.S: New file.
9175 * sysdeps/stub/abi-tag.h: New file.
9176 * sysdpes/unix/sysv/linux/abi-tag.h: New file.
9177 Patches by Roland McGrath <roland@gnu.ai.mit.edu>.
9178
9179 1997-04-30 01:32 Ulrich Drepper <drepper@cygnus.com>
9180
9181 * manual/stdio.texi: Use @vtable where possible.
9182 Add TeX version of @multitable since texi2dvi cannot handle them
9183 correct in the moment.
9184
9185 * po/de.po: Update.
9186
9187 1997-04-29 21:06 Ulrich Drepper <drepper@cygnus.com>
9188
9189 * Makeconfig: Don't set cross-compiling based on $(BUILD_CC) != $(CC).
9190 * config.make.in: Set cross-compiling from configure result.
9191 * configure.in: Emit definition of `cross_compiling'.
9192 Patches by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9193
9194 1997-04-27 21:50 Philip Blundell <pjb27@cam.ac.uk>
9195
9196 * sysdeps/unix/sysv/linux/net/route.h (struct in6_rtmsg): Use
9197 correct `int' sizes for struct members.
9198
9199 1997-04-29 19:14 Ulrich Drepper <drepper@cygnus.com>
9200
9201 * sysdeps/libm-i387/e_powf.S Generate invalid exception correctly.
9202 * sysdeps/libm-i387/e_pow.S: Likewise.
9203 * sysdeps/libm-i387/e_powl.S: Likewise.
9204
9205 1997-04-23 10:08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9206
9207 * math/fenv.h: Correct typos.
9208
9209 1997-04-28 10:04 Richard Henderson <rth@tamu.edu>
9210
9211 * sysdeps/unix/sysv/linux/alpha/clone.S: Save the function argument
9212 in t0 rather than a4 to avoid it being clobbered.
9213
9214 1997-04-27 23:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9215
9216 * manual/summary.awk: Recognize @defmumblex.
9217
9218 * manual/signal.texi (Miscellaneous Signals): Use @deftypevrx for
9219 second description header.
9220
9221 1997-04-27 23:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9222
9223 * manual/arith.texi (Floating-Point Classes): Don't indent text,
9224 makeinfo doesn't like that.
9225
9226 1997-04-27 20:52 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9227
9228 * malloc/obstack.h (obstack_specify_allocation_with_arg,
9229 obstack_chunkfun, obstack_freefun): Fix casts.
9230
9231 1997-04-27 18:21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9232
9233 * manual/xtract-typefun.awk: Allow names with only one character.
9234
9235 1997-04-26 14:16 Ulrich Drepper <drepper@cygnus.com>
9236
9237 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Use <netinet/ip_icmp.h>
9238 not <netinet/icmp.h>.
9239 Reported by Michael Deutschmann <ldeutsch@mail.netshop.net>.
9240
9241 1997-04-25 12:31 Ulrich Drepper <drepper@cygnus.com>
9242
9243 * csu/Makefile ($(objpfx)initfini.s): Add CPPFLAGS, CFLAGS and -g0
9244 to command line of compiler.
9245 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
9246
9247 * sysdeps/generic/sigset.h (__sigandset, __sigorset): Fix typos.
9248 Patch by Marcus G. Daniels <marcus@sysc.pdx.edu>.
9249
9250 * signal/signal.h (_sys_siglist, sys_siglist): Use _NSIG, not NSIG
9251 in declaration.
9252 Patch by Michael Widenius <monty@tcx.se>.
9253
9254 * time/strptime.c (strptime_internal): Fix %I format specifier
9255 being off by one.
9256 Patch by Mark Kettenis <kettenis@phys.uva.nl>.
9257
9258 1997-04-24 12:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9259
9260 * stdlib/lcong48_r.c: Include <limits.h>.
9261 * stdlib/seed48_r.c: Likewise.
9262
9263 * stdio-common/printf_size.c (printf_size): Correct type of
9264 `units' and make robust against future changes.
9265
9266 1997-04-23 18:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9267
9268 * sysdeps/libm-ieee754/s_cproj.c: Use isfinite instead of finite.
9269 * sysdeps/libm-ieee754/s_cprojl.c: Likewise.
9270 * sysdeps/libm-ieee754/s_cprojf.c: Likewise.
9271
9272 1997-04-23 18:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9273
9274 * manual/arith.texi, manual/math.texi: Use @defmumblex for
9275 additional description headers.
9276 * manual/xtract-typefun.awk: Recognize them.
9277
9278 1997-04-22 15:58 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9279
9280 * stdio-common/printf_size.c (printf_size): Correct size of array
9281 units.
9282
9283 1997-04-21 07:50 H.J. Lu <hjl@gnu.ai.mit.edu>
9284
9285 * libgen.h: New file.
9286
9287 1997-04-21 16:45 Ulrich Drepper <drepper@cygnus.com>
9288
9289 * stdlib/drand48.c: Cleanup namespace.
9290 * stdlib/drand48_r.c: Cleanup namespace.
9291 * stdlib/erand48.c: Cleanup namespace.
9292 * stdlib/erand48_r.c: Cleanup namespace.
9293 * stdlib/jrand48.c: Cleanup namespace.
9294 * stdlib/jrand48_r.c: Cleanup namespace.
9295 * stdlib/lrand48.c: Cleanup namespace.
9296 * stdlib/lrand48_r.c: Cleanup namespace.
9297 * stdlib/mrand48.c: Cleanup namespace.
9298 * stdlib/mrand48_r.c: Cleanup namespace.
9299 * stdlib/nrand48.c: Cleanup namespace.
9300 * stdlib/nrand48_r.c: Cleanup namespace.
9301 * stdlib/lcong48.c: Cleanup namespace.
9302 * stdlib/lcong48_r.c: Cleanup namespace.
9303 * stdlib/srand48.c: Cleanup namespace.
9304 * stdlib/srand48_r.c: Cleanup namespace.
9305 * stdlib/seed48.c: Cleanup namespace.
9306 * stdlib/seed48_r.c: Cleanup namespace.
9307
9308 * stdlib/stdlib.h: Provide new prototypes.
9309
9310 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com>
9311
9312 * manual/arith.texi: Add description for INFINITY, _Imaginary_I,
9313 fpclassify & friends, and complex number operations.
9314 Update various other math functions for ISO C 9X.
9315 * manual/math.texi: Update various entries for ISO C 9X.
9316 Add description for complex number functions.
9317 Add description of rand48 function family.
9318 * manual/string.h: Add description of a64l and l64a.
9319
9320 * math/cmathcalls.h: Fix typo.
9321
9322 * stdlib/a64l.c: Pretty printing.
9323
9324 * stdlib/seed48_r.c: Also reset `a' and `c' to default values.
9325 * stdlib/srand48_r.c: Likewise.
9326 * stdlib/stdlib.h: Pretty printing.
9327
9328 * sysdeps/i386/fpu/__math.h: Fix typo.
9329
9330 * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function.
9331 * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise.
9332
9333 1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9334
9335 * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent.
9336
9337 1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9338
9339 * sysdeps/m68k/fpu/__math.h: Define optimized versions of
9340 isgreater, isgreaterequal, isless, islessequal, islessgreater, and
9341 isunordered.
9342
9343 1997-04-20 01:28 Richard Henderson <rth@tamu.edu>
9344
9345 * rellns-sh: Handle files in the same directory correctly.
9346
9347 1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com>
9348
9349 * csu/initfini.c: Place ALIGN instruction at correct positions.
9350 Patch by Richard Henderson <richard@twiddle.rth.home>.
9351
9352 1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com>
9353
9354 * Make-dist: Don't automatically ignore .c files if the .S or .s file
9355 is ignored.
9356
9357 * csu/Makefile (distribute): Add defs.awk.
9358
9359 1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com>
9360
9361 * sysdeps/stub/shmat.c: Update to XPG4.2 interface.
9362 * sysdeps/stub/shmdt.c: Likewise.
9363 Reported by Thomas Bushnell, n/BSG.
9364
9365 1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com>
9366
9367 * manual/stdio.texi: Add description of printf_size and
9368 printf_size_info. Partly based on the documentation by Larry McVoy.
9369
9370 1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com>
9371
9372 * stdio-common/printf_size.c (printf_size): Correct values for
9373 `units'.
9374 Report by Larry McVoy <lm@neteng.engr.sgi.com>.
9375 * stdio-common/tst-printfsz.c: New file.
9376 * stdio-common/Makefile (tests): Add tst-printfsz.c.
9377 (CFLAGS-tst-printfsz.c): Define to prevent warnings about format
9378 strings.
9379
9380 1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com>
9381
9382 * login/utmp.h: Add prototype for updwtmp.
9383 * login/logwtmp.c: Add new function updwtmp which allows to write
9384 a complete record to the wtmp file.
9385 Patch by Miquel van Smoorenburg <miquels@cistron.nl>.
9386
9387 1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9388
9389 * math/Makefile (headers): Add mathbits.h.
9390
9391 1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9392
9393 * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}.
9394 * sysdeps/m68k/fpu/s_sincos.c: New file.
9395 * sysdeps/m68k/fpu/s_sincosf.c: New file.
9396 * sysdeps/m68k/fpu/s_sincosl.c: New file.
9397
9398 * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the
9399 functions.
9400 * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
9401
9402 * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite.
9403 * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
9404 * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
9405 * sysdeps/libm-ieee754/s_ctan.c: Likewise.
9406 * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
9407 * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'.
9408
9409 1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com>
9410
9411 * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error.
9412 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
9413
9414 1997-04-18 02:18 Ulrich Drepper <drepper@cygnus.com>
9415
9416 * csu/initfini.c: Rewrite by Zack Weinberg
9417 <zack@rabi.phys.columbia.edu>.
9418 * csu/Makefile: Add rules for rewrite.
9419 * csu/defs.awk: Helper script to generate derived header.
9420
9421 1997-04-17 16:55 Ulrich Drepper <drepper@cygnus.com>
9422
9423 * misc/libgen.h: Change prototype for of basename to XPG variant.
9424 * stdlib/Makefile (routines): Add xpg_basename.
9425 * stdlib/basename.c: New file.
9426 * string/string.h: Don't declare basename function if basename
9427 macro is available.
9428
9429 1997-04-16 17:33 Miles Bader <miles@gnu.ai.mit.edu>
9430
9431 * login/utmp_file.c (proc_utmp_eq): Only use ut_id field if valid.
9432
9433 1997-04-15 12:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9434
9435 * sysdeps/m68k/fpu/fclrexcpt.c: New file.
9436 * sysdeps/m68k/fpu/fenvbits.h: New file.
9437 * sysdeps/m68k/fpu/fegetenv.c: New file.
9438 * sysdeps/m68k/fpu/fegetround.c: New file.
9439 * sysdeps/m68k/fpu/fesetenv.c: New file.
9440 * sysdeps/m68k/fpu/fesetround.c: New file.
9441 * sysdeps/m68k/fpu/feupdateenv.c: New file.
9442 * sysdeps/m68k/fpu/fgetexcptflg.c: New file.
9443 * sysdeps/m68k/fpu/fraiseexcpt.c: New file.
9444 * sysdeps/m68k/fpu/fsetexcptflg.c: New file.
9445 * sysdeps/m68k/fpu/ftestexcept.c: New file.
9446 * sysdeps/m68k/fpu/mathbits.h: New file.
9447
9448 * sysdeps/m68k/fpu/s_remquo.c: New file.
9449 * sysdeps/m68k/fpu/s_remquol.c: New file.
9450 * sysdeps/m68k/fpu/s_remquof.c: New file.
9451
9452 * sysdeps/libm-ieee754/s_roundl.c: Restore integer bit when
9453 mantissa overflows into exponent. Fix priority of >> vs +.
9454
9455 * math/libm-test.c (basic_tests): Use the appropriate isnan and
9456 isinf function to test the value of the nan function.
9457
9458 1997-04-15 13:40 Ulrich Drepper <drepper@cygnus.com>
9459
9460 * sysdeps/libm-i387/s_finite.S: Fix typo.
9461
9462 * sysdeps/i386/fpu/__math.h: Add optimized versions of isgreater,
9463 isgreaterequal, isless, islessequal, islessgreater, and
9464 isunordered.
9465
9466 1997-04-15 03:14 Ulrich Drepper <drepper@cygnus.com>
9467
9468 * wcsmbs/wcsstr.c: Add weak alias wcswcs for Unix98 compliance.
9469
9470 * math/Makefile (libm-calls): Add s_sincos and s_cproj.
9471 * math/mathcalls.h: Add prototype for sincos.
9472 * sysdeps/i386/fpu/__math.h: Warn about restriction on arguments to
9473 inlined sin and cos function.
9474 Define functions new in ISO C 9X when __USE_ISOC9X is defined.
9475 Add optimized version of finite.
9476 Rewrite sincos function to handle too large arguments.
9477 * sysdeps/libm-i387/s_cos.S: Better code alignment.
9478 * sysdeps/libm-i387/s_cosl.S: Likewise.
9479 * sysdeps/libm-i387/s_sin.S: Likewise.
9480 * sysdeps/libm-i387/s_sinl.S: Likewise.
9481 * sysdeps/libm-i387/s_finite.S: Yet better code.
9482 * sysdeps/libm-i387/s_finitef.S: Likewise.
9483 * sysdeps/libm-i387/s_sincos.S: New file.
9484 * sysdeps/libm-i387/s_sincosf.S: New file.
9485 * sysdeps/libm-i387/s_sincosl.S: New file.
9486 * sysdeps/libm-ieee754/s_sincos.c: New file.
9487 * sysdeps/libm-ieee754/s_sincosf.c: New file.
9488 * sysdeps/libm-ieee754/s_sincosl.c: New file.
9489
9490 * sysdeps/libm-ieee754/s_ccosh.c: Change to use sincos function.
9491 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9492 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9493 * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9494 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9495 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9496 * sysdeps/libm-ieee754/s_csinh.c: Likewise.
9497 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9498 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9499 * sysdeps/libm-ieee754/s_ctan.c: Likewise.
9500 * sysdeps/libm-ieee754/s_ctanf.c: Likewise.
9501 * sysdeps/libm-ieee754/s_ctanl.c: Likewise.
9502 * sysdeps/libm-ieee754/s_ctanh.c: Likewise.
9503 * sysdeps/libm-ieee754/s_ctanhf.c: Likewise.
9504 * sysdeps/libm-ieee754/s_ctanhl.c: Likewise.
9505
9506 * sysdeps/libm-ieee754/s_cosl.c: Correct check for range.
9507 * sysdeps/libm-ieee754/s_sinl.c: Likewise.
9508
9509 * sysdeps/libm-ieee754/s_roundtol.c: Fix typos.
9510 * sysdeps/libm-ieee754/s_roundtoll.c: Likewise.
9511
9512 * nis/Makefile (services): Mention nisplus before compat.
9513 * nis/nis_call.c (__do_niscall): Change type of variable server_len
9514 to prevent warning.
9515 * nis/nss_compat/compat-grp.c (getgrent_next_file_plusgroup): Add
9516 cast to prevent warning.
9517 * nis/nss_compat/compat-pwd.c (getpwent_next_file_plususer): Likewise.
9518 * nis/nss_compat/compat-spwd.c (getspent_next_file_plususer): Likewise.
9519 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): Change
9520 type of variable `i' to prevent warning.
9521 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
9522 Likewise.
9523 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
9524 Likewise.
9525 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent): Likewise.
9526 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
9527 Likewise.
9528
9529 * sysdeps/generic/Dist: Remove old math implementation files.
9530 * sysdeps/generic/mathimpl.h: Removed.
9531 * sysdeps/generic/trig.h: Removed.
9532 * sysdeps/generic/sincos.c: Removed.
9533 * sysdeps/generic/asincos.c: Removed.
9534 * sysdeps/generic/exp__E.c: Removed.
9535 * sysdeps/generic/log__L.c: Removed.
9536
9537 1997-04-13 17:18 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9538
9539 * malloc/malloc.c (fREe): Small optimization. Before returning,
9540 add fast check whether the heap containing top can go away.
9541
9542 1997-04-11 16:46 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
9543
9544 * malloc/malloc.c (mALLOc, rEALLOc, cALLOc, mEMALIGn): When
9545 failing to allocate a new chunk, also try the main_arena. It may
9546 be that we are only running out of mmapped regions, and other
9547 arenas cannot be enlarged sufficiently.
9548 (new_heap, malloc_extend_top): Handle top_pad more consistently,
9549 i.e. only in new_heap().
9550
9551 1997-04-13 21:10 Philip Blundell <pjb27@cl.cam.ac.uk>
9552
9553 * sysdeps/posix/Makefile: Don't try to build and run mk-stdiolim
9554 if cross-compiling.
9555
9556 * configure.in: Recognise "...linuxaout" OS names and turn off ELF.
9557
9558 * configure.in: Add ARM support.
9559 * sysdeps/arm/Implies: New file.
9560 * sysdeps/arm/__longjmp.S: New file.
9561 * sysdeps/arm/bsd-_setjmp: New file.
9562 * sysdeps/arm/bsd-setjmp: New file.
9563 * sysdeps/arm/bytesex.h: New file.
9564 * sysdeps/arm/fpu_control.h: New file.
9565 * sysdeps/arm/jmp_buf.h: New file.
9566 * sysdeps/arm/setjmp.h: New file.
9567 * sysdeps/arm/sysdep.h: New file.
9568 * sysdeps/unix/arm/config.h: New file.
9569
9570 1997-04-14 04:03 Ulrich Drepper <drepper@cygnus.com>
9571
9572 * sysdeps/libm-ieee754/s_cproj.c: New file.
9573 * sysdeps/libm-ieee754/s_cprojf.c: New file.
9574 * sysdeps/libm-ieee754/s_cprojl.c: New file.
9575
9576 1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com>
9577
9578 * isomac.c: Improve messages.
9579
9580 * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin,
9581 s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh,
9582 s_catanh, s_csqrt, and s_cpow.
9583 * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test,
9584 casin_test, casinh_test, catan_test, catanh_test, ctanh_test,
9585 csqrt_test, cpow_test, rint_test.
9586 * math/math.h: Include new header mathbits.h which defines some
9587 more (system dependent) types and some macros.
9588 (isfinite): Use __finite instead of fpclassify.
9589 * sysdeps/generic/mathbits.h: New file.
9590 * sysdeps/i386/fpu/mathbits.h: New file.
9591 * sysdeps/i386/huge_val.h: Don't define INFINITY.
9592 * sysdeps/ieee754/huge_val.h: Likewise.
9593 * sysdeps/m68k/huge_val.h: Likewise.
9594
9595 * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV.
9596 * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV.
9597
9598 * math/complex.h (_Imaginary_I): Define correctly. I misread the
9599 standard first.
9600
9601 * sysdeps/libm-i387/s_finite.S: Optimized rewrite.
9602 * sysdeps/libm-i387/s_finitef.S: Likewise.
9603 * sysdeps/libm-i387/s_finitel.S: Likewise.
9604 Provided by Joe Keane <jgk@jgk.org>.
9605
9606 * sysdeps/libm-i387/s_nearbyint.S: New file.
9607 * sysdeps/libm-i387/s_nearbyintf.S: New file.
9608 * sysdeps/libm-i387/s_nearbyintl.S: New file.
9609 * sysdeps/libm-ieee754/s_nearbyint.S: New file.
9610 * sysdeps/libm-ieee754/s_nearbyintf.S: New file.
9611 * sysdeps/libm-ieee754/s_nearbyintl.S: New file.
9612
9613 * sysdeps/libm-ieee754/s_cacos.c: New file.
9614 * sysdeps/libm-ieee754/s_cacosf.c: New file.
9615 * sysdeps/libm-ieee754/s_cacosl.c: New file.
9616 * sysdeps/libm-ieee754/s_cacosh.c: New file.
9617 * sysdeps/libm-ieee754/s_cacoshf.c: New file.
9618 * sysdeps/libm-ieee754/s_cacoshl.c: New file.
9619 * sysdeps/libm-ieee754/s_casin.c: New file.
9620 * sysdeps/libm-ieee754/s_casinf.c: New file.
9621 * sysdeps/libm-ieee754/s_casinl.c: New file.
9622 * sysdeps/libm-ieee754/s_casinh.c: New file.
9623 * sysdeps/libm-ieee754/s_casinhf.c: New file.
9624 * sysdeps/libm-ieee754/s_casinhl.c: New file.
9625 * sysdeps/libm-ieee754/s_catan.c: New file.
9626 * sysdeps/libm-ieee754/s_catanf.c: New file.
9627 * sysdeps/libm-ieee754/s_catanl.c: New file.
9628 * sysdeps/libm-ieee754/s_catanh.c: New file.
9629 * sysdeps/libm-ieee754/s_catanhf.c: New file.
9630 * sysdeps/libm-ieee754/s_catanhl.c: New file.
9631 * sysdeps/libm-ieee754/s_ccos.c: New file.
9632 * sysdeps/libm-ieee754/s_ccosf.c: New file.
9633 * sysdeps/libm-ieee754/s_ccosl.c: New file.
9634 * sysdeps/libm-ieee754/s_cpow.c: New file.
9635 * sysdeps/libm-ieee754/s_cpowf.c: New file.
9636 * sysdeps/libm-ieee754/s_cpowl.c: New file.
9637 * sysdeps/libm-ieee754/s_csin.c: New file.
9638 * sysdeps/libm-ieee754/s_csinf.c: New file.
9639 * sysdeps/libm-ieee754/s_csinl.c: New file.
9640 * sysdeps/libm-ieee754/s_csqrt.c: New file.
9641 * sysdeps/libm-ieee754/s_csqrtf.c: New file.
9642 * sysdeps/libm-ieee754/s_csqrtl.c: New file.
9643 * sysdeps/libm-ieee754/s_ctan.c: New file.
9644 * sysdeps/libm-ieee754/s_ctanf.c: New file.
9645 * sysdeps/libm-ieee754/s_ctanl.c: New file.
9646 * sysdeps/libm-ieee754/s_ctanh.c: New file.
9647 * sysdeps/libm-ieee754/s_ctanhf.c: New file.
9648 * sysdeps/libm-ieee754/s_ctanhl.c: New file.
9649
9650 * time/strftime.c (memset_space): Increment pointer.
9651 * time/strptime.c: Interpret year number 00-59 as 2000--2059.
9652 Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>.
9653
9654 1997-04-11 11:57 Miguel de Icaza <miguel@nuclecu.unam.mx>
9655
9656 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork,
9657 pipe, syscall.
9658
9659 1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9660
9661 * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9662 probably still wrong.
9663 * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9664 * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9665
9666 * math/libm-test.c (remquo_test): Corrected.
9667
9668 1997-04-11 00:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9669
9670 * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline.
9671 * sysdeps/m68k/fpu/s_rinttol.c: New file.
9672 * sysdeps/m68k/fpu/s_rinttoll.c: New file.
9673
9674 * math/libm-test.c (remquo_test): Use check_long to test the
9675 quotient.
9676 (cbrt_test): Add epsilons for long double.
9677
9678 1997-04-10 18:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9679
9680 * locale/localeinfo.h: Update declaration of _nl_current.
9681
9682 1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com>
9683
9684 * rellnsh-sh: Use explicitely /bin/pwd to find the external program.
9685
9686 * math/Makefile (headers): Add fenv.h and fenvbits.h.
9687 (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg,
9688 fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround,
9689 fegetenv, feholdexcpt, fesetenv, feupdateenv.
9690 (libm-calls): Add s_round.
9691 * math/fenv.h: New file.
9692 * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll.
9693 Add roundtol_check and roundtoll_check.
9694 * math/math.h: Pretty printing.
9695 * sysdeps/i386/fpu/fclrexcpt.c: New file.
9696 * sysdeps/i386/fpu/fegetenv.c: New file.
9697 * sysdeps/i386/fpu/fegetround.c: New file.
9698 * sysdeps/i386/fpu/feholdexcpt.c: New file.
9699 * sysdeps/i386/fpu/fenvbits.h: New file.
9700 * sysdeps/i386/fpu/fesetenv.c: New file.
9701 * sysdeps/i386/fpu/fesetround.c: New file.
9702 * sysdeps/i386/fpu/fgetexcptflg.c: New file.
9703 * sysdeps/i386/fpu/fraiseexcpt.c: New file.
9704 * sysdeps/i386/fpu/fsetexcptflg.c: New file.
9705 * sysdeps/i386/fpu/ftestexcept.c: New file.
9706 * sysdeps/stub/fclrexcpt.c: New file.
9707 * sysdeps/stub/fegetenv.c: New file.
9708 * sysdeps/stub/fegetround.c: New file.
9709 * sysdeps/stub/feholdexcpt.c: New file.
9710 * sysdeps/stub/fenvbits.h: New file.
9711 * sysdeps/stub/fesetenv.c: New file.
9712 * sysdeps/stub/fesetround.c: New file.
9713 * sysdeps/stub/fgetexcptflg.c: New file.
9714 * sysdeps/stub/fraiseexcpt.c: New file.
9715 * sysdeps/stub/fsetexcptflg.c: New file.
9716 * sysdeps/stub/ftestexcept.c: New file.
9717
9718 * sysdeps/libm-i387/s_trunc.S: New file.
9719 * sysdeps/libm-i387/s_truncf.S: New file.
9720 * sysdeps/libm-i387/s_truncl.S: New file.
9721
9722 * sysdeps/libm-ieee754/s_round.c: New file.
9723 * sysdeps/libm-ieee754/s_roundf.c: New file.
9724 * sysdeps/libm-ieee754/s_roundl.c: New file.
9725
9726 * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify.
9727 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9728 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9729 * sysdeps/libm-ieee754/s_cexp.c: Likewise.
9730 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9731 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9732 * sysdeps/libm-ieee754/s_clog.c: Likewise.
9733 * sysdeps/libm-ieee754/s_clogf.c: Likewise.
9734 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
9735 * sysdeps/libm-ieee754/s_csinh.c. Likewise.
9736 * sysdeps/libm-ieee754/s_csinhf.c. Likewise.
9737 * sysdeps/libm-ieee754/s_csinhl.c. Likewise.
9738
9739 * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only
9740 63 bits.
9741 * sysdeps/libm-ieee754/s_floorl.c: Likewise.
9742
9743 * po/pl.po: Updated.
9744
9745 * string/swab.c: Correctly handle array of odd length.
9746
9747 * sysdeps/generic/memmem.c: Update copyright.
9748 * manual/string.texi: Correct prototype in memmem documentation.
9749
9750 1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com>
9751
9752 * hurd/Makefile (sunrpc-headers): Add clnt.h.
9753 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
9754
9755 1997-04-09 14:21 Miguel de Icaza <miguel@nuclecu.unam.mx>
9756
9757 * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading
9758 the proper value from the GOT. Pass argument block to
9759 init function.
9760
9761 * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling
9762 _init ().
9763
9764 * sysdeps/sparc/fpu_control.h: Fix the FPU constants. I got them
9765 wrong the first time.
9766
9767 * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved
9768 register.
9769
9770 * sysdeps/sparc/udiv_qrnnd.S: Add type @function.
9771
9772 * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific
9773 SYSDEP_CALL_INIT.
9774
9775 * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for
9776 NSIG and duplicated SIGIOT.
9777
9778 1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9779
9780 * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although
9781 probably still wrong.
9782 * sysdeps/libm-ieee754/s_remquof.c: Likewise.
9783 * sysdeps/libm-ieee754/s_remquol.c: Likewise.
9784
9785 * math/libm-test.c (remquo_test): Corrected.
9786
9787 1997-04-03 18:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9788
9789 * Makefile (parent-tests): New target to run the tests to that
9790 they are executed even if some subdir tests have failed.
9791 (tests): Depend on parent-tests instead of running the tests
9792 directly.
9793
9794 1997-04-03 12:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9795
9796 Clean up name space pollution in libnss_*.so:
9797 * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h,
9798 resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by
9799 memcpy and bcmp by memcmp to clean up namespace.
9800 * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of
9801 dbopen.
9802 * nss/nss_db/db-alias.c (internal_setent): Likewise.
9803 * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise.
9804 * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make
9805 the latter a weak alias.
9806 * db/db.h: Declare __dbopen.
9807 * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions.
9808 * db/mpool/mpool.c [_LIBC]: Define all external functions with __
9809 prefix and make the old names weak aliases.
9810 * db/mpool.h: Declare the new internal names.
9811
9812 1997-04-04 23:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9813
9814 * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number.
9815 * stdio-common/tstscanf.c: Add test case for this.
9816
9817 1997-04-04 17:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9818
9819 * math/libm-test.c: Fix more typos.
9820
9821 1997-04-03 17:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9822
9823 * math/libm-test.c (csinh_test): Fix test names.
9824 (ccosh_test): Likewise.
9825
9826 * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of
9827 computing it directly.
9828 * sysdeps/libm-ieee754/s_csinhf.c: Likewise.
9829 * sysdeps/libm-ieee754/s_csinhl.c: Likewise.
9830
9831 * sysdeps/libm-ieee754/s_ccosh.c: Use cosh function instead of
9832 computing it directly.
9833 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
9834 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
9835
9836 * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead
9837 of wrapper.
9838 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
9839 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
9840 * sysdeps/m68k/fpu/s_cexp.c: Likewise. Correct handling of
9841 special values. Avoid use of fsincos if all that is needed is the
9842 quadrant.
9843
9844 * sysdeps/m68k/fpu/s_ccosh.c: New file.
9845 * sysdeps/m68k/fpu/s_ccoshf.c: New file.
9846 * sysdeps/m68k/fpu/s_ccoshl.c: New file.
9847 * sysdeps/m68k/fpu/s_csinh.c: New file.
9848 * sysdeps/m68k/fpu/s_csinhl.c: New file.
9849 * sysdeps/m68k/fpu/s_csinhf.c: New file.
9850
9851 1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9852
9853 * manual/Makefile (dir-add.texi): Simplify.
9854
9855 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com>
9856
9857 * rellns-sh: Rewrite to work also in presence of symlinks.
9858
9859 * argp/argp-fmtstream.c: Add casts to prevent warnings.
9860 * argp/argp-fmtstream.h: Likewise.
9861 * argp/argp-help.c: Likewise.
9862
9863 * elf/dl-minimal.c: Add definition of calloc.
9864 * elf/version.c: Add casts to prevent warnings.
9865 (_dl_check_map_versions): Use calloc instead of malloc+memset.
9866
9867 * locale/setlocale.c (_nl_current): Add element with index LC_ALL.
9868 Reported by Greg McGary <gkm@eng.ascend.com>.
9869
9870 * manual/libc.texinfo: Update malloc documentation for new malloc.
9871 * manual/memory.texi: Likewise.
9872 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
9873
9874 * math/libm-test.c (check_long): New function.
9875 (check_longlong): New function.
9876 (rinttol_test): New function.
9877 (rinttoll_test): New function.
9878
9879 * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit.
9880 * nis/nss_compat/compat-pwd.c: Likewise.
9881 * nis/nss_compat/compat-spwd.c: Likewise.
9882
9883 * stdlib/erand48_r.c (erand48_r): Build double value using
9884 ieee754_double union and use random bits in different order to
9885 increase effect of seed.
9886 Reported by David Mosberger-Tang <davidm@AZStarNet.com>.
9887
9888 * sunrpc/svc_auth.c: Moved to ...
9889 * sysdeps/generic/svc_auth.c: ...here.
9890
9891 * time/time.h: Pretty print.
9892
9893 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu>
9894
9895 * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
9896 a read-only stream.
9897
9898 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com>
9899
9900 * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration
9901 in correct place.
9902 Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
9903
9904 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com>
9905
9906 * stdio-common/Makefile (tests): Add tst-ferror.
9907 * stdio-common/tst-ferror.c: New file. Some tests for error
9908 indicator of streams.
9909 * stdio-common/tst-ferror.input: New file.
9910
9911 * isomac.c: Let tests not fail because the compiler defines itself
9912 symbols which violate the name space rules. gcc defines symbols
9913 for the architecture which are not protected by an underscore
9914 character.
9915
9916 * math/Makefile (libm-support): Add s_rinttol and s_rinttoll.
9917 (libm-calls): Add s_clog.
9918 * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of
9919 logarithm of complex value.
9920 * sysdeps/libm-ieee754/s_clogf.c: New file.
9921 * sysdeps/libm-ieee754/s_clogl.c: New file.
9922 * math/libm-test.c (clog_test): Compile this function. Fix a few
9923 typos.
9924 (main): Call clog_test.
9925
9926 * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double
9927 value to long int.
9928 * sysdeps/libm-i387/s_rinttol.S: New file.
9929 * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double
9930 value to long long int.
9931 * sysdeps/libm-i387/s_rinttoll.S: New file.
9932
9933 * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous
9934 version was full of errors.
9935
9936 * math/math.h (rinttol): Argument is of type `long double' not
9937 `double'.
9938 (rinttoll): Likewise.
9939 (roundtol): Likewise.
9940 (roundtoll): Likewise.
9941
9942 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu>
9943
9944 * posix/getopt.c (_getopt_initialize): Preserve optind.
9945 (_getopt_internal): Set optind to 1 if optind == 0 before
9946 calling _getopt_initialize ().
9947
9948 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9949
9950 * nis/rpcsvc/nislib.h: Change const nis_name to new type
9951 const_nis_name.
9952 * nis/nis_intern.c: Likewise.
9953 * nis/nis_intern.h: Likewise.
9954 * nis/nis_server.c: Likewise.
9955 * nis/nis_subr.c: Likewise.
9956 * nis/nis_table.c: Likewise.
9957 * nis/nis_names.c: Likewise. Fill out ns_request structure in
9958 nis_add().
9959
9960 * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions.
9961 * nis/nss_compat/compat-spwd.c: Likewise.
9962
9963 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu>
9964
9965 * libio/fileops.c (_IO_file_overflow): Set error when try to write
9966 on a read-only stream.
9967
9968 * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol.
9969 (ut_time): Define it only if _NO_UT_TIME is not defined.
9970
9971 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com>
9972
9973 * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only
9974 if not already defined.
9975
9976 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com>
9977
9978 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to
9979 get definition of sa_family_t for <linux/atalk.h>.
9980 Reported by a sun <asun@zoology.washington.edu>.
9981
9982 * malloc/malloc.c (cALLOc): Little optimization.
9983
9984 1997-04-05 03:11 Ulrich Drepper <drepper@cygnus.com>
9985
9986 * inet/arpa/inet.h: Rewrite. Don't use the ugly BSD way to write
9987 headers but instead add comments and parameter names.
9988 Don't use BSD specific types in prototypes.
9989
9990 * manual/nss.texi: Correct a few typos and errors.
9991
9992 * sysdeps/libm-ieee754/s_cbrt.c: Complete rewrite based on better
9993 algorithm.
9994 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
9995 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
9996
9997 * sysdeps/libm-i387/s_cbrt.S: New file. Optimized assembler version
9998 with new algorithm.
9999 * sysdeps/libm-i387/s_cbrtf.S: New file.
10000 * sysdeps/libm-i387/s_cbrtl.S: New file.
10001
10002 * sysdeps/libm-i387/s_frexp.S: Optimize even more.
10003 * sysdeps/libm-i387/s_frexpf.S: Likewise.
10004 * sysdeps/libm-i387/s_frexpl.S: Likewise.
10005
10006 1997-04-04 18:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10007
10008 * nis/Makefile: Remove CFLAGS-*, add publickey to databases.
10009
10010 * nis/nis_call.c: Add MASTER_ONLY and HARD_LOOKUP flags, compile
10011 DES part only with secure RPC add-on.
10012
10013 * nis/nis_names.c (nis_modify): Fix rpc function number.
10014
10015 * nis/nis_server.c: Fix typos.
10016
10017 * nis/nss_compat/compat-grp.c: Add NIS+ support.
10018 * nis/nss_compat/compat-pwd.c: Likewise.
10019 * nis/nss_compat/compat-spwd.c: Likewise.
10020
10021 * nis/nss_nis/nis-grp.c: Only a return value > 0 from parse_line
10022 signals success.
10023
10024 * nis/nss_nis/nis-publickey.c: Changes for compiling with/without
10025 secure RPC.
10026 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10027 * nis/ypclnt.c: Likewise.
10028 * nis/nis_intern.h: Likewise.
10029
10030 * nis/nss_nisplus/nisplus-alias.c: Correct parser return code.
10031 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10032 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10033 * nis/nss_nisplus/nisplus-network.c: Likewise.
10034 * nis/nss_nisplus/nisplus-proto.c: Likewise.
10035 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10036 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10037 * nis/nss_nisplus/nisplus-service.c: Likewise.
10038 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10039
10040 * nis/nss_nisplus/nisplus-grp.c: Rewrite parser for fixing errors
10041 and speedup.
10042 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10043
10044 1997-04-04 17:03 Ulrich Drepper <drepper@cygnus.com>
10045
10046 * math/libm-test.c (cbrt_test): Add tests for +-inf and NaN
10047 arguments.
10048
10049 1997-04-03 19:24 H.J. Lu <hjl@gnu.ai.mit.edu>
10050
10051 * sysdeps/unix/sysv/linux/sigset.h (__sigisemptyset): Fix a
10052 typo.
10053
10054 1997-04-03 16:10 Andreas Jaeger <aj@arthur.pfalz.de>
10055
10056 * sysdeps/libm-ieee754/s_nanf.c:
10057 * sysdeps/libm-ieee754/s_nan.c:
10058 * sysdeps/libm-ieee754/s_nanl.c: Include <stdio.h> for
10059 declaration of sprintf.
10060
10061 1997-04-03 13:37 Ulrich Drepper <drepper@cygnus.com>
10062
10063 * sysdeps/libm-ieee754/s_cexp.c: Fix typo: string_alias ->
10064 strong_alias.
10065 Reported by sun <asun@zoology.washington.edu>.
10066
10067 * rpc/auth.h: Removed.
10068 * rpc/auth_des.h: Removed.
10069 * sunrpc/rpc/auth.h: Moved to ...
10070 * sysdeps/generic/rpc/auth.h: ...here.
10071 * sunrpc/rpc/auth_des.h: Moved to ...
10072 * sysdeps/generic/rpc/auth_des.h: ...here.
10073
10074 1997-04-03 04:28 Ulrich Drepper <drepper@cygnus.com>
10075
10076 * sysdeps/libm-i387/s_frexp.S: New file. ix87 optimized version.
10077 * sysdeps/libm-i387/s_frexpf.S: New file.
10078 * sysdeps/libm-i387/s_frexpl.S: New file.
10079
10080 1997-04-01 10:11 H.J. Lu <hjl@gnu.ai.mit.edu>
10081
10082 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
10083 (sysdep_headers): Remove netinet/icmp.h.
10084
10085 1997-04-02 16:55 Ulrich Drepper <drepper@cygnus.com>
10086
10087 * manual/socket.texi: Document behaviour of inet_ntoa in multi-
10088 threaded programs.
10089 * manual/stdio.texi: Change wording for snprintf description a bit.
10090 Correct typo in example.
10091 * manual/lang.texi: Add documentation of __va_copy.
10092
10093 * Makefile: Add rule to easily generate dir-add.texi file.
10094 * manual/Makefile: Likewise.
10095
10096 * manual/arith.texi: Add description of lldiv_t, lldiv, and atoll.
10097 Change description of strtoll and strtoull to make clear these
10098 are the preferred names.
10099 Describe `inf', `infinity', `nan', `nan(...)' inputs for strtod
10100 and friends.
10101 Change references to HUGE_VALf and HUGE_VALl to HUGE_VALF and
10102 HUGE_VALL.
10103
10104 1997-04-02 16:28 Ulrich Drepper <drepper@cygnus.com>
10105
10106 * grp/fgetgrent.c: Don't use fixed buffer length. Allow dynamic
10107 adjustment if the underlying function say it is too small.
10108 * pwd/fgetpwent.c: Likewise.
10109 * shadow/fgetspent.c: Likewise.
10110 * shadow/sgetspent.c: Likewise.
10111
10112 * grp/fgetgrent_r.c (__fgetgrent_r): If `parse_result' returns -1
10113 this means there was not enough room for the gr_mem array.
10114
10115 * nss/nss_files/files-XXX.c: Leave loop and return error if
10116 `parse_result' returns -1.
10117
10118 * nss/nss_files/files-parse.c (parse_line): Return -1 if parsing
10119 of trailing list fails because of low memory.
10120 (parse_list): Rewrite. The logic was completly incorrect since
10121 the checks for overflowing the array were not executed when
10122 needed.
10123
10124 * shadow/sgetspent_r.c: Only a return value > 0 from parse_line
10125 signals success.
10126
10127 * nss/getXXbyYY.c: Make sure NULL is returned if we ran out of memory.
10128 * nss/getXXent.c: Likewise.
10129
10130 * stdlib/strtod.c (SET_MANTISSA): Make sure that at least one bit
10131 is set in mantissa.
10132 * stdlib/strtof.c: Likewise.
10133 * stdlib/strtold.c: Likewise.
10134 * wcsmbs/wcstof.c: Likewise.
10135 * wcsmbs/wcstold.c: Likewise.
10136
10137 * sysdeps/libm-ieee754/s_nan.c: Use strtod if parameter is not empty
10138 string.
10139 * sysdeps/libm-ieee754/s_nanf.c: Likewise.
10140 * sysdeps/libm-ieee754/s_nanl.c: Likewise.
10141
10142 1997-04-02 13:56 Ulrich Drepper <drepper@cygnus.com>
10143
10144 * manual/errno.texi: Add description of strerror_r.
10145
10146 1997-04-01 19:07 H.J. Lu (hjl@gnu.ai.mit.edu)
10147
10148 * manual/errno.texi: Add ENOMEDIUM and EMEDIUMTYPE.
10149
10150 1997-04-02 13:55 Ulrich Drepper <drepper@cygnus.com>
10151
10152 * sysdeps/gnu/errlist.awk: The Texinfo file is named errno.texi.
10153
10154 1997-03-30 10:59 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10155
10156 * sysdeps/m68k/fpu/s_cexp.c: New file.
10157 * sysdeps/m68k/fpu/s_cexpf.c: New file.
10158 * sysdeps/m68k/fpu/s_cexpl.c: New file.
10159 * sysdeps/m68k/fpu/s_nearbyint.c: New file.
10160 * sysdeps/m68k/fpu/s_nearbyintf.c: New file.
10161 * sysdeps/m68k/fpu/s_nearbyintl.c: New file.
10162 * sysdeps/m68k/fpu/s_trunc.c: New file.
10163 * sysdeps/m68k/fpu/s_truncf.c: New file.
10164 * sysdeps/m68k/fpu/s_truncl.c: New file.
10165
10166 * sysdeps/m68k/fpu/s_modf.c: Rewritten.
10167 * sysdeps/m68k/fpu/s_modff.c: Adapted.
10168 * sysdeps/m68k/fpu/s_modfl.c: Likewise.
10169
10170 * sysdeps/m68k/fpu/e_atan2.c: Use __signbit inline.
10171 * sysdeps/m68k/fpu/e_pow.c: Likewise. Write 0.0/0.0 for NaN. Fix
10172 typo in test for `y = 0.5'.
10173
10174 * sysdeps/m68k/fpu/__math.h: Define __trunc, __signbit,
10175 __nearbyint. Remove __modf.
10176
10177 * sysdeps/m68k/Makefile (CFLAGS-s_copysignl.c) [$(subdir)=math]:
10178 Define for gcc bug workaround.
10179
10180 * math/libm-test.c (log2_test): Add epsilon for long double to
10181 "log2 (e)" and "log2 (16)".
10182 (modf_test): Fix test name.
10183 (sqrt_test): Add missing FUNC.
10184
10185 1997-03-29 16:24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10186
10187 * sunrpc/Makefile (CFLAGS-xrquota.c): Fix typo in variable name.
10188
10189 1997-03-28 20:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10190
10191 * stdlib/stdlib.h: Declare __clearenv.
10192
10193 1997-03-28 18:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10194
10195 * sysdeps/libm-ieee754/s_asinhl.c: Fix Ulrich Dreppers mangling of
10196 the last change.
10197
10198 1997-03-28 17:55 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10199
10200 * configure.in: Call AC_CANONICAL_BUILD before referencing
10201 $build. Fix test for BUILD_CC.
10202
10203 1997-04-02 01:29 Philip Blundell <pjb27@cam.ac.uk>
10204
10205 * sysdeps/libm-ieee754/s_log2f.c (__log2f): Fix typo.
10206
10207 1997-03-31 18:53 Philip Blundell <pjb27@cam.ac.uk>
10208
10209 * sysdeps/unix/sysv/linux/net/route.h: Add new IPv6 definitions.
10210
10211 1997-04-01 14:08 Ulrich Drepper <drepper@cygnus.com>
10212
10213 * sysdeps/i386/memset.c: Fix typo.
10214 * sysdeps/stub/fchmod.c: Fix typo.
10215 * sysdeps/stub/fchdir.c: Fix typo.
10216 Reported by Fila Kolodny <fila@ibi.com>.
10217
10218 1997-04-01 00:37 Ulrich Drepper <drepper@cygnus.com>
10219
10220 * math/Makefile: Prevent inlining for test-{float,double,longdouble}.
10221 * math/libm-test.c (initialize): Make strings unique and force
10222 values to memory.
10223
10224 * posix/regex.c: Debug debugging code.
10225
10226 * sysdeps/i386/asm-syntax.h: Define `L' macro to emit correct
10227 syntax for local label.
10228 * sysdeps/i386/add_n.S: Use correct local label syntax for the
10229 binary format.
10230 * sysdeps/i386/addmul_1.S: Likewise.
10231 * sysdeps/i386/lshift.S: Likewise.
10232 * sysdeps/i386/memchr.S: Likewise.
10233 * sysdeps/i386/memcmp.S: Likewise.
10234 * sysdeps/i386/mul_1.S: Likewise.
10235 * sysdeps/i386/rshift.S: Likewise.
10236 * sysdeps/i386/stpcpy.S: Likewise.
10237 * sysdeps/i386/stpncpy.S: Likewise.
10238 * sysdeps/i386/strchr.S: Likewise.
10239 * sysdeps/i386/strcspn.S: Likewise.
10240 * sysdeps/i386/strlen.S: Likewise.
10241 * sysdeps/i386/strpbrk.S: Likewise.
10242 * sysdeps/i386/strrchr.S: Likewise.
10243 * sysdeps/i386/strspn.S: Likewise.
10244 * sysdeps/i386/strtok.S: Likewise.
10245 * sysdeps/i386/sub_n.S: Likewise.
10246 * sysdeps/i386/submul_1.S: Likewise.
10247 * sysdeps/i386/i486/strcat.S: Likewise.
10248 * sysdeps/i386/i486/strlen.S: Likewise.
10249 * sysdeps/i386/i586/add_n.S: Likewise.
10250 * sysdeps/i386/i586/addmul_1.S: Likewise.
10251 * sysdeps/i386/i586/lshift.S: Likewise.
10252 * sysdeps/i386/i586/memset.S: Likewise.
10253 * sysdeps/i386/i586/mul_1.S: Likewise.
10254 * sysdeps/i386/i586/rshift.S: Likewise.
10255 * sysdeps/i386/i586/strchr.S: Likewise.
10256 * sysdeps/i386/i586/strlen.S: Likewise.
10257 * sysdeps/i386/i586/sub_n.S: Likewise.
10258 * sysdeps/i386/i586/submul_1.S: Likewise.
10259
10260 * sysdeps/stub/s_log2l.c: Correct function name.
10261
10262 * time/africa: Updated from ADO tzdata1997e.
10263 * time/antarctica: Likewise.
10264 * time/asia: Likewise.
10265 * time/australasia: Likewise.
10266 * time/europe: Likewise.
10267 * time/northamerica: Likewise.
10268 * time/southamerica: Likewise.
10269 * time/private.h: Updated from ADO tzcode1997d.
10270 * time/scheck.c: Likewise.
10271
10272 1997-03-31 12:42 Ulrich Drepper <drepper@cygnus.com>
10273
10274 * sysdeps/unix/sysv/linux/powerpc/Dist: Add kernel_*.h files.
10275
10276 1997-03-23 01:41 Geoff Keating <geoffk@ozemail.com.au>
10277
10278 * sysdeps/powerpc/strlen.s: Rewrote for more speed.
10279 * string/tst-strlen.c: Also test various string alignments.
10280
10281 1997-03-19 06:11 Geoff Keating <geoffk@ozemail.com.au>
10282
10283 * sysdeps/unix/sysv/linux/powerpc/statbuf.h: Removed.
10284 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Added.
10285
10286 * sysdeps/powerpc/dl-machine.h (ELF_PREFERRED_ADDRESS): Assume
10287 program base address is 0x01800000 if we can't otherwise tell what
10288 it is.
10289 (elf_machine_rela): Replace `assertion failed' with real error
10290 messages.
10291
10292 * sysdeps/powerpc/dl-machine.h: More comments, more GNU indenting.
10293 Put in extra parentheses to make explicit the relative precedence
10294 of + and >>.
10295
10296 * sysdeps/powerpc/bsd-setjmp.S: Add `__setjmp' symbol so the tests
10297 pass.
10298 * sysdeps/powerpc/clone.S: Rewrite. Probably still doesn't work.
10299
10300 * sysdeps/unix/sysv/linux/powerpc/sys/sysdep.h: Use .section "text"
10301 instead of .text.
10302
10303 1997-03-31 02:28 Ulrich Drepper <drepper@cygnus.com>
10304
10305 * misc/tst-tsearch.c: Don't write to stderr, write to stdout
10306 instead.
10307
10308 * inet/inet_ntoa.c (inet_ntoa): Complete rewrite. Now uses
10309 thread-specific memory in multi-threaded programs.
10310
10311 * sysdeps/stub/s_exp2.c: New file. Stub version for exp2 function.
10312 * sysdeps/stub/s_exp2f.c: New file.
10313 * sysdeps/stub/s_exp2l.c: New file.
10314 Reported by a sun <asun@zoology.washington.edu>.
10315
10316 * sysdeps/unix/sysv/linux/netatalk/atalk.h: Rename to...
10317 * sysdeps/unix/sysv/linux/netatalk/at.h: ...this.
10318 Suggested by a sun <asun@zoology.washington.edu>.
10319
10320 1997-03-30 14:53 Ulrich Drepper <drepper@cygnus.com>
10321
10322 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: Add former contents
10323 of <netinet/icmp.h>.
10324 Patch by a sun <asun@zoology.washington.edu>.
10325
10326 1997-03-30 03:42 Ulrich Drepper <drepper@cygnus.com>
10327
10328 * math/libm-test.c: Add definition of ctanh_test, clog_test, and
10329 csqrt_test.
10330
10331 1997-03-29 17:39 Ulrich Drepper <drepper@cygnus.com>
10332
10333 * math/Makefile (routines): Add carg, s_ccosh and s_csinh.
10334
10335 * math/complex.h: Add C++ protection.
10336
10337 * math/libm-test.c (cexp_test): Correct a few bugs.
10338 (csinh_test): New function.
10339 (ccosh_test): New function.
10340 (cacos_test): New function.
10341 (cacosh_test): New function.
10342 (casinh_test): New function.
10343 (catanh_test): New function.
10344 (main): Add calls to csinh_test and ccosh_test.
10345
10346 * misc/Makefile (tests): Add tst-tsearch.
10347 Add rule to link tst-tsearch against libm.
10348 * misc/tsearch.c: Rewritten to use Red-Black-Tree algorithm by
10349 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
10350 * misc/tst-tsearch.c: New file.
10351
10352 * stdio-common/bug5.c: Clear LD_LIBRARY_PATH environment variable
10353 before using system.
10354 * stdio-common/test-popen.c: Clear LD_LIBRARY_PATH environment variable
10355 before using popen.
10356
10357 * sysdeps/libm-ieee754/s_cexp.c: Correct handling of special cases.
10358 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
10359 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
10360
10361 * sysdeps/libm-i387/s_cexp.S: New file. ix87 specific implementation
10362 of complex exponential function.
10363 * sysdeps/libm-i387/s_cexpf.S: New file.
10364 * sysdeps/libm-i387/s_cexpl.S: New file.
10365
10366 * sysdeps/libm-ieee754/s_ccosh.c: New file. Implementation of
10367 complex cosh function.
10368 * sysdeps/libm-ieee754/s_ccoshf.c: New file.
10369 * sysdeps/libm-ieee754/s_ccoshl.c: New file.
10370 * sysdeps/libm-ieee754/s_csinh.c: New file. Implementation of
10371 complex sinh function.
10372 * sysdeps/libm-ieee754/s_csinhf.c: New file.
10373 * sysdeps/libm-ieee754/s_csinhl.c: New file.
10374
10375 * math/carg.c: New file. Generic implementatio of carg function.
10376 * math/cargf.c: New file.
10377 * math/cargl.c: New file.
10378
10379 1997-03-29 16:07 Ulrich Drepper <drepper@cygnus.com>
10380
10381 * sysdeps/posix/system.c: Update copyright.
10382
10383 1997-03-29 04:18 Ulrich Drepper <drepper@cygnus.com>
10384
10385 * elf/dl-error.c (_dl_catch_error): Add another argument which is
10386 passed to OPERATE.
10387 (_dl_receive_error): Likewise.
10388 * elf/link.h: Change prototypes for _dl_catch_error and
10389 _dl_receive_error to reflect above change.
10390 * elf/dl-deps.c: Don't use nested function. Call _dl_catch_error
10391 with additional argument with pointer to data.
10392 * elf/dlclose.c: Likewise.
10393 * elf/dlerror.c: Likewise.
10394 * elf/dlopen.c: Likewise.
10395 * elf/dlsym.c: Likewise.
10396 * elf/dlvsym.c: Likewise.
10397 * elf/rtld.c: Likewise.
10398 * nss/nsswitch.c: Likewise.
10399 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
10400
10401 1997-03-28 21:14 Miguel de Icaza <miguel@nuclecu.unam.mx>
10402
10403 * elf/dl-error.c: Manually set up the values of "c", this avoids a
10404 call to memcpy and a zero 152 bytes structure.
10405
10406 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Test
10407 RTLD_BOOTSTRAP to avoid performing relative relocs on a second
10408 pass.
10409
10410 * sysdeps/sparc/udiv_qrnnd.S: Make the code PIC aware.
10411
10412 * sysdeps/unix/sysv/linux/sparc/Dist: Add kernel_stat.h and
10413 kernel_sigaction.h
10414
10415 Add Linux/SPARC specific definitions.
10416 * sysdeps/unix/sysv/linux/sparc/fcntlbits.h: New file.
10417 * sysdeps/unix/sysv/linux/sparc/ioctls.h: New file.
10418 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: New file.
10419 * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: New file.
10420 * sysdeps/unix/sysv/linux/sparc/sigaction.h: New file.
10421 * sysdeps/unix/sysv/linux/sparc/signum.h: New file.
10422 * sysdeps/unix/sysv/linux/sparc/termbits.h: New file.
10423
10424 1997-03-28 13:06 Philip Blundell <pjb27@cam.ac.uk>
10425
10426 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Use
10427 __getservbyname_r() not getservbyname().
10428 (BROKEN_LIKE_POSIX): Define to 1 so we get strict POSIX behaviour.
10429
10430 1997-03-27 02:28 Ulrich Drepper <drepper@cygnus.com>
10431
10432 * gmon/gmon.c (monstartup): Mark all messages.
10433 (write_call_graph): Rewrite to use larger I/O vector for writev
10434 call to reduce syscall overhead.
10435 (write_bb_counts): Simplify writev handling.
10436
10437 * inet/rexec.c: Make string parameters `const'.
10438 * resolv/netdb.h: Add prototypes for rcmd, rexec, ruserok, and
10439 rresvport.
10440
10441 * math/Makefile: Don't define CFLAGS-* macros to prevent inlining
10442 in libm-test.
10443 * math/libm-test.c (this_does_nothing): Remove functions. It's
10444 notuseful on any platform but ix86.
10445 (inverse_func_pair_test): Don't use this_does_nothing. Use
10446 memory reference.
10447 (identities1_test): Likewise.
10448 (identities2_test): Likewise.
10449 (identities3_test): Likewise.
10450 (basic_test): Likewise.
10451 Patch by Andreas Schwab.
10452 (BUILD_COMPLEX): New macro. Create complex number from real and
10453 imaginary parts. This works around bugs/inefficiencies in current
10454 gcc.
10455 (cexp_test): Use BUILD_COMPLEX. Add more tests.
10456
10457 * nss/nsswitch.c: Fix typo.
10458
10459 * posix/glob.h: Add declaration for glob_pattern_p.
10460 * posix/glob.c: Rename glob_pattern_p to __glob_pattern_p and
10461 make glob_pattern_p a weak alias. This function is used in other
10462 packages (e.g. bash).
10463
10464 * signal/Makefile (routines): Add sigisempty, sigandset, and
10465 sigorset.
10466 * signal/signal.h: Add prototypes for sigisempty, sigandset, and
10467 sigorset.
10468 * signal/sigisempty.c: New file.
10469 * signal/sigandset.c: New file.
10470 * signal/sigorset.c: New file.
10471 * sysdeps/generic/sigset.h: Define __sigisemptyset, __sigandset,
10472 and __sigorset.
10473 * sysdeps/unix/sysv/linux/sigset.h: Likewise.
10474
10475 * stdlib/strtod.c: Handle `n-char-sequence' in NaN parsing. It
10476 determines the bits in the mantissa part of the NaN.
10477 * stdlib/strtof.c: Define SET_MANTISSA for float type.
10478 * wcsmbs/wcstof.c: Define SET_MANTISSA for float type.
10479 * stdlib/strtold.c: Define SET_MANTISSA for long double type.
10480 * wcsmbs/wcstold.c: Define SET_MANTISSA for long double type.
10481
10482 * sysdeps/libm-ieee754/s_cexp.c: Use explicit assignment to
10483 complex number components. Some more corrects for special cases.
10484 * sysdeps/libm-ieee754/s_cexpf.c: Likewise.
10485 * sysdeps/libm-ieee754/s_cexpl.c: Likewise.
10486
10487 * sysdeps/sparc/elf/start.S: Remove as per request of Miguel de Icaza.
10488
10489 * sysdeps/unix/sysv/linux/netinet/icmp.h: Remove since we have
10490 ip_icmp.h. Reported by HJ Lu.
10491
10492 1997-03-25 03:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10493
10494 * sysdeps/m68k/Makefile (CFLAGS-rtld.c): Add -Wno-unused.
10495
10496 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Rewritten as for
10497 i386.
10498 (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
10499 ELF_MACHINE_RELOC_NOPLT): Define.
10500
10501 1997-03-25 03:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10502
10503 * grp/grp.h: Include <stddef.h> only once.
10504
10505 1997-03-25 09:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10506
10507 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Don't define.
10508 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
10509
10510 * termios/sys/ttydefaults.h (TTYDEF_OFLAG): Use either OXTABS or
10511 TAB3, if one of them is defined.
10512
10513 1997-03-26 04:53 Ulrich Drepper <drepper@cygnus.com>
10514
10515 * posix/glob.c (next_brace_sub): Decrement depth counter when '}'
10516 is found.
10517 Patch by Dennis Henriksen <opus@flamingo.osrl.dk>.
10518
10519 1997-03-25 16:25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10520
10521 * sunrpc/Makefile: Comment gccwarn out.
10522 * sunrpc/auth_none.c: Fix prototypes and parameters for compiling
10523 with enabled warnings.
10524 * sunrpc/auth_unix.c: Likewise.
10525 * sunrpc/authuxprot.c: Likewise.
10526 * sunrpc/bindrsvprt.c: Likewise.
10527 * sunrpc/clnt_gen.c: Likewise.
10528 * sunrpc/clnt_perr.c: Likewise.
10529 * sunrpc/clnt_raw.c: Likewise.
10530 * sunrpc/clnt_simp.c: Likewise.
10531 * sunrpc/clnt_tcp.c: Likewise.
10532 * sunrpc/clnt_udp.c: Likewise.
10533 * sunrpc/get_myaddr.c: Likewise.
10534 * sunrpc/getrpcport.c: Likewise.
10535 * sunrpc/pm_getmaps.c: Likewise.
10536 * sunrpc/pm_getport.c: Likewise.
10537 * sunrpc/pmap_clnt.c: Likewise.
10538 * sunrpc/pmap_prot.c: Likewise.
10539 * sunrpc/pmap_prot2.c: Likewise.
10540 * sunrpc/pmap_rmt.c: Likewise.
10541 * sunrpc/rpc/auth.h: Likewise.
10542 * sunrpc/rpc/clnt.h: Likewise.
10543 * sunrpc/rpc/pmap_clnt.h: Likewise.
10544 * sunrpc/rpc/svc.h: Likewise.
10545 * sunrpc/rpc/svc_auth.h: Likewise.
10546 * sunrpc/rpc/types.h: Likewise.
10547 * sunrpc/rpc/xdr.h: Likewise.
10548 * sunrpc/rpc_clntout.c: Likewise.
10549 * sunrpc/rpc_cmsg.c: Likewise.
10550 * sunrpc/rpc_dtable.c: Likewise.
10551 * sunrpc/rpc_prot.c: Likewise.
10552 * sunrpc/svc.c: Likewise.
10553 * sunrpc/svc_auth.c: Likewise.
10554 * sunrpc/svc_authux.c: Likewise.
10555 * sunrpc/svc_raw.c: Likewise.
10556 * sunrpc/svc_run.c: Likewise.
10557 * sunrpc/svc_simple.c: Likewise.
10558 * sunrpc/svc_tcp.c: Likewise.
10559 * sunrpc/svc_udp.c: Likewise.
10560 * sunrpc/xdr.c: Likewise.
10561 * sunrpc/xdr_array.c: Likewise.
10562 * sunrpc/xdr_mem.c: Likewise.
10563 * sunrpc/xdr_rec.c: Likewise.
10564 * sunrpc/xdr_ref.c: Likewise.
10565 * sunrpc/xdr_stdio.c: Likewise.
10566
10567 1997-03-25 13:39 Ulrich Drepper <drepper@cygnus.com>
10568
10569 * math/libm-test.c (log2_test): Compile this function and call it.
10570 (exp2_test): Likewise, but check whether function really exists
10571 before testing.
10572
10573 * math/Makefile (libm-calls): Add s_log2 and s_exp2.
10574
10575 1997-03-25 04:50 Ulrich Drepper <drepper@cygnus.com>
10576
10577 Implement exp2 function.
10578 * sysdeps/libm-i387/s_exp2.S: New file.
10579 * sysdeps/libm-i387/s_exp2f.S: New file.
10580 * sysdeps/libm-i387/s_exp2l.S: New file.
10581
10582 Implement log2 function.
10583 * sysdeps/libm-i387/s_log2.S: New file.
10584 * sysdeps/libm-i387/s_log2f.S: New file.
10585 * sysdeps/libm-i387/s_log2l.S: New file.
10586 * sysdeps/libm-ieee754/s_log2.c: New file.
10587 * sysdeps/libm-ieee754/s_log2f.c: New file.
10588 * sysdeps/stub/s_log2.c: New file. Stub version.
10589
10590 1997-03-24 19:58 Richard Henderson <rth@tamu.edu>
10591
10592 * stdlib/tst-strtol.c (tests): Correct 64-bit entry.
10593
10594 * sysdeps/alpha/bsd-_setjmp.S: Alias _setjmp to __setjmp for
10595 change to tst-setjmp.c.
10596
10597 * sysdeps/alpha/dl-machine.h: Mirror Roland's recent changes.
10598 * sysdeps/i386/dl-machine.h: Correct noexec_p comment.
10599 * sysdeps/sparc/dl-machine.h: Likewise.
10600
10601 * sysdeps/libm-ieee754/s_remquo.c: Rename {hp,lp} -> {hy,ly}.
10602 Add missing qs variable.
10603 * sysdeps/libm-ieee754/s_remquof.c: Likewise.
10604
10605 1997-03-25 02:15 Ulrich Drepper <drepper@cygnus.com>
10606
10607 * gmon/gmon.c: Optimize a bit by using more sets of records to
10608 write in a single writev call.
10609
10610 * math/math.h: Add definitions of macros __MATHCALLX and __MATHDECLX.
10611 * math/mathcalls.h: Use __MATHCALLX for fabs, infnan, copysign,
10612 nan, isnan, nextafter, trunc, __fpclassify and signbit to mark as
10613 `const'.
10614 Use __MATHDECLX for isinf and finite.
10615
10616 * sysdeps/generic/setenv.c [_LIBC]: Define __clearenv and make
10617 clearenv a weak alias.
10618
10619 Implement complex exponential function.
10620 * sysdeps/libm-ieee754/s_cexp.c: New file.
10621 * sysdeps/libm-ieee754/s_cexpf.c: New file.
10622 * sysdeps/libm-ieee754/s_cexpl.c: New file.
10623
10624 * sysdeps/libm-ieee754/s_nan.c: Define function as __nan and make
10625 nan a weak alias.
10626 * sysdeps/libm-ieee754/s_nanf.c: Likewise for nanf.
10627 * sysdeps/libm-ieee754/s_nanl.c: Likewise for nanl.
10628
10629 * sysdeps/unix/sysv/linux/iovec.h: Don't use kernel header because
10630 of type clashes. Add all definitions here.
10631
10632 * sysdeps/unix/sysv/linux/shmat.c: Likewise. Correct types according
10633 to XPG4.2.
10634 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
10635 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10636
10637 * sysvipc/sys/shm.h (shmat, shmdt): Correct types.
10638
10639 * sysdeps/unix/sysv/linux/sys/kd.h: Define _LINUX_TYPES_H to avoid
10640 use of kernel types.
10641
10642 1997-03-25 00:00 Ulrich Drepper <drepper@cygnus.com>
10643
10644 * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_timestamp):
10645 Correct typos. Reported by a sun <asun@zoology.washington.edu>.
10646
10647 1997-03-20 21:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10648
10649 * sysdeps/libm-ieee754/s_asinhl.c: Fix sign of result.
10650
10651 1997-03-20 16:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10652
10653 * sysdeps/libm-ieee754/e_atan2l.c: Fix typo.
10654
10655 1997-03-20 14:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10656
10657 * sysdeps/m68k/fpu/__math.h (__logb, logb): Don't define.
10658 * sysdeps/m68k/fpu/s_logb.c: Removed.
10659 * sysdeps/m68k/fpu/s_logbf.c: Removed.
10660 * sysdeps/m68k/fpu/s_logbl.c: Removed.
10661
10662 * sysdeps/m68k/fpu/__math.h (__ieee754_atan2, __ieee754_pow):
10663 Don't define here.
10664 * sysdeps/m68k/fpu/e_atan2.c: Rewritten.
10665 * sysdeps/m68k/fpu/e_pow.c: Likewise.
10666 * sysdeps/m68k/fpu/e_atan2f.c: Based on e_atan2.c.
10667 * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
10668 * sysdeps/m68k/fpu/e_powf.c: Based on e_pow.c.
10669 * sysdeps/m68k/fpu/e_powl.c: Likewise.
10670
10671 * sysdeps/m68k/fpu/s_log2.c: New file.
10672 * sysdeps/m68k/fpu/s_log2f.c: New file.
10673 * sysdeps/m68k/fpu/s_log2l.c: New file.
10674 * sysdeps/m68k/fpu/s_exp2.c: New file.
10675 * sysdeps/m68k/fpu/s_exp2f.c: New file.
10676 * sysdeps/m68k/fpu/s_exp2l.c: New file.
10677
10678 1997-03-20 14:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10679
10680 * Makeconfig (all): Make sure this is always the default goal.
10681
10682 1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10683
10684 * math/libm-test.c: Increase epsilon in many places. Fix many
10685 typos. Allow optinal argument also for short option.
10686
10687 1997-03-20 11:09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10688
10689 * math/Makefile ($(objpfx)$(tests)): Link against libm.
10690
10691 1997-03-24 23:14 Ulrich Drepper <drepper@cygnus.com>
10692
10693 * sysdeps/libm-ieee754/s_fpclassifyl.c: Correct recognition of
10694 denormalized numbers.
10695
10696 * sysdeps/i386/huge_val.h: Remove references to byte order macros.
10697 Don't include <endian.h>.
10698
10699 1997-03-19 15:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10700 * sysdeps/m68k/huge_val.h: Remove references to byte order macros.
10701 Don't include <endian.h>.
10702
10703 1997-03-24 23:09 Ulrich Drepper <drepper@cygnus.com>
10704
10705 * inet/rcmd.c (iruserok): Use access instead of euidaccess.
10706
10707 1997-03-15 18:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10708
10709 * math/cmathcalls.h: Remove whitespace before function name in use
10710 of __MATHDECL macro, to make it compilable with a traditional
10711 preprocessor.
10712
10713 1997-03-24 15:31 Ulrich Drepper <drepper@cygnus.com>
10714
10715 * configure.in: Use AC_PROG_CC instead of AC_PROG_TOOL to find
10716 compiler.
10717
10718 1997-03-24 02:34 Ulrich Drepper <drepper@cygnus.com>
10719
10720 * sysdeps/libm-ieee754/s_finitel.c (__finitel): Shift return value
10721 by 31 positions to get 0/1 result.
10722 Patch by Joe Keane <jgk@jgk.org>.
10723
10724 1997-03-23 12:15 H.J. Lu <hjl@gnu.ai.mit.edu>
10725
10726 * posix/getopt.c (__getopt_nonoption_flags): Make it extern
10727 to prevent from ld linking in getopt.o even if there is another
10728 incompatible one.
10729
10730 * posix/getopt_init.c (__getopt_nonoption_flags): Remove extern.
10731
10732 1997-03-23 23:30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10733
10734 * nis/nis_call.c (__do_niscall): Print message if cold start file
10735 does not exist.
10736 * nis/nis_file.c: Don't print error messages.
10737 * nis/nis_local_names.c (nis_local_host): Fix pointer errors.
10738 * nis/rpcsvc/ypclnt.h: Fix copyright and prototypes.
10739 * nis/rpcsvc/nis.h: Likewise.
10740 * nis/ypclnt.c: Fix prototypes.
10741
10742 1997-03-24 01:36 Ulrich Drepper <drepper@cygnus.com>
10743
10744 * sysdeps/libm-i387/e_scalb.S: Pop additional result before
10745 returning.
10746 * sysdeps/libm-i387/e_scalbf.S: Likewise.
10747 * sysdeps/libm-i387/e_scalbl.S: Likewise.
10748 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
10749
10750 * elf/rtld.c (dl_main): Set main_map->l_opencount to 1 also if
10751 dynamic linker was called implicitly by the kernel.
10752 Reported by Eric Youngdale <eric@andante.jic.com>.
10753
10754 * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
10755 CFLAGS-test-longdouble.c): New variables. Set to -fno-inline to
10756 prevent clever optimizations which corrupt the tests.
10757
10758 1997-03-23 21:33 Andreas Jaeger <aj@arthur.pfalz.de>
10759
10760 * math/libm-test.c (scalb_test): New function.
10761 (sqrt_test): New function.
10762 (scalbn_test): New function.
10763 (ilogb_test): New function.
10764 (main): Added calls for new test functions.
10765 (ldexp_test): Add another test for ldexp(x,0).
10766
10767 1997-03-23 12:35 Andreas Jaeger <aj@arthur.pfalz.de>
10768
10769 * math/libm-test.c (remquo_test): Correct messages so that they
10770 match the tests.
10771 (copysign_test): Likewise.
10772
10773 1997-03-23 16:28 Ulrich Drepper <drepper@cygnus.com>
10774
10775 * stdio-common/Makefile (routines): Add printf_size.
10776
10777 * stdio-common/printf.h: Add declarations for printf_size and
10778 printf_size_info.
10779
10780 * stdio-common/printf-parse.h (__printf_arginfo_table): Correct
10781 declaration.
10782 (parse_one_spec): Test whether __printf_function_table is not NULL
10783 before using registered handlers and don't test
10784 __printf_arginfo_table. Update nargs also when handler is
10785 registered.
10786
10787 * stdio-common/vfprintf.c (vfprintf): Count number of specifiers
10788 processed in fast loop.
10789
10790 * stdio-common/printf_size: New file.
10791
10792 1997-03-23 02:11 Ulrich Drepper <drepper@cygnus.com>
10793
10794 * time/sys/time.h: Make values ITIMER_* also available as macros.
10795
10796 * elf/dl-support.c (_dl_sysdep_read_whole_file): Don't call
10797 __fstat but instead __fxstat directly to avoid dependency on
10798 libc.a when inline failed.
10799 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): Likewise.
10800
10801 * math/Makefile (libm-routines): Add s_remquo.
10802 * sysdeps/libm-i387/s_remquo.S: New file.
10803 * sysdeps/libm-i387/s_remquof.S: New file.
10804 * sysdeps/libm-i387/s_remquol.S: New file.
10805 * sysdeps/libm-ieee754/s_remquo.c: New file.
10806 * sysdeps/libm-ieee754/s_remquof.c: New file.
10807 * sysdeps/libm-ieee754/s_remquol.c: New file.
10808
10809 * math/libm-test.c (remquo_test): New function.
10810
10811 * sysdeps/libm-ieee754/s_rintl.c: Handle implicit leading one
10812 correctly.
10813
10814 1997-03-22 14:06 Ulrich Drepper <drepper@cygnus.com>
10815
10816 * math/Makefile (libm-calls): Add s_nan.
10817 * sysdeps/libm-ieee754/s_nan.c: New file. Implement `nan' function.
10818 * sysdeps/libm-ieee754/s_nanf.c: New file. Implement `nanf' function.
10819 * sysdeps/libm-ieee754/s_nanl.c: New file. Implement `nanl' function.
10820
10821 * math/libm-test.c (basic_tests): Add tests for `nan' function.
10822
10823 * math/libm-test.c (copysign_test): New function.
10824 (main): Call copysign_test.
10825
10826 1997-03-22 06:28 Ulrich Drepper <drepper@cygnus.com>
10827
10828 * sysdeps/libm-ieee754/s_nextafter.c: Return y if x == y.
10829 * sysdeps/libm-ieee754/s_nextafterf.c: Likewise.
10830 * sysdeps/libm-ieee754/s_nextafterl.c: Likewise.
10831 * sysdeps/libm-i387/s_nextafterl.c: Likewise.
10832
10833 * math/libm-test.c (fdim_test, fmin_test, fmax_test, nextafter_test):
10834 New functions. Test these functions.
10835 (main): Call above new functions.
10836
10837 1997-03-22 04:53 Ulrich Drepper <drepper@cygnus.com>
10838
10839 * Net release 2.0.2.
10840
10841 1997-03-22 04:37 Ulrich Drepper <drepper@cygnus.com>
10842
10843 * sysdeps/unix/sysv/linux/termbits.h (OXTABS): Define as alias for
10844 XTABS.
10845 * sysdeps/unix/sysv/linux/alpha/termbits.h (OXTABS): Likewise.
10846 * termios/sys/ttydefaults.h: Partly revert patch by Andreas Schwab
10847 of Sun Dec 15 16:33:44 1996.
10848 Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>.
10849
10850 1997-03-21 13:41 Roland McGrath <roland@baalperazim.frob.com>
10851
10852 * sysdeps/sparc/dl-machine.h (elf_machine_rel): Rewritten as for i386.
10853 Check here for non-SHN_UNDEF STB_LOCAL symbols don't do any lookup or
10854 consult their values.
10855 (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p,
10856 ELF_MACHINE_RELOC_NOPLT): New macros.
10857
10858 * elf/rtld.c (dl_main): Pass ELF_MACHINE_RELOC_NOPLT to
10859 _dl_lookup_symbol in place of DL_LOOKUP_NOPLT.
10860 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): New macro.
10861
10862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Rewritten to do the
10863 symbol lookup before checking reloc type except for R_386_RELATIVE.
10864 (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): New macros.
10865
10866 * elf/dl-reloc.c (RESOLVE): Remove STB_LOCAL check; let it be
10867 per-machine since it supposedly can't happen on i386.
10868
10869 * elf/dl-lookup.c (do_lookup): Change arg FLAGS to RELOC_TYPE. Use
10870 elf_machine_lookup_{noexec,noplt}_p macros on it. Remove gratuitous
10871 indirection from REF arg; change callers.
10872 (_dl_lookup_symbol, _dl_lookup_versioned_symbol): Change arg name.
10873 (_dl_lookup_symbol_skip, _dl_lookup_versioned_symbol_skip): Remove
10874 FLAGS arg altogether.
10875 * elf/dlsym.c: Remove argument of FLAGS parameter.
10876 * elf/dlvsym.c: Likewise.
10877 * elf/link.h: Update decls.
10878
10879 1997-03-21 20:55 Ulrich Drepper <drepper@cygnus.com>
10880
10881 * Makefile (distribute): Add BUGS.
10882
10883 * sysdeps/generic/machine-gmon.h: Update copyright.
10884
10885 * sysdeps/i386/Makefile [$(subdir)=gmon] (sysdep_routines): Add
10886 i386-mcount.
10887 * sysdeps/i386/dl-machine.h [PROF] (_dl_runtime_resolve): Don't
10888 use regparam mechanism for call of `fixup' call.
10889 * sysdeps/i386/Dist: New file.
10890 * sysdeps/i386/i386-mcount.S: New file. `mcount' entry point.
10891 * sysdeps/i386/machine-gmon.h: New file. i386 specific version
10892 of gmon definitions.
10893
10894 1997-03-20 13:39 Andreas Jaeger <aj@arthur.pfalz.de>
10895
10896 * stdlib/tst-strtol.c (main): Save the value of errno since printf
10897 may modify it, use the saved errno everywhere.
10898 * stdlib/tst-strtod.c (main): Likewise.
10899
10900 1997-03-21 05:54 Ulrich Drepper <drepper@cygnus.com>
10901
10902 * posix/glob.c (glob): Fix completely broken handling of
10903 GLOB_BRACE and partly broken handling of GLOB_TILDE.
10904 Reported by Dennis Henriksen <opus@flamingo.osrl.dk>.
10905
10906 1997-03-20 20:22 Ulrich Drepper <drepper@cygnus.com>
10907
10908 * sysdeps/unix/sysv/linux/readv.c: Don't emulate readv with small
10909 UIO_FASTIOV value by multiple readv calls since we need atomicity.
10910 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10911 Reported by Matthis Urlichs.
10912
10913 1997-03-20 04:34 Roland McGrath <roland@baalperazim.frob.com>
10914
10915 * sysdeps/unix/sysv/linux/i386/sysdep.S (CALL_MCOUNT): Clear this
10916 macro so ENTRY(__syscall_error) doesn't insert a call to _mcount,
10917 which clobbers %eax.
10918
10919 * Makeconfig [$(elf)=yes] (+prector, +postctor): New variables for
10920 crtbegin.o/crtend.o, using gcc to find them.
10921 (+link): Use them.
10922
10923 1997-03-20 00:06 Richard Henderson <rth@tamu.edu>
10924
10925 * gmon/sys/gmon.h: Revert the bulk of the 960930 changes, as they
10926 affect the alignment, and therefore the end padding of the structs.
10927 Reported by David Mosberger <davidm@azstarnet.com>.
10928 * gmon.c: Declare the variables with aligned tags to compensate.
10929 Use __writev instead of write for the I/O.
10930
10931 * misc/sys/uio.h: Declare __writev and __readv.
10932 * sysdeps/posix/readv.c: Rename and alias readv to __readv.
10933 * sysdeps/posix/writev.c: Likewise for writev.
10934 * sysdeps/stub/readv.c: Likewise.
10935 * sysdeps/stub/writev.c: Likewise.
10936 * sysdeps/unix/syscalls.list: Likewise.
10937 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10938 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10939
10940 * stdlib/testdiv.c: Exit with error status when we have an error.
10941 * sysdeps/alpha/div.S: Initialize `quotient' and `mask'.
10942 * sysdeps/alpha/ldiv.S: Likewise.
10943
10944 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Include ctype.h for isdigit.
10945
10946 1997-03-20 14:51 Ulrich Drepper <drepper@cygnus.com>
10947
10948 * nis/nis_file.c: Unify error handling.
10949
10950 1997-03-19 18:36 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
10951
10952 * nis/nis_file.c (writeColdStartFile): Fix typo.
10953 * nis/nis_free.c (nis_free_endpoints): Use unsigned int.
10954 * nis/nis_free.c (nis_free_servers): Likewise.
10955 * nis/rpcsvc/nislib.h: Likewise.
10956
10957 * sunrpc/rpc/netdb.h: Add setrpcent and endrpcent prototypes.
10958
10959 1997-03-20 06:07 Ulrich Drepper <drepper@cygnus.com>
10960
10961 * sysdeps/powerpc/dl-machine.h: Fix typo in last change.
10962
10963 * sysdeps/unix/sparc/sysdep.h: Update copyright.
10964
10965 1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
10966
10967 * stdlib/tst-strtol.c: Save the value of errno, printf may modify
10968 it.
10969
10970 * sysdeps/sparc/DEFS.h [HAVE_ELF]: Use type @function in the FUNC
10971 macro on ELF systems.
10972
10973 * sysdeps/sparc/configure.in: Fix.
10974
10975 * sysdeps/sparc/dl-machine.h: Fix OPCODE_CALL.
10976
10977 * sysdeps/sparc/setjmp.S: Fix my bugs.
10978
10979 * sysdeps/unix/sysv/linux/sparc/Dist: Add start.c, fork.S, and pipe.S.
10980 * sysdeps/unix/sysv/linux/sparc/Makefile: Define asm-CPPFLAGS and
10981 as-FLAGS-.so.
10982 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Add fork, pipe, and
10983 syscall.
10984 * sysdeps/unix/sysv/linux/sparc/fork.S: New file.
10985 * sysdeps/unix/sysv/linux/sparc/pipe.S: New file.
10986 * sysdeps/unix/sysv/linux/sparc/socket.S: Fix.
10987 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix.
10988
10989 * elf/dl-lookup.c (do_lookup): Return true if we found a weak
10990 symbol.
10991 (_dl_lookup_symbol): Test against the symbol being global not
10992 against the symbol being not weak (fixes important problem with
10993 the SPARC linker)
10994
10995 * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
10996
10997 * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
10998 Linux/SPARC (while I get my asmCPPFLAGS-so variable).
10999
11000 1997-03-20 01:49 Ulrich Drepper <drepper@cygnus.com>
11001
11002 * Makeconfig: (rpath-link): Add math/ directory.
11003 (math-objdir): New variable.
11004 (link-extra-lib): Define to special version when
11005 $(common-objpfx)!=$(objpfx) to allow libraries outside
11006 $(common-objpfx) be linked to the application.
11007
11008 * math/Makefile: Add rules to build and run test programs.
11009 * math/libm-test.c (_GNU_SOURCE): Define only if still undefined.
11010 (check_equal): Correct check for error.
11011 (ceil_test): Fix typo.
11012 (log_test): Fix typo.
11013 (floor_test): Fix typo.
11014 (pow_test): Fix typos.
11015 (log10_test): Allow slight incorrectness for `log10(e)'.
11016 (modf_test): New functions to test `modf' et.al.
11017 (hypot_test): Rewrite test completely.
11018 Patch partly by Andreas Jaeger.
11019 * math/test-double.h (__NO_MATH_INLINES): Define only if not
11020 already defined.
11021 * math/test-float.h: Likewise.
11022 * math/test-logdouble.h: Likewise.
11023
11024 * setjmp/setjmp.h: Change references of ANSI C to ISO C.
11025 * setjmp/tst-setjmp.c: Correct and extend test suite.
11026 * sysdeps/i386/__longjmp.S: Update copyright.
11027 * sysdeps/i386/bsd-_setjmp.S: Correct fatal bug in jump to
11028 `__sigsetjmp' in PIC code.
11029 * sysdeps/i386/bsd-setjmp.S: Likewise.
11030
11031 * sysdeps/libm-i387/e_pow.S: Correct recognition of mantissa
11032 overflow.
11033 * sysdeps/libm-i387/e_powf.S: Likewise.
11034 * sysdeps/libm-i387/s_expm1.S: Handle x == +-0 as a special
11035 case since expm1(-0) == -0.
11036 * sysdeps/libm-i387/s_expm1f.S: Likewise.
11037 * sysdeps/libm-i387/s_expm1l.S: Likewise.
11038 * sysdeps/libm-ieee754/s_modf.c: Optimize code by avoiding unneeded
11039 access to FP number.
11040 * sysdeps/libm-ieee754/s_modff.c: Likewise.
11041 * sysdeps/libm-ieee754/s_modfl.c: Correct former completely bogus
11042 code. It never worked correctly.
11043 * sysdeps/libm-ieee754/s_tanh.c: Handle x == +-0 as a special
11044 case since tanh(-0) == -0.
11045 * sysdeps/libm-ieee754/s_tanhf.c: Likewise.
11046 * sysdeps/libm-ieee754/s_tanhl.c (__tanhl): Correct handling of -inf.
11047
11048 1997-03-19 21:13 Ulrich Drepper <drepper@cygnus.com>
11049
11050 * stdlib/strtod.c (STRTOL): Use wchar_t as type for `decimal' and
11051 `thousands' to support systems with sizeof(wchar_t) !=
11052 sizeof(wint_t). Blargh.
11053
11054 * sysdeps/unix/sysv/linux/socketbits.h: Remove definition of
11055 SOL_IP, SOL_TCP, SOL_UDP, and SOL_IPX as they are defined in
11056 appropriate headers.
11057
11058 * sysdeps/unix/sysv/linux/writev.c: Don't use MAX_IOVEC. Test for
11059 UIO_FASTIOV and set to 8 if not available.
11060 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11061 Patch by HJ Lu.
11062
11063 * sysdeps/unix/sysv/linux/xstat.c: Include <kernel_stat.h>, not
11064 "kernel_stat.h".
11065 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
11066 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
11067 Reported by fabsoft@fabsoft2.zarm.uni-bremen.de.
11068
11069 1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
11070
11071 * sysdeps/unix/sysv/sco3.2.4/Dist: New file.
11072
11073 * sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
11074
11075 * sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
11076
11077 * sysdeps/unix/sysv/Dist: Add direct.h.
11078
11079 * sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
11080
11081 * Make-dist ($(tardir).tar): Prefer writing temporary file to
11082 $TMPDIR is available. The default is /tmp.
11083
11084 * sysdeps/generic/ip.h: Move to...
11085 * sysdeps/generic/netinet/ip.h: ...here.
11086
11087 * Makefile (tests): Quote $(CC) argument to isomac program.
11088 Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
11089
11090 * sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
11091 is placed in wrong place on the stack.
11092 Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
11093 * sysdeps/tst-setjmp.c: Add new test for above problem.
11094
11095 * sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
11096 * sysdeps/libm-i387/e_powf.S: Likewise.
11097 * sysdeps/libm-i387/e_powl.S: Likewise.
11098
11099 1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
11100
11101 * time/offtime.c (__offtime): Change type of `yg' to long int.
11102 Reported by a sun <asun@zoology.washington.edu>.
11103
11104 1997-03-18 23:08 a sun <asun@zoology.washington.edu>
11105
11106 * sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
11107 2.2.0 to prevent version mismatch.
11108
11109 1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
11110
11111 * stdio-common/printf_fphex.c (MIN): Only define MIN if not
11112 already defined.
11113
11114 1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
11115
11116 * sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
11117 in ioctls.h.
11118
11119 * elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
11120 loader first relocates itself.
11121 * sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
11122 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
11123 jump slot relocation. Prefer relative branches (some PowerPC chips
11124 don't predict absolute branches).
11125 (elf_machine_runtime_setup): Simplify and correct expressions.
11126 (RTLD_START): Fix bug changing _dl_starting_up.
11127 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
11128 strange Linux/PPC padding of initial stack.
11129
11130 1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
11131
11132 * sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
11133 for future expansion.
11134 * sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
11135 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
11136 can't have a switch statement.
11137 * sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
11138 static.
11139
11140 * sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
11141 confusing gcc's idea of the current section.
11142 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
11143 RTLD_START): Likewise.
11144
11145 1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
11146
11147 * sysdeps/powerpc/dl-machine.h (elf_machine_rela,
11148 elf_machine_runtime_setup): Flush data & instruction caches when
11149 necessary, for 603/604 support. Add better support for large PLTs.
11150 (elf_machine_rela): Remove relocations that wouldn't work if
11151 anyone ever used them. Use memcpy for copy reloc, it'll be safe.
11152 Never target branch relocations at a PLT entry.
11153
11154 * sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
11155 generating PIC.
11156 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
11157 * sysdeps/powerpc/setjmp.S: Likewise.
11158 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
11159 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
11160 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
11161 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
11162
11163 * sysdeps/powerpc/elf/start.c: Clean up.
11164
11165 * sysdeps/powerpc/__longjmp.S: Return 'value' as result from
11166 setjmp call.
11167
11168 * sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
11169
11170 1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
11171
11172 * Make-dist (srcs): Add $(test-srcs).
11173 * MakeTAGS (all-sources): Likewise.
11174 * Makerules (depfiles, common-mostlyclean): Likewise.
11175 * Rules (tests): Likewise.
11176
11177 1997-03-18 05:28 Roland McGrath <roland@frob.com>
11178
11179 * elf/dl-reloc.c (RESOLVE): Don't try to resolve local symbols.
11180
11181 1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
11182
11183 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
11184 protocol=NULL to match any protocol rather than returning an
11185 error.
11186
11187 1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
11188
11189 * nss/nss_files/files-service.c (servbyname): Match any protocol
11190 if proto==NULL.
11191
11192 1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
11193
11194 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
11195 * sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
11196 Proposed by Thomas Bushnell, n/BSG.
11197
11198 1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
11199
11200 * sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
11201 the buffer for replacement.
11202
11203 1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
11204
11205 * sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
11206 sys_lstat and sys_stat.
11207
11208 1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
11209
11210 Add NIS+ functions
11211 * shlib-versions: Add libnss_nisplus.
11212 * nis/Makefile: Add NIS+ source files.
11213 * nis/nis_call.c: New file.
11214 * nis/nis_clone.c: New file.
11215 * nis/nis_error.c: New file.
11216 * nis/nis_file.c: New file.
11217 * nis/nis_free.c: New file.
11218 * nis/nis_intern.c: New file.
11219 * nis/nis_intern.h: New file.
11220 * nis/nis_local_names.c: New file.
11221 * nis/nis_names.c: New file.
11222 * nis/nis_print.c: New file.
11223 * nis/nis_server.c: New file.
11224 * nis/nis_subr.c: New file.
11225 * nis/nis_table.c: New file.
11226 * nis/nis_xdr.c: New file.
11227 * nis/nss-nisplus.h: New file.
11228 * nis/nss_nisplus/nisplus-alias.c: New file.
11229 * nis/nss_nisplus/nisplus-ethers.c: New file.
11230 * nis/nss_nisplus/nisplus-grp.c: New file.
11231 * nis/nss_nisplus/nisplus-hosts.c: New file.
11232 * nis/nss_nisplus/nisplus-netgrp.c: New file.
11233 * nis/nss_nisplus/nisplus-network.c: New file.
11234 * nis/nss_nisplus/nisplus-proto.c: New file.
11235 * nis/nss_nisplus/nisplus-publickey.c: New file.
11236 * nis/nss_nisplus/nisplus-pwd.c: New file.
11237 * nis/nss_nisplus/nisplus-rpc.c: New file.
11238 * nis/nss_nisplus/nisplus-service.c: New file.
11239 * nis/nss_nisplus/nisplus-spwd.c: New file.
11240 * nis/rpcsvc/nis.h: New file.
11241 * nis/rpcsvc/nis.x: New file.
11242 * nis/rpcsvc/nis_object.x: New file.
11243 * nis/rpcsvc/nis_tags.h: New file.
11244 * nis/rpcsvc/nislib.h: New file.
11245
11246 1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
11247
11248 * mach/devstream.c (output/write_some): Don't try and write more
11249 than IO_INBAND_MAX in a single call to device_write_inband.
11250
11251 1997-03-17 04:00 Ulrich Drepper <drepper@cygnus.com>
11252
11253 * sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
11254 type is SVID.
11255 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
11256 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
11257
11258 * sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
11259 FLAGS parameter.
11260
11261 1997-03-16 20:28 Philip Blundell <phil@london.uk.eu.org>
11262
11263 * sysdeps/unix/sysv/linux/socketbits.h: Add more SOL_ values.
11264 Change msg_iovlen and msg_controllen (in struct msghdr) to
11265 `size_t' to keep in step with kernel.
11266
11267 1997-03-16 18:43 Ulrich Drepper <drepper@cygnus.com>
11268
11269 * manual/filesys.texi: Add documentation for scandir and alphasort.
11270 * manual/examples/dir2.c: New example for scandir.
11271
11272 * math/math.c (fpclassify): Correct stupid typos.
11273
11274 * math/libm-test.c: New file. libm test suite by Andreas Jaeger.
11275 * math/test/float.c: New file. Frontend for float tests.
11276 * math/test/double.c: New file. Frontend for double tests.
11277 * math/test/longdouble.c: New file. Frontend for long double tests.
11278
11279 * posix/Makefile (routines): Add bsd-getpgrp.
11280 * posix/bsd-getpgrp.c: New file.
11281 * posix/unistd.h [__FAVOR_BSD]: Define macro getpgrp which maps
11282 calls to __bsd_getpgrp.
11283
11284 * sysdeps/generic/getpgrp.c: De-ANSI-declfy.
11285
11286 * sysdeps/i386/huge_val.h: New file. ix87 specific infinity values.
11287 * sysdeps/m68k/huge_val.h: New file. m68k specific infinity values.
11288 * sysdeps/ieee754/huge_val.h: Remove definition of long double
11289 definition. Make it the same as the double definition.
11290
11291 * sysdeps/libm-i387/e_acos.S: Fix bug in FPU stack handling.
11292 * sysdeps/libm-i387/e_acosf.S: Likewise.
11293 * sysdeps/libm-i387/e_acosl.S: Likewise.
11294 * sysdeps/libm-i387/e_asin.S: Likewise.
11295 * sysdeps/libm-i387/e_asinf.S: Likewise.
11296 * sysdeps/libm-i387/e_asinl.S: Likewise.
11297 * sysdeps/libm-i387/e_exp.S: Likewise.
11298 * sysdeps/libm-i387/e_expf.S: Likewise.
11299 * sysdeps/libm-i387/e_expl.S: Likewise.
11300 * sysdeps/libm-i387/s_scalbn.S: Likewise.
11301 * sysdeps/libm-i387/s_scalbnf.S: Likewise.
11302 * sysdeps/libm-i387/s_scalbnl.S: Likewise.
11303
11304 * sysdeps/libm-i387/e_log.S: Optimize branch code.
11305 * sysdeps/libm-i387/e_logf.S: Likewise.
11306 * sysdeps/libm-i387/e_logl.S: Likewise.
11307 * sysdeps/libm-i387/e_log10.S: Likewise.
11308 * sysdeps/libm-i387/e_log10f.S: Likewise.
11309 * sysdeps/libm-i387/e_log10l.S: Likewise.
11310
11311 * sysdeps/libm-i387/e_pow.S: Major rewrite to handle special cases.
11312 * sysdeps/libm-i387/e_powf.S: Likewise.
11313 * sysdeps/libm-i387/e_powl.S: Likewise.
11314
11315 * sysdeps/libm-i387/s_expm1.S: Change return value for -inf
11316 argument to -1.0.
11317 * sysdeps/libm-i387/s_expm1f.S: Likewise.
11318 * sysdeps/libm-i387/s_expm1l.S: Likewise.
11319
11320 * sysdeps/libm-i387/s_isinfl.c: Return -1 for -inf.
11321
11322 * sysdeps/libm-i387/s_logbl.S: Correct return value. Discard first
11323 stack element after fxtract.
11324
11325 * sysdeps/libm-ieee754/e_atan2l.c: New file. `long double'
11326 implementation for atan2 function.
11327
11328 * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
11329 _SVID_ mode when acos, asin, atan2, log, log10 is called with
11330 argument out of range.
11331 Add new error case for pow(+0,neg).
11332
11333 * sysdeps/libm-ieee754/s_fpclassifyf.c: Correct recognition of
11334 NaN and +-inf.
11335 * sysdeps/libm-ieee754/s_fpclassifyl.c: Mask out explicit leading
11336 digit in stupid 80 bit formats.
11337
11338 * sysdeps/libm-ieee754/s_isinf.c: Rewrite to return -1 for -inf.
11339 * sysdeps/libm-ieee754/s_isinff.c: Likewise.
11340 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
11341
11342 * sysdeps/libm-ieee754/s_scalbnl.c (huge, tiny): Adapt values for
11343 long double type.
11344
11345 * sysdeps/libm-ieee754/w_atan2.c: Do not raise exception expect when
11346 in SVID mode.
11347 * sysdeps/libm-ieee754/w_atan2f.c: Likewise.
11348 * sysdeps/libm-ieee754/w_atan2l.c: Likewise.
11349
11350 * sysdeps/libm-ieee754/w_pow.c: Distinguish error cases for x is +0
11351 or -0.
11352 * sysdeps/libm-ieee754/w_powf.c: Likewise.
11353 * sysdeps/libm-ieee754/w_powl.c: Likewise.
11354
11355 * sysdeps/posix/isfdtype.c: Add cast to prevent warning.
11356
11357 * sysdeps/stub/fcntlbits.h: Update copyright.
11358 * sysdeps/unix/bsd/fcntlbits.h: Likewise.
11359 * sysdeps/unix/bsd/bsd4.4/fcntlbits.h: Likewise.
11360 * sysdeps/unix/bsd/sun/sunos4/fcntlbits.h: Likewise.
11361 * sysdeps/unix/bsd/ultrix4/fcntlbits.h: Likewise.
11362 * sysdeps/unix/common/fcntlbits.h: Likewise.
11363 * sysdeps/unix/sysv/fcntlbits.h: Likewise. Define O_FSYNC as alias
11364 of O_SYNC. Add BSD compatibility macros FAPPEND, FFSYNC, FNONBLOCK,
11365 and FNDELAY.
11366 * sysdeps/unix/sysv/irix4/fcntlbits.h: Likewise.
11367
11368 * sysdeps/unix/readdir_r.c: Don't copy whole `struct dirent' record,
11369 only reclen bytes.
11370
11371 * sysdeps/unix/sysv/linux/fcntlbits.h [__USE_GNU]: Add O_READ, O_WRITE
11372 and O_NORW.
11373 * sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Likewise.
11374
11375 * sysdeps/unix/sysv/linux/init-first.h: Add copyright.
11376
11377 * sysdeps/unix/sysv/linux/fxstat.c: New file. Rewrite kernel-level
11378 struct stat to user-level form.
11379 * sysdeps/unix/sysv/linux/lxstat: New file.
11380 * sysdeps/unix/sysv/linux/xstat: New file.
11381 * sysdeps/unix/sysv/linux/kernel_stat.h: Define struct stat used in
11382 kernel.
11383 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Change definition
11384 to use prescribed types for elements.
11385 (_STAT_VER): Change to value 3.
11386 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
11387 * sysdeps/unix/sysv/linux/Dist: Add kernel_stat.h.
11388 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
11389
11390 * time/Makefile: Correct dependencies for test-tz.
11391
11392 1997-03-16 14:59 Philip Blundell <phil@london.uk.eu.org>
11393
11394 * resolv/netdb.h: Add prototypes for gai_strerror and getnameinfo
11395 (needed for IPv6 basic sockets API).
11396
11397 1997-03-16 15:02 a sun <asun@zoology.washington.edu>
11398
11399 * sysdeps/unix/sysv/linux/net/if_ppp.h: Don't use incompatible
11400 kernel header.
11401 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Likewise.
11402
11403 1997-03-14 17:15 Ulrich Drepper <drepper@cygnus.com>
11404
11405 * db/hash/hash_bigkey.c (__big_delete): Don't call __free_ovflpage
11406 without testing for last_bfp to be NULL.
11407 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
11408
11409 1997-03-13 11:42 Jim Meyering <meyering@asic.sc.ti.com>
11410
11411 * time/mktime.c (TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
11412
11413 1997-03-14 04:00 Kurt Garloff <garloff@kg1.ping.de>
11414
11415 * sysdeps/unix/sysv/linux/fcntlbits.h (O_FSYNC): Make alias for O_SYNC.
11416 (FASYNC): Move to __USE_BSD section. Create new macro O_ASYNC.
11417
11418 1997-03-14 02:50 Ulrich Drepper <drepper@cygnus.com>
11419
11420 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname2_r): New
11421 functions. Compare result for correct address type.
11422 (_nss_nis_gethostbyname_r): Use _nss_nis_gethostbyname2_r.
11423 * nss/nss_files/files-hosts.c: Likewise.
11424 Reported by Mirko Streckenbach <mirko@marian.hil.de>.
11425
11426 1997-02-17 01:40 Zlatko Calusic <zcalusic@srce.hr>
11427
11428 * time/strptime.c (recursive): Return rp to caller.
11429 (strptime_internal): First check for long names, then abbreviated
11430 (month & weekday).
11431
11432 1997-03-10 19:44 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11433
11434 * Makeconfig: Remove useless definitions of ASFLAGS-%.
11435 * config.make.in (ASFLAGS-.so): Remove.
11436 * configure.in: Don't substitute ASFLAGS_SO.
11437 * sysdeps/sparc/configure.in: Remove file.
11438 * sysdeps/sparc/Makefile (ASFLAGS-.so): Define.
11439
11440 1997-03-11 17:00 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11441
11442 * time/strptime.c (strptime_internal) [case 'Y']: Always subtract
11443 1900 from year, regardless of century.
11444
11445 1997-03-12 05:43 Ulrich Drepper <drepper@cygnus.com>
11446
11447 * stdlib/strtod.c (_tens_in_limb) [BITS_PER_MP_LIMB > 32]: Make
11448 all numbers unsigned to make buggy gccs happy.
11449 Patch by Bryan W. Headley <bheadley@interaccess.com>.
11450
11451 * sysdeps/unix/sysv/linux/netinet/ip.h: Add backward-compatibility
11452 definitions. Patch by a sun <asun@zoology.washington.edu>.
11453 Pretty print header.
11454
11455 * Makerules (build-shlib): Also create symlink if library is versioned.
11456 Based on a patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
11457 Remove special rule to libc.so symlink.
11458
11459 1997-03-11 20:16 Andreas Jaeger <aj@arthur.pfalz.de>
11460
11461 * manual/math.texi (Domain and Range Errors): Change descriptions
11462 according to recent changes for ISO C 9X.
11463
11464 1997-03-11 22:39 Ulrich Drepper <drepper@cygnus.com>
11465
11466 * sysdeps/libm-ieee754/k_standard.c (__kernel_standard): Correct
11467 return values for acos, asin, and atan2.
11468 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
11469
11470 1997-03-10 18:16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
11471
11472 * nis/ypclnt.c (__yp_bind): Fix possible buffer overflow.
11473
11474 1997-03-10 18:06 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
11475
11476 * dirent/alphasort.c (alphasort): Interpret arguments as pointers
11477 to pointers to directory entries so that alphasort really can be
11478 used as argument for scandir.
11479
11480 1997-03-09 23:33 Andreas Jaeger <aj@arthur.pfalz.de>
11481
11482 * string/strdup.c: Declare memcpy if !(_LIBC || STDC_HEADERS)
11483 instead of strcpy.
11484
11485 1997-03-10 03:34 Ulrich Drepper <drepper@cygnus.com>
11486
11487 * catgets/catgets.c (catopen): Always add NLSPATH to search path for
11488 catalogs, not only if the envvar NLSPATH is not available.
11489 Reported by Andries.Brouwer@cwi.nl.
11490
11491 1997-03-10 02:46 Ulrich Drepper <drepper@cygnus.com>
11492
11493 * Makeconfig (localtime-file): Don't define using installation
11494 directory.
11495 (inst_localtime-file): New variable.
11496 * time/Makefile (installed-localtime-file): Use inst_localtime-file.
11497 Reported by Edward Seidl <seidl@janed.com>.
11498
11499 1997-03-10 02:31 H.J. Lu <hjl@gnu.ai.mit.edu>
11500
11501 * time/Makefile: Add source files to dependencies for test data.
11502
11503 1997-03-09 22:53 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
11504
11505 * nis/nss_nis/nis-ethers.c: Don't ignore return value of yp_all.
11506 * nis/nss_nis/nis-proto.c: Likewise.
11507 * nis/nss_nis/nis-rpc.c: Likewise.
11508 * nis/nss_nis/nis-service.c: Likewise.
11509
11510 1997-03-08 14:37 Miguel de Icaza <miguel@nuclecu.unam.mx>
11511
11512 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Upgrade to
11513 versioning; Added missing R_SPARC_WDISP30 handling.
11514 (RTLD_START): Implement it.
11515
11516 * sysdeps/unix/sysv/linux/sparc/brk.c: Fix.
11517
11518 * sysdeps/unix/sysv/linux/sparc/start.c: Startup code for
11519 Linux/SPARC.
11520
11521 1997-03-02 18:06 Miguel de Icaza <miguel@nuclecu.unam.mx>
11522
11523 * sysdeps/sparc/dl-machine.h (RTLD_START): Make arg as expected by
11524 the dynamic linker instead of having a new conditional define.
11525 Thanks to Richard Henderson for pointing this out.
11526 * elf/rtld.c: Remove usage of ELF_ADJUST_ARG.
11527
11528 1997-03-20 20:44 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
11529
11530 * sysdeps/mach/hurd/euidaccess.c: Define as __euidaccess and make
11531 euidaccess weak alias.
11532
11533 1997-03-07 10:30 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
11534
11535 * stdio-common/printf_fphex.c (MIN): New macro.
11536
11537 * sysdeps/generic/netinet/in.h: Include <sys/types.h>.
11538
11539 * sysdeps/generic/sys/mman.h (msync): Mention third arg.
11540
11541 * sysdeps/generic/netinet/in.h: Add definitions for IPv6 basic
11542 API. (See change by Philip Blundell on Feb 16, 1997.)
11543
11544 1997-03-05 10:40 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
11545
11546 * hurd/hurd.h (vpprintf): Include <stdarg.h>. New declaration.
11547
11548 * hurd/set-host.c (_hurd_set_host_config): Cast second arg to
11549 __file_name_split.
11550
11551 * mach/mach_error.c (mach_error_string_int): Give full prototype.
11552 * mach/errstring.c (mach_error_string_int): Likewise.
11553 * mach/error_compat.c (__mach_error_map_compat): Likewise.
11554 * hurd/vpprintf.c (pwrite, vpprintf): Likewise.
11555 * stdio/vasprintf.c (vasprintf): Likewise.
11556
11557 * mach/mach/mach_traps.h: Include <mach/kern_return.h>.
11558
11559 * mach/spin-solid.c: Include <mach/mach_traps.h>.
11560 * mach/spin-solid.c (__spin_lock_solid): Provide arg to
11561 swtch_pri.
11562
11563 * mach/mach_init.c: Include <mach/mig_support.h>.
11564
11565 * mach/mach_error.h (mach_error_string, mach_error,
11566 mach_error_type): Always provide prototypes.
11567
11568 * mach/mach/error.h (mach_error_fn_t): Comment out declaration; it
11569 appears to be entirely unused dead code.
11570
11571 1997-03-02 13:38 Miles Bader <miles@gnu.ai.mit.edu>
11572
11573 * string/argz.h (__need_error_t): New macro, before including <errno.h>
11574 [!__const] (__const): New macro.
11575 [!__error_t_defined] (error_t): New typedef.
11576
11577 1997-03-09 06:59 Ulrich Drepper <drepper@cygnus.com>
11578
11579 * Makeconfig: Add ASFLAGS-% flags for SPARC assembler which need
11580 -fPIC.
11581 * Makerules (compile.S): Use ASFLAGS-%.
11582 (COMPILE.S): Likewise.
11583 * config.make.in (ASFLAGS-.so): Define from ASFLAGS_SO.
11584 * configure.in: Substitute ASFLAGS_SO.
11585 * sysdeps/sparc/configure.in: New file.
11586
11587 * posix/unistd.h: Add prototype for __euidaccess.
11588 * sysdeps/posix/euidaccess.c: Define as __euidaccess and make
11589 euidaccess weak alias.
11590 * sysdeps/stub/euidaccess.c: Likewise.
11591 * inet/rcmd.c: Use __ protected versions of non-standard functions.
11592
11593 * locale/setlocale.c (setlocale): Don't set usage_count to
11594 MAX_USAGE_COUNT if it already has this value.
11595
11596 * locale/programs/localedef.c: Don't use LOCALE_PATH to find
11597 binary locale files. Use LOCALEDIR only.
11598 * locale/programs/locfile.c: When named file not found and not
11599 absolute use path in I18NPATH.
11600
11601 * stdlib/Makefile (headers): Add inttypes.h.
11602 * sysdeps/wordsize-32/inttypes.h: New file.
11603 * sysdeps/wordsize-64/inttypes.h: New file.
11604
11605 * sysdeps/generic/socketbits.h: Add PF_FILE as synonym for PF_LOCAL
11606 and AF_FILE as synonym for AF_LOCAL.
11607 * sysdeps/unix/sysv/linux/socketbits.h: Likewise.
11608
11609 * time/Makefile: Rewrite rules for test to handle parallel builds.
11610
11611 1997-03-09 05:26 Ulrich Drepper <drepper@cygnus.com>
11612
11613 * manual/startup.texi (EXIT_FAILURE): Fix typo. Patch by
11614 robbe@orcus.priv.at.
11615
11616 1997-03-09 05:10 Edward Seidl <seidl@janed.com>
11617
11618 * sysdeps/i386/elf/start.S (nofini): *Really* align stack to
11619 8-byte boundary.
11620
11621 1997-03-09 01:48 Ulrich Drepper <drepper@cygnus.com>
11622
11623 * elf/link.h: Define __need_NULL to get definition. Include
11624 <features.h>.
11625 Patch by Andreas Jaeger <aj@arthur.pfalz.de>.
11626
11627 1997-03-08 21:48 Thorsten Kukuk <kukuk@tk.uni-paderborn.de>
11628
11629 Rewrite NIS code to allow empty keys.
11630 * nis/nss_nis/nis-ethers.c: Rewritten.
11631 * nis/nss_nis/nis-proto.c: Rewritten.
11632 * nis/nss_nis/nis-publickey.c: Rewritten.
11633 * nis/nss_nis/nis-rpc.c: Rewritten.
11634 * nis/nss_nis/nis-service.c: Rewritten.
11635
11636 1997-03-08 16:02 Andreas Jaeger <aj@arthur.pfalz.de>
11637
11638 * time/scheck.c (scheck): Add extra const to second argument.
11639
11640 * time/private.h: Correct prototypes to match definition.
11641
11642 1997-03-08 18:55 Ulrich Drepper <drepper@cygnus.com>
11643
11644 * sysdeps/alpha/__math.h: Remove cabs inline definition.
11645 Reported by Philip Blundell <pjb27@cam.ac.uk>.
11646
11647 1997-03-08 05:30 Ulrich Drepper <drepper@cygnus.com>
11648
11649 * argp/Makefile (routines): Add argp-eexst.
11650 * argp/argp-ba.c (argp_program_bug_address): Make `const'.
11651 * argp/argp-eexst.c: New file. Define exit status variable.
11652 * argp/argp-help.c (__argp_state_help): Use argp_err_exit_status
11653 variable instead of always exiting with value 1.
11654 * argp/argp-pv.c (argp_program_version): Make `const'.
11655 * argp/argp.h: Declare argp_err_exit_status.
11656 Patches by Miles Bader <miles@gnu.ai.mit.edu>.
11657
11658 * locale/programs/localedef.c: Use argp_err_exit_status to
11659 terminate with correct value.
11660
11661 * inet/rcmd.c (iruserok): Use euidaccess instead of half-hearted
11662 switching of UID before opening .rhosts.
11663
11664 * libio/vsnprintf.c: Change implementation to follow ISO C 9X
11665 proposal. The return value now is always the number of characters
11666 which would be written if enough space is available.
11667 * manual/stdio.texi: Update description for new behaviour.
11668
11669 * locale/locale.h (__locale_t): Don't use __locale_t for struct
11670 name and pointer to struct since old gccs cannot keep the namespaces
11671 apart. Rename struct to __locale_struct.
11672 * locale/duplocale.h: Likewise.
11673 * locale/newlocale.h: Likewise.
11674
11675 * math/Makefile (headers): Add complex.h and cmathcalls.h.
11676 (routines): Remove w_cabs. Add conj, cimag, creal, and cabs.
11677 * math/math.h: Undefine __MATHDECL_1, __MATHDECL, and __MATHCALL
11678 after use.
11679 (signgam): Move declaration to here from mathcalls.h.
11680 * math/mathcalls.h (cabs, __cabs_complex, signgam): Remove definition.
11681 Correct comment for fmin and fmax.
11682 Start implementing complex math function from ISO C 9X.
11683 * math/complex.h: New file.
11684 * math/cmathcalls.h: New file.
11685 * math/cabs.c: New file.
11686 * math/cabsf.c: New file.
11687 * math/cabsl.c: New file.
11688 * math/cimag.c: New file.
11689 * math/cimagf.c: New file.
11690 * math/cimagl.c: New file.
11691 * math/conj.c: New file.
11692 * math/conjf.c: New file.
11693 * math/conjl.c: New file.
11694 * math/creal.c: New file.
11695 * math/crealf.c: New file.
11696 * math/creall.c: New file.
11697 * sysdeps/libm-ieee754/w_cabs.c: Removed.
11698 * sysdeps/libm-ieee754/w_cabsf.c: Removed.
11699 * sysdeps/libm-ieee754/w_cabsl.c: Removed.
11700
11701 * posix/regex.c: Merge with regex sources from Arnold Robbins'
11702 version in GNU awk.
11703 * posix/regex.h: Likewise.
11704
11705 Add regex test suite by Tom Lord.
11706 * posix/Makefile (distribute): Add TESTS, TESTS2C.sed, and testcases.h.
11707 (tests): Add runtests.
11708 (before-compile): Add testcases.h.
11709 (testcases.h): New rule to generate header with tests.
11710 * posix/TESTS: New file.
11711 * posix/TESTS2C.sed.: New file.
11712 * posix/runtests.c: New file.
11713 * posix/testcases.h: New file.
11714
11715 * sysdeps/unix/sysv/linux/poll.c: Test whether poll syscall is
11716 available and use fall-back implementation if not.
11717
11718 * sysdeps/unix/sysv/linux/syscalls.list: Sort entries.
11719
11720 * time/ialloc.c: Update from tzcode1997c.
11721 * time/private.h: Likewise.
11722 * time/scheck.c: Likewise.
11723 * time/tzselect.ksh: Likewise.
11724 * time/zdump.c: Likewise.
11725 * time/zic.c: Likewise.
11726
11727 * time/tzfile.c: Pretty print.
11728
11729 1997-03-06 07:37 Geoff Keating <geoffk@ozemail.com.au>
11730
11731 Port to powerpc-*-linux-gnu. Slightly tested, under MkLinux,
11732 on a 601.
11733
11734 * sysdeps/powerpc/Implies: Added.
11735 * sysdeps/powerpc/__longjmp.S: Added.
11736 * sysdeps/powerpc/__math.h: Added.
11737 * sysdeps/powerpc/bsd-_setjmp.S: Added.
11738 * sysdeps/powerpc/bsd-setjmp.S: Added.
11739 * sysdeps/powerpc/dl-machine.h: Added.
11740 * sysdeps/powerpc/ffs.c: Added.
11741 * sysdeps/powerpc/fpu_control.h: Added.
11742 * sysdeps/powerpc/jmp_buf.h: Added.
11743 * sysdeps/powerpc/setjmp.S: Added.
11744 * sysdeps/powerpc/strlen.S: Added.
11745 * sysdeps/powerpc/elf/start.c: Added.
11746 * sysdeps/powerpc/fpu_control.h: Added.
11747 * sysdeps/powerpc/jmp_buf.h: Added.
11748
11749 * sysdeps/unix/sysv/linux/powerpc/Dist: Added.
11750 * sysdeps/unix/sysv/linux/powerpc/_exit.S: Added.
11751 * sysdeps/unix/sysv/linux/powerpc/brk.c: Added.
11752 * sysdeps/unix/sysv/linux/powerpc/clone.S: Added.
11753 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Added.
11754 * sysdeps/unix/sysv/linux/powerpc/ioctl-types.h: Added.
11755 * sysdeps/unix/sysv/linux/powerpc/profil.c: Added.
11756 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Added.
11757 * sysdeps/unix/sysv/linux/powerpc/socket.S: Added.
11758 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Added.
11759 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Added.
11760 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Added.
11761 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Added.
11762 * sysdeps/unix/sysv/linux/powerpc/termbits.h: Added.
11763
11764 1997-03-05 05:24 Geoff Keating <geoffk@ozemail.com.au>
11765
11766 * elf/dl-runtime.c (fixup): Add ELF_FIXUP_RETURNS_ADDRESS switch,
11767 because knowing the first instruction of a PowerPC PLT trampoline
11768 is not very helpful.
11769
11770 1997-03-04 08:04 Geoff Keating <geoffk@ozemail.com.au>
11771
11772 * elf/dl-load.c (ELF_PREFERRED_ADDRESS, ELF_PREFERRED_ADDRESS_DATA,
11773 ELF_FIXED_ADDRESS): Added. These are for dl-machine.h to indicate
11774 a preference as to where executables should be loaded.
11775
11776 1997-02-28 08:50 Geoff Keating <geoffk@ozemail.com.au>
11777
11778 * elf/elf.h: Add in all those PowerPC reloc types.
11779
11780 1997-02-24 07:12 Geoff Keating <geoffk@ozemail.com.au>
11781
11782 * stdio-common/vfscanf.c: Use __va_copy if available.
11783
11784 1997-03-06 13:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11785
11786 * malloc/malloc.c (mprotect) [_LIBC]: Define as __mprotect to
11787 clean up namespace.
11788
11789 1997-03-07 14:27 Ulrich Drepper <drepper@cygnus.com>
11790
11791 * sysdeps/libm-ieee754/s_fpclassify.c (__fpclassify): Don't use
11792 non-existing GET_WORDS macro, use EXTRACT_WORDS.
11793 Reported by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.
11794
11795 1997-03-07 05:27 Ulrich Drepper <drepper@cygnus.com>
11796
11797 * sysdeps/unix/sysv/linux/i386/sigaction.c: The user- and
11798 kernel-level sigaction structure is different. handle this
11799 correctly.
11800 Bug report by Andreas Jaeger <jaeger@informatik.uni-kl.de>.
11801
11802 1997-03-06 05:55 David Engel <david@sw.ods.com>
11803
11804 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Also
11805 recognize cache entries with flag == 3.
11806
11807 1997-03-06 01:05 Ulrich Drepper <drepper@cygnus.com>
11808
11809 * sysdeps/generic/netinet/in.h (INADDR_NONE): Cast to unsigned int.
11810 (INADDR_LOOPBACK): Likewise.
11811 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
11812
11813 * manual/socket.texi: Correct types of INADDR_* constants from
11814 unsigned long to unsigned.
11815
11816 1997-03-05 23:14 Ulrich Drepper <drepper@cygnus.com>
11817
11818 * time/antarctica: Update from tzdata1997c.
11819 * time/asia: Likewise.
11820 * time/zone.tab: Likewise.
11821
11822 1997-03-05 00:43 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11823
11824 * configure.in (libc_cv_asm_symver_directive,
11825 libc_cv_ld_version_script_option): Remove unknown instruction from
11826 assembler test file.
11827
11828 1997-03-04 19:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11829
11830 * sysdeps/m68k/fpu/__math.h: Update feature tests to use
11831 __USE_ISOC9X.
11832 [__USE_ISOC9X]: Define __log2 and __exp2 inlines.
11833 (fabs): Remove defininition, it is a gcc builtin.
11834 (sqrt, __sqrt): Remove definition, they have wrappers in libm.
11835
11836 1997-03-04 10:11 H.J. Lu <hjl@lucon.org>
11837
11838 * sunrpc/Makefile ($(objpfx)rpc-proto.c): Create subdir before
11839 generating file.
11840
11841 1997-03-05 03:59 Ulrich Drepper <drepper@cygnus.com>
11842
11843 * inet/rcmd.c (__ivaliduser): Don't use getline, but __getline
11844 instead to avoid namespace problems.
11845 Reported by David Mosberger-Tang <davidm@AZStarNet.COM>.
11846
11847 1997-03-03 19:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11848
11849 * login/utmp_file.c: Fix previous change. Make portable by
11850 checking the _HAVE_UT_* feature macros.
11851
11852 1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com>
11853
11854 * Makerules: Add rules to handle versioning.
11855 * config.h.in (DO_VERSIONING): New macro.
11856 * config.make.in (versioning): New variable.
11857 * configure.in: Add checks for .symver directive in gas and
11858 --version-script option to ld. Define DO_VERSIONING and
11859 versioning if appropriate.
11860
11861 * math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
11862 s_fmin, and s_fdim.
11863 * math/math.h: Define ISO C 9X constants, macros and functions.
11864 * math/mathcalls.h: Likewise.
11865 * sysdeps/libm-ieee754/s_fdim.c: New file.
11866 * sysdeps/libm-ieee754/s_fdimf.c: New file.
11867 * sysdeps/libm-ieee754/s_fdiml.c: New file.
11868 * sysdeps/libm-ieee754/s_fmax.c: New file.
11869 * sysdeps/libm-ieee754/s_fmaxf.c: New file.
11870 * sysdeps/libm-ieee754/s_fmaxl.c: New file.
11871 * sysdeps/libm-ieee754/s_fmin.c: New file.
11872 * sysdeps/libm-ieee754/s_fminf.c: New file.
11873 * sysdeps/libm-ieee754/s_fminl.c: New file.
11874 * sysdeps/libm-ieee754/s_fpclassify.c: New file.
11875 * sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
11876 * sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
11877 * sysdeps/libm-ieee754/s_signbit.c: New file.
11878 * sysdeps/libm-ieee754/s_signbitf.c: New file.
11879 * sysdeps/libm-ieee754/s_signbitl.c: New file.
11880
11881 * stdio-common/printf_fphex.c: Correct printing of decimal point
11882 character.
11883 Simplify conversion of mantissa to string.
11884 * stdio-common/vfscanf.c: Handle %A format.
11885 Optimize termination of floating-point scanning.
11886 * stdio-common/tstscanf.c (main): Add new test to scanf to test
11887 scanning float values with given width.
11888 * stdlib/strtod.c: Add handling of floating-point numbers in
11889 hexadecimal notation.
11890
11891 * stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
11892 functions.
11893 Pretty print #if directives.
11894 * string/string.h: Pretty print #if directives.
11895
11896 * sysdeps/ieee754/dbl2mpn.c: Update copyright.
11897 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
11898 * sysdeps/ieee754/mpn2dbl.c: Likewise.
11899 * sysdeps/ieee754/mpn2flt.c: Likewise.
11900 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
11901
11902 * sysdeps/unix/sysv/linux/poll.c: Implement poll function by
11903 falling back to select-based implementation if syscall isn't
11904 available.
11905 * sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
11906
11907 * time/leapseconds: Update from tzdata1997b.
11908 * time/zic.c: Update from tzcode1997b.
11909
11910 1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11911
11912 * time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
11913 depedencies between installed $(tzlinks) and $(tzbases) files.
11914
11915 1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11916
11917 * math/math.h: Make compatible with traditional preprocessor;
11918 requires carefull placement of whitespace in macro arguments.
11919 Use __CONCAT instead of ##.
11920 Declare long double functions only if __STDC__ or __GNUC__.
11921 * math/mathcall.h: Avoid whitespace before argument of macro call
11922 that is used as function name.
11923
11924 * sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
11925 (__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
11926 of __NO_M81_MATH_INLINES.
11927 [!__LIBC_M81_MATH_INLINES]: Don't define internal functions
11928 starting with __ieee754.
11929 [!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
11930 functions as inlines.
11931 (__m81_defun): Put __attribute__ between return type and function
11932 name.
11933 * math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
11934 is defined.
11935 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
11936 instead of __NO_M81_MATH_INLINES.
11937 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11938 * sysdeps/m68k/fpu/k_cos.c: Likewise.
11939 * sysdeps/m68k/fpu/k_sin.c: Likewise.
11940 * sysdeps/m68k/fpu/k_tan.c: Likewise.
11941 * sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
11942 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11943 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11944 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11945 * sysdeps/m68k/fpu/s_modf.c: Likewise.
11946 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11947
11948 1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11949
11950 * Makefile (tests): Cope with $PATH not including the current
11951 directory.
11952
11953 1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11954
11955 * sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
11956 $(common-objdir-compile).
11957 ($(common-objpfx)make-ioctls): Likewise.
11958 (mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
11959 ($(common-objpfx)sys/param.h): Use $(make-target-directory).
11960 ($(addprefix $(common-objpfx),$(sys/param.h-includes))):
11961 Likewise.
11962 ($(common-objpfx)sys/syscall.h): Likewise.
11963 ($(common-objpfx)local_lim.h): Let make deal with command
11964 failure.
11965 ($(common-objpfx)param.h.dep): Use temporary file and update
11966 target atomically.
11967 ($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
11968 (include $(common-objpfx)param.h.dep): Ignore error.
11969
11970 * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
11971 $(common-objdir-compile).
11972 (mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
11973 $(shell pwd) instead of $$cwd.
11974
11975 * sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
11976 $(common-objdir-compile).
11977 ($(objpfx)make_siglist): Use $(native-compile).
11978 (make_siglist-CFLAGS): New variable.
11979
11980 * Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
11981 the old name for the user to pass additional flags to the host
11982 compiler. Fix reference to config header.
11983 (native-compile, common-objdir-compile): Rewritten to make more
11984 generally usable.
11985 * sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
11986 instead of BUILD_CFLAGS.
11987
11988 * sysvips/sys/ipc.h: Warn if needed feature select macro are not
11989 defined.
11990
11991 1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11992
11993 * sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
11994 New rules to generate dependencies for the RPC service objects.
11995
11996 1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11997
11998 * argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
11999 supplied.
12000
12001 1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com>
12002
12003 * stdlib/strtod.c (STRTOF): Make sure return value is large enough
12004 so that clearing second word is necessary.
12005
12006 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
12007 header since it is wrong for 64 bit systems.
12008 Patch by a sun <asun@zoology.washington.edu>.
12009
12010 1997-02-27 10:34 Richard Henderson <rth@tamu.edu>
12011
12012 * sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
12013 and OSF/1 style brk syscalls. We may want to change Linux/Alpha
12014 for the benefit of running foreign binaries.
12015
12016 1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu>
12017
12018 * login/utmp_file.c (pututline_file): Correctly decide whether
12019 LAST_ENTRY matches DATA.
12020 Don't depend on ut_id ever being set.
12021 (proc_utmp_eq): New function.
12022 (internal_getut_r): Renamed from internal_getutid_r.
12023 Use proc_utmp_eq.
12024
12025 * login/logout.c (logout): Change type of entry to be DEAD_PROCESS.
12026
12027 1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu>
12028
12029 * sysdeps/mach/hurd/fcntlbits.h (O_NORW): New macro.
12030
12031 1997-02-27 05:12 Ulrich Drepper <drepper@cygnus.com>
12032
12033 * manual/Makefile: Add rules to run and distribute xtract-typefun.
12034 * manual/xtract-typefun.awk: New file. Script to extract function,
12035 variable, macro anchor to put into the `dir' file.
12036 * manual/signal.texi: Document difference between SysV and BSD
12037 signal(3) function and add documentation for sysv_signal.
12038
12039 * sysdeps/libm-i387/e_acoshl.c: Clear upper half of word containing
12040 exponent before comparing.
12041
12042 1997-02-27 01:13 Ulrich Drepper <drepper@cygnus.com>
12043
12044 * sysdeps/generic/netinet/in.h (htonl, htons, ntohl, ntohs): Change
12045 prototypes to use types with explicit width. `unsigned long' is
12046 different on 64 bit systems.
12047 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
12048 * sysdeps/generic/htonl.c: Likewise.
12049 * sysdeps/generic/htons.c: Likewise.
12050 * sysdeps/generic/ntohl.c: Likewise.
12051 * sysdeps/generic/ntohs.c: Likewise.
12052 Suggested by a sun <asun@zoology.washington.edu>.
12053
12054 1997-02-26 08:30 Andreas Jaeger <aj@arthur.pfalz.de>
12055
12056 * math/math.h: Include <__math.h> if __NO_MATH_INLINES is not
12057 defined and we want optimization.
12058
12059 1997-02-02 19:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12060
12061 * misc/getpass.c: Don't disable canonical input.
12062 Reverted patch of Mon Jan 6 01:35:29 1997.
12063
12064 1996-12-14 22:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12065
12066 * libio/libioP.h (_IO_finish_t): Take additional parameter, to
12067 match the hidden __in_chrg parameter of the destructor.
12068 (_IO_FINISH): Pass zero for it.
12069 * libio/genops.c (_IO_default_finish): Add second parameter, which
12070 is ignored.
12071 * libio/memstream.c (_IO_mem_finish): Likewise.
12072 * libio/fileops.c (_IO_file_finish): Likewise.
12073 * libio/strops.c (_IO_str_finish): Likewise. All callers changed.
12074
12075 1997-02-27 00:23 H.J. Lu <hjl@lucon.org>
12076
12077 * time/Makefile: Avoid using patterns in dependencies.
12078
12079 1997-02-26 00:56 Miguel de Icaza <miguel@nuclecu.unam.mx>
12080
12081 * elf/rtld.c: Make _dl_start static. Otherwise the linker on the
12082 SPARC will convert the call _dl_start into a call into the PLT.
12083
12084 * elf/rtld.c (_dl_start): On the SPARC we need to adjust the value
12085 of arg to make it point to the actual values.
12086
12087 * sysdeps/sparc/elf/DEFS.h: New ELF specific version.
12088 * sysdeps/sparc/Dist: Mention sysdeps/sparc/elf/DEFS.h.
12089
12090 * sysdeps/sparc/bsd-_setjmp.S, sysdeps/sparc/bsd-setjmp.S: Make
12091 them PIC aware.
12092
12093 * sysdeps/sparc/dl-machine.h (elf_machine_load_address):
12094 Implemented.
12095 (elf_machine_rela): Make it compile; fix existing relocation
12096 types; add unhandled relocation types.
12097 (ELF_ADJUST_ARG): Get pointer to arguments at program startup.
12098 (RTLD_START): Initial implementation, not yet finished.
12099
12100 * sysdeps/sparc/elf/start.S: Fix.
12101
12102 * sysdeps/sparc/fpu_control.h: Remove duplicate declaration of
12103 __setfpucw.
12104
12105 * sysdeps/sparc/divrem.m4: Make compilable under Linux.
12106 * sysdeps/sparc/rem.S, sysdeps/sparc/sdiv.S, sysdeps/sparc/udiv.S,
12107 sysdeps/sparc/urem.S : Regenerated.
12108
12109 * sysdeps/sparc/setjmp.S: Make it PIC aware.
12110
12111 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Define
12112 __ASSEMBLY__ before using kernel header.
12113
12114 * sysdeps/unix/sysv/linux/sparc/Makefile: Use -mv8 flag to compile
12115 rtld.c.
12116
12117 * sysdeps/unix/sysv/linux/sparc/brk.c: Implement.
12118 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: Remove code
12119 to handle old signals.
12120 * sysdeps/unix/sysv/linux/sparc/sigaction.c: Implements sigaction
12121 for all Linux/SPARC kernels.
12122 * sysdeps/unix/sysv/linux/sparc/syscall.S: Add code to store
12123 errno using __errno_location.
12124 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Add various handler
12125 macros for assembler sources.
12126 * sysdeps/unix/sysv/linux/sparc/errno.c: Define errno.
12127
12128 1997-02-25 16:02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12129
12130 * elf/rtld.c (dl_main): Remove dead code that is never executed.
12131 Rename local variable l to main_map where it is used to point to
12132 the load_map for the executable.
12133
12134 1997-02-25 15:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12135
12136 * elf/dl-version.c (_dl_check_all_versions): Ignore libraries that
12137 could not be found.
12138
12139 1997-02-24 23:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12140
12141 * Makerules: Generate implicit object suffix rules automagically.
12142 (o-iterator): Move before first use.
12143
12144 * Makeconfig (all-object-suffixes): Add .bo suffix.
12145
12146 1997-02-25 15:11 Ulrich Drepper <drepper@cygnus.com>
12147
12148 * sysdeps/libm-i387/e_acoshf.S (__ieee754_acoshf): Test correct
12149 word on stack for overflow.
12150
12151 1997-02-24 23:05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
12152
12153 * malloc/malloc.c (malloc_get_state): New function.
12154 Saves global malloc state to an opaque data structure which
12155 is dynamically allocated in the heap.
12156 * malloc/malloc.c (malloc_set_state): New function.
12157 Restore previously obtained state.
12158 * malloc/malloc.h: Add declaration of malloc_get_state()
12159 and malloc_set_state().
12160
12161 1997-02-24 23:27 Ulrich Drepper <drepper@cygnus.com>
12162
12163 * sysdeps/libm-ieee754/s_cbrtl.c: Shift B1_EXP value to right
12164 position.
12165
12166 1997-02-24 17:38 Ulrich Drepper <drepper@cygnus.com>
12167
12168 * misc/error.c: Make error and error_at_line weak aliases of
12169 __error and __error_at_line respectively.
12170 Suggested by David Mosberger-Tang <davidm@AZStarNet.COM>.
12171
12172 * sysdeps/unix/sysv/linux/i386/socket.S: Update copyright.
12173
12174 1997-02-22 11:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12175
12176 * elf/ldd.bash.in: Run the program directly, not as argument
12177 to the dynamic linker, if it contains an interpreter segment.
12178 * elf/ldd.sh.in: Likewise.
12179
12180 * elf/rtld.c (dl_main): In verify mode check whether the dynamic
12181 object contains an interpreter segment and exit with 2 if not.
12182
12183 1997-02-23 01:23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12184
12185 * Makefile (distribute): Remove nsswitch.h, netgroup.h, mcheck.h
12186 and xlocale.h. Make-dist adds them automagically.
12187
12188 1997-02-22 12:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12189
12190 * locale/C-time.c (_nl_C_LC_TIME): Add missing entry for
12191 time-era-num-entries.
12192
12193 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12194
12195 * rellns-sh: No need to check for existance of first parameter.
12196
12197 1997-02-24 15:20 Jonathan T. Agnew <jtagnew@amherst.edu>
12198
12199 * glibcbug.in: Don't mention destination on MAIL_AGENT command line
12200 to avoid duplicate mail.
12201
12202 1997-02-24 03:51 Ulrich Drepper <drepper@cygnus.com>
12203
12204 * Makefile (distribute): Add isomac.c.
12205 (tests): Run isomac test.
12206
12207 * features.h (__USE_ISOC9X): New macro.
12208
12209 * catgets/catgets.c: Don't use global variable `optind'. Instead
12210 use result computed by argp_parse.
12211 * db/makedb: Likewise.
12212 * locale/programs/locale.c: Likewise.
12213 * locale/programs/localedef.c: Likewise.
12214
12215 * libio/stdio.h: Rewrite. Make it more readable and add comments.
12216
12217 * libio/clearerr.c: Remove clearerr_locked alias.
12218 * libio/feof.c: Remove feof_locked alias.
12219 * libio/ferror.c: Remove feof_locked alias.
12220 * libio/fileno.c: Remove fileno_locked alias.
12221 * libio/fputc.c: Remove fputc_locked alias.
12222 * libio/getc.c: Remove getc_locked alias.
12223 * libio/getchar.c: Remove getchar_locked alias.
12224 * libio/iofflush.c: Remove fflush_locked alias.
12225 * libio/putc.c: Remove putc_locked alias.
12226 * libio/putc.c: Remove putchar_locked alias.
12227
12228 * stdio-common/printf_fp.c: When number is inifinity print INF
12229 or inf depending on case of specifier. Same for NaN where NAN
12230 or nan is printed. Specified in ISO C 9X.
12231
12232 * misc/sys/cdefs.h (__restrict): Define to empty string for now.
12233 * stdio/stdio.h: Add __restrict to prototypes where necessary.
12234 * libio/stdio.h: Likewise.
12235 * stdlib/stdlib.h: Likewise.
12236 * string/string.h: Likewise.
12237 * time/time.h: Likewise.
12238 * wcsmbs/wchar.h: Likewise.
12239
12240 * stdlib/strtod.c: Change to recognize INF, INFINITY, NAN, and
12241 NAN(...).
12242
12243 * sysdeps/ieee754/huge_val.h: Define HUGE_VALF and HUGE_VALL instead
12244 of HUGE_VALf and HUGE_VALL.
12245 * stdlib/strtof.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALF
12246 instead of HUGE_VALf.
12247 * wcsmbs/wcstof.c: Likewise.
12248 * stdlib/strtold.c (FLOAT_HUGE_VAL): Use standard name HUGE_VALL
12249 instead of HUGE_VALl.
12250 * wcsmbs/wcstold.c: Likewise.
12251
12252 * sysdeps/posix/gai_strerror.c: Use size_t for counter variable to
12253 avoid warning.
12254
12255 * wcsmbs/Makefile (routines): Add wcscasecmp and wcsncase.
12256 * wcsmbs/wchar.h: Add prototypes for wcscasecmp and wcsncase.
12257 * wcsmbs/wcscasecmp.c: New file.
12258 * wcsmbs/wcsncase.c: New file.
12259
12260 * stdlib/strtol.c: Define wide character quad word functions as
12261 wcstoll and wcstoull and normal versions as strtoll and strtoull.
12262 * wcsmbs/wchar.h: Add prototypes for wcstoll and wcstoull.
12263 * wcsmbs/wcstoq: Renamed to wcstoll.c.
12264 * wcsmbs/wcstouq: Renamed to wcstoull.c.
12265 * wcsmbs/wcstoll.c: Renamed from wcstoq.c. Make wcstoq a weak
12266 alias of wcstoll.
12267 * wcsmbs/wcstoull.c: Renamed from wcstouq.c. Make wcstouq a weak
12268 alias of wcstoull.
12269 * wcsmbs/Makefile (routines): Replace wcstoq and wcstouq by
12270 wcstoll and wcstoull respectively.
12271 * stdlib/strtoq.c: Rename to strtoll.c.
12272 * stdlib/strtouq.c: Rename to strtoull.c.
12273 * stdlib/strtoll.c: Renamed from strtoq.c. Make strtoq a weak
12274 alias of strtoll.
12275 * stdlib/strtoll.c: Renamed from strtouq.c. Make strtouq a weak
12276 alias of strtoull.
12277 * stdlib/Makefile (routines): Replace strtoq and strtouq by
12278 strtoll and strtoull respectively.
12279 * stdio-common/vfscanf.c: Don't use __strtoq_internal and
12280 __strtouq_internal but instead __strtoll_internal and
12281 __strtoull_internal respectively.
12282 * stdlib/stdlib.h (strtoq): Use __internal_strtoll in inline version.
12283 (strtouq): Similar with __internal_strtoull.
12284 * wcsmbs/wchar.h (wcstoq): Use __internal_wcstoll in inline version.
12285 (wcstouq): Similar with __internal_wcstoull.
12286
12287 1997-02-23 04:38 Ulrich Drepper <drepper@cygnus.com>
12288
12289 * stdlib/strtol.c (STRTOL): It is not illegal to parse a minus
12290 sign in the strtouXX functions. The results gets simply negated.
12291 * stdio-common/tstscanf.c: Add testcase for above case.
12292 * stdlib/tst-strtol.c: Correct tests.
12293
12294 * manual/stdio-fp.c: New file. Generate output for example program
12295 in stdio.texi.
12296
12297 * stdio-common/Makefile (routines): Add printf_fphex.
12298 * stdio-common/vfprintf.c: Add handling of %a and %A specifier.
12299 * stdio-common/printf_fphex.c: New file. Implement %a and %A
12300 specifier.
12301
12302 1997-02-22 03:01 Ulrich Drepper <drepper@cygnus.com>
12303
12304 * sysdeps/unix/sysv/linux/timebits.h (CLK_TCK): Don't defined if
12305 __STRICT_ANSI__.
12306
12307 * math/math.h: Prevent definition of struct exception when using
12308 C++. Use __exception instead.
12309
12310 1997-02-22 01:45 Ulrich Drepper <drepper@cygnus.com>
12311
12312 * sysdeps/unix/syscalls.list: Dup takes only one argument.
12313 Reported by Greg McGary.
12314
12315 1997-02-21 00:22 Miles Bader <miles@gnu.ai.mit.edu>
12316
12317 * sysdeps/mach/hurd/readlink.c (__readlink): Use io_read rather
12318 than file_get_translator.
12319
12320 * sysdeps/mach/hurd/defs.c, sysdeps/stub/defs.c, sysdeps/posix/defs.c
12321 (_cleanup): Use __fcloseall instead of fclose with a NULL stream.
12322
12323 1997-02-20 01:28 Miles Bader <miles@gnu.ai.mit.edu>
12324
12325 * hurd/fchroot.c (fchroot): Reparent DIR to make it a real root.
12326 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12327
12328 1997-02-19 13:56 Miles Bader <miles@gnu.ai.mit.edu>
12329
12330 * sysdeps/mach/hurd/accept.c (accept): Don't segv if ADDR_LEN == 0
12331 but ADDR also == 0.
12332
12333 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak alias for
12334 now instead of a weak extern, as some old programs expect it to be
12335 defined by ld.so.
12336
12337 1997-02-18 15:39 Miles Bader <miles@gnu.ai.mit.edu>
12338
12339 * hurd/hurdfault.c (_hurdsig_fault_preempter): New weak alias.
12340
12341 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_threadvar_max,
12342 __hurd_threadvar_stack_offset): Restore initialized versions, so
12343 startup works correctly.
12344
12345 * malloc/thread-m.h (mutex_trylock): Invert sense of return value.
12346
12347 1997-02-17 10:58 Miles Bader <miles@gnu.ai.mit.edu>
12348
12349 * malloc/thread-m.h (mutex_trylock): Define to be __mutex_trylock,
12350 not __mutex_try_lock.
12351 (tsd_setspecific): Cast DATA to (unsigned long) before storing.
12352 (tsd_getspecific): Case variable to (void *) before returning.
12353
12354 * hurd/hurdinit.c (__libc_argv): Remove extern.
12355 (__libc_argc): New variable.
12356
12357 1997-02-15 10:23 Miles Bader <miles@gnu.ai.mit.edu>
12358
12359 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
12360 _HURD_THREADVAR_MALLOC.
12361 * malloc/thread-m.h
12362 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
12363 (mutex_lock, mutex_unlock, mutex_trylock): Defined in terms of
12364 __mutex_*.
12365 (mutex_t): Type removed & replaced by new macro.
12366 (tsd_key_t): Typedef to int instead of pthread_key_t.
12367 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
12368 (__pthread_initialize): New macro, work around assumption of pthreads.
12369 (tsd_keys_alloced): New static variable.
12370 <hurd/threadvar.h>: New include.
12371
12372 * hurd/report-wait.c (_hurd_itimer_thread): Make a weak extern.
12373 (_S_msg_report_wait): Check to see if _hurd_itimer_thread is
12374 defined before using it.
12375
12376 * sysdeps/mach/hurd/i386/init-first.c (__libc_argv, __libc_argc):
12377 Make extern.
12378 * hurd/hurdinit.c (__libc_argv): Make extern.
12379
12380 * hurd/getdport.c (_default_hurd_getdport_fn): New variable.
12381 (_hurd_getdport_fn): Now a weak alias to _default_hurd_getdport_fn.
12382
12383 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max,
12384 __hurd_threadvar_stack_offset,
12385 __hurd_threadvar_stack_mask): New variables.
12386 * hurd/hurdsig.c (__hurd_sigthread_stack_base,
12387 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
12388 New variables (moved here from hurdstartup.c).
12389 * hurd/hurdstartup.c (__hurd_sigthread_stack_base,
12390 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables):
12391 Variables removed (moved to hurdsig.c).
12392 (__hurd_threadvar_max, __hurd_threadvar_stack_offset,
12393 __hurd_threadvar_stack_mask): Variables removed.
12394 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
12395 __hurd_sigthread_stack_end, __hurd_sigthread_stack_variables,
12396 __hurd_threadvar_max, __hurd_threadvar_stack_offset,
12397 __hurd_threadvar_stack_mask): Variables removed.
12398
12399 1997-02-14 14:07 Miles Bader <miles@gnu.ai.mit.edu>
12400
12401 * hurd/hurd.h (_hurd_pids_changed_stamp, _hurd_pids_changed_sync):
12402 Declare extern.
12403
12404 * malloc/thread-m.h
12405 [_LIBC && !PTHREAD_MUTEX_INITIALIZER && MUTEX_INITIALIZER]
12406 (mutex_t): Type removed.
12407 (mutex_t): New macro.
12408 (mutex_trylock): New macro.
12409 (__x_mutex_lock, __x_mutex_unlock): New functions.
12410 (mutex_lock, mutex_unlock): New macros, redefining the behavior of
12411 the cthread definitions.
12412 (tsd_key_t): Typedef to cthread_key_t instead of pthread_key_t.
12413 (tsd_key_create, tsd_setspecific, tsd_getspecific): New macros.
12414 (mutex_lock, mutex_unlock, mutex_trylock, mutex_init): Macros removed.
12415 (__pthread_initialize): New macro, work around assumption of pthreads.
12416
12417 1997-02-11 05:27 Ulrich Drepper <drepper@cygnus.com>
12418
12419 * locale/weight.h (collate_rules): It's an u_int32_t array.
12420 (get_weight): Compute initial SLOT value correctly.
12421
12422 1997-02-24 17:06 Geoffrey Keating <geoffk@discus.anu.edu.au>
12423
12424 * sysdeps/unix/sysv/linux/accept.S (NARGS): Describe number of
12425 arguments taken, for sysdeps/unix/sysv/linux/powerpc/socket.S.
12426 * sysdeps/unix/sysv/linux/bind.S: Likewise.
12427 * sysdeps/unix/sysv/linux/connect.S: Likewise.
12428 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12429 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12430 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12431 * sysdeps/unix/sysv/linux/listen.S: Likewise.
12432 * sysdeps/unix/sysv/linux/recv.S: Likewise.
12433 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12434 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12435 * sysdeps/unix/sysv/linux/send.S: Likewise.
12436 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12437 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12438 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12439 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12440 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12441
12442 1997-02-22 00:17 Ulrich Drepper <drepper@cygnus.com>
12443
12444 * catgets/gencat.c: Change to use argp.
12445 * db/makedb: Likewise.
12446 * locale/programs/localedef.c: Likewise.
12447
12448 * locale/programs/locale.c: Little adjustment for better usage of
12449 argp.
12450
12451 1997-02-20 20:07 Greg McGary <gkm@eng.ascend.com>
12452
12453 * Makeconfig: Add rules for libc with bounded pointers.
12454 * Makerules: Likewise.
12455 * config.make.in: Likewise.
12456 * configure.in: Likewise.
12457
12458 1997-02-21 10:41 Miles Bader <miles@gnu.ai.mit.edu>
12459
12460 * argp/argp.h (OPTION_NO_USAGE): New macro.
12461 * argp/argp-help.c (usage_long_opt, usage_argful_short_opt,
12462 add_argless_short_opt): Implement OPTION_NO_USAGE.
12463
12464 1997-02-20 16:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12465
12466 * malloc/obstack.h: Fix typo.
12467
12468 1997-02-20 15:56 Miles Bader <miles@gnu.ai.mit.edu>
12469
12470 * argp/argp-fmtstream.c (__argp_fmtstream_update): Account for case
12471 where NEXTLINE points one past the end of the active buffer.
12472
12473 * argp/argp-help.c <stddef.h>: New include.
12474 (__argp_failure): Only exit if STATE says it's ok.
12475 (print_header, hol_entry_help): Use UPARAMS fields rather than
12476 constants.
12477 (_help): Call fill_in_uparams if necessary.
12478 (struct hol_help_state): New type.
12479 (struct pentry_state): Add hhstate field. Remove prev_entry &
12480 sep_groups fields.
12481 (hol_entry_help): Add HHSTATE parameter. Remove prev_entry &
12482 sep_groups parameters.
12483 Suppress duplicate arguments if requested, and note the fact.
12484 (print_header, comma): Use PEST->hhstate fields.
12485 (hol_help): Add HHSTATE variable & pass to hol_entry_help.
12486 Remove LAST_ENTRY & SEP_GROUPS variables.
12487 If any suplicate arguments were suppressed, print explanatory note.
12488 (filter_doc): Replace PEST parameter with STATE.
12489 (struct uparams): New type.
12490 (uparams): New variable.
12491 (struct uparam_name): New type.
12492 (uparam_names): New variable.
12493 (fill_in_uparams): New function.
12494 (__argp_failure, __argp_error, __argp_state_help): Make STATE
12495 parameter const.
12496 * argp/argp.h (argp_state_help, __argp_state_help, argp_usage,
12497 __argp_usage, argp_error, __argp_error, argp_failure,
12498 __argp_failure): Make STATE parameter const.
12499 (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
12500
12501 * argp/argp.h (argp_program_bug_address): Make const.
12502
12503 1997-02-20 19:20 Ulrich Drepper <drepper@cygnus.com>
12504
12505 * sysdeps/unix/mman/syscalls.list: Explain msync interface.
12506
12507 1997-02-19 01:37 Erik Troan <ewt@redhat.com>
12508
12509 * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
12510
12511 1997-02-20 14:44 Andreas Jaeger <aj@arthur.pfalz.de>
12512
12513 * stdio-common/test-fseek.c: Remove temporary file, add
12514 copyright.
12515
12516 1997-02-20 17:51 Ulrich Drepper <drepper@cygnus.com>
12517
12518 * sysdeps/generic/netinet/in.h: Protect contents using
12519 __BEGIN/END_DECLS. Reported by a sun <asun@zoology.washington.edu>.
12520
12521 * inet/net/ethernet.h: Move to sysdeps/unix/sysv/linux/net.
12522 * inet/Makefile (headers): Remove net/ethernet.h.
12523 * sysdeps/unix/sysv/linux/Makefile: Install net/ethernet.h.
12524 * sysdeps/unix/sysv/linux/Dist: Distribute net/ethernet.h.
12525
12526 1997-02-20 15:23 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
12527
12528 * nss/nsswitch.c (__nss_configure_lookup): Use correct test when
12529 searching in sorted array.
12530
12531 1997-02-20 01:24 Philip Blundell <pjb27@cam.ac.uk>
12532
12533 * inet/getnameinfo.c: Change to use reentrant getXXbyYY functions
12534 and protect modification of global data.
12535
12536 1997-02-19 18:48 Miles Bader <miles@gnu.ai.mit.edu>
12537
12538 * argp/argp-parse.c (argp_default_parser): Set STATE->name for OPT_PROGNAME.
12539 (parser_init): Use the basename for PARSER->state.name.
12540 * argp/argp-help.c (__argp_error, __argp_failure, __argp_state_help):
12541 Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
12542
12543 * argp/argp-parse.c (parser_init): Set PARSER->state.flags.
12544 Make check whether PARSER has the prog name in argv[0] at the
12545 proper place.
12546
12547 1997-02-19 23:34 Ulrich Drepper <drepper@cygnus.com>
12548
12549 * locale/programs/ld-time.c (time_finish): t_fmt_ampm is optional.
12550 Use default value instead of printing a warning.
12551
12552 * nss/XXX-lookup.c: Add missing explanation.
12553
12554 1997-02-19 19:14 Andreas Jaeger <aj@arthur.pfalz.de>
12555
12556 * inet/in6_addr.c: Add missing braces.
12557
12558 * inet/getnameinfo.c: Include <arpa/inet.h>.
12559
12560 * sysdeps/posix/getaddrinfo.c: Include <arpa/inet.h>.
12561
12562 1997-02-19 11:46 Ulrich Drepper <drepper@cygnus.com>
12563
12564 * string/strxfrm.c (STRCOLL): Correct handling of `position'
12565 levels with no non-IGNOREd element and handling of NUL byte.
12566 * string/strcoll.c (STRXFRM): Likewise.
12567 * locale/weight.h: Likewise.
12568
12569 * shadow/sgetspent_r.c (LINE_PARSER): Add missing ')'.
12570
12571 1997-02-19 03:28 Miles Bader <miles@gnu.ai.mit.edu>
12572
12573 * argp/argp-help.c: Add support for user provided filter of help
12574 messages.
12575 * argp/argp-parse.c: Likewise.
12576 * argp/argp.h: Likewise.
12577 * argp/argp-namefrob.h: Define __argp_input.
12578
12579 * argp/argp-test.c: Add example for filter.
12580
12581 1997-02-19 02:58 Ulrich Drepper <drepper@cygnus.com>
12582
12583 * argp.h: New file.
12584 * locale/programs/locale.c: Switch to use argp.
12585
12586 * errno.h: Make it possible to get definition of error_t even
12587 after having errno.h already.
12588
12589 * elf/dl-hash.h: New file. ELF hashing function. Extracted
12590 from dl-lookup.c.
12591 * elf/dl-lookup.c (_dl_elf_hash): Remove definition.
12592
12593 * elf/dl-load.c: Rename _dl_does_name_match_p to _dl_name_match_p.
12594 * elf/dl-version.c: Likewise.
12595
12596 * elf/dl-lookup.c: Implement new versioning lookup scheme.
12597 * elf/dl-version.c (_dl_check_map_versions): Initialize new field
12598 in l_versions member.
12599
12600 * elf/dlvsym.c: Correct call of _dl_lookup_versioned_symbol_skip
12601 and _dl_lookup_versioned_symbol.
12602
12603 * elf/link.h: Rename hash_name_pair to struct r_found_version.
12604 * sysdeps/alpha/dl-machine.h: Likewise.
12605 * sysdeps/i386/dl-machine.h: Likewise.
12606 * sysdeps/m68k/dl-machine.h: Likewise.
12607 * sysdeps/mips/dl-machine.h: Likewise.
12608
12609 * intl/l10nflist.c: (_nl_make_l10nflist): Fix bug in computation of
12610 length of abs_filename.
12611
12612 * locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH.
12613
12614 * locale/programs/ld-monetary.c (monetary_add): Allow value 0
12615 in mon_grouping information. This means no more grouping.
12616 * locale/programs/ld-numeric.c (numeric_add): Write value \377
12617 when seein value 0 in grouping information.
12618 * locale/programs/linereader.c (lr_close): Don't free fname since
12619 it might be used in error messages.
12620
12621 * locale/programs/locale.c: Check whether output of `locale -a'
12622 really is locale directory. Also print locale aliases.
12623
12624 * misc/search.h (__action_fn_t): Parameters VALUE and LEVEL cannot
12625 be const.
12626
12627 1997-02-19 02:16 Ulrich Drepper <drepper@cygnus.com>
12628
12629 * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Correct #defin to
12630 #define. Reported by Rick Flower <FLOWER@sdvax2.sdd.TRW.COM>.
12631
12632 1997-02-19 01:37 Erik Troan <ewt@redhat.com>
12633
12634 * shadow/sgetspent_r.c: Accept empty third, fourth and fifth fields.
12635
12636 1997-02-19 01:02 Ulrich Drepper <drepper@cygnus.com>
12637
12638 * sysdeps/unix/mman/syscalls.list: msync takes 3 arguments.
12639 Reported by Andreas Jaeger <aj@arthur.pfalz.de>.
12640
12641 * sysdeps/stub/msync.c (msync): Add missing third parameter.
12642
12643 1997-02-19 00:29 Ulrich Drepper <drepper@cygnus.com>
12644
12645 * sysdeps/unix/bsd/sigsuspend.c: Call __sigpause with needed
12646 additional argument.
12647
12648 1997-02-18 22:13 Ulrich Drepper <drepper@cygnus.com>
12649
12650 * inet/net/ethernet.h: New file.
12651 * sysdeps/unix/sysv/linux/netinet/if_ether.c: Add BSD compatibility.
12652 * sysdeps/unix/sysv/linux/net/if_slip.h: New file.
12653 Contributed by a sun <asun@zoology.washington.edu>.
12654
12655 * sysdeps/unix/sysv/linux/net/if_arp.h: Include <sys/socket.h>.
12656 * sunrpc/rpc/rpc_msg.h: Include <rpc/clnt.h>.
12657 Reported by a sun <asun@zoology.washington.edu>.
12658
12659 1997-02-16 14:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12660
12661 * Makerules ((common-objpfx)distinfo-$(subdir)): Depend on sysdep
12662 makefiles which may change the distinfo variables.
12663
12664 1997-02-16 14:03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12665
12666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12667 [$(subdir)=misc]: Add sys/quota.h.
12668 (sysdep_headers) [$(subdir)=inet]: Add netinet/udp.h.
12669
12670 1997-02-17 13:12 aleph1@dfw.net
12671
12672 * sunrpc/clnt_simp.c (callrpc): Prevent buffer overflow by using
12673 strncpy.
12674
12675 1997-02-18 03:28 Ulrich Drepper <drepper@cygnus.com>
12676
12677 * stdio-common/bug10.c (main): Correct parameter.
12678
12679 1997-02-17 02:51 Ulrich Drepper <drepper@cygnus.com>
12680
12681 * malloc/obstack.h: Add `extern "C"' protection.
12682 * posix/regex.h: Likewise.
12683 * io/ftw.h: Likewise.
12684 * misc/libgen.h: Likewise.
12685 * login/utmp.h: Likewise.
12686 * sysdeps/unix/sysv/linux/sys/reboot.h: Likewise.
12687 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
12688 * sunrpc/rpc/pmap_rmt.h: Likewise.
12689 * sunrpc/rpc/auth_des.h: Likewise.
12690 * elf/link.h: Likewise.
12691 Reported by HJ Lu.
12692
12693 1997-02-17 01:45 a sun <asun@zoology.washington.edu>
12694
12695 Linux specific network headers.
12696 * sysdeps/unix/sysv/linux/netinet/if_fddi.h: New file.
12697 * sysdeps/unix/sysv/linux/netinet/if_tr.h: New file.
12698 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h: New file.
12699 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: New file.
12700 * sysdeps/unix/sysv/linux/netinet/igmp.h: New file.
12701 * sysdeps/unix/sysv/linux/netinet/icmp.h: New file.
12702 * sysdeps/unix/sysv/linux/netinet/ip.h: New file.
12703 * sysdeps/unix/sysv/linux/netinet/tcp.h: New file.
12704 * sysdeps/unix/sysv/linux/netipx/ipx.h: New file.
12705 * sysdeps/unix/sysv/linux/netatalk/atalk.h: New file.
12706 * sysdeps/unix/sysv/linux/Dist: Add new network headers.
12707 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=misc] (sysdep_headers):
12708 Add sys/quota.h.
12709 [$(subdir)=inet] (sysdep_headers): Add new network header.
12710
12711 * sysdeps/unix/sysv/linux/netinet/udp.h: Add Linux specific changes.
12712
12713 * inet/netinet/ip.h: Move to sysdeps/generic.
12714 * inet/netinet/tcp.h: Likewise.
12715 * sysdeps/generic/netinet/ip.h: Moved to here from inet/netinet.
12716 * sysdeps/generic/netinet/tcp.h: Likewise.
12717
12718 1997-02-17 01:18 Ulrich Drepper <drepper@cygnus.com>
12719
12720 * misc/sys/syslog.h (prioritynames): Correct definition to use
12721 braces where necessary.
12722 (facilitynames): Likewise.
12723 Patch by Ronald F. Guilmette <rfg@monkeys.com>.
12724 Comment and beautify declarations.
12725
12726 1997-02-16 19:54 1997 Philip Blundell <Philip.Blundell@pobox.com>
12727
12728 * inet/Makefile (routines): Add in6_addr, getnameinfo.
12729 * inet/getnameinfo.c: New file. Implementation of getnameinfo()
12730 by Craig Metz.
12731 * inet/in6_addr.c: New file. IPv6 addressing constants.
12732 * posix/Makefile (routines): Add gai_strerror.
12733 * resolv/netdb.h: Add more constants for IPv6 basic API.
12734 * sysdeps/posix/gai_strerror.c: New file.
12735 * sysdeps/stub/gai_strerror.c New file.
12736 * sysdeps/unix/sysv/linux/netinet/in.h: Add definitions for IPv6
12737 basic API.
12738
12739 * sysdeps/posix/getaddrinfo.c: Update from latest version by
12740 Craig Metz and use reentrant getXXbyYY functions.
12741
12742 1997-02-15 14:32 Andreas Jaeger <aj@arthur.pfalz.de>
12743
12744 * argp/argp.h: Declare argp_program_version as const char.
12745 * argp/argp-test.c: Likewise
12746
12747 * stdlib/testrand.c (main): Declare main prototype.
12748 * stdlib/testdiv.c (main): Likewise.
12749 * string/testcopy.c (main): Likewise.
12750 * string/test-ffs.c (main): Likewise.
12751 * time/test_time.c (main): Likewise.
12752
12753 * locale/duplocale.c (__duplocale): Return result.
12754
12755 1997-02-16 03:54 Ulrich Drepper <drepper@cygnus.com>
12756
12757 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport.
12758 Reported by fabsoft@fabserver1.zarm.uni-bremen.de.
12759
12760 * nss/nss.h: Remove declaration of __nss_shlib_revision.
12761 * nss/nsswitch.c: Don't use NSS_SHLIB_VERSION macro.
12762
12763 1997-02-16 03:48 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
12764
12765 * nis/nss_nis/nis-ethers.c (_nss_nis_getethernam_r): Rename to
12766 _nss_nis_gethostton_r.
12767 (_nss_nis_getetherbyaddr_r): Rename to _nss_nis_getntohost_r.
12768
12769 1997-02-15 22:37 Andy Berkheimer <andy@tho.org>
12770
12771 * resolv/gethnamaddr.c (gethostbyname2): Test for ':' in name before
12772 trying to resolv name as numeric IPv6 address.
12773 * nss/digits_dots.c: Likewise.
12774
12775 1997-02-15 04:51 Ulrich Drepper <drepper@cygnus.com>
12776
12777 * locale/setlocale.c (setlocale): Don't try to be clever about
12778 unused locales. When the existence of the locale files isn't
12779 tested the result of setlocale might be different.
12780
12781 1997-02-15 03:34 Ulrich Drepper <drepper@cygnus.com>
12782
12783 * locale/setlocale.c (setlocale): Don't increment usage_count of
12784 new locale if it already has the value MAX_USAGE_COUNT (it might
12785 be the C locale data which is read-only).
12786
12787 1997-02-15 02:41 Miles Bader <miles@gnu.ai.mit.edu>
12788
12789 * argp/argp-help.c: Gettextize sources.
12790 * argp/argp-parse.c: Likewise.
12791
12792 1997-02-13 22:32 Ulrich Drepper <drepper@cygnus.com>
12793
12794 * features.h (__GLIBC_MINOR__): Bump to 1.
12795
12796 * xlocale.h: New file. Wrapper around locale/xlocale.h.
12797 * Makefile (distribute): Add xlocale.h.
12798 * locale/Makefile (routines): Add ctype_l.
12799 * locale/ctype-extn.c: Update copyright. De-ANSI-declfy.
12800 Add __isblank_l, __toascii_l and __isascii_l.
12801 * ctype/ctype.h: Add definitions and declarations for *_l functions.
12802 * locale/Makefile (headers): Add xlocale.h.
12803 (routines): Add newlocale, duplocale, and freelocale.
12804 * locale/localeinfo.h (MAX_USAGE_COUNT): New macro.
12805 (struct locale_data): Add new fields mmaped and usage_count.
12806 Correct various declarations.
12807 * locale/C-collate.c: Define value for new fields mmaped and
12808 usage_count.
12809 * locale/C-ctype.c: Likewise.
12810 * locale/C-messages.c: Likewise.
12811 * locale/C-monetary.c: Likewise.
12812 * locale/C-numeric.c: Likewise.
12813 * locale/C-time.c: Likewise.
12814 * locale/loadlocale.c (_nl_load_locale): Initialize mmaped and
12815 usage_count fields.
12816 * locale/locale.h: Don't define locale_t here (moved to xlocale.h).
12817 Correct prototypes for __newlocale and __freelocale.
12818 Add prototype for __duplocale.
12819 * locale/findlocale.c (copy): Remove function. Use __strdup instead.
12820 (_nl_remove_locale): New function.
12821 * locale/nl_langinfo.c: Don't declare locale_data objects as const.
12822 * locale/setlocale.c: Likewise.
12823 * locale/weight.h: Change for use with locale objects.
12824 * locale/xlocale.h: New file. Define __locale_t type.
12825 * locale/newlocale.c: New file. Create new locale object.
12826 * locale/freelocale.c: New file. Destroy locale object.
12827 * locale/duplocale.c: New file. Create copy of locale object.
12828 * stdlib/Makefile (routines): Add strfmon_l.
12829 * stdlib/monetary.h [__USE_GNU]: Declare __strfmon_l.
12830 * stdlib/strfmon.c: Add support for use in extended locale model.
12831 * stdlib/strfmon_l.c: New file.
12832 * string/Makefile (routines): Add strcoll_l and strxfrm_l.
12833 * string/strcoll.c: Change for use in extended locale model.
12834 * string/strxfrm.c: Likewise.
12835 * string/strcoll_l.c: New file. Implement __strcoll_l function.
12836 * string/strxfrm_l.c: New file. Implement __strxfrm_l function.
12837 * wcsmbs/Makefile (routines): Add wcscoll_l and wcsxfrm_l.
12838 * wcsmbs/wchar.h [__USE_GNU]: Declare wcscoll_l and wcsxfrm_l.
12839 * wcsmbs/wcscoll.c: Change for use in extended locale model.
12840 * wcsmbs/wcscoll_l.c: New file. Implement __wcscoll_l function.
12841 * wcsmbs/wcsxfrm_l.c: New file. Implement __wcsxfrm_l function.
12842 * wctype/Makefile (routines): Add wcextra, wcfuncs_l, iswctype_l,
12843 and towctrans_l.
12844 * wctype/cname-lookup.h: Prepare for use in extended locale model.
12845 * wctype/iswctype_l.c: New file. Implement character classification
12846 functions for use with locale objects.
12847 * wctype/wctype.h: Declare functions for use with locale objects.
12848 * wctype/towctrans_l.c: New file. Implement __towctrans_l function
12849 for use with locale objects.
12850 * wctype/wcfuncs_l.c: New file. Implement wide character
12851 classification functions for use with locale objects.
12852 * wctype/wcextra.c: New file. Implement real functions for
12853 non-standard classification functions.
12854
12855 * elf/ldd.bash.in: Don't use --data-relocs and --function-relocs
12856 parameters to ld.so. Use environment variables.
12857 * elf/ldd.sh.in: Likewise.
12858 * elf/rtld.c: Remove handling of --data-relocs and --function-relocs
12859 options. Instead read environment variables.
12860
12861 * elf/link.h (receiver_fct): Add new argument to take error code.
12862 * elf/dl-error.c (_dl_signal_error): Call receiver function with
12863 another argument.
12864
12865 * elf/dl-object.c (_dl_new_object): Create new object with list of
12866 names in l_libname member.
12867 * elf/dl-load.c (_dl_map_object_from_fd): Add name which was used to
12868 find to object to the list in the link_map variable.
12869 (_dl_map_object): Use _dl_does_name_match_p to compare with all
12870 available names of the object.
12871 Optimize handling of LD_LIBRARY_PATH a bit.
12872 * elf/rtld.c: Initialize l_libname member of _dl_rtld_map.
12873
12874 * elf/dl-lookup.c (_dl_elf_hash): Optimize function.
12875
12876 * elf/Makefile (routines): Add dl-version.
12877 * elf/link.h (hash_name_pair): New type. Group pointer to string
12878 and its hash value.
12879 (struct link_map): Change l_libname member to be a list of names,
12880 not a single pointer to a name.
12881 Add new members l_nversions and l_versions.
12882 (_dl_does_name_match_p): New function to test for all names of an
12883 object.
12884 Add prototypes for new lookup and versioning functions.
12885 * elf/dl-lookup.c (do_lookup): Add new argument and handle case
12886 when versioned symbol is requested.
12887 (_dl_lookup_symbol): Call do_lookup with another argument.
12888 (_dl_lookup_symbol_skip): Likewise.
12889 (_dl_lookup_versioned_symbol): New function. Handle lookup of
12890 versioned symbol.
12891 (_dl_lookup_versioned_symbol_skip): Likewise, similar to
12892 _dl_lookup_symbol_skip.
12893 * elf/dl-reloc.c (RESOLVE): Call _dl_lookup_versioned_symbol or
12894 _dl_lookup_symbol depending on availability of version information.
12895 * elf/dl-runtime.c (RESOLVE): Likewise.
12896 (fixup): Call elf_machine_relplt with additional argument to point
12897 to versioning information if available.
12898 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12899 * elf/dl-open.c (_dl_open): Call _dl_check_map_versions to check
12900 for correct versions.
12901 * elf/dl-version.c: New file. Check library versions and extract
12902 version information for easier access.
12903 * elf/dlfcn.h [__USE_GNU]: Add prototype for dlvsym.
12904 * elf/dlvsym.c: New file. Implementation of function similar to
12905 dlsym, but looks for versioned symbol.
12906 * elf/elf.h: Add types and macros for versioning.
12907 * elf/rtld.c (dl_main): Check availability of needed versions.
12908 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add additional
12909 argument for version information. Call RESOLVE with additional
12910 argument.
12911 * sysdeps/i386/dl-machine.h: Likewise.
12912 * sysdeps/m68k/dl-machine.h: Likewise.
12913 * sysdeps/mips/dl-machine.h: Likewise.
12914
12915 * elf/dlerror.c: Change comment to align with guidelines.
12916 * elf/dlopen.c: Likewise.
12917 * elf/dlsym.c: Likewise.
12918
12919 * locale/programs/localedef.c: Implement --quiet option.
12920 * locale/programs/charset.h: Declare be_quiet variable.
12921 * locale/programs/locfile.h: Likewise.
12922 * locale/programs/charmap.c: Don't print warnings if quiet option
12923 was given.
12924 * locale/programs/ld-collate.c: Likewise.
12925 * locale/programs/ld-ctype.c: Likewise.
12926 * locale/programs/ld-messages.c: Likewise.
12927 * locale/programs/ld-monetary.c: Likewise.
12928 * locale/programs/ld-numeric.c: Likewise.
12929 * locale/programs/ld-time.c: Likewise.
12930 * locale/programs/locfile.c: Likewise.
12931
12932 * Makefile (subdirs): Add argp.
12933
12934 * catgets/catgets.c (catopen): Little code improvement.
12935
12936 * posix/execl.c: Remove restriction to 1024 arguments.
12937 * posix/execle.c: Likewise.
12938 * posix/execlp.c: Likewise.
12939
12940 * posix/getopt.c [_LIBC]: Define global objects with __ prefix
12941 and make regular names weak aliases.
12942 * posix/getopt1.c: Likewise.
12943 * posix/getopt.h [_LIBC]: Provide prototypes and declarations for
12944 __ protected forms.
12945
12946 * posix/unistd.h: Add prototype for __sleep.
12947 * sysdeps/mach/sleep.c: Make sleep weak alias of __sleep.
12948 * sysdeps/posix/sleep.c: Likewise.
12949 * sysdeps/stub/sleep.c: Likewise.
12950 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12951
12952 * ctype/ctype-info.c: Update copyright.
12953 * ctype/ctype.c: Likewise.
12954 * ctype/test_ctype.c: Likewise.
12955 * dirent/alphasort.c: Likewise.
12956 * dirent/list.c: Likewise.
12957 * gmon/bb_exit_func.c: Likewise.
12958 * grp/fgetgrent.c: Likewise.
12959 * grp/getgrent.c: Likewise.
12960 * grp/getgrent_r.c: Likewise.
12961 * grp/getgrgid.c: Likewise.
12962 * grp/getgrgid_r.c: Likewise.
12963 * grp/getgrnam.c: Likewise.
12964 * grp/getgrnam_r.c: Likewise.
12965 * hurd/alloc-fd.c: Likewise.
12966 * hurd/catch-exc.c: Likewise.
12967 * hurd/ctty-input.c: Likewise.
12968 * hurd/ctty-output.c: Likewise.
12969 * hurd/dtable.c: Likewise.
12970 * hurd/fchroot.c: Likewise.
12971 * hurd/fd-close.c: Likewise.
12972 * hurd/fd-read.c: Likewise.
12973 * hurd/fd-write.c: Likewise.
12974 * hurd/fopenport.c: Likewise.
12975 * hurd/get-host.c: Likewise.
12976 * hurd/getdport.c: Likewise.
12977 * hurd/getuids.c: Likewise.
12978 * hurd/getumask.c: Likewise.
12979 * hurd/hurd-raise.c: Likewise.
12980 * hurd/hurd.h: Likewise.
12981 * hurd/hurdauth.c: Likewise.
12982 * hurd/hurdexec.c: Likewise.
12983 * hurd/hurdhost.h: Likewise.
12984 * hurd/hurdid.c: Likewise.
12985 * hurd/hurdinit.c: Likewise.
12986 * hurd/hurdioctl.c: Likewise.
12987 * hurd/hurdkill.c: Likewise.
12988 * hurd/hurdlookup.c: Likewise.
12989 * hurd/hurdmsg.c: Likewise.
12990 * hurd/hurdpid.c: Likewise.
12991 * hurd/hurdports.c: Likewise.
12992 * hurd/hurdprio.c: Likewise.
12993 * hurd/hurdrlimit.c: Likewise.
12994 * hurd/hurdsock.c: Likewise.
12995 * hurd/hurdstartup.c: Likewise.
12996 * hurd/hurdstartup.h: Likewise.
12997 * hurd/intern-fd.c: Likewise.
12998 * hurd/intr-msg.c: Likewise.
12999 * hurd/intr-rpc.defs: Likewise.
13000 * hurd/intr-rpc.h: Likewise.
13001 * hurd/msgportdemux.c: Likewise.
13002 * hurd/new-fd.c: Likewise.
13003 * hurd/openport.c: Likewise.
13004 * hurd/pid2task.c: Likewise.
13005 * hurd/port-cleanup.c: Likewise.
13006 * hurd/port2fd.c: Likewise.
13007 * hurd/ports-get.c: Likewise.
13008 * hurd/ports-set.c: Likewise.
13009 * hurd/privports.c: Likewise.
13010 * hurd/report-wait.c: Likewise.
13011 * hurd/set-host.c: Likewise.
13012 * hurd/setauth.c: Likewise.
13013 * hurd/setuids.c: Likewise.
13014 * hurd/siginfo.c: Likewise.
13015 * hurd/sigunwind.c: Likewise.
13016 * hurd/task2pid.c: Likewise.
13017 * hurd/thread-cancel.c: Likewise.
13018 * hurd/thread-self.c: Likewise.
13019 * hurd/vpprintf.c: Likewise.
13020 * hurd/hurd/fd.h: Likewise.
13021 * hurd/hurd/id.h: Likewise.
13022 * hurd/hurd/ioctl.h: Likewise.
13023 * hurd/hurd/lookup.h: Likewise.
13024 * hurd/hurd/port.h: Likewise.
13025 * hurd/hurd/resource.h: Likewise.
13026 * hurd/hurd/threadvar.h: Likewise.
13027 * hurd/hurd/userlink.h: Likewise.
13028 * inet/ether_aton.c: Likewise.
13029 * inet/ether_aton_r.c: Likewise.
13030 * inet/ether_ntoa.c: Likewise.
13031 * inet/ether_ntoa_r.c: Likewise.
13032 * inet/gethstbyad.c: Likewise.
13033 * inet/gethstbyad_r.c: Likewise.
13034 * inet/gethstent.c: Likewise.
13035 * inet/getnetbyad.c: Likewise.
13036 * inet/getnetbyad_r.c: Likewise.
13037 * inet/getnetbynm.c: Likewise.
13038 * inet/getnetbynm_r.c: Likewise.
13039 * inet/getnetent.c: Likewise.
13040 * inet/getnetent_r.c: Likewise.
13041 * inet/getproto.c: Likewise.
13042 * inet/getproto_r.c: Likewise.
13043 * inet/getprtent.c: Likewise.
13044 * inet/getprtent_r.c: Likewise.
13045 * inet/getprtname.c: Likewise.
13046 * inet/getrpcbyname.c: Likewise.
13047 * inet/getrpcbyname_r.c: Likewise.
13048 * inet/getrpcbynumber.c: Likewise.
13049 * inet/getrpcbynumber_r.c: Likewise.
13050 * inet/getrpcent.c: Likewise.
13051 * inet/getrpcent_r.c: Likewise.
13052 * inet/getservent.c: Likewise.
13053 * inet/getservent_r.c: Likewise.
13054 * inet/getsrvbynm.c: Likewise.
13055 * inet/getsrvbynm_r.c: Likewise.
13056 * inet/getsrvbypt.c: Likewise.
13057 * inet/getsrvbypt_r.c: Likewise.
13058 * inet/herrno.c: Likewise.
13059 * inet/netgroup.h: Likewise.
13060 * ient/netinet/ether.h: Likewise.
13061 * intl/bindtextdom.c: Likewise.
13062 * intl/dcgettext.c: Likewise.
13063 * intl/dgettext.c: Likewise.
13064 * intl/gettext.c: Likewise.
13065 * intl/gettext.h: Likewise.
13066 * intl/gettextP.h: Likewise.
13067 * intl/hash-string.h: Likewise.
13068 * intl/loadmsgcat.c: Likewise.
13069 * intl/localealias.c: Likewise.
13070 * intl/textdomain.c: Likewise.
13071 * io/creat.c: Likewise.
13072 * io/getdirname.c: Likewise.
13073 * io/lockf.c: Likewise.
13074 * io/pwd.c: Likewise.
13075 * io/test-utime.c: Likewise.
13076 * locale/categories.def: Likewise.
13077 * locale/codeset_name.c: Likewise.
13078 * locale/lc-collate.c: Likewise.
13079 * locale/lc-ctype.c: Likewise.
13080 * locale/lc-messages.c: Likewise.
13081 * locale/lc-monetary.c: Likewise.
13082 * locale/lc-numeric.c: Likewise.
13083 * locale/lc-time.c: Likewise.
13084 * locale/loadlocale.c: Likewise.
13085 * locale/localeconv.c: Likewise.
13086 * locale/nl_langinfo.c: Likewise.
13087 * locale/setlocale.c: Likewise.
13088 * locale/strlen-hash.h: Likewise.
13089 * locale/programs/charmap-kw.gperf: Likewise.
13090 * locale/programs/charmap-kw.h: Likewise.
13091 * locale/programs/charset.c: Likewise.
13092 * locale/programs/ld-ctype.c: Likewise.
13093 * locale/programs/ld-messages.c: Likewise.
13094 * locale/programs/ld-monetary.c: Likewise.
13095 * locale/programs/linereader.h: Likewise.
13096 * locale/programs/locale-spec.c: Likewise.
13097 * locale/programs/locales.h: Likewise.
13098 * locale/programs/locfile-kw.gperf: Likewise.
13099 * locale/programs/locfile-kw.h: Likewise.
13100 * locale/programs/locfile-token.h: Likewise.
13101 * locale/programs/simple-hash.h: Likewise.
13102 * locale/programs/stringtrans.c: Likewise.
13103 * locale/programs/stringtrans.h: Likewise.
13104 * login/logout.c: Likewise.
13105 * mach/bootprivport.c: Likewise.
13106 * mach/devstream.c: Likewise.
13107 * mach/hello.c: Likewise.
13108 * mach/mach.h: Likewise.
13109 * mach/mach_init.c: Likewise.
13110 * mach/mach_init.h: Likewise.
13111 * mach/mig-alloc.c: Likewise.
13112 * mach/mig-dealloc.c: Likewise.
13113 * mach/mutex-init.c: Likewise.
13114 * mach/mutex-solid.c: Likewise.
13115 * mach/setup-thread.c: Likewise.
13116 * mach/spin-lock.h: Likewise.
13117 * mach/spin-solid.c: Likewise.
13118 * mach/mach/mig_support.h: Likewise.
13119 * md5-crypt/md5-crypt.c: Likewise.
13120 * misc/nlist.h: Likewise.
13121 * nss/nss_files/files-ether.c: Likewise.
13122 * posix/confstr.c: Likewise.
13123 * posix/execl.c: Likewise.
13124 * posix/execle.c: Likewise.
13125 * posix/execlp.c: Likewise.
13126 * posix/execv.c: Likewise.
13127 * posix/execvp.c: Likewise.
13128 * posix/fnmatch.c: Likewise.
13129 * posix/getopt.c: Likewise.
13130 * posix/getopt.h: Likewise.
13131 * posix/getopt1.c: Likewise.
13132 * posix/id.c: Likewise.
13133 * posix/regex.c: Likewise.
13134 * posix/setpgrp.c: Likewise.
13135 * posix/unistd.h: Likewise.
13136 * posix/wordexp.c: Likewise.
13137 * pwd/fgetpwent.c: Likewise.
13138 * pwd/getpwent.c: Likewise.
13139 * pwd/getpwent_r.c: Likewise.
13140 * pwd/getpwnam.c: Likewise.
13141 * pwd/getpwnam_r.c: Likewise.
13142 * pwd/getpwuid.c: Likewise.
13143 * pwd/getpwuid_r.c: Likewise.
13144 * pwd/putpwent.c: Likewise.
13145 * resolv/gethnamaddr.c: Likewise.
13146 * resolv/res_hconf.c: Likewise.
13147 * resolv/res_hconf.h: Likewise.
13148 * setjmp/longjmp.c: Likewise.
13149 * setjmp/sigjmp.c: Likewise.
13150 * setjmp/tst-setjmp.c: Likewise.
13151 * stdio/clearerr.c: Likewise.
13152 * stdio/ferror.c: Likewise.
13153 * stdio/fgetc.c: Likewise.
13154 * stdio/fgetpos.c: Likewise.
13155 * stdio/fgets.c: Likewise.
13156 * stdio/fileno.c: Likewise.
13157 * stdio/fmemopen.c: Likewise.
13158 * stdio/fopen.c: Likewise.
13159 * stdio/fopncook.c: Likewise.
13160 * stdio/fputc.c: Likewise.
13161 * stdio/fputs.c: Likewise.
13162 * stdio/fread.c: Likewise.
13163 * stdio/freopen.c: Likewise.
13164 * stdio/fseek.c: Likewise.
13165 * stdio/fsetpos.c: Likewise.
13166 * stdio/ftell.c: Likewise.
13167 * stdio/fwrite.c: Likewise.
13168 * stdio/getchar.c: Likewise.
13169 * stdio/getdelim.c: Likewise.
13170 * stdio/gets.c: Likewise.
13171 * stdio/glue.c: Likewise.
13172 * stdio/internals.c: Likewise.
13173 * stdio/linewrap.c: Likewise.
13174 * stdio/linewrap.h: Likewise.
13175 * stdio/memstream.c: Likewise.
13176 * stdio/newstream.c: Likewise.
13177 * stdio/putchar.c: Likewise.
13178 * stdio/puts.c: Likewise.
13179 * stdio/rewind.c: Likewise.
13180 * stdio/setbuf.c: Likewise.
13181 * stdio/setbuffer.c: Likewise.
13182 * stdio/setlinebuf.c: Likewise.
13183 * stdio/setvbuf.c: Likewise.
13184 * stdio/ungetc.c: Likewise.
13185 * stdio/vasprintf.c: Likewise.
13186 * stdio/vscanf.c: Likewise.
13187 * stdio/vsnprintf.c: Likewise.
13188 * stdio/vsprintf.c: Likewise.
13189 * stdio/vsscanf.c: Likewise.
13190 * stdio-common/asprintf.c: Likewise.
13191 * stdio-common/dprintf.c: Likewise.
13192 * stdio-common/errnobug.c: Likewise.
13193 * stdio-common/fprintf.c: Likewise.
13194 * stdio-common/getline.c: Likewise.
13195 * stdio-common/getw.c: Likewise.
13196 * stdio-common/perror.c: Likewise.
13197 * stdio-common/psignal.c: Likewise.
13198 * stdio-common/putw.c: Likewise.
13199 * stdio-common/reg-printf.c: Likewise.
13200 * stdio-common/scanf.c: Likewise.
13201 * stdio-common/snprintf.c: Likewise.
13202 * stdio-common/sprintf.c: Likewise.
13203 * stdio-common/tempnam.c: Likewise.
13204 * stdio-common/test_rdwr.c: Likewise.
13205 * stdio-common/tst-fileno.c: Likewise.
13206 * stdio-common/tst-printf.c: Likewise.
13207 * stdio-common/tstgetln.c: Likewise.
13208 * stdio-common/vprintf.c: Likewise.
13209 * stdlib/drand48.c: Likewise.
13210 * stdlib/drand48_r.c: Likewise.
13211 * stdlib/erand48.c: Likewise.
13212 * stdlib/erand48_r.c: Likewise.
13213 * stdlib/exit.h: Likewise.
13214 * stdlib/strtoq.c: Likewise.
13215 * stdlib/strtoul.c: Likewise.
13216 * stdlib/strtouq.c: Likewise.
13217 * stdlib/test-canon.c: Likewise.
13218 * stdlib/testdiv.c: Likewise.
13219 * stdlib/testrand.c: Likewise.
13220 * string/argz-append.c: Likewise.
13221 * string/argz-count.c: Likewise.
13222 * string/argz-create.c: Likewise.
13223 * string/argz-ctsep.c: Likewise.
13224 * string/argz-delete.c: Likewise.
13225 * string/argz-extract.c: Likewise.
13226 * string/argz-insert.c: Likewise.
13227 * string/argz-next.c: Likewise.
13228 * string/argz-stringify.c: Likewise.
13229 * string/basename.c: Likewise.
13230 * string/envz.c: Likewise.
13231 * string/memfrob.c: Likewise.
13232 * string/strcoll.c: Likewise.
13233 * string/strdup.c: Likewise.
13234 * string/string.h: Likewise.
13235 * string/strndup.c: Likewise.
13236 * string/strnlen.c: Likewise.
13237 * string/strsignal.c: Likewise.
13238 * string/strxfrm.c: Likewise.
13239 * string/test-ffs.c: Likewise.
13240 * string/testcopy.c: Likewise.
13241 * sysdeps/generic/enbl-secure.c: Likewise.
13242 * sysdeps/generic/memcopy.h: Likewise.
13243 * sysdeps/generic/stpncpy.c: Likewise.
13244 * sysdeps/generic/strcasecmp.c: Likewise.
13245 * sysdeps/generic/strcat.c: Likewise.
13246 * sysdeps/generic/strchr.c: Likewise.
13247 * sysdeps/generic/strcpy.c: Likewise.
13248 * sysdeps/generic/strcspn.c: Likewise.
13249 * sysdeps/generic/strlen.c: Likewise.
13250 * sysdeps/generic/strncase.c: Likewise.
13251 * sysdeps/generic/strncat.c: Likewise.
13252 * sysdeps/generic/strncpy.c: Likewise.
13253 * sysdeps/generic/strpbrk.c: Likewise.
13254 * sysdeps/generic/strsep.c: Likewise.
13255 * sysdeps/generic/strspn.c: Likewise.
13256 * sysdeps/generic/strstr.c: Likewise.
13257 * sysdeps/generic/strtok.c: Likewise.
13258 * sysdeps/generic/strtok_r.c: Likewise.
13259 * sysdeps/mach/sleep.c: Likewise.
13260 * sysdeps/posix/sleep.c: Likewise.
13261 * sysdeps/stub/sleep.c: Likewise.
13262 * time/date.c: Likewise.
13263 * time/test_time.c: Likewise.
13264 * wcsmbs/wmemcpy.c: Likewise.
13265 * wctye/test_wctype.c: Likewise.
13266 * wctye/towctrans.c: Likewise.
13267 * wctye/wcfuncs.c: Likewise.
13268 * wctye/wctrans.c: Likewise.
13269
13270 1997-02-13 22:15 Miles Bader <miles@gnu.ai.mit.edu>
13271
13272 * argp/Makefile: New file.
13273 * argp/argp.h: Likewise.
13274 * argp/argp-ba.c: Likewise.
13275 * argp/argp-fmtstream.c: Likewise.
13276 * argp/argp-fmtstream.h: Likewise.
13277 * argp/argp-fs-xinl.c: Likewise.
13278 * argp/argp-help.c: Likewise.
13279 * argp/argp-namefrob.h: Likewise.
13280 * argp/argp-parse.c: Likewise.
13281 * argp/argp-pv.c: Likewise.
13282 * argp/argp-pvh.c: Likewise.
13283 * argp/argp-test.c: Likewise.
13284 * argp/argp-xinl.c: Likewise.
13285
13286 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
13287
13288 * stdlib/qsort.c: Add prototype for _quicksort.
13289
13290 * stdlib/msort.c (qsort): Correct prototype for _quicksort.
13291
13292 * sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
13293 from dl-machine.h.
13294
13295 1997-02-13 18:18 Marcus G. Daniels <marcus@sysc.pdx.edu>
13296
13297 * sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
13298 Allow user to overwrite it.
13299
13300 1997-02-13 17:55 Ulrich Drepper <drepper@cygnus.com>
13301
13302 * libio/_G_config.h: Make sure wint_t is also defined for old gcc
13303 versions. Reported by Andreas Jaeger.
13304
13305 1997-02-13 11:44 Andreas Jaeger <aj@arthur.pfalz.de>
13306
13307 * time/tzfile.c (__tzfile_read): Change comment to follow
13308 change of 1997-02-12.
13309
13310 1997-02-13 02:32 Ulrich Drepper <drepper@cygnus.com>
13311
13312 * time/time.h (__nanosleep): Define only when struct timespec is
13313 also available.
13314 Reported by Ross Alexander <rossa@stimpy.cs.auckland.ac.nz>.
13315
13316 1997-02-12 21:34 a sun <asun@zoology.washington.edu>
13317
13318 * sysdeps/unix/sysv/linux/netinet/udp.h: New file.
13319 * sysdeps/unix/sysv/linux/Dist: Add netinet/udp.h.
13320
13321 1997-02-12 21:16 Ulrich Drepper <drepper@cygnus.com>
13322
13323 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname_r): Follow patch
13324 of 1997-02-09 in resolv/gethnamaddr.c.
13325
13326 1997-02-11 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
13327
13328 * libio/_G_config.h (_G_wint_t): New.
13329
13330 1997-02-09 11:31 H.J. Lu <hjl@gnu.ai.mit.edu>
13331
13332 * resolv/gethnamaddr.c (gethostbyname2): Change sizeof (buf)
13333 to sizeof (buf.buf) while calling res_search ().
13334
13335 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
13336
13337 * nis/rpcsvc/yp_prot.h (ypresp_key_val): Change key to keydat,
13338 val to keydat, stat to status.
13339
13340 1997-02-12 20:45 Andreas Jaeger <jaeger@informatik.uni-kl.de>
13341
13342 * time/tzfile.c (__tzfile_read): Fix problem with SUID programs.
13343
13344 1997-02-12 19:55 Ulrich Drepper <drepper@cygnus.com>
13345
13346 * db/btree/bt_split.c (bt_psplit): Apply official patches #2 and #4
13347 by Keith Bostic.
13348
13349 1997-02-11 14:49 Andreas Jaeger <jaeger@informatik.uni-kl.de>
13350
13351 * stdlib/atoll.c: Undefine atoll, not atol.
13352
13353 1997-02-08 09:36 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13354
13355 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls): Remove
13356 unused arguments of shell script.
13357
13358 * Makeconfig (all-object-suffixes): New variable.
13359 * Makerules ($(+sysdir_pfx)sysd-rules, +make-deps): Use it instead
13360 of $(object-suffixes).
13361 * sysdeps/unix/make-syscalls.sh: Likewise. Fix comment.
13362
13363 1997-02-10 17:45 Ulrich Drepper <drepper@cygnus.com>
13364
13365 * string/argz-ctsep.c: Initialize *LEN when successful.
13366
13367 1997-02-09 04:35 Ulrich Drepper <drepper@cygnus.com>
13368
13369 * stdio-common/_itoa.h: Update copyright.
13370
13371 1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com>
13372
13373 * version.h (VERSION): Bump to 2.0.2.
13374
13375 * posix/Makefile (routines): Add getopt_init.
13376 * posix/getopt.c: Don't get environment variable with nonoption
13377 flags here. Depend on __getopt_nonoption_flags variable filled
13378 somewhere else. This is necessary since the variable must be
13379 removed even when getopt isn't used in case exec(2) gets called.
13380 * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags
13381 and remove environment variable.
13382 * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
13383 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13384 * sysdeps/stub/init-first.c: Likewise.
13385 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13386
13387 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
13388 AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
13389
13390 * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
13391 encryption is wanted.
13392
13393 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
13394 * stdio/vsnprintf.c: Likewise.
13395 Reported by Philip Blundell <pjb27@cam.ac.uk>.
13396
13397 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
13398 * stdio/vsnprintf.c: Likewise.
13399 Reported by Philip Blundell <pjb27@cam.ac.uk>.
13400
13401 1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com>
13402
13403 * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
13404 Change PTR to void *.
13405 * sysdeps/posix/vdprintf.c: Change PTR to void *.
13406 Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
13407
13408 1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk>
13409
13410 * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
13411
13412 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13413
13414 * rellns-sh: No need to check for existance of first parameter.
13415
13416 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13417
13418 * rellns-sh: No need to check for existance of first parameter.
13419
13420 1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13421
13422 * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported
13423 by David Holland <dholland@eecs.harvard.edu>.
13424
13425 1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13426
13427 * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
13428 select, in case it is modified by the latter.
13429 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13430 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13431 * sunrpc/svc_tcp.c (readtcp): Likewise.
13432
13433 * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
13434 array.
13435
13436 * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
13437 and gid_t.
13438
13439 * sunrpc/auth_unix.c (authunix_validate): Fix type of second
13440 argument.
13441
13442 1997-02-06 14:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13443
13444 * elf/Makefile (extra-objs): Don't zap previous value.
13445 * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h
13446 twice.
13447
13448 1997-02-06 14:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13449
13450 * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
13451 braindamage (sigh!).
13452
13453 1997-02-06 17:10 Jim Meyering <meyering@asic.sc.ti.com>
13454
13455 * manual/memory.texi: Correct `copystring' example for obstacks.
13456
13457 1997-02-06 14:10 Ulrich Drepper <drepper@cygnus.com>
13458
13459 * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
13460 GNU tr don't grok it.
13461
13462 1997-02-03 21:13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13463
13464 * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
13465 Don't use GNU C extensions.
13466 (CMSG_DATA): Use portable definition.
13467
13468 1997-02-05 05:58 Ulrich Drepper <drepper@cygnus.com>
13469
13470 * elf/ldd.bash.in: Add test for read permission and print appropriate
13471 message. Change warning and error messages to print "ldd: " at start.
13472 * elf/ldd.sh.in: Likewise.
13473
13474 * stdlib/Makefile (routines): Add atoll.
13475 * stdlib/atoll.c: New file.
13476 * stdlib/stdlib.h: Add prototype and optimization for atoll.
13477
13478 * stdlib/a64l.c: Update copyright.
13479 * stdlib/abs.c: Likewise.
13480 * stdlib/atof.c: Likewise.
13481 * stdlib/atoi.c: Likewise.
13482 * stdlib/atol.c: Likewise.
13483 * stdlib/bsearch.c: Likewise.
13484 * stdlib/exit.c: Likewise.
13485 * stdlib/fpioconst.c: Likewise.
13486 * stdlib/fpioconst.h: Likewise.
13487 * stdlib/jrand48.c: Likewise.
13488 * stdlib/jrand48_r.c: Likewise.
13489 * stdlib/labs.c: Likewise.
13490 * stdlib/lcong48.c: Likewise.
13491 * stdlib/lcong48_r.c: Likewise.
13492 * stdlib/llabs.c: Likewise.
13493 * stdlib/lrand48.c: Likewise.
13494 * stdlib/lrand48_r.c: Likewise.
13495 * stdlib/mblen.c: Likewise.
13496 * stdlib/mbstowcs.c: Likewise.
13497 * stdlib/mbtowc.c: Likewise.
13498 * stdlib/mp_clz_tab.c: Likewise.
13499 * stdlib/mrand48.c: Likewise.
13500 * stdlib/mrand48_r.c: Likewise.
13501 * stdlib/msort.c: Likewise.
13502 * stdlib/nrand48.c: Likewise.
13503 * stdlib/nrand48_r.c: Likewise.
13504 * stdlib/qsort.c: Likewise.
13505 * stdlib/rpmatch.c: Likewise.
13506 * stdlib/seed48.c: Likewise.
13507 * stdlib/seed48_r.c: Likewise.
13508 * stdlib/srand48.c: Likewise.
13509 * stdlib/srand48_r.c: Likewise.
13510 * stdlib/strtod.c: Likewise.
13511 * stdlib/wcstombs.c: Likewise.
13512 * stdlib/wctomb.c: Likewise.
13513
13514 1997-02-05 05:08 Ulrich Drepper <drepper@cygnus.com>
13515
13516 * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
13517 as const.
13518
13519 1997-02-04 23:57 Fila Kolodny <fila@ibi.com>
13520
13521 * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
13522 including <stddef.h>.
13523
13524 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
13525
13526 * time/Makefile (tzbases, tzlinks): New.
13527 (tzfiles): Changed to $(tzbases) $(tzlinks).
13528 ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
13529
13530 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
13531
13532 * Makefile (install): Ignore error from ldconfig.
13533
13534 * time/zic.c (mkdirs): Double check the error return of mkdir ().
13535
13536 1997-02-04 22:01 Ulrich Drepper <drepper@cygnus.com>
13537
13538 * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
13539 like PPC where va_list is no integral type.
13540
13541 1997-02-04 15:27 Roma Ekzhanov <ekzhanov@paragraph.com>
13542
13543 * posix/getopt.c (exchange): Don't allocate nonoption_flags array
13544 if nonoption_flags_len == -1.
13545
13546 1997-02-04 02:08 Ulrich Drepper <drepper@cygnus.com>
13547
13548 * Version 2.0.1 net release.
13549
13550 1997-02-03 23:34 Stephen L Moshier <moshier@world.std.com>
13551
13552 * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
13553
13554 1997-02-03 19:59 Ulrich Drepper <drepper@cygnus.com>
13555
13556 * stdlib/getsubopt.c: Don't return `=' for suboption which has
13557 a parameter. Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
13558
13559 1997-02-03 18:20 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
13560
13561 * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
13562 values as in yp.x and yp.h.
13563
13564 1997-02-03 16:58 Ulrich Drepper <drepper@cygnus.com>
13565
13566 * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
13567 1997-02-03 02:17. Sun's implementation internally corrects
13568 this bug but we don't want to hide this from the user.
13569 * nis/rpcsvc/yp.h: Likewise.
13570
13571 1997-02-01 18:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13572
13573 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
13574 inclusion.
13575
13576 1997-02-02 14:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13577
13578 * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
13579 fixes.
13580
13581 1997-02-02 11:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13582
13583 * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
13584 (all-sources, all-headers): Use them instead of $(sources) and
13585 $(headers) when searching in sysdep directories.
13586
13587 1997-02-02 11:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13588
13589 * Makerules (REAL_MAKE_VERSION): Use internal make function
13590 instead of shelling out.
13591
13592 1997-02-02 11:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13593
13594 * time/Makefile (install-test-data): Remove mkdir command, zic can
13595 handle that gracefully.
13596
13597 1997-02-03 14:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13598
13599 * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
13600 somehow.
13601
13602 1997-02-02 07:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13603
13604 * sunrpc/Makefile: Check $(cross-compiling) only after including
13605 ../Makeconfig.
13606 ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
13607 being considered as a rule.
13608 (generated): Add stamp files before the inclusion of Makerules to
13609 magically mark them as not being intermediate via the `generated'
13610 target.
13611
13612 1997-02-03 02:33 Ulrich Drepper <drepper@cygnus.com>
13613
13614 * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
13615 entries. This is still no complete implementation since AUXILIARY
13616 entries in other shared objects are not yet handled.
13617
13618 * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
13619 place.
13620
13621 * po/es.po: Update.
13622 * po/fr.po: Update.
13623 * po/nl.po: Update.
13624
13625 * time/Makefile: Better cross-compile support. Avoid test which
13626 cannot be run.
13627 (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from
13628 tzfile.h file.
13629 * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
13630 in SUID programs.
13631 * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
13632 default values as in tzfile.c.
13633
13634 * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
13635 tags.
13636 * elf/link.h: Likewise.
13637 * elf/elf.h: Add tag definitions and data structures for versioning.
13638
13639 1997-02-03 02:17 Ulrich Drepper <drepper@cygnus.com>
13640
13641 * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
13642 "Sun bug". This is the order of elements also used by 4.4BSD.
13643 * nis/rpcsvc/yp.h: Likewise.
13644 Reported by HJ Lu.
13645
13646 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
13647
13648 * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
13649 action.
13650
13651 * Makefile (install): Pass installation directories as arguments
13652 to ldconfig.
13653
13654 1997-02-02 23:15 Ulrich Drepper <drepper@cygnus.com>
13655
13656 * malloc/malloc.c (__after_morecore_hook): New variable.
13657 (malloc_extend_top): Call __after_morecore_hook if set.
13658 (main_trim): Likewise.
13659 * malloc/malloc.h: Add declaration of __after_morecore_hook.
13660 Suggested by Marcus Daniels.
13661
13662 1997-02-02 23:00 Marcus G. Daniels <marcus@tdb.com>
13663
13664 * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
13665 #ifndef NO_THREADS.
13666 (mallinfo): Likewise.
13667
13668 * malloc/malloc.c (__morecore): Make external since it is used in
13669 programs.
13670
13671 1997-02-02 15:10 Ulrich Drepper <drepper@cygnus.com>
13672
13673 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
13674 unsigned.
13675
13676 1997-02-01 23:36 Richard Henderson <rth@tamu.edu>
13677
13678 * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
13679 use t6 as a temporary; it contains bits we still need in $u_head.
13680
13681 1997-01-31 15:05 John Bowman <bowman@ipp-garching.mpg.de>
13682
13683 * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
13684 using __ prefix. Add prototype for log1p.
13685
13686 1997-02-02 00:39 Ulrich Drepper <drepper@cygnus.com>
13687
13688 * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
13689
13690 1997-02-01 17:04 Philip Blundell <pjb27@cam.ac.uk>
13691
13692 * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
13693
13694 1997-02-01 17:00 Ulrich Drepper <drepper@cygnus.com>
13695
13696 * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
13697 structure plus related macros.
13698 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
13699 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
13700 (sysdep_routines): Add cmsg_nxthdr.
13701 * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
13702 Suggested by Philip Blundell <pjb27@cam.ac.uk>.
13703
13704 1997-02-01 12:34 Ulrich Drepper <drepper@cygnus.com>
13705
13706 * time/strftime.c: Define _strftime_copytm without protecting arguments
13707 which breaks the definition.
13708
13709 1997-02-01 03:31 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
13710
13711 * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
13712 definition of type for element.
13713
13714 1997-02-01 03:28 Philip Blundell <pjb27@cam.ac.uk>
13715
13716 * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
13717 constants.
13718
13719 1997-02-01 03:09 H.J. Lu <hjl@lucon.org>
13720
13721 * Makefile: Pass PARALLELMFLAGS to sub-makes.
13722 * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
13723
13724 1997-01-31 Paul Eggert <eggert@twinsun.com>
13725
13726 * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
13727 Define if _LIBC is defined.
13728 <limits.h>: Include if HAVE_LIMITS_H instead of if
13729 __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
13730 <stdlib.h>: Similarly, include if STDC_HEADERS.
13731 (localtime_r): Redo #ifdef to make it clear that glibc has
13732 localtime_r now.
13733
13734 1997-02-29 20:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13735
13736 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
13737 file to avoid unnecessary recompilation.
13738
13739 1997-01-29 19:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13740
13741 * Makefile: Set install-others, not install_others.
13742 (before-compile): Use += to preserve previous value.
13743 ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
13744 fix dependency name.
13745 ($(objpfx)lib-names.h): Remove rule.
13746 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
13747 with correct name, using an intermediate stamp file.
13748 (common-generated): Add gnu/lib-names.h.
13749 (before-compile): Add $(common-objpfx)gnu/lib-names.h.
13750
13751 1997-01-30 18:29 Richard Henderson <richard@atheist.tamu.edu>
13752
13753 * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
13754 to prevent warnings on 64 bit systems.
13755 Reported by Paul Wouters <paul@xtdnet.nl>.
13756
13757 * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default
13758 we assume it works.
13759
13760 1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com>
13761
13762 * sysdeps/i386/elf/start.S (_start): Align stack pointer to
13763 double word boundary before pushing args for main. This way we
13764 don't get penalties for misaligned memory accesses. Reported by
13765 Edward Seidl <seidl@janed.com>.
13766
13767 * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
13768 Patch by HJ Lu.
13769
13770 * misc/bsd-compat.c: Update copyright.
13771 * misc/efgcvt.c: Likewise.
13772 * misc/efgcvt_r.c: Likewise.
13773 * misc/error.c: Likewise.
13774 * misc/error.h: Likewise.
13775 * misc/fstab.c: Likewise.
13776 * misc/init-misc.c: Likewise.
13777 * misc/lsearch.c: Likewise.
13778 * misc/mntent.c: Likewise.
13779 * misc/qefgcvt.c: Likewise.
13780 * misc/qefgcvt_r.c: Likewise.
13781 * nss/databases.def: Likewise.
13782 * nss/db-Makefile: Likewise.
13783 * nss/ethers-lookup.c: Likewise.
13784 * nss/hosts-lookup.c: Likewise.
13785 * nss/netgrp-lookup.c: Likewise.
13786 * nss/nsswitch.h: Likewise.
13787 * nss/proto-lookup.c: Likewise.
13788 * nss/rpc-lookup.c: Likewise.
13789 * nss/service-lookup.c: Likewise.
13790 * nss/nss_db/db-netgrp.c: Likewise.
13791 * nss/nss_files/files-grp.c: Likewise.
13792 * nss/nss_files/files-hosts.c: Likewise.
13793 * nss/nss_files/files-network.c: Likewise.
13794 * nss/nss_files/files-proto.c: Likewise.
13795 * nss/nss_files/files-pwd.c: Likewise.
13796 * nss/nss_files/files-rpc.c: Likewise.
13797 * nss/nss_files/files-service.c: Likewise.
13798 * nss/nss_files/files-spwd.c: Likewise.
13799 * shadow/fgetspent.c: Likewise.
13800 * shadow/fgetspent_r.c: Likewise.
13801 * shadow/getspent.c: Likewise.
13802 * shadow/getspent_r.c: Likewise.
13803 * shadow/getspnam.c: Likewise.
13804 * shadow/getspnam_r.c: Likewise.
13805 * shadow/putspent.c: Likewise.
13806 * shadow/sgetspent.c: Likewise.
13807 * shadow/sgetspent_r.c: Likewise.
13808 * sysdeps/i386/init-first.c: Likewise.
13809 * sysdeps/unix/i386/sysdep.S: Likewise.
13810
13811 * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be
13812 prepared to be running in a multi-threaded environment. Change
13813 to __USE_MISC unless the function is defined in POSIX.1 (in this
13814 case also test for __USE_POSIX).
13815 * dirent/dirent.h: Likewise.
13816 * grp/grp.h: Likewise.
13817 * inet/aliases.h: Likewise.
13818 * libio/libio.h: Likewise.
13819 * libio/stdio.h: Likewise.
13820 * login/utmp.h: Likewise.
13821 * math/mathcalls.h: Likewise.
13822 * misc/mntent.h: Likewise.
13823 * pwd/pwd.h: Likewise.
13824 * resolv/netdb.h: Likewise.
13825 * stdlib/stdlib.h: Likewise.
13826 * string/string.h: Likewise.
13827 * sunrpc/rpc/netdb.h: Likewise.
13828 * sysdeps/generic/crypt.h: Likewise.
13829 * sysdeps/unix/sysv/linux/errnos.h: Likewise.
13830 * time/time.h: Likewise.
13831
13832 1997-01-30 00:27 Fila Kolodny <fila@ibi.com>
13833
13834 * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
13835 only if not cross compiling.
13836
13837 1997-01-29 16:16 Fila Kolodny <fila@ibi.com>
13838
13839 * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
13840 NULL.
13841 * sysdeps/posix/sigwait.c: Likewise.
13842
13843 1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13844
13845 * Makeconfig ($(common-objpfx)config.make): Depend on
13846 $(..)config.make.in.
13847
13848 1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com>
13849
13850 * sunrpc/Makefile: Don't generate headers derived from .x files when
13851 crosscompiling.
13852
13853 1997-01-28 10:51 Richard Henderson <rth@tamu.edu>
13854
13855 * Makefile: Generate gnu/lib-names.h in before-compile.
13856 * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
13857 * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize
13858 to the revision found for LIBNSS_FILES_SO.
13859 (nss_initilized): Removed. It was tested but never set.
13860 (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
13861
13862 * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
13863 not just libc. Except instead of ld.so.1.1 use ld-linux.so.2.
13864
13865 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
13866
13867 1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de>
13868
13869 * elf/Makefile (CFLAGS-dl-load.c): Use += to not
13870 override the definition.
13871
13872 1997-01-28 20:13 Fila Kolodny <fila@ibi.com>
13873
13874 * config.make.in (malloc): Remove.
13875
13876 1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com>
13877
13878 * version.h (VERSION): Bump to 2.0.1.
13879
13880 * posix/getopt.c: Handle another problem introduced by the
13881 nonoption_flags array. We must be able to work with reordered
13882 argv arrays. Reported by Andreas Schwab.
13883
13884 1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com>
13885
13886 * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
13887 stack.
13888
13889 1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
13890
13891 * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
13892 that it works with yp.h.
13893
13894 1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com>
13895
13896 * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
13897 __libc_malloc_initialized so that this variable is not shared with
13898 other users of GNU malloc.
13899 Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
13900
13901 * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/.
13902
13903 * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
13904 variables to prevent warnings.
13905 * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
13906 using attribute regparm.
13907 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
13908 is changed by the resolver code.
13909
13910 1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13911
13912 * malloc/malloc.c (weak_variable): Define.
13913 (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
13914 __memalign_hook): Make them weak definitions.
13915
13916 1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13917
13918 * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
13919 limits, correctly take structure padding into account, use correct
13920 offset when resetting the stream, change heuristic to assume an
13921 average name length of 14 characters.
13922
13923 1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13924
13925 * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
13926 inclusion.
13927
13928
13929 See ChangeLog.6 for earlier changes.