1 1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com>
3 * argp/argp-help.c: Optimize a bit by using mempcpy.
4 * elf/dl-load.c: Likewise.
5 * elf/dl-lookup.c: Likewise.
6 * inet/rcmd.c: Likewise.
8 * libio/fileops.c: Likewise.
9 * libio/genops.c: Likewise.
10 * libio/obprintf.c: Likewise.
11 * nss/nsswitch.c: Likewise.
12 * posix/execvp.c: Likewise.
13 * posix/getopt.c: Likewise.
14 * posix/glob.c: Likewise.
15 * posix/wordexp.c: Likewise.
16 * stdio-common/vfprintf.c: Likewise.
17 * stdlib/canonicalize.c: Likewise.
18 * stdlib/msort.c: Likewise.
19 * string/argz-replace.c: Likewise.
20 * sysdeps/generic/putenv.c: Likewise.
21 * sysdeps/generic/setenv.c: Likewise.
22 * sysdeps/posix/getcwd.c: Likewise.
23 * sysdeps/posix/ttyname.c: Likewise.
24 * sysdeps/posix/writev.c: Likewise.
25 * time/strftime.c: Likewise.
26 * time/tzfile.c: Likewise.
28 * login/utmp_daemon.c: Use memcpy instead of strcpy where possible.
29 * sunrpc/svcauth_des.c: Likewise.
30 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
32 * misc/tsearch.c: Use memcpy return value if possible.
33 * posix/regex.c: Likewise.
34 * sysdeps/unix/readdir_r.c: Likewise.
35 * wcsmbc/wcsdup.c: Likewise.
37 * nss/digits_dots.c: Little optimization.
39 * inet/ruserpass.c (ruserpass): Optimize by using stpcpy.
40 (struct toktab): Make tokstr field a const char *.
42 * elf/dl-profile.c: Fix typo.
44 * inet/ether_ntoh.c: Don't use relative #include path.
45 * inet/gethstbynm.c: Likewise.
46 * resolv/inet_pton.c: Likewise.
47 * shadow/sgetspent_r.c: Likewise.
49 * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write
50 callbacks. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
52 * posix/confstr.c: Correct string for _CS_LFS_CFLAGS.
53 Handle _CS_XBS5_* constants.
54 * posix/unistd.h: Add comment describing _XBS5_* constants.
55 * sysdeps/generic/bits/confname.h: Add _CS_XBS5_* constants.
57 * posix/regex.c: Indent preprocessor code.
59 * posix/wordexp.c: Using _itoa_word instead of sprintf.
61 * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL
62 and "" arguments correctly according to SUS.
63 * stdlib/test-canon.c: Test "" and NULL argument handling.
65 * sysdeps/posix/writev.c: Correct condition to leave the loop.
67 1997-11-05 18:13 Ulrich Drepper <drepper@cygnus.com>
69 * nss/getXXbyYY.c: Set buffer to NULL if realloc fails so that possible
70 next call starts with malloc again.
71 Proposed by Joe Keane <jgk@jgk.org>.
73 1997-11-04 23:57 Ulrich Drepper <drepper@cygnus.com>
75 * configure.in: Correct gcc -pipe test.
76 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
78 * posix/glob.c: Cleanups. Patch by H.J. Lu <hjl@lucon.org>.
80 1997-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
82 * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE
85 1997-11-04 Ulrich Drepper <drepper@cygnus.com>
87 * manual/filesys.texi: Correct description of return value for
89 * sysdeps/unix/readdir_r.c (__readdir_r): Return value of errno
91 * sysdeps/generic/readdir_r.c (__readdir_r): Return ENOSYS not -1.
92 Reported by Jim Meyering <meyering@eng.ascend.com>.
94 1997-11-02 Paul Eggert <eggert@twinsun.com>
96 * strftime.c: Use host's underlying strftime to access
97 locale-specific info. This is useful e.g. when building GNU
98 Emacs under Solaris 2.6.
99 (weekday_name, month_name): Omit if HAVE_STRFTIME.
100 (my_strftime): New macro, which names the strftime function that
101 this source file produces.
102 (strftime): #undef if emacs is defined; this works around Emacs 20.2's
103 method of compiling with -Dstrftime=emacs_strftime.
104 Also, declare as a function returning size_t, for similar reasons.
105 (my_strftime): If HAVE_STRFTIME, use underlying strftime to handle
106 locale-dependent formats like %a and %Ec.
108 1997-11-02 Paul Eggert <eggert@twinsun.com>
110 * strftime.c (memcpy_lowcase, memcpy_uppcase, strftime):
111 Ensure that args to islower and isupper are valid unsigned
112 chars, even if char is signed.
114 1997-11-04 Ulrich Drepper <drepper@cygnus.com>
116 * assert/Makefile (headers): Add assert.h, necessary after patch
118 * ctype/Makefile (headers): Likewise.
119 * pwd/Makefile (headers): Likewise.
120 * grp/Makefile (headers): Likewise.
121 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
123 1997-11-04 03:08 Ulrich Drepper <drepper@cygnus.com>
125 * glibcbug.in: Add information about configured target.
126 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
128 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Be prepared for
129 empty string as `reference_name' parameter.
130 * elf/rtld.c: Don't set real program name in l_name of main object.
132 * manual/creature.texi: Apply Paul Eggert's patch for better
133 _POSIX_C_SOURCE description.
135 * stdlib/strfmon.c: Fix numerous bugs in formatting.
137 * time/strptime.c [%Y]: Treat all years, not only those which fit
139 [%Oy]: Really store value.
140 Patches by Paul Eggert.
142 * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only
145 1997-11-03 02:48 Ulrich Drepper <drepper@cygnus.com>
147 * sysdeps/generic/bits/errno.h: Remove all error definitions. This
148 is only meant as a stub.
150 1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
152 * sysdeps/standalone/bits/errno.h: Copied from
153 sysdeps/generic/bits/errno.h and added all know error codes that
156 1997-11-03 02:23 Ulrich Drepper <drepper@cygnus.com>
158 * sysdeps/generic/make_siglist.c: Add comment to clarify use and
159 make sure the correct _NSIG value is used.
160 Patch by Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>.
162 1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com>
164 * intl/localealias.c (read_alias_file): Correct handling of line
165 reader which sometimes skipped complete lines (PR 205).
166 Optimize a bit by using mempcpy.
168 1997-11-02 16:59 Philipp Thomas <kthomas@gwdg.de>
170 * intl/localealias.c (read_alias_file): Correctly set map[].value
171 instead of overwriting map[].alias
173 1997-11-02 15:32 Ulrich Drepper <drepper@cygnus.com>
175 * libc.map: Add _IO_flockfile and _IO_funlockfile.
176 Suggested by H.J. Lu <hjl@lucon.org>.
178 1997-11-02 15:17 Ulrich Drepper <drepper@cygnus.com>
180 * elf/dl-error.c (_dl_signal_error): Use _strerror_internal instead
182 * assert/assert-perr.c: Use _strerror_internal directly instead of
184 Suggested by Joe Keane <jgk@jgk.org>.
186 1997-11-01 16:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
188 * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it
191 1997-11-01 Paul Eggert <eggert@twinsun.com>
193 * time/strptime.c (strptime_internal): Fix bug: %Oy forgot to
194 assign tm_year. Do not restrict %Y to years less than 2037 even
195 on 32-bit time_t hosts, as strptime returns an int tm_year, not a
196 time_t, and it's possible for programs to use the year without
197 having to use time_t.
199 1997-10-31 23:16 Ulrich Drepper <drepper@cygnus.com>
201 * posix/glob.c (glob): If calling glob_in_dir for a list which was
202 generated by a glob call disable GLOB_ERR since there might be
203 non-directories in the list (PR 203).
205 * posix/glob.h (GLOB_ONLYDIR): New flag.
206 (__GLOB_FLAGS): Add GLOB_ONLYDIR.
207 * posix/glob.c: Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined.
208 (glob): Add GLOB_ONLYDIR to recursive call to match dirname.
209 (glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test
210 whether they are directories if GLOB_ONLYDIR flag is given.
211 * manual/pattern.texi: Document GLOB_ONLYDIR.
213 * misc/Makefile (tests): Add tst-fdset.
215 * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner.
217 * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c.
218 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
220 * time/strptime.c (strptime_internal): In %y format, regard years
221 >= 69 as of twentieth century, all other as of twenty-first.
223 * time/tzset.c: Correct typo and little optimization.
225 1997-10-31 16:01 Ulrich Drepper <drepper@cygnus.com>
227 * inet/getnetgrent.c: Allocate buffer dynamically if needed.
228 Suggested by Joe Keane <jgk@jgk.org>.
230 1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
232 * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when
233 __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true.
235 1997-10-30 05:47 Ulrich Drepper <drepper@cygnus.com>
237 * misc/mntent.c: Don't use statically allocated buffer. Allocate
238 it dynamically if necessary.
239 * misc/efgcvt.c: Likewise.
240 Patch by Joe Keane <jgk@jgk.org>.
242 * misc/mntent.c: Allow freeing of allocated buffer in
244 * misc/efgcvt.c: Likewise.
246 * misc/efgcvt.c: Call correct reentrant functions.
247 Use better values for MAXDIG.
248 * misc/qefgcvt.c: Use better values for MAXDIG.
250 1997-10-29 18:48 Richard Henderson <rth@cygnus.com>
252 * sysdeps/unix/sysv/linux/Makefile [io]: Add xstatconv.
253 * sysdeps/unix/sysv/linux/alpha/xstatconv.c: New file. Convert
254 between kernel_stat and the userland version indicated.
255 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
256 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STAT_VER_KERNEL.
258 * sysdeps/unix/sysv/linux/fxstat.c: Defer to __xstat_conv. Alias
259 to __*xstat64 if requested.
260 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
261 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
263 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Add struct stat64.
264 Increment _STAT_VER, and make struct stat the same.
265 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Add __ino64_t, and
266 __off64_t. Reorganize.
267 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Add struct glibc2_stat
268 for backward compatibility. Define XSTAT_IS_XSTAT64.
270 * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file.
271 * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise.
272 * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise.
274 * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For
275 consistency, force d_ino to use ino_t and supply padding.
277 1997-10-29 18:47 Richard Henderson <rth@cygnus.com>
279 * libio/iofopen.c: Correct weak_alias.
281 1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
283 * Makerules (install): Correct last patch.
285 1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
287 * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299).
289 1997-10-29 21:20 Ulrich Drepper <drepper@cygnus.com>
291 * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write
292 pointers are tied set mode according to current stream mode.
294 * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
296 Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined.
297 * manual/creature.texi: Describe this.
299 * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto,
300 recv, recvfrom, and recvmsg as cancelation points.
301 * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these
304 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
306 * Make-dist (try-sysdeps): Don't look for stub files anymore.
308 * manual/maint.texi (Porting): Remove another reference to stub
311 * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from
313 * sysdeps/unix/sysv/irix4/reboot.c: Likewise.
314 * sysdeps/unix/sysv/irix4/swapon.c: Likewise
316 1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com>
318 * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
319 in all error cases (PR 244).
321 1997-10-29 00:56 Ulrich Drepper <drepper@cygnus.com>
323 * posix/glob.c: Fix handling of expressions like "*/" (PR 325).
324 Optimize by using mempcpy.
326 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
328 * po/Makefile ($(mo-installed)): Don't fail during installation if
329 files don't exist (might happen if msgfmt doesn't exist) (PR 328).
330 Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
332 1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
334 * sysdeps/generic/bits/errno.h (ENOMSG): Define it.
335 Pointed out by Klaus Espenlaub
336 <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259).
338 1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com>
340 * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
341 zero isn't enough to determine illegal arguments.
342 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
343 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
345 1997-10-28 17:14 Ulrich Drepper <drepper@cygnus.com>
347 * manual/filesys.texi (S_ISVTX): Describe that it is available with
349 Reported by Jochen Hein <jochen.hein@delphi.central.de>.
351 1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com>
353 * time/tzfile.c (__tzfile_compute): Use negated value of offset for
355 * time/tzset.c (tz_compute): Likewise.
356 Reported by Erik Troan <ewt@redhat.com>.
358 1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com>
360 * manual/filesys.texi: Correct prototype in readdir_r description.
361 Reported by Jim Meyering <meyering@eng.ascend.com>.
363 1997-10-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
365 * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299).
367 1997-10-26 19:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
369 * stdlib/l64a.c: Produce a useful result for n < 0.
370 * stdlib/a64l.c: Use unsigned type for working variable.
371 * manual/string.texi (general): Grammar, typo, overfull fixes.
372 (strlen): Insert warning about sizeof(char *).
373 (a64l, l64a): Make documentation agree with implementation.
375 1997-10-26 18:12 Ulrich Drepper <drepper@cygnus.com>
377 * libio/genops.c: Partial undo of last patch.
378 * libio/stdfiles.c: Likewise.
379 * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus.
380 * libio/iopopen.c: Likewise.
381 * libio/iovdprintf.c: Likewise.
382 * libio/libio.h: Remove duplicated `;'.
383 * libio/stdio.c: Remove misleading comment.
384 * libio/stdio.h: Declare standard streams as variables.
386 * login/Makefile (distribute): Add README.utmpd.
387 * login/README.utmpd: New file.
388 Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
390 * manual/job.texi: Document tcgetsid.
391 * manual/pattern.texi: Document globfree.
392 * manual/terminal.texi: Document B38400 ... B460800.
394 * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS.
396 * posix/unistd.h: Add explanation of _POSIX_* constants.
398 * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite
400 * sysdeps/generic/pread.c: Define as __pread and make pread weak alias.
401 * sysdeps/generic/pread64.c: Likewise.
402 * sysdeps/generic/pwrite.c: Likewise.
403 * sysdeps/generic/pwrite64.c: Likewise.
404 * sysdeps/posix/pread.c: Likewise.
405 * sysdeps/posix/pwrite.c: Likewise.
406 * sysdeps/posix/pread64.c: New file.
407 * sysdeps/posix/pwrite64.c: Likewise.
408 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines):
409 Add s_pread64 and s_pwrite64.
410 * sysdeps/unix/sysv/linux/pread.c: New file.
411 * sysdeps/unix/sysv/linux/pread64.c: New file.
412 * sysdeps/unix/sysv/linux/pwrite.c: New file.
413 * sysdeps/unix/sysv/linux/pwrite64.c: New file.
414 * sysdeps/unix/sysv/linux/s_pread64.c: New file.
415 * sysdeps/unix/sysv/linux/s_pwrite64.c: New file.
416 * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite.
417 * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file.
418 * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file.
420 * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file.
421 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite
422 with weak aliases for *64 functions.
423 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
425 * string/bits/string2.h: Add casts to allow void * arguments.
427 * sysdeps/i386/i486/bits/string.h: Define index and rindex only if
428 __USE_BSD or __USE_XOPEN_EXTENDED.
430 * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other
431 SCM_* constants from kernel header.
433 * termios/termios.h: Add prototype for tcgetsid.
435 1997-10-26 13:26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
437 * sunrpc/clnt_perr.c: Add trailing '\0' to strings.
439 * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes.
441 * sunrpc/pmap_clnt.c: Use get_myaddress from header file.
443 1997-10-26 05:26 Ulrich Drepper <drepper@cygnus.com>
445 * configure.in: Punt if any directory mentioned in the
446 enable-add-on parameter does not exist.
448 1997-10-25 19:25 Ulrich Drepper <drepper@cygnus.com>
450 * termios/Makefile (routines): Add tcgetsid.
451 * termios/tcgetsid.c: New file.
452 Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
454 1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com>
456 * stdlib/stdlib.h: Remove mblen optimization.
457 * stdlib/mblen.c: Rewrite to make sure global state is not changed.
458 Reported by anderson@metrolink.com.
460 1997-10-19 21:51 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
462 * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get}
463 interface for thread-specific data.
465 1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com>
467 * elf/dl-addr.c: Use braces for correct logical grouping.
468 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
470 1997-10-18 09:15 Geoff Keating <geoffk@ozemail.com.au>
472 * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more
473 convenient; that caused this test to break.
475 * sysdeps/powerpc/dl-machine.h: Fix typo.
477 * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers
478 when -msoft-float is in effect, because this causes compilation to
480 * sysdeps/powerpc/bits/mathinlines.h: Likewise.
482 * rpm/template: Add description, use RPM flags rather than the ones
483 used to build the spec. Build in a temporary directory, not /.
485 * elf/dl-lookup.c: Don't include _itoa.h, it's not used.
486 * elf/dl-minimal.c: Use _itoa_word rather than _itoa. It seems that
487 _itoa is the only routine that ld.so uses that requires something
488 from libgcc.a on powerpc, so it would be best to avoid it in ld.so.
489 * elf/rtld.c: Likewise.
490 * sysdeps/generic/_strerror.c: Likewise.
491 * stdio-common/_itoa.c: Split out digits strings.
492 * stdio-common/itoa-digits.c: New file.
493 * stdio-common/Makefile: Add itoa-digits.
495 1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
497 * manual/filesys.texi (Scanning Directory Content): Document error
500 * dirent/scandir.c (scandir): Ignore errors from select function.
501 Suggested by urbanw@cs.umu.se (closes PR libc/316).
503 1997-10-25 06:18 Ulrich Drepper <drepper@cygnus.com>
505 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections.
506 Patch by Erik Troan <ewt@redhat.com>.
508 1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com>
510 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
511 matching of version function if both the general (1) and
512 glibc-specific (3) entry are present.
514 1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
516 * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
518 * nis/libnsl.map: Fix typo.
520 * nis/nis_call.c: Fix memory leak.
522 1997-10-22 19:29 Ulrich Drepper <drepper@cygnus.com>
524 * sysdeps/generic/memcmp.c: Define __P if not defined before.
525 Patch by Jim Meyering <meyering@eng.ascend.com>.
527 1997-10-21 22:09 Ulrich Drepper <drepper@cygnus.com>
529 * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch
530 <rgooch@atnf.csiro.au>.
532 1997-10-21 21:50 Ulrich Drepper <drepper@cygnus.com>
534 * misc/syslog.c (vsyslog): Open console with O_NOCTTY.
535 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
537 1997-10-21 18:07 Ulrich Drepper <drepper@cygnus.com>
539 * posix/wordexp.c: Improve handling of $... expressions.
540 Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
542 1997-10-21 16:12 Ulrich Drepper <drepper@cygnus.com>
544 * manual/string.texi: Correct return values of bcopy and bzero.
545 Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>.
547 1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com>
549 * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
550 elements in struct msghdr and struct cmsghdr, to keep in step with
553 1997-10-17 22:29 Ulrich Drepper <drepper@cygnus.com>
555 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another
557 Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
559 1997-10-16 20:17 Richard Henderson <rth@cygnus.com>
561 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the
562 stack and give the kernel a pointer. Use the sysdep.h macros.
564 1997-10-17 04:07 Ulrich Drepper <drepper@cygnus.com>
566 * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly.
567 Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
569 1997-10-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
571 * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo.
573 1997-10-16 14:50 Ulrich Drepper <drepper@cygnus.com>
575 * manual/pattern.texi: Document globfree.
577 1997-10-15 21:11 Philip Blundell <Philip.Blundell@pobox.com>
579 * sysdeps/unix/sysv/linux/net/if_packet.h: New file.
580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
583 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for
585 (ARPHRD_ETHER): This is used for 100Mbps networks too.
587 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
589 * Makerules (install): Use full pathnames for linker script.
590 This is to work around a limitation in `ld' while no better solution
593 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
595 * malloc/malloc.c (mmap_chunk): Put inline before static in
596 function definition to avoid compiler warning.
597 (malloc_extend): Likewise.
599 * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning.
601 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
603 * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org.
604 * README.template: Likewise.
605 * db/makedb.c: Likewise.
606 * elf/ldd.bash.in: Likewise.
607 * elf/ldd.sh.in: Likewise.
608 * intl/locale.alias: Likewise.
609 * login/programs/utmpd.c: Likewise.
610 * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list.
612 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
614 * Rules: Remove all empty.* files.
615 (shared-only-routines): Correct implementation.
617 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
619 * sysdeps/libm-ieee754/s_lrintl.c: Make compilable.
620 * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized.
622 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
624 * elf/ldd.bash.in: Only prepend ./ if the file contains no slash
626 * elf/ldd.sh.in: Likewise.
628 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
630 * sysdeps/m68k/sys/ucontext.h: New file.
632 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
634 * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file.
635 * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file.
636 * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file.
638 * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias.
639 * sysdeps/m68k/fpu/s_scalbnf.c: Adapted.
640 * sysdeps/m68k/fpu/s_scalbnl.c: Adapted.
642 * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff.
643 * sysdeps/m68k/fpu/s_lrintf.c: New file.
644 * sysdeps/m68k/fpu/s_lrintl.c: New file.
646 * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update
648 (__m81_inline) [__cplusplus]: Define to __inline.
650 * math/bits/mathcalls.h: Remove whitespace before second argument
651 of __MATHDECL. Add note explaining this.
653 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
655 * manual/arith.texi (Absolute Value): Spelling fix.
657 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
659 * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly
660 parenthesize the macro parameter.
662 1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com>
664 * Rules: Remove rules to magically install <subdir>.h headers.
665 Reported by Mark Kettenis <kettenis@phys.uva.nl>.
667 * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
668 * version.c: Likewise.
669 * catgets/gencat.c: Likewise.
670 * db2/makedb.c: Likewise.
671 * locale/programs/locale.c: Likewise.
672 * locale/programs/localedef.c: Likewise.
674 * libc.map: Move _IO_list_all back to GLIBC_2.0.
676 * elf/rtld.c: Provide name of running program to _dl_new_object.
678 * Rules: Implement shared-only-sources.
679 * include/libc-symbols.h: Define default_symbol_version.
680 * libio/Makefile (shared-only-sources): Define.
681 * libio/freopen.c: Define as default version.
682 * libio/iofopen.c: Likewise.
683 * libio/genops.c: Define _IO_list_all here.
684 * libio/stdfiles.c: Create linked list with public names.
685 * libio/oldstdfiles.c: Likewise.
687 * stdio-common/printf.c: Optimize.
688 * stdio-common/scanf.c: Optimize.
690 * sysdeps/generic/setfpucw.c: Include #include <...> not "...".
692 * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
695 1997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
697 * manual/arith.texi: Spelling fixes.
698 * manual/conf.texi: Likewise.
699 * manual/creature.texi: Likewise.
700 * manual/filesys.texi: Likewise.
701 * manual/intro.texi: Likewise.
702 * manual/llio.texi: Likewise.
703 * manual/math.texi: Likewise.
704 * manual/message.texi: Likewise.
705 * manual/pattern.texi: Likewise.
706 * manual/search.texi: Likewise.
707 * manual/signal.texi: Likewise.
708 * manual/socket.texi: Likewise.
709 * manual/startup.texi: Likewise.
710 * manual/stdio.texi: Likewise.
711 * manual/string.texi: Likewise.
712 * manual/time.texi: Likewise.
713 * manual/users.texi: Likewise.
715 1997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com>
717 * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
718 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
719 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
720 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
721 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
722 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
723 * sysdeps/mach/hurd/mmap.c: Likewise.
724 * sysdeps/generic/mmap.c: Likewise.
725 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
726 * sysdeps/mach/munmap.c: Likewise.
727 * sysdeps/generic/munmap.c: Likewise.
728 * sysdeps/mach/mprotect.c: Likewise.
729 * sysdeps/generic/mprotect.c: Likewise.
730 * sysdeps/generic/msync.c: Likewise.
731 * sysdeps/generic/madvise.c: Likewise.
733 * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
736 1997-10-12 20:27 Zack Weinberg <zack@rabi.phys.columbia.edu>
738 * sysdeps/stub (all files): Moved to sysdeps/generic.
739 * all files using stub_warning: Include <stub-tag.h>.
740 * include/stub-tag.h: New file, marks stubs in .d files.
741 * Makerules: Look for stub-tag.h, not sysdeps/stub, when building
743 * configure.in: Don't add sysdeps/stub to $sysnames.
744 * sysdeps/unix/Makefile: Look for generic headers, not stub
746 * sysdeps/generic/Makefile: Likewise.
747 * manual/maint.texi: Delete references to sysdeps/stub.
749 * configure: Rebuilt.
751 1997-10-13 03:14 Ulrich Drepper <drepper@cygnus.com>
753 * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
754 _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version.
755 * include/libc-symbol.h: Define define_symbol.
756 * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and
758 [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles.
759 * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field.
760 * libio/freopen.c: Use versioning.
761 * libio/iofopen.c: Likewise. Generate object of type
763 * libio/iofopen64.c: Generate object of type _IO_FILE_complete.
764 * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen.
765 Define _IO_old_freopen.
766 * libio/libio.h: Remove _offset field from _IO_FILE. Rename _unused2
767 field to _old_offset. Declare _IO_std*_ streams as of type
769 * libio/libioP.h: Define _IO_FILE_complete.
770 Declare callbacks for old fileops implementation.
771 * libio/stdfile.c: Define standard stream of type _IO_FILE_complete.
772 * libio/stdio.c: Correctly address FILE part of standard streams.
773 * libio/oldfileops.c: New file.
774 * libio/oldfreopen.c: New file.
775 * libio/oldiofopen.c: New file.
776 * libio/oldstdfiles.c: New file.
778 * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization.
780 * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section.
781 * sysdeps/libm-i387/e_scalbl.S: Likewise.
782 * sysdeps/libm-i387/s_fma.S: Fix typo.
783 * sysdeps/libm-i387/s_fmaf.S: Likewise.
784 * sysdeps/libm-i387/s_fmal.S: Likewise.
786 1997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu>
788 * sysdeps/stub/getsid.c: Add a stub_warning.
789 * sysdeps/stub/mmap.c: Likewise.
790 * sysdeps/stub/munmap.c: Likewise.
792 1997-10-12 05:09 Ulrich Drepper <drepper@cygnus.com>
794 * libio/Makefile (routines): Remove iofprintf.
795 * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
796 * libio/filedoalloc.c: Use _G_stat64 instead of stat.
797 * libio/fileops.c (_IO_file_open): Change to take extra argument
798 indicating whether 32 or 64 bit mode is wanted.
799 * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
800 * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
801 * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
802 * libio/iofgetpos.c: Pretty print.
803 * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
805 * manual/conf.texi: Document all the _SC_ and _CS_ constants.
806 * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
807 and _FILE_OFFSET_BITS.
808 * manual/llio.texi: Document truncate and ftruncate.
809 * manual/stdio.texi: Document positional parameters for printf.
811 * math/Makefile (headers): Add tgmath.h.
812 (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
814 (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma.
815 * math/libm-test.c (lround_test, llround_test): Test for all FP formats
817 * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
818 nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
819 llrintl, lroundf, lroundl, llroundf, and llroundl.
820 * math/math.h: Document new platform specific macros from mathdef.h.
821 Remove declaration of lrint, llrint, lround, and llround.
822 * math/test-double.c: Define TEST_DOUBLE.
823 * math/test-idouble.c: Likewise.
824 * math/test-float.c: Define TEST_FLOAT.
825 * math/test-ifloat.c: Likewise.
826 * math/tgmath.h: New file.
827 * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
829 Change second argument of scalbn to `int'.
830 * sysdeps/libm-ieee754/s_fma.c: New file.
831 * sysdeps/libm-ieee754/s_fmaf.c: New file.
832 * sysdeps/libm-ieee754/s_fmal.c: New file.
833 * sysdeps/libm-i387/s_fma.S: New file.
834 * sysdeps/libm-i387/s_fmaf.S: New file.
835 * sysdeps/libm-i387/s_fmal.S: New file.
836 * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
837 * sysdeps/libm-i387/s_lrint.S: Likewise.
838 * sysdeps/libm-i387/s_llrintf.S: New file.
839 * sysdeps/libm-i387/s_llrintl.S: New file.
840 * sysdeps/libm-i387/s_lrintf.S: New file.
841 * sysdeps/libm-i387/s_lrintl.S: New file.
842 * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
844 * sysdeps/libm-ieee754/s_lrint.c: Likewise.
845 * sysdeps/libm-ieee754/s_llrintf.c: New file.
846 * sysdeps/libm-ieee754/s_llrintl.c: New file.
847 * sysdeps/libm-ieee754/s_lrintf.c: New file.
848 * sysdeps/libm-ieee754/s_lrintl.c: New file.
849 * sysdeps/libm-i387/s_scalbln.c: New file. Empty file.
850 * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file.
851 * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file.
852 * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
853 * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
854 * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
855 * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
857 * sysdeps/libm-ieee754/s_lround.c: Likewise.
858 * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
859 * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
860 * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
861 * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
862 * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
863 * sysdeps/libm-ieee754/s_nextafterx.c: New file.
864 * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
865 * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
866 * sysdeps/libm-ieee754/s_scalbln.c: New file.
867 * sysdeps/libm-ieee754/s_scalblnf.c: New file.
868 * sysdeps/libm-ieee754/s_scalblnl.c: New file.
869 * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
870 * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
871 * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
873 * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
874 by #ifdefs since they are duplicated in inttypes.h.
875 * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
876 strtoumax plus needed declarations.
878 * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
880 1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
882 * locale/programs/locfile.c (locfile_read): Correct while loop.
884 * db2/makedb.c (main): Add missing parameter for error output.
885 (process_input): Likewise.
887 * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
889 1997-10-12 05:05 Ulrich Drepper <drepper@cygnus.com>
891 * libc-map: Add __bzero, __mempcpy.
893 1997-10-10 18:51 David S. Miller <davem@tanya.rutgers.edu>
895 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
898 1997-10-09 10:24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
900 Add the changes from the Solaris 2.6 header files, use the new public
902 * nis/nis_addmember.c: Updated.
903 * nis/nis_checkpoint.c: Updated.
904 * nis/nis_creategroup.c: updated.
905 * nis/nis_destroygroup.c: Updated.
906 * nis/nis_getservlist.c: Updated.
907 * nis/nis_ismember.c: Updated.
908 * nis/nis_lookup.c: Updated.
909 * nis/nis_modify.c: Updated.
910 * nis/nis_ping.c: Updated.
911 * nis/nis_print.c: Updated.
912 * nis/nis_print_group_entry.c: Updated.
913 * nis/nis_remove.c: Updated.
914 * nis/nis_removemember.c: Updated.
915 * nis/nis_xdr.c: Updated.
916 * nis/nss_nisplus/nisplus-alias.c: Updated.
917 * nis/nss_nisplus/nisplus-ethers.c: Updated.
918 * nis/nss_nisplus/nisplus-hosts.c: Updated.
919 * nis/nss_nisplus/nisplus-network.c: Updated.
920 * nis/nss_nisplus/nisplus-parser.c: Updated.
921 * nis/nss_nisplus/nisplus-proto.c: Updated.
922 * nis/nss_nisplus/nisplus-rpc.c: Updated.
923 * nis/nss_nisplus/nisplus-service.c: Updated.
924 * nis/rpcsvc/nis.h: Updated.
925 * nis/rpcsvc/nis.x: Updated.
926 * nis/rpcsvc/nis_object.x: Updated.
927 * nis/rpcsvc/nis_tags.h: Updated.
928 * nis/rpcsvc/nislib.h: Updated.
930 * nis/lckcache.c: Removed, since Sun has dropped the directory
931 signatures. The old cache version is now a security risk and not
932 longer supported by Sun.
933 * nis/nis_cache.c: Likewise.
934 * nis/rpcsvc/nis_cache.h: Likewise.
935 * nis/rpcsvc/nis_cache.x: Likewise.
937 * nis/nis_call.c: Remove calls to the cache functions.
939 * nis/libnsl.map: Remove cache and depending functions.
940 * nis/nis_intern.h: Likewise.
942 * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
943 * nis/nis_domain_of.c: Likewise.
944 * nis/nis_domain_of_r.c: Likewise.
945 * nis/nis_error.c: Likewise.
946 * nis/nis_file.c: Likewise.
947 * nis/nis_local_names.c: Likewise.
948 * nis/nis_mkdir.c: Likewise.
949 * nis/nis_rmdir.c: Likewise.
950 * nis/nis_subr.c: Likewise.
951 * nis/nis_verifygroup.c: Likewise.
953 * nis/nis_clone.c: Removed, replaced by ...
954 * nis/nis_clone_dir.c: New.
955 * nis/nis_clone_obj.c: New.
956 * nis/nis_clone_res.c: New.
957 * nis/nis_table.c: Fixed bugs shown through the new clone functions.
959 * nis/nis_defaults.c: Fixed a lot of race conditions.
961 * nis/nis_free.c: Rewritten.
963 * sunrpc/auth_des.c: Fix use of free'ed pointer.
965 * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
966 lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
968 1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
970 * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
972 1997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
974 * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
977 1997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com>
979 * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
980 * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
981 struct and not a pointer. Little optimizations.
983 1997-10-09 05:00 Ulrich Drepper <drepper@cygnus.com>
985 * sysdeps/stub/getenv.c: Remove unused file.
986 * sysdeps/stub/lxstat.c: Likewise.
987 * sysdeps/stub/morecore.c: Likewise.
988 * sysdeps/stub/putenv.c: Likewise.
989 * sysdeps/stub/sbrk.c: Likewise.
990 * sysdeps/stub/setenv.c: Likewise.
991 * sysdeps/stub/sysd-stdio.c: Likewise.
992 * sysdeps/stub/sysdep.h: Likewise.
993 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
995 1997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com>
997 * configure.in: Add __bzero definition to DWARF2 unwind test.
998 Reported by David S. Miller <davem@caip.rutgers.edu>.
1000 1997-10-07 Paul Eggert <eggert@twinsun.com>
1002 * intl/loadmsgcat.c (_nl_load_domain):
1003 Fix &&/|| typo when checking file size.
1004 Check for overflow when stuffing off_t into size_t.
1006 1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com>
1008 * time/africa: Update from tzdata1997i.
1010 1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1012 * posix/globtest.sh: Add arguments for name of dynamic linker and
1013 call dynamic linker to execute globtest.
1015 * posix/Makefile (tests): Supply arguments to globtest.sh.
1017 1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1019 * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
1021 1997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1023 * libc.map: Add mempcpy, prctl.
1025 1997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1027 * sysdeps/generic/memcmp.c: Avoid warnings.
1028 * sysdeps/generic/memset.c: Likewise.
1029 * sysdeps/generic/strchr.c: Likewise.
1030 * sysdeps/generic/strlen.c: Likewise.
1032 1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1034 * malloc/Makefile ($(objpfx)mtrace): Fix typo.
1036 1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1038 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
1039 The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
1040 the addend, Richard.
1041 (elf_machine_fixup_plt): Don't add the addend.
1042 (elf_machine_plt_value): New function.
1044 * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
1046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
1048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
1050 * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
1052 * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
1055 * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
1056 addend, instead let the machine dependent setup decide.
1058 1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1060 * sysdeps/m68k/m68020/bits/string.h: New file.
1062 1997-10-07 04:27 Richard Henderson <rth@cygnus.com>
1064 * Makeconfig (+includes): Add -I$(objpfx).
1066 * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
1068 * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp. Make
1069 the former a strong symbol and the later a weak alias.
1070 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1073 1997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu>
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
1078 member 64-bits as well, to match the kernel.
1080 1997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com>
1082 * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
1083 Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1085 1997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
1087 * time/README: Correct list of files from tzcode package. Add
1088 contact information for tzcode/tzdata maintainers. Correct
1089 spelling of author's name. Compact lists.
1091 1997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com>
1093 * malloc/malloc.h: Remove hook definition without caller argument.
1094 * malloc/malloc.c: Likewise.
1096 * string/tester.c: Correct strsep test.
1098 * string/bits/string2.h: Define __string2_1bptr_p and use it.
1099 Patch by David S. Miller <davem@tanya.rutgers.edu>.
1101 * math/Makefile (routines): Add s_clog10.
1102 * math/libm-test.c: Add test for clog10.
1103 * math/libm.map: Add clog10{,f,l}.
1104 * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
1105 * sysdeps/libm-ieee754/s_clog10.c: New file.
1106 * sysdeps/libm-ieee754/s_clog10f.c: New file.
1107 * sysdeps/libm-ieee754/s_clog10l.c: New file.
1108 * manual/math.texi: Describe clog10.
1110 * config.h.in: Add USE_REGPARMS and define internal_function based on
1112 * configure.in: Define USE_REGPARMS for ix86 machines.
1113 * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
1114 as internal functions.
1115 * inet/getnameinfo.c: Likewise for nrl_domainname.
1116 * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
1117 * inet/rcmd.c: Likewise for __icheckhost.
1118 * intl/dcgettext.c: Likewise for category_to_name and
1119 guess_category_value.
1120 * intl/localealias.c: Likewise for read_alias_file.
1121 * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
1122 fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
1123 * libio/genops.c: Likewise for save_for_backup.
1124 * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
1125 main_trim, heap_trim): Likewise.
1126 * malloc/mtrace.c (tr_where): Likewise.
1127 * misc/fstab.c (mnt2fs): Likewise.
1128 * misc/getttyent.c (skip, value): Likewise.
1129 * misc/syslog.c (openlog_internal): Likewise.
1130 * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
1131 * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
1132 nss_parse_service_list, nss_new_service): Likewise.
1133 * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
1134 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1135 * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
1136 * resolv/res_init.c (res_setoptions): Likewise.
1137 * stdio-common/printf_fp.c (group_number): Likewise.
1138 * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
1139 * stdlib/fmtmsg.c (internal_addseverity): Likewise.
1140 * sunrpc/auth_des.c (synchronize): Likewise.
1141 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1142 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1143 * sunrpc/key_call.c (key_call): Likewise.
1144 * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
1145 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1146 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
1148 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
1149 set_input_fragment, get_input_bytes): Likewise.
1150 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
1151 phys_pages_info): Likewise.
1152 * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
1153 * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
1154 * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
1156 * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
1158 * time/strptime.c (strptime_internal): Likewise.
1159 * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
1160 * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
1162 * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
1164 * ctype/ctype.h: Pretty print.
1165 * grp/grp.h: Likewise.
1166 * include/libc-symbols.h: Likewise.
1167 * include/limits.h: Likewise.
1168 * include/values.h: Likewise.
1169 * io/fcntl.h: Likewise.
1170 * io/sys/stat.h: Likewise.
1171 * libio/stdio.h: Likewise.
1172 * malloc/malloc.h: Likewise.
1173 * misc/err.h: Likewise.
1174 * misc/regexp.h: Likewise.
1175 * misc/sys/cdefs.h: Likewise.
1176 * misc/sys/file.h: Likewise.
1177 * posix/sys/utsname.h: Likewise.
1178 * posix/sys/wait.h: Likewise.
1179 * pwd/pwd.h: Likewise.
1180 * resolv/netdb.h: Likewise.
1181 * signal/signal.h: Likewise.
1182 * stdlib/stdlib.h: Likewise.
1183 * string/endian.h: Likewise.
1184 * string/memory.h: Likewise.
1185 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1186 * sysdeps/mach/hurd/sys/param.h: Likewise.
1187 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
1188 * termios/termios.h: Likewise.
1189 * wcsmbs/wchar.h: Likewise.
1190 * wctype/wctype.h: Likewise.
1192 * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
1194 Implement Large File Support API.
1195 * include/features.h: Add suuport for _LARGEFILE_SOURCE,
1196 _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
1197 * libc.map: Add new functions for LFS.
1198 * dirent/Makefile (routines): Add readdir64 and readdir64_r.
1199 * dirent/dirent.h: Update readdir prototype for LFS and add new
1200 prototypes for above functions.
1201 * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
1202 statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
1203 * io/creat64.c: New file.
1204 * io/fstat64.c: New file.
1205 * io/lstat64.c: New file.
1206 * io/stat64.c: New file.
1207 * io/ftw64.c: New file.
1208 * io/ftw.c: Rewrite to allow easy definition of ftw64.
1209 * io/ftw.h: Add LFS interface.
1210 * io/fcntl.h: Likewise.
1211 * io/sys/stat.h: Likewise.
1212 * io/sys/statfs.h: Likewise.
1213 * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
1214 freopen64, fseeko64, and ftello64.
1215 * libcio/fseeko64.c: New file.
1216 * libio/ftello64.c: New file.
1217 * libio/iofgetpos64.c: New file.
1218 * libio/iofopen64.c: New file.
1219 * libio/iofsetpos64.c: New file.
1220 * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
1221 (_IO_file_attach): Likewise.
1222 (_IO_do_write): Likewise.
1223 (_IO_file_sync): Likewise.
1224 (_IO_file_seek): Likewise.
1225 (_IO_file_seekoff): Likewise. Use _G_stat64.
1226 (_IO_file_fopen64): New function.
1227 (_IO_file_jumps): Initialize showmanyc and imbue.
1228 * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
1229 (_IO_default_seekoff): Likewise.
1230 (_IO_default_seek): Likewise.
1231 (_IO_default_showmanyc, _IO_default_imbue): New functions.
1232 * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
1233 * libio/iolibio.h: Add prototypes for LFS functions.
1234 * libio/ioseekoff.c: Change to use _IO_fpos64_t.
1235 * libio/ioseekpos.c: Likewise.
1236 * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
1237 (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
1238 (_IO_seekoff, _IO_seekpos): Change prototype.
1239 * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
1241 Change prototypes for function from the *ops.c files.
1242 * libio/stdio.h: Add LFS interface definition.
1243 * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
1244 * posix/Makefile (routines): Add pread64 and pwrite64.
1245 * posix/confstr.c: Handle _CS_LFS* requests.
1246 * posix/getconf.c: Handle LFS* requests.
1247 * sysdeps/generic/confname.h: Add _CS_LFS* constants.
1248 * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
1249 Define off_t and off64_t appropriately. Change prototypes of
1251 * posix/sys/types.h: Add LFS types.
1252 * resources/Makefile (routines): Add getrlimit64 and setlimit64.
1253 * resource/sys/resource.h: Change prototypes of LFS functions.
1254 * stdio-common/Makefile (routines): Add tmpfile64.
1255 * stdio-common/tmpfile64.c: New file.
1256 * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
1257 Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
1258 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1259 * sysdeps/generic/bits/resource.h: Add LFS definitions.
1260 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
1261 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1262 * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
1263 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
1264 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1265 * sysdeps/generic/types.h: Define LFS types.
1266 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1267 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1268 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1269 * sysdeps/generic/sys/mman.h: Add LFS definitions.
1270 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1271 * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
1272 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1273 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
1274 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1275 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1276 * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
1277 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1278 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1279 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1280 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1281 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1282 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1283 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1284 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1285 * sysdeps/posix/open64.c: New file.
1286 * sysdeps/stub/fstatfs64.c: New file.
1287 * sysdeps/stub/fxstat64.c: New file.
1288 * sysdeps/stub/getrlimit64.c: New file.
1289 * sysdeps/stub/lseek64.c: New file.
1290 * sysdeps/stub/lxstat64.c: New file.
1291 * sysdeps/stub/open64.c: New file.
1292 * sysdeps/stub/pread64.c: New file.
1293 * sysdeps/stub/pwrite64.c: New file.
1294 * sysdeps/stub/readdir64.c: New file.
1295 * sysdeps/stub/readdir64_r.c: New file.
1296 * sysdeps/stub/setrlimit64.c: New file.
1297 * sysdeps/stub/statfs64.c: New file.
1298 * sysdeps/stub/xstat64.c: New file.
1299 * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
1300 llseek and lseek64 weak aliases.
1301 * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty.
1302 * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
1303 * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
1305 * sysdeps/posix/tempname.c: Add extra argument to trigger use of
1307 * sysdeps/stub/tempname.c: Likewise.
1308 * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
1310 * stdio-common/tmpfile.c: Likewise.
1311 * stdio-common/tmpnam.c: Likewise.
1312 * stdio-common/tmpnam_r.c: Likewise.
1314 * libio/libioP.h: Add definition ofr showmanyc and imbue callbacks.
1315 * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
1316 * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
1317 * libio/iopopen.c (_IO_proc_jumps): Likewise.
1318 * libio/memstream.c (_IO_mem_jumps): Likewise.
1319 * libio/obprintf.c (_IO_obstack_jumps): Likewise.
1320 * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
1321 * libio/strops.c (_IO_str_jumps): Likewise.
1323 * manual/arith.texi: Add a few words why cabs should be used.
1324 * manual/llio.texi: Describe sync, fsync, fdatasync.
1325 Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
1326 * manual/process.texi: Tell about cleanup handlers & system,waitpid,
1328 * manual/signal.texi: Likewise for pause.
1329 * manual/terminal.texi: Likewise for tcdrain.
1330 * manual/time.texi: Document nanosleep.
1332 * posix/exevp.c: Don't use nested function.
1334 * stdlib/ucontext.h: New file.
1335 * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions.
1337 * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
1339 * sysdeps/i386/setjmp.h: Make `here` label local.
1341 * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
1343 * sysdeps/stub/fstatfs.c: Correct warning.
1344 * sysdeps/stub/fxstat.c: Likewise.
1345 * sysdeps/stub/lxstat.c: Likewise.
1347 * sysdeps/unix/sysv/i386/i686/time.S: New file.
1349 1997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com>
1351 * malloc/obstack.h (obstack_empty_p): New macro.
1353 1997-10-04 17:41 Philip Blundell <Philip.Blundell@pobox.com>
1355 * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
1357 1997-09-30 Zack Weinberg <zack@rabi.phys.columbia.edu>
1359 * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
1360 Document new --with-binutils switch; delete reference to
1361 --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
1362 Add to description of --without-fp: a kernel FPU emulator
1363 is adequate (from FAQ)
1364 * INSTALL: Regenerated.
1366 1997-09-30 17:29 Richard Henderson <rth@cygnus.com>
1368 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
1369 _dl_hwcap declaration to ...
1370 (elf_machine_fixup_plt): ... here.
1372 1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
1374 * Makerules: Undo last change.
1375 * csu/Makefile: Define before-compile at the right place.
1377 * aclocal.m4: Remove a.out file created by assembler test.
1379 * set-init.c: Find set-hooks.h using <...>.
1381 Update to db 2.3.10.
1382 * db2/Makefile: Update.
1383 * db2/db.h: Likewise.
1384 * db2/db_185.h: Likewise.
1385 * db2/db_int.h: Likewise.
1386 * db2/btree/bt_close.c: Likewise.
1387 * db2/btree/bt_conv.c: Likewise.
1388 * db2/btree/bt_cursor.c: Likewise.
1389 * db2/btree/bt_put.c: Likewise.
1390 * db2/btree/bt_rec.c: Likewise.
1391 * db2/btree/bt_recno.c: Likewise.
1392 * db2/btree/btree.src: Likewise.
1393 * db2/btree/btree_auto.c: Likewise.
1394 * db2/clib/getlong.c: Likewise.
1395 * db2/db/db.c: Likewise.
1396 * db2/db/db_auto.c: Likewise.
1397 * db2/db/db_conv.c: Likewise.
1398 * db2/db/db_pr.c: Likewise.
1399 * db2/db/db_ret.c: Likewise.
1400 * db2/db/db_thread.c: Likewise.
1401 * db2/hash/hash.c: Likewise.
1402 * db2/hash/hash_auto.c: Likewise.
1403 * db2/hash/hash_conv.c: Likewise.
1404 * db2/hash/hash_dup.c: Likewise.
1405 * db2/hash/hash_func.c: Likewise.
1406 * db2/hash/hash_page.c: Likewise.
1407 * db2/hash/hash_rec.c: Likewise.
1408 * db2/include/btree.h: Likewise.
1409 * db2/include/btree_ext.h: Likewise.
1410 * db2/include/db.h.src: Likewise.
1411 * db2/include/db_185.h.src: Likewise.
1412 * db2/include/db_cxx.h: Likewise.
1413 * db2/include/db_ext.h: Likewise.
1414 * db2/include/db_int.h.src: Likewise.
1415 * db2/include/db_page.h: Likewise.
1416 * db2/include/db_shash.h: Likewise.
1417 * db2/include/lock.h: Likewise.
1418 * db2/include/log.h: Likewise.
1419 * db2/include/log_ext.h: Likewise.
1420 * db2/include/mp.h: Likewise.
1421 * db2/include/shqueue.h: Likewise.
1422 * db2/include/txn.h: Likewise.
1423 * db2/lock/lock.c: Likewise.
1424 * db2/lock/lock_deadlock.c: Likewise.
1425 * db2/log/log.c: Likewise.
1426 * db2/log/log_archive.c: Likewise.
1427 * db2/log/log_auto.c: Likewise.
1428 * db2/log/log_get.c: Likewise.
1429 * db2/log/log_put.c: Likewise.
1430 * db2/log/log_register.c: Likewise.
1431 * db2/mp/mp_bh.c: Likewise.
1432 * db2/mp/mp_fget.c: Likewise.
1433 * db2/mp/mp_fopen.c: Likewise.
1434 * db2/mp/mp_fput.c: Likewise.
1435 * db2/mp/mp_fset.c: Likewise.
1436 * db2/mp/mp_open.c: Likewise.
1437 * db2/mutex/mutex.c: Likewise.
1438 * db2/os/db_os_dir.c: Likewise.
1439 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1440 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1441 * db2/progs/db_dump185/db_dump185.c: Likewise.
1442 * db2/progs/db_load/db_load.c: Likewise.
1443 * db2/progs/db_recover/db_recover.c: Likewise.
1444 * db2/txn/txn.c: Likewise.
1445 * db2/txn/txn_auto.c: Likewise.
1447 * elf/link.h: Define struct libname_list outside struct link_map
1448 to not confuse C++ compilers.
1450 * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
1452 * manual/creature.texi: Explain this.
1454 * libc.map: Add new functions.
1456 * libio/Makefile (routines): Add fseeko and ftello.
1457 * libio/ftello.c: New file.
1458 * libio/fseeko.c: New file.
1459 * libio/stdio.h: Add prototypes for new functions.
1460 * manual/stdio.texi: Document fseeko and ftello.
1462 * posix/Makefile (routines): Add pread and pwrite.
1463 * sysdeps/posix/pread.c: New file.
1464 * sysdeps/posix/pwrite.c: New file.
1465 * sysdeps/stub/pread.c: New file.
1466 * sysdeps/stub/pwrite.c: New file.
1467 * posix/unistd.h: Add prototypes for pread and pwrite.
1468 Pretty print header.
1469 Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
1470 Declare ctermid and cuserid if __USE_UNIX98.
1471 (swab): Change to take void * arguments.
1472 * string/swab.c: Change parameter to void *.
1473 * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
1475 * manual/llio.texi: Document pread and pwrite.
1477 * string/strings.h: Don't simply include string.h. Define BSD
1478 functions according to Unix98.
1479 * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
1480 * sunrpc/clnt_simp.c: Likewise.
1482 * malloc/Makefile (aux): Add set-freeres.
1483 * malloc/mtrace.c: Define function release_libc_mem which calls the
1484 __libc_subfreeres handler.
1485 (mtrace): Register release_libc_mem.
1486 * malloc/set-freeres.c: New file.
1488 * intl/dcgettext.c: Define free_mem function and add to
1489 __libc_subfreeres list.
1490 * intl/finddomain.c: Likewise.
1491 * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
1492 and mmap_size. Add prototype for _nl_unloaded_domain.
1493 * intl/loadmsgcat.c: Define new function _nl_unload_domain.
1494 (_nl_load_domain): Store informaiton about mmap use and file size.
1495 * intl/localealias.c (read_alias_file): Optimize locale alias file
1496 reading by avoid frequen mallocs.
1497 Define free_mem function and add to __libc_subfreeres list.
1499 * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
1501 Add prototype for _nl_unload_locale.
1502 * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
1503 * locale/C-ctype: Likewise.
1504 * locale/C-messages: Likewise.
1505 * locale/C-monetary: Likewise.
1506 * locale/C-numeric: Likewise.
1507 * locale/C-time: Likewise.
1508 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
1509 MAX_USAGE_COUNT and UNDELETABLE.
1510 (free_mem): New function. Add it to __libc_subfreeres list.
1511 * locale/loadlocale.c: Define _nl_unload_locale function.
1513 * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
1515 * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
1517 Define free_mem function and add to __libc_subfreeres list.
1519 * locale/programs/localedef.c (options): short form os verbose is v.
1520 Reported by Andreas Jaeger.
1522 * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1523 header is used in some others as well for historical reasons.
1525 * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
1527 * string/bits/string2.h: Add missing braces and optimize strcmp a
1529 * sysdeps/i386/i486/bits/string.h: Likewise.
1531 * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
1534 * sysdeps/mach/hurd/cthreads.c: Add copyright text.
1536 * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
1538 * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
1540 * time/time.h: Pretty print.
1542 1997-09-29 Paul Eggert <eggert@twinsun.com>
1544 * time/strftime.c: Synchronize with GNU Emacs strftime.c.
1545 (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
1546 (gmtime_r, localtime_r): Undef before defining.
1547 (iso_week_days): Use __inline__, not inline.
1549 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1551 * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
1552 __ieee754_exp2{,l,f}.
1553 * sysdeps/m68k/fpu/s_exp2.c: Likewise.
1554 * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
1555 * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
1557 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1559 * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
1560 section read-only, it contains relocations.
1561 * elf/sofini.c (__FRAME_END__): Likewise.
1563 1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
1565 * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
1566 __strpbrk_cg, __strstr_cg): Optimize even more. No spill register
1567 needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1569 1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1571 * nis/nis_call.c (__do_niscall2): Fix return code, add missing
1572 break in switch case.
1574 * nis/nis_mkdir.c: Fix return codes to match Solaris version.
1575 * nis/nis_rmdir.c: Likewise.
1577 * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1580 1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
1582 * configure.in: Fix typo.
1583 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1585 1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
1587 * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
1588 * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
1590 1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com>
1592 * Makeconfig (extra-objs): Depend in before-compile.
1594 * configure.in: Locate Perl and substitute with complete path.
1595 * config.make.in: Add PERL for substitution.
1596 * elf/Makefile (routines): Add dl-addr.
1597 * elf/dladdr.c: Move the real code into ...
1598 * elf/dl-addr.c: New file.
1599 * elf/link.h: Add prototype for _dl_addr.
1601 * elf/dladdr.c (dladdr): Change address argument to be const.
1602 * elf/dlfcn.h: Likewise.
1604 * locale/C_name.c: Add _nl_POSIX_name.
1605 * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
1606 * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
1607 (_nl_remove_locale): Free name of data set.
1608 * locale/setlocale.c (clever_copy): Remove.
1609 (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
1610 (setname): Only remove old name when it is for category LC_ALL.
1612 Change malloc, free, realloc, and memalign hooks for glibc to take
1613 another parameter indicating the location of the caller.
1614 * malloc/malloc.c: Change hook functions and variables.
1615 * malloc/malloc.h: Likewise.
1616 * malloc/mcheck.c: Likewise. Make sure later hooked function also
1617 get the original caller address.
1618 * malloc/mtrace.c: Likewise.
1619 (tr_where): If no information in _mtrace_file is given use the
1620 information about the caller.
1621 * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
1622 Add rules to install mtrace.pl after rewriting.
1623 * malloc/mtrace.pl: New file. Based on the old AWK script but
1624 with extended functionality.
1625 * malloc/mtrace.awk: Removed.
1627 * po/fr.po: New version.
1629 * string/Makefile: Do use builtins for tester.c and inl-tester.c.
1630 * string/tester.c: Rewrite. Split in many small functions to not
1631 exceed gcc's limits.
1633 * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1635 1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1637 * string/bits/string2.h (__stpcpy_small): Don't use casts as
1640 1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1642 * manual/time.texi (Formatting Date and Time): Clarify
1643 explanation of strftime flags a bit.
1644 Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
1646 1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu>
1648 * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
1649 Fix typo, it is FLT_MANT_DIG.
1651 1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
1653 * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
1655 1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu>
1657 * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
1659 * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
1660 _IO_MTSAFE_IO is undefined.
1662 1997-09-24 23:27 Richard Henderson <rth@cygnus.com>
1664 * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
1665 lookup the value of the target symbol ourselves and call the new
1666 elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack.
1667 (profile_fixup): Likewise, but don't fix up the plt.
1668 * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
1669 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
1670 (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
1671 * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
1672 (ELF_MACHINE_JMP_SLOT): Renamed.
1673 (elf_machine_fixup_plt): New function.
1674 * sysdeps/m68k/dl-machine.h: Likewise.
1675 * sysdeps/powerpc/dl-machine.h: Likewise.
1676 (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
1677 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1678 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1679 * sysdeps/stub/dl-machine.h: Update, sorta.
1681 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
1682 (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
1683 both normal and profile code.
1684 (elf_machine_rela): Handle r_addend for .got and .plt too.
1686 1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
1688 * elf/dl-profile.c: Correct implementation.
1690 * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
1692 * locale/setlocale.c: Rewrite a bit for more clarity.
1694 * math/Makefile (libm-calls): Add w_exp2.
1695 * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
1696 * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
1697 * sysdeps/libm-i387/s_exp2f.S: Likewise.
1698 * sysdeps/libm-i387/s_exp2l.S: Likewise.
1699 * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
1701 * string/bits/string2.h (__strcpy_small): Optimize.
1702 (__stpcpy_small): Likewise.
1703 (strncpy): Use variable for dest argument since it's used more than
1705 (strncat): Likewise.
1706 (strcmp): Add optimization for this function.
1707 * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
1708 (__strcpy_small): Optimize.
1709 (__stpcpy_small): Likewise.
1710 (__stpcpy_c): Correctly use __mempcpy_* macros.
1711 (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
1712 byte following last copied.
1713 (strncat): Use variable for dest argument since it's used more than
1715 (strcmp): Add optimization for this function.
1717 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
1718 .text and .previous to select correct section.
1720 1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
1722 * configure.in: Add `--disable-versioning' option to suppress the
1723 use of symbol versions even if binutils claims to support it.
1725 1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
1727 * csu/Makefile (before-compile): Don't try to build abi-tags.h if
1730 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1732 * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
1733 the frame unwind info section.
1735 * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
1736 the frame unwind info.
1738 * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
1740 * configure.in: Check whether gcc supports DWARF2 unwind info.
1742 * libc.map: Export frame handling tables.
1744 1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
1746 * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
1747 Use the size of the kernel's termios structure for ioctls.
1749 * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
1751 * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
1752 of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
1753 routines, because gcc has them as internals.
1755 * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
1758 * sysdeps/powerpc/bzero.S: New file.
1759 * sysdeps/powerpc/strcat.c: New file.
1760 * sysdeps/powerpc/strcpy.S: New file.
1761 * sysdeps/powerpc/stpcpy.S: New file.
1763 * math/Makefile: Add atest_exp2, test-reduce.
1764 * math/atest_exp2.c: New file.
1765 * math/test-reduce.c: New file.
1766 * sysdeps/libm-ieee754/Dist: New file.
1767 * sysdeps/libm-ieee754/s_exp2.c: New file.
1768 * sysdeps/libm-ieee754/s_exp2f.c: New file.
1769 * sysdeps/libm-ieee754/t_exp2.h: New file.
1770 * sysdeps/libm-ieee754/t_exp2f.h: New file.
1771 * math/libm-test.c (exp2_test): Add some more tests.
1773 * Rules: Use empty.os instead of empty.o, since it gets linked into
1775 * configure.in: Add --disable-static to disable building .a files.
1776 * config.make.in: Substitute the new variable.
1777 * Makeconfig: Don't build .o files if not building .a files.
1779 * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
1780 (profile_fixup): Likewise.
1782 1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1784 * posix/globtest.c (main): Change to directory passed as first
1787 * posix/globtest.sh: Don't cd before running the program, instead
1788 pass testdir as argument, so that $common_objpfx remains valid.
1790 1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1792 * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
1794 * nis/nis_findserver.c: Save latest working sockaddr_in.
1796 1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
1798 * configure.in: Automatically determine whether as and ld are the
1800 (options): --with-gnu-{as,ld,binutils} replaced by
1801 single option --with-binutils=PATH specifying a -B option to gcc.
1802 * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
1805 * configure.in: Allow the user to force configuration for
1806 unsupported platforms with an undocumented option.
1808 1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1810 * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
1811 return loopback address only if there is no other interface.
1813 * nis/Makefile: Add nis_callback libnsl-routines.
1815 * nis/nis_add.c: Use new __do_niscall* interface.
1816 * nis/nis_cache.c: Likewise.
1817 * nis/nis_checkpoint.c: Likewise.
1818 * nis/nis_lookup.c: Likewise.
1819 * nis/nis_mkdir.c: Likewise.
1820 * nis/nis_modify.c: Likewise.
1821 * nis/nis_ping.c: Likewise.
1822 * nis/nis_remove.c: Likewise.
1823 * nis/nis_rmdir.c: Likewise.
1824 * nis/nis_server.c: Likewise.
1825 * nis/nis_util.c: Likewise.
1827 * nis/rpcsvc/nis.h: Make C++ safe.
1829 * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
1832 * nis/nis_findserv.c: Make thread safe.
1834 * nis/nis_call.c: Add support for callback, Fix use of variables.
1835 * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
1837 * nis/nis_callback.c: New, callback functions.
1838 * nis/nis_intern.h: Add callback declarations.
1840 1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1842 * string/bits/string2.h: Fix logic in preprocessor directive.
1843 (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
1844 const, to save a cast and a possible warning.
1846 1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
1848 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
1849 memory in xadd not %1.
1851 1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
1853 * manual/maint.texi (Supported Configurations): Add SPARC64 to
1854 list of supported platforms.
1856 1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com>
1858 * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if
1859 _G_HAVE_PRINTF_FP is not defined.
1860 * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a
1861 different solution for the problem.
1863 * misc/search.h [__USE_GNU]: Define comparison_fn_t.
1864 * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
1866 Fix typo. Pretty print inline functions.
1868 * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
1869 Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1871 1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com>
1873 * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
1874 HES_DOMAIN environment variable.
1875 Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
1877 * hesiod/README.hesiod: A bit of information about Hesiod and how
1878 to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>.
1880 1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com>
1882 * manual/maint.texi: Update requirement list.
1884 * io/ftw.h: Don't use parameter names from global namespace in
1887 * stdlib/strtol.c: If used outside glibc handle broken systems
1888 which have character classification functions which are not 8-bit
1889 clean gracefully. Patch by Bruno Haible <haible@ilog.fr>.
1891 1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu>
1893 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
1896 1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu>
1898 * posix/Makefile (test-srcs): New, set to globtest.
1900 1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com>
1902 * manual/filesys.texi: Document ftw, nftw and needed data types.
1904 1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu>
1906 * sysdeps/i386/i486/bits/string.h: Fix typo.
1908 1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com>
1910 * io/ftwtest.c (cb): Print level.
1911 * io/ftwtest-sh: Updated for ftwtest.c change.
1913 * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
1915 Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
1917 * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
1918 Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
1920 1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
1922 * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
1923 additional argument.
1924 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1925 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1926 * sysdeps/stub/init-first.c: Likewise.
1928 1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com>
1930 * manual/search.texi: Document lsearch, lfind, the hsearch and
1933 1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com>
1935 * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
1936 if the table is full and we *really* have to enter a new entry.
1938 1997-09-17 19:44 Ulrich Drepper <drepper@cygnus.com>
1940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
1941 of hack for handling flush opcode.
1942 Patch by Richard Henderson <rth@cygnus.com>.
1944 1997-09-16 23:48 Ulrich Drepper <drepper@cygnus.com>
1946 * libio/fileops.c: Define __set_errno if necessary.
1947 * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
1949 1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com>
1951 * string/Makefile (headers): Instead bits/string2.h.
1952 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1954 1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu>
1956 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
1958 1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com>
1960 * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
1961 as of type __fdset *.
1962 * sysdeps/i386/bits/select.h: Likewise.
1963 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
1965 1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com>
1967 * hesiod/hesiod.c: Don't use and define cistrcmp. We have
1969 (hesiod_init): Use of HES_DOMAIN need not be protected by
1971 (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
1974 * string/Makefile (noinl-tester-ENV): New variable to make
1976 (CFLAGS-noinl-tester): Make sure we test the correct functions.
1978 * sysdeps/stub/atomicity.h: Fix typo.
1979 Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
1981 * manual/string.texi: Document strnlen and mempcpy.
1982 Tell a bit more about the locale dependence of strcasecmp and
1985 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
1986 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
1987 value type to long int.
1988 * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable
1990 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
1991 Patches by David S. Miller <davem@jenolan.rutgers.edu>.
1993 1997-09-16 02:14 Ulrich Drepper <drepper@cygnus.com>
1995 Implementation of Hesiod NSS module by Mark Kettenis.
1996 * hesiod/Makefile: New file.
1997 * hesiod/hesiod.c: New file.
1998 * hesiod/hesiod.h: New file.
1999 * hesiod/hesiod_p.h: New file.
2000 * hesiod/libnss_hesiod.map: New file.
2001 * hesiod/nss_hesiod/hesiod-grp.c: New file.
2002 * hesiod/nss_hesiod/hesiod-pwd.c: New file.
2003 * hesiod/nss_hesiod/hesiod-service.c: New file.
2004 * sysdeps/unix/inet/Subdirs: Add hesiod.
2006 * shlib-versions: Add version number for libnss_hesiod.
2008 * libio/iolibio.h: Remove definition of _IO_* macros.
2009 * libio/fileops.c: Define close, fstat, lseek, read, and write as
2010 macros to use __ protected versions. Use those functions instead
2012 * libio/iopopen.c: Define _IO_close to close.
2014 * manual/math.texi: Explain the use of the optimizing inline
2016 Describe rand_r function and tell about SysV RNGs in introduction.
2018 * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
2021 * string/Makefile (tests): Add noinl-tester.
2022 * string/noinl-tester.c: New file.
2023 * string/tester.c: Add more stpcpy tests for constant arguments for
2026 * string/string.h: Always declare __bzero.
2027 Describe __NO_STRING_INLINES.
2028 Always include <bits/string.h>.
2029 * string/bits/string2.h: Add warning about direct use.
2030 Change __strcpy_small and __stpcpy_small implementation to use
2031 macros and provide alternative for platforms which cannot do
2033 * sysdeps/i386/bits/string.h: Don't define anything is
2034 __NO_STRING_INLINES is defined.
2035 * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
2036 __stpcpy_small implementation to use macros and provide
2037 alternative for platforms which cannot do unaligned stores.
2038 * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
2039 * sysdeps/generic/bzero.c: Likewise.
2040 * sysdeps/i386/bzero.c: Likewise.
2041 * sysdeps/i386/i586/bzero.S: Likewise.
2042 * sysdeps/vax/bzero.s: Likewise.
2044 * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
2045 * sysdeps/i386/bits/select.h: Likewise.
2047 * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
2049 Don't define and test for _BITS_MATHINLINE_H. Emit warning if used
2050 directly and not through math.h.
2052 * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
2053 to char to get better code. Fix typo.
2054 * sysdeps/stub/atomicity.h: Fix typo.
2056 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2058 * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
2060 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2062 * string/bits/string2.h: Add prototypes to avoid warning.
2064 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2066 * string/bits/string2.h (strsep): Fix handling of empty REJECT.
2067 (__strsep_1c): Handle NULL and empty string.
2068 (__strsep_g): Likewise.
2070 1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2072 * catgets/Makefile (extra-objs): Set this instead of generated.
2074 * md5-crypt/Makefile (extra-objs): Add all object file variants of
2077 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2079 * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
2082 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2084 * sysdeps/m68k/m68020/atomicity.h: New file.
2086 1997-09-15 05:11 Ulrich Drepper <drepper@cygnus.com>
2088 * posix/Makefile (distribute): Add globtest.c and globtest.sh.
2089 Compile and run globtest if not cross-compiling.
2090 * posix/globtest.c: New file.
2091 * posix/globtest.sh: New file.
2092 * posix/glob.c: Pretty print preprocessor stuff.
2093 (glob_in_dir): If PATTERN is not really a pattern still check
2094 whether it is a real file in the current directory and return
2096 Reported by Eugene Mamchits <eugin@ips.ras.ru>.
2098 * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
2099 * libio/ioseekoff.c (_IO_seekoff): Likewise.
2100 * libio/ioseekpos.c (_IO_seekpos): Likewise.
2102 1997-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2104 * configure.in: Prevent configuration for unsupported platforms.
2106 1997-09-13 04:07 Ulrich Drepper <drepper@cygnus.com>
2108 * elf/rtld.c (dl_main): Make sure we always have a file argument by
2109 testing for < 2 arguments after recognizing the options.
2111 1997-09-12 11:47 Fila Kolodny <fila@ibi.com>
2113 * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
2114 (__strsep_g): Likewise.
2116 1997-09-11 17:32 Ulrich Drepper <drepper@cygnus.com>
2118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
2119 Patch by David S. Miller <davem@jenolan.rutgers.edu>.
2121 1997-09-11 04:36 Ulrich Drepper <drepper@cygnus.com>
2123 * db2/db_int.h: Define __set_errno if not yet available.
2124 * db2/btree/bt_rec.c: Use __set_errno to set errno value.
2125 * db2/clib/getlong.c: Likewise.
2126 * db2/db185/db185.c: Likewise.
2127 * db2/db185/db185_int.h: Likewise.
2128 * db2/dbm/dbm.c: Likewise.
2129 * db2/lock/lock_deadlock.c: Likewise.
2130 * db2/log/log_archive.c: Likewise.
2132 * elf/dl-profile.c: Implement mcount function.
2134 * gmon/gmon.c: Use __profil not profil because of namespace pollution.
2135 * gmon/mcount.c: Remove BSD kernel code.
2136 Use compare&swap instruction if possible to change state variable.
2137 Optimize frompc folding.
2138 * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
2139 * sysdeps/i386/i486/atomicity.h: New file.
2140 * sysdeps/stub/atomicity.h: New file.
2141 * sysdeps/mach/hurd/profil.c: Define function as __profil and make
2143 * sysdeps/posix/profil.c: Likewise.
2145 * string/bits/string2.h: New file.
2146 * include/bits/string2.h: New file.
2147 * string/Makefile (routines): Add mempcpy.
2148 (tests): Add inl-tester.
2149 Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
2150 * sysdeps/generic/mempcpy.c: New file.
2151 * sysdeps/generic/memccpy.c: Undef function name to enable definition
2153 * sysdeps/generic/memchr.c: Likewise.
2154 * sysdeps/generic/memcmp.c: Likewise.
2155 * sysdeps/generic/memmem.c: Likewise.
2156 * sysdeps/generic/memmove.c: Likewise.
2157 * sysdeps/generic/strcat.c: Likewise.
2158 * sysdeps/generic/strchr.c: Likewise.
2159 * sysdeps/generic/strcmp.c: Likewise.
2160 * sysdeps/generic/strcpy.c: Likewise.
2161 * sysdeps/generic/strcspn.c: Likewise.
2162 * sysdeps/generic/strlen.c: Likewise.
2163 * sysdeps/generic/strncat.c: Likewise.
2164 * sysdeps/generic/strncmp.c: Likewise.
2165 * sysdeps/generic/strncpy.c: Likewise.
2166 * sysdeps/generic/strpbrk.c: Likewise.
2167 * sysdeps/generic/strrchr.c: Likewise.
2168 * sysdeps/generic/strsep.c: Likewise.
2169 * sysdeps/generic/strspn.c: Likewise.
2170 * sysdeps/generic/strstr.c: Likewise.
2171 * sysdeps/generic/strtok.c: Likewise.
2172 * sysdeps/generic/strtok_r.c: Likewise.
2173 * sysdeps/i386/memset.c: Likewise.
2174 * sysdeps/i386/bits/string.h: Correct a few types and constraints.
2175 * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
2176 * string/stratcliff.c: Undefine __USE_STRING_INLINES.
2177 * string/tst-strlen.c: Likewise.
2178 * string/string.h: Add prototype for mempcpy. Include bits/string2.h
2179 header always if optimizing.
2180 * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
2182 * intl/l10nflist.c: Likewise.
2184 * string/tester.c: Add copyright and make little cleanups.
2186 * inet/test_ifindex.c: Change type of ni variable to unsigned int.
2188 * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
2189 of fields map_collection_max and map_collection_act to size_t.
2191 * nss/libnss_files.map: Group entries.
2193 * posix/unistd.h: Add prototype for __setpgid and __profil.
2195 * sysdeps/generic/crypt.h: Declare __crypt_r.
2197 * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
2199 * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2200 isless, islessequal, islessgreater, isunordered): Optimize a bit.
2202 * sysdeps/stub/ftruncate.c: Include missing header for prototype.
2203 * sysdeps/stub/getdents.c: Likewise.
2204 * sysdeps/stub/reboot.c: Likewise.
2205 * sysdeps/stub/swapon.c: Likewise.
2206 * sysdeps/stub/syscall.c: Likewise.
2207 * sysdeps/stub/ualarm.c: Likewise.
2208 * sysdeps/stub/usleep.c: Likewise.
2210 * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
2211 if SIOGIFINDEX and SIOGIFNAME are not defined.
2213 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
2214 according to recent kernel changes.
2216 1997-09-10 21:32 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
2218 * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
2219 the installed name of the startup code.
2220 (common-generated): Add version.mk.
2221 * Makefile (distclean-1): Add glibcbug.
2222 * Makerules: Replace -lgcc by $(gnulib).
2223 * catgets/Makefile (generated): Add xmalloc.o.
2224 * csu/Makefile (generated): Replace align.h and end.h by defs.h to
2225 match the generated file.
2226 * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
2227 (realclean): Changed to remove chapters-incl[12].
2228 * po/Makefile (realclean): New rule to remove the generated .mo files.
2229 * time/Makefile: Only include zonefile dependencies if $(no_deps) is
2230 not true to avoid make clean failure when directory time doesn't exist
2232 (generated): Add tzselect.
2234 * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
2235 * stdio/internals.c (flushbuf): Likewise.
2236 * stdio/linewrap.c (lwupdate): Likewise.
2237 * stdio/memstream.c (enlarge_buffer): Likewise.
2238 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2239 * time/tzset.c (compute_change): Likewise.
2240 * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
2242 * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
2244 * sysdeps/stub/init-posix.c: Likewise.
2245 * sysdeps/stub/profil.c: Likewise.
2246 * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
2247 reduce gcc warning noise.
2248 * stdio/glue.c (_filbuf, _flsbuf): Likewise.
2249 * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
2250 * stdio/vasprintf.c (enlarge_buffer): Likewise.
2251 * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
2252 __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
2253 __stdio_reopen): Likewise.
2254 * sysdeps/posix/defs.c (_cleanup): Likewise.
2255 * time/offtime.c (__offtime): Add cast.
2257 * posix/getopt.c: Don't use text_set_element if not defined.
2259 * configure.in: Provide a check for underscores before user labels
2260 that works even when the compiler used for building doesn't work
2261 (like when there is no C library). Use the old way if the compiler
2264 1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu>
2266 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
2267 'T' not 't' on SparcLinux.
2268 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
2270 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
2271 _longjmp and siglongjmp.
2273 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2275 * libio/stdio.h: Add format attributes to the extra printf and
2276 scanf like functions.
2277 * stdio/stdio.h: Likewise.
2279 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2281 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2282 Print tablename_val, not tablename_len.
2284 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
2285 Use sprintf instead of sprintf, the string always fits.
2286 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2288 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2290 * nis/nss_nisplus/nisplus-proto.c
2291 (_nss_nisplus_getprotobynumber_r): Likewise.
2292 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
2294 * nis/nss_nisplus/nisplus-service.c
2295 (_nss_nisplus_getservbynumber_r): Likewise.
2297 * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
2298 __stpcpy, __stpncpy and __strdup instead of public names.
2299 * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
2301 * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
2302 * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
2304 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
2306 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
2308 (_nss_create_tablename): Likewise.
2309 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
2311 (_nss_create_tablename): Likewise.
2312 * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
2314 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
2316 (_nss_create_tablename): Likewise.
2317 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
2319 (_nss_create_tablename): Likewise.
2320 * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
2323 * libc.map: Export __stpcpy and __strdup.
2325 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2327 * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
2328 CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
2331 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2333 * include/rpc/auth_des.h: New file.
2335 1997-09-09 Paul Eggert <eggert@twinsun.com>
2337 * time/mktime.c (__mktime_internal): Declare sec_requested even if
2338 !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
2339 for time_t overflow.
2341 1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com>
2343 * sysdeps/posix/getcwd.c: Correct test for too small buffer.
2344 Reported by Erik Troan <ewt@redhat.com>.
2346 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2347 * elf/dl-open.c: Likewise.
2349 1997-09-07 17:09 Richard Henderson <rth@cygnus.com>
2351 * sysdeps/alpha/Makefile: Kill setjmp_aux.
2352 * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
2353 * sysdeps/alpha/__longjmp.c: Remove.
2354 * sysdeps/alpha/setjmp_aux.c: Remove.
2355 * sysdeps/alpha/__longjmp.S: New file.
2356 * sysdeps/alpha/bsd-_setjmp.S: Stub out.
2357 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2358 * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
2359 Move _setjmp and setjmp from bsd-*.S.
2361 1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com>
2363 * include/rpc/auth.h: New file.
2364 * include/rpc/auth_unix.h: New file.
2366 1997-09-06 Paul Eggert <eggert@twinsun.com>
2368 Fix gmtime so that it reports leap seconds when TZ
2369 indicates that leap seconds are desired.
2371 * time/gmtime.c (<stddef.h>): Remove unnecessary include.
2372 (gmtime): Put after gmtime_r, to help the compiler inline.
2373 (__tz_convert): New decl.
2374 (gmtime_r): Use __tz_convert instead of __offtime,
2375 so that leap seconds are handled correctly.
2377 * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
2378 are now unnecessary.
2379 (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
2380 __tzset_lock): Remove extern decls that are now unnecessary.
2381 (localtime_internal): Moved to __tz_convert in tzset.c.
2382 so that localtime and gmtime can both use it easily.
2383 (localtime): Put after localtime_r, to help the compiler inline.
2384 (localtime_r): Use __tz_convert instead of localtime_internal.
2386 * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
2389 * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
2391 * time/tzset.c (<errno.h>): Include.
2393 (__tzfile_compute): New function.
2394 (tz_compute): Renamed from __tz_compute. No longer extern.
2395 Remove redundant call to tzset_internal.
2396 (tzset_internal): Renamed from __tzset_internal. No longer extern.
2397 (tzset_lock): Renamed from __tzset_lock. No longer extern.
2398 (__tz_convert): New function, containing functionality of old
2399 localtime_internal function, plus locking and optional UTC.
2401 1997-09-06 Paul Eggert <eggert@twinsun.com>
2403 * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
2404 string, just use UTC without leap seconds. This is for compatibility
2405 with the Olson code.
2407 1997-09-06 Paul Eggert <eggert@twinsun.com>
2409 * time/tzset.c (__tzname_max): Lock tz data structures before
2410 invoking tzset_internal.
2412 * time/tzfile.c: Define compute_tzname_max statically.
2414 1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2416 * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
2417 * nis/nis_intern.h: Likewise.
2418 * nis/nss_nis/nis-publickey.c: Likewise.
2419 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2420 * nis/ypclnt.c: Likewise.
2422 * sunrpc/auth_des.c: Don't dereference NULL pointer,
2423 initialize ad->ad_timediff.
2425 * sunrpc/auth_none.c: Don't define our own prototypes, use the one
2426 from the header files.
2427 * sunrpc/auth_unix.c: Likewise.
2428 * sunrpc/clnt_raw.c: Likewise.
2429 * sunrpc/clnt_tcp.c: Likewise.
2430 * sunrpc/rpc_cmsg.c: Likewise.
2432 * sunrpc/key_call.c: Fix signal handling.
2434 * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
2435 or we will get a deadlock with NIS+.
2437 * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
2440 1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com>
2442 * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
2443 __FD_ISSET): Use correct casts to address array correctly.
2444 Reported by urbanw@cs.umu.se.
2446 1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com>
2448 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2449 * elf/dl-open.c: Likewise.
2450 * sysdeps/i386/memset.c: Undefine memset in case the header with the
2451 optimized functions is included.
2452 Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
2454 * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
2455 strsep): Use register for second parameter.
2456 * sysdeps/i386/i486/bits/string.h: Likewise.
2457 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2459 1997-09-03 09:48 Geoff Keating <geoffk@ozemail.com.au>
2461 * math/libm-test.c: Change various tolerances to match what the
2462 tested routines can actually provide.
2464 * math/Makefile: Add new tests.
2465 * math/atest-sincos.c: New file.
2466 * math/atest-exp.c: New file.
2468 * csu/Makefile: Give initfini.s and initfiniS.s their own
2469 CFLAGS-* macros so they can be overridden.
2470 * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
2471 initfiniS.s to use -fpic instead of -fPIC, because the sed script
2474 * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
2477 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2478 Don't use register 0, to let _mcount be in a shared object.
2480 * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
2481 Generally clean up. Suppress some code we don't need when relocating
2483 * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
2484 appropriate to suppress gcc warning.
2485 * resolv/res_send.c: Suppress warning.
2486 * sunrpc/xdr_sizeof.c: Suppress warning.
2488 * FAQ: Add ppc-linux.
2489 * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it
2492 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
2495 1997-08-15 07:45 Geoff Keating <geoffk@ozemail.com.au>
2497 * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
2498 * sysdeps/i386/machine-gmon.h: Correct typo.
2500 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
2503 * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
2504 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
2505 sysdeps/linux/dl-sysdep.c.
2507 * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
2508 * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
2509 * sysdeps/powerpc/ppc-mcount: New file.
2511 The following are mostly changes to allow profiling:
2512 * sysdeps/powerpc/add_n.S: Added.
2513 * sysdeps/powerpc/add_n.s: Removed.
2514 * sysdeps/powerpc/addmul_1.S: Added.
2515 * sysdeps/powerpc/addmul_1.s: Removed.
2516 * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
2517 * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
2518 * sysdeps/powerpc/lshift.S: Added.
2519 * sysdeps/powerpc/lshift.s: Removed.
2520 * sysdeps/powerpc/memset.S: Added.
2521 * sysdeps/powerpc/memset.s: Removed.
2522 * sysdeps/powerpc/mul_1.S: Added.
2523 * sysdeps/powerpc/mul_1.s: Removed.
2524 * sysdeps/powerpc/rshift.S: Added.
2525 * sysdeps/powerpc/rshift.s: Removed.
2526 * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
2527 * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
2528 * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
2529 * sysdeps/powerpc/strchr.S: Added.
2530 * sysdeps/powerpc/strchr.s: Removed.
2531 * sysdeps/powerpc/strcmp.S: Added.
2532 * sysdeps/powerpc/strcmp.s: Removed.
2533 * sysdeps/powerpc/strlen.S: Added.
2534 * sysdeps/powerpc/strlen.s: Removed.
2535 * sysdeps/powerpc/sub_n.S: Added.
2536 * sysdeps/powerpc/sub_n.s: Removed.
2537 * sysdeps/powerpc/submul_1.S: Added.
2538 * sysdeps/powerpc/submul_1.s: Removed.
2539 * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
2540 * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
2541 * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
2542 * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
2543 various bugs. Document that it isn't tested.
2544 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
2545 sysdeps/unix/_exit.S.
2546 * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
2547 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
2548 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
2549 to make assembler (possibly) more portable, allow profiling, etc.
2551 1997-09-05 03:15 Ulrich Drepper <drepper@cygnus.com>
2553 * Makefile (subdirs): Reorganize order so that nss follows add-ons.
2554 * config.make.in (LDAP): Add.
2555 * configure.in: Prepare for ldap add-on.
2556 * shlib-versions: Add version numbers for ldap NSS module.
2557 * nss/Makefile: Add rules to build ldap NSS module.
2559 * db/btree/bt_page.c (__bt_free): Update meta data information.
2561 Update db from db-2.3.6.
2562 * db2/db.h: Updated.
2563 * db2/btree/bt_close.c: Updated.
2564 * db2/btree/bt_compare.c: Updated.
2565 * db2/btree/bt_conv.c: Updated.
2566 * db2/btree/bt_cursor.c: Updated.
2567 * db2/btree/bt_delete.c: Updated.
2568 * db2/btree/bt_put.c: Updated.
2569 * db2/btree/bt_rec.c: Updated.
2570 * db2/btree/bt_recno.c: Updated.
2571 * db2/btree/bt_search.c: Updated.
2572 * db2/btree/bt_split.c: Updated.
2573 * db2/btree/bt_stat.c: Updated.
2574 * db2/common/db_appinit.c: Updated.
2575 * db2/common/db_apprec.c: Updated.
2576 * db2/common/db_byteorder.c: Updated.
2577 * db2/common/db_err.c: Updated.
2578 * db2/common/db_region.c: Updated.
2579 * db2/db/db.c: Updated.
2580 * db2/db/db_conv.c: Updated.
2581 * db2/db/db_dup.c: Updated.
2582 * db2/db/db_pr.c: Updated.
2583 * db2/db/db_ret.c: Updated.
2584 * db2/db185/db185.c: Updated.
2585 * db2/dbm/dbm.c: Updated.
2586 * db2/hash/hash_dup.c: Updated.
2587 * db2/include/db_am.h: Updated.
2588 * db2/include/db_page.h: Updated.
2589 * db2/include/mp.h: Updated.
2590 * db2/include/queue.h: Updated.
2591 * db2/log/log.c: Updated.
2592 * db2/log/log_findckp.c: Updated.
2593 * db2/log/log_get.c: Updated.
2594 * db2/log/log_rec.c: Updated.
2595 * db2/mp/mp_bh.c: Updated.
2596 * db2/mp/mp_fopen.c: Updated.
2597 * db2/mp/mp_pr.c: Updated.
2598 * db2/mp/mp_sync.c: Updated.
2599 * db2/mutex/x86.gcc: Updated.
2600 * db2/os/db_os_dir.c: Updated.
2601 * db2/os/db_os_fid.c: Updated.
2602 * db2/progs/db_archive/db_archive.c: Updated.
2603 * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
2604 * db2/progs/db_deadlock/db_deadlock.c: Updated.
2605 * db2/progs/db_dump/db_dump.c: Updated.
2606 * db2/progs/db_dump185/db_dump185.c: Updated.
2607 * db2/progs/db_load/db_load.c: Updated.
2608 * db2/progs/db_printlog/db_printlog.c: Updated.
2609 * db2/progs/db_recover/db_recover.c: Updated.
2610 * db2/progs/db_stat/db_stat.c: Updated.
2611 * db2/txn/txn.c: Updated.
2612 * db2/txn/txn_rec.c: Updated.
2614 * db2/Makefile: Add rule to build db_printlog.
2615 * db2/config.h: Don't include endian.h and don't define
2616 WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H.
2618 * elf/dl-open.c (_dl_open): Make thread-safe.
2619 * elf/dl-close.c (_dl_close): Likewise.
2620 * elf/dlclose.c: Pretty print.
2621 * elf/dl-version.c (make_string): Use __strdup not strdup.
2622 (find_needed): Don't use l_searchlist of _dl_loaded, use the
2624 * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
2626 * manual/math.texi: Add note about == and != for FP values.
2627 * manual/message.texi: Mention problems with relative paths and
2629 * manual/string.texi: Mark strdupa and strndupa correctly as macros.
2631 * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
2632 * sunrpc/rpc_cout.c: Avoid needless races around return value.
2634 * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
2636 Update from tzdata-1997h.
2637 * time/africa: Updated.
2638 * time/europe: Updated.
2639 * time/iso3166.tab: Updated.
2640 * time/northamerica: Updated.
2641 * time/southamerica: Updated.
2642 * time/zone.tab: Updated.
2644 1997-09-04 13:19 Richard Henderson <rth@cygnus.com>
2646 * sysdeps/alpha/w_sqrt.S: Removed.
2647 * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact
2648 and build a version that is as fast as possible given the constraint.
2650 1997-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2652 * manual/maint.texi: Document some defaults for configuration
2655 1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com>
2657 * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
2658 * termios/termios.h: Change prototype accordingly.
2659 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2661 1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
2663 * libio/stdfiles.c (_libio_using_thunks): Define if
2664 _G_USING_THUNKS is defined.
2666 * libio/_G_config.h: Moved to ...
2667 * sysdeps/generic/_G_config.h: ...here.
2669 * sysdeps/unix/sysv/linux/_G_config.h: New,
2670 Add vtable thunks support.
2672 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2674 * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
2675 efficient code (together with a change in gcc).
2677 * Makeconfig (pic-ccflag): New variable.
2678 (CFLAGS-.os): Use it instead of hardcoding -fPIC.
2680 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2682 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
2683 _dl_start instead of a local label, to avoid getting an unreadable
2686 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2688 * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
2691 * Makeconfig (dbobjdir): Use db2.
2693 1997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2695 * manual/maint.texi (Porting to Unix): Update description of the
2696 implementation of Unix system calls.
2697 (Contributors): Use real umlaut in tege's name.
2699 1997-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2701 * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
2703 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2704 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2706 1997-08-29 21:45 Ulrich Drepper <drepper@cygnus.com>
2708 * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on.
2709 * sunrpc/authdes_prot.c: New file. Likewise.
2710 * sunrpc/des.h: New file. Likewise.
2711 * sunrpc/des_crypt.c: New file. Likewise.
2712 * sunrpc/des_soft.c: New file. Likewise.
2713 * sunrpc/key_call.c: New file. Likewise.
2714 * sunrpc/key_prot.c: New file. Likewise.
2715 * sunrpc/netname.c: New file. Likewise.
2716 * sunrpc/openchild.c: New file. Likewise.
2717 * sunrpc/rtime.c: New file. Likewise.
2718 * sunrpc/svc_auth.c: New file. Likewise.
2719 * sunrpc/svcauth_des.c: New file. Likewise.
2720 * sunrpc/xcrypt.c: New file. Likewise.
2721 * sunrpc/rpc/auth.h: New file. Likewise.
2722 * sunrpc/rpc/auth_des.h: New file. Likewise.
2723 * sunrpc/rpc/des_crypt.h: New file. Likewise.
2724 * sunrpc/rpc/key_prot.h: New file. Likewise.
2725 * sunrpc/rpcsvc/key_prot.x: New file. Likewise.
2726 * sysdeps/generic/svc_auth.h: Removed.
2727 * sysdeps/generic/rpc/auth.h: Removed.
2728 * sysdeps/generic/rpc/auth_des.h: Removed.
2729 * sysdeps/stub/des_impl.c: New file. Stub version for DES.
2730 * sunrpc/Makefile (rpcsvc): Add keyprot.x.
2731 (headers): Add des_crypt.h and key_prot.h.
2732 (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
2733 key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
2734 (distribute): Add des.h.
2736 * db2/Makefile: Add all headers and other files to distribute.
2737 (others): Add db_printlog.
2739 * sysdeps/mach/hurd/Dist: Add net/* headers.
2740 * sysdeps/mach/hurd/mips/Dist: New file.
2741 * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
2742 * sysdeps/sparc/Dist: Add sys/trap.h.
2743 * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
2744 * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
2745 * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
2746 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
2747 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
2749 Add previously missing assembler files for PPC.
2750 * sysdeps/powerpc/add_n.s: New file.
2751 * sysdeps/powerpc/addmul_1.s: New file.
2752 * sysdeps/powerpc/lshift.s: New file.
2753 * sysdeps/powerpc/memset.s: New file.
2754 * sysdeps/powerpc/mul_1.s: New file.
2755 * sysdeps/powerpc/rshift.s: New file.
2756 * sysdeps/powerpc/strchr.s: New file.
2757 * sysdeps/powerpc/strcmp.s: New file.
2758 * sysdeps/powerpc/sub_n.s: New file.
2759 * sysdeps/powerpc/submul_1.s: New file.
2761 1997-08-28 18:42 Thorsten Kukuk <kukuk@uni-paderborn.de>
2763 * nis/nis_server.c: Rewritten to fix a lot of bugs.
2765 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2767 * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
2770 1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com>
2772 * Makefile (version-info.h): Use ISO form for the date.
2774 * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
2775 (struct catalog_obj): Add lock field.
2776 (__open_catalog): Remove second parameter from prototype.
2777 * catgets/catgets.c (catopen): Initialize lock field.
2778 (catgets): Don't pass second parameter to __open_catalog.
2779 * catgets/gencat.c: Initialize lock field and don't pass second
2780 parameter to __open_catalog.
2781 * catgets/open_catalog.c (__open_catalog): Decide about use of
2782 path by examining path in struct, not based on extra argument.
2783 Acquire a the lock before trying to load the catalog and release
2784 it before returning.
2786 * csu/Makefile (abi-tag.h): Make sure target directory exists.
2788 * io/Makefile (headers): Add bits/poll.h.
2789 * io/sys/poll.h: Remove definitions of POLL* constants.
2790 Include <bits/poll.h>.
2791 * sysdeps/generic/bits/poll.h: New file.
2792 * sysdeps/unix/sysv/linux/bits/poll.h: New file.
2793 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
2794 * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
2795 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
2797 * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
2799 * malloc/obstack.c: Add casts to keep very verbose compilers on
2800 64bit machine quiet.
2802 * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
2804 1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com>
2806 * catgets/catgets.c (catopen): Correctly determine length of string
2807 in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
2809 1997-08-27 23:19 Richard Henderson <rth@cygnus.com>
2811 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
2812 default macro to track down arguments from stack start.
2813 (_dl_sysdep_start): Use it.
2814 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
2815 providing a special DL_FIND_ARG_COMPONENTS and including the next
2818 * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
2819 * sysdeps/powerpc/e_sqrtf.c: Likewise.
2820 * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
2821 the double precision version.
2822 * sysdeps/powerpc/s_fabsf.S: Likewise.
2823 * sysdeps/powerpc/s_isnanf.S: Likewise.
2825 1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
2827 * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>. Somebody
2828 should update this to use the new db API.
2829 * nss/nss_db/db-netgrp.c: Likewise.
2830 * nss/nss_db/db-alias.c: Likewise.
2831 * db2/Makefile: Makefile for db-2.x in glibc.
2833 1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com>
2835 * csu/Makefile (before-compile): New goal. Make sure abi-tag.h
2837 [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
2839 * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
2840 -D__USE_STRING_INLINES.
2841 * string/string.f: Move strnlen optimization after inclusion of
2842 <bits/string.h>. Include <bits/string.h> only if __USE_STRING_INLINES
2844 * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
2846 * sysdeps/generic/memset.c: Likewise.
2847 * sysdeps/i386/string.h: i386 optimized string functions.
2848 * sysdeps/i386/i486string.h: i486+ optimized string functions.
2850 * Makefile (subdirs): Change db to db2.
2851 * shlib-versions: Bump libdb verion number to 3.
2852 * include/db.h: Include from db2 directory.
2853 * include/db_185.h: New file.
2854 * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
2855 to provide spinlock information for db2.
2856 * sysdeps/m68k/m68020/Makefile: New file. Likewise.
2857 * sysdeps/sparc/Makefile: New file. Likewise.
2858 * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
2860 * db2/config.h: Hand-edited config file for db2 in glibc.
2861 * db2/compat.h: New file from db-2.3.4.
2862 * db2/db.h: Likewise.
2863 * db2/db_185.h: Likewise.
2864 * db2/db_int.h: Likewise.
2865 * db2/makedb.c: Likewise.
2866 * db2/btree/bt_close.c: Likewise.
2867 * db2/btree/bt_compare.c: Likewise.
2868 * db2/btree/bt_conv.c: Likewise.
2869 * db2/btree/bt_cursor.c: Likewise.
2870 * db2/btree/bt_delete.c: Likewise.
2871 * db2/btree/bt_open.c: Likewise.
2872 * db2/btree/bt_page.c: Likewise.
2873 * db2/btree/bt_put.c: Likewise.
2874 * db2/btree/bt_rec.c: Likewise.
2875 * db2/btree/bt_recno.c: Likewise.
2876 * db2/btree/btree_auto.c: Likewise.
2877 * db2/btree/bt_rsearch.c: Likewise.
2878 * db2/btree/bt_search.c: Likewise.
2879 * db2/btree/bt_split.c: Likewise.
2880 * db2/btree/bt_stat.c: Likewise.
2881 * db2/btree/btree.src: Likewise.
2882 * db2/common/db_appinit.c: Likewise.
2883 * db2/common/db_err.c: Likewise.
2884 * db2/common/db_byteorder.c: Likewise.
2885 * db2/common/db_apprec.c: Likewise.
2886 * db2/common/db_salloc.c: Likewise.
2887 * db2/common/db_log2.c: Likewise.
2888 * db2/common/db_region.c: Likewise.
2889 * db2/common/db_shash.c: Likewise.
2890 * db2/db/db.c: Likewise.
2891 * db2/db/db.src: Likewise.
2892 * db2/db/db_conv.c: Likewise.
2893 * db2/db/db_dispatch.c: Likewise.
2894 * db2/db/db_dup.c: Likewise.
2895 * db2/db/db_overflow.c: Likewise.
2896 * db2/db/db_pr.c: Likewise.
2897 * db2/db/db_rec.c: Likewise.
2898 * db2/db/db_ret.c: Likewise.
2899 * db2/db/db_thread.c: Likewise.
2900 * db2/db/db_auto.c: Likewise.
2901 * db2/db185/db185.c: Likewise.
2902 * db2/db185/db185_int.h: Likewise.
2903 * db2/dbm/dbm.c: Likewise.
2904 * db2/hash/hash.c: Likewise.
2905 * db2/hash/hash.src: Likewise.
2906 * db2/hash/hash_page.c: Likewise.
2907 * db2/hash/hash_conv.c: Likewise.
2908 * db2/hash/hash_debug.c: Likewise.
2909 * db2/hash/hash_stat.c: Likewise.
2910 * db2/hash/hash_rec.c: Likewise.
2911 * db2/hash/hash_dup.c: Likewise.
2912 * db2/hash/hash_func.c: Likewise.
2913 * db2/hash/hash_auto.c: Likewise.
2914 * db2/include/mp.h: Likewise.
2915 * db2/include/btree.h: Likewise.
2916 * db2/include/db.h.src: Likewise.
2917 * db2/include/db_int.h.src: Likewise.
2918 * db2/include/db_shash.h: Likewise.
2919 * db2/include/db_swap.h: Likewise.
2920 * db2/include/db_185.h.src: Likewise.
2921 * db2/include/txn.h: Likewise.
2922 * db2/include/db_am.h: Likewise.
2923 * db2/include/shqueue.h: Likewise.
2924 * db2/include/hash.h: Likewise.
2925 * db2/include/db_dispatch.h: Likewise.
2926 * db2/include/lock.h: Likewise.
2927 * db2/include/db_page.h: Likewise.
2928 * db2/include/log.h: Likewise.
2929 * db2/include/db_auto.h: Likewise.
2930 * db2/include/btree_auto.h: Likewise.
2931 * db2/include/hash_auto.h: Likewise.
2932 * db2/include/log_auto.h: Likewise.
2933 * db2/include/txn_auto.h: Likewise.
2934 * db2/include/db_ext.h: Likewise.
2935 * db2/include/btree_ext.h: Likewise.
2936 * db2/include/clib_ext.h: Likewise.
2937 * db2/include/common_ext.h: Likewise.
2938 * db2/include/hash_ext.h: Likewise.
2939 * db2/include/lock_ext.h: Likewise.
2940 * db2/include/log_ext.h: Likewise.
2941 * db2/include/mp_ext.h: Likewise.
2942 * db2/include/mutex_ext.h: Likewise.
2943 * db2/include/os_ext.h: Likewise.
2944 * db2/include/txn_ext.h: Likewise.
2945 * db2/include/cxx_int.h: Likewise.
2946 * db2/include/db_cxx.h: Likewise.
2947 * db2/include/queue.h: Likewise.
2948 * db2/lock/lock.c: Likewise.
2949 * db2/lock/lock_conflict.c: Likewise.
2950 * db2/lock/lock_util.c: Likewise.
2951 * db2/lock/lock_deadlock.c: Likewise.
2952 * db2/log/log.c: Likewise.
2953 * db2/log/log_get.c: Likewise.
2954 * db2/log/log.src: Likewise.
2955 * db2/log/log_compare.c: Likewise.
2956 * db2/log/log_put.c: Likewise.
2957 * db2/log/log_rec.c: Likewise.
2958 * db2/log/log_archive.c: Likewise.
2959 * db2/log/log_register.c: Likewise.
2960 * db2/log/log_auto.c: Likewise.
2961 * db2/log/log_findckp.c: Likewise.
2962 * db2/mp/mp_bh.c: Likewise.
2963 * db2/mp/mp_fget.c: Likewise.
2964 * db2/mp/mp_fopen.c: Likewise.
2965 * db2/mp/mp_fput.c: Likewise.
2966 * db2/mp/mp_fset.c: Likewise.
2967 * db2/mp/mp_open.c: Likewise.
2968 * db2/mp/mp_region.c: Likewise.
2969 * db2/mp/mp_pr.c: Likewise.
2970 * db2/mp/mp_sync.c: Likewise.
2971 * db2/mutex/68020.gcc: Likewise.
2972 * db2/mutex/mutex.c: Likewise.
2973 * db2/mutex/README: Likewise.
2974 * db2/mutex/x86.gcc: Likewise.
2975 * db2/mutex/sparc.gcc: Likewise.
2976 * db2/mutex/uts4.cc.s: Likewise.
2977 * db2/mutex/alpha.dec: Likewise.
2978 * db2/mutex/alpha.gcc: Likewise.
2979 * db2/mutex/parisc.gcc: Likewise.
2980 * db2/mutex/parisc.hp: Likewise.
2981 * db2/os/db_os_abs.c: Likewise.
2982 * db2/os/db_os_dir.c: Likewise.
2983 * db2/os/db_os_fid.c: Likewise.
2984 * db2/os/db_os_lseek.c: Likewise.
2985 * db2/os/db_os_mmap.c: Likewise.
2986 * db2/os/db_os_open.c: Likewise.
2987 * db2/os/db_os_rw.c: Likewise.
2988 * db2/os/db_os_sleep.c: Likewise.
2989 * db2/os/db_os_stat.c: Likewise.
2990 * db2/os/db_os_unlink.c: Likewise.
2991 * db2/txn/txn.c: Likewise.
2992 * db2/txn/txn.src: Likewise.
2993 * db2/txn/txn_rec.c: Likewise.
2994 * db2/txn/txn_auto.c: Likewise.
2995 * db2/clib/getlong.c: Likewise.
2996 * db2/progs/db_archive/db_archive.c: Likewise.
2997 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2998 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2999 * db2/progs/db_dump/db_dump.c: Likewise.
3000 * db2/progs/db_dump185/db_dump185.c: Likewise.
3001 * db2/progs/db_load/db_load.c: Likewise.
3002 * db2/progs/db_printlog/db_printlog.c: Likewise.
3003 * db2/progs/db_recover/db_recover.c: Likewise.
3004 * db2/progs/db_stat/db_stat.c: Likewise.
3006 * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
3008 * po/de.po, po/sv.po: Update from 2.0.5 translations.
3010 * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
3012 * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
3014 * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
3015 * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
3016 * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
3018 1997-08-27 18:47 Ulrich Drepper <drepper@cygnus.com>
3020 * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
3021 Reported by Benjamin Kosnik <bkoz@cygnus.com>.
3023 1997-08-27 02:27 Roland McGrath <roland@baalperazim.frob.com>
3025 * abi-tags: New file.
3026 * csu/Makefile (distribute): Remove abi-tag.h.
3027 ($(objpfx)abi-tag.h): New target.
3028 * Makefile (distribute): Add abi-tags.
3029 * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
3030 * sysdeps/mach/hurd/abi-tag.h: File removed.
3031 * sysdeps/stub/abi-tag.h: File removed.
3033 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3035 * sysdeps/unix/make-syscalls.sh: Change output so that it
3036 generates compilation rules only for the currently selected object
3039 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3041 * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
3042 section to avoid confusing the compiler.
3043 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3044 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3045 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3046 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
3047 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3049 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
3050 relocation instead of a constant to avoid text relocation.
3051 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
3052 (RTLD_START): Declare global labels as functions and add size
3055 1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com>
3057 * sysdeps/i386/bits/select.h: Correct assembler versions to work even
3058 for descriptors >= 32.
3060 * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
3061 is used __alloca is not defined to __builtin_alloca and so might
3063 Reported by Uwe Ohse <uwe@ohse.de>.
3065 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
3066 way if gcc is not used and so dev_t is an array.
3067 Reported by Uwe Ohse <uwe@ohse.de>.
3069 1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3071 * manual/libc.texinfo: Reorder chapters to match logical order.
3073 1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com>
3075 * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
3076 xdr_reference, xdrmem_create, and xdrstdio_create because of clash
3077 with g++ internal symbols.
3078 Patch by Sudish Joseph <sj@eng.mindspring.net>.
3080 1997-08-24 Miles Bader <miles@gnu.ai.mit.edu>
3082 * string/argz.h: Add missing __END_DECLS.
3084 1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com>
3086 * configure.in (INSTALL): Quote `$'.
3088 * libc.map: Add __xpg_basename.
3090 * csu/Makefile (initfini.s): Disable optimization.
3092 * elf/dl-deps.c: Implement handling of DT_FILTER.
3094 * elf/dl-load.c (_dl_init_paths): Add error check.
3096 * intl/finddomain.c (_nl_find_domain): Correct comment.
3097 * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
3099 * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
3100 Change extern inline functions to work correctly in C++.
3102 * locale/iso-4217.def: Update for more recent ISO 4217 version.
3104 * locale/loadlocale.c (_nl_load_locale): Add cast.
3106 * manual/message.texi: Finish gettext section.
3108 * posix/getopt_init.c: Don't use relative #include path.
3109 (__getopt_clean_environment): Change function to take pointer to
3110 environment as argument. Optimize generation of test string a bit.
3111 * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
3112 with additional argument.
3114 * poisx/glob.c: Add prototype for next_brace_sub.
3116 * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
3119 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
3120 to not generate relocation entry. Suggested by Richard Henderson.
3121 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
3122 (elf_machine_runtime_setup): Add .aligns.
3124 * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
3126 * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
3127 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects.
3129 * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
3130 * sysdeps/standalone/i960/i960ca.h: Likewise.
3132 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
3134 * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
3135 undocumented test addition in _dl_map_object.
3137 Support ET_EXEC versions of ld.so, for debugging at least:
3139 * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
3140 called despite the DT_SONAME != NULL test, segfaulting. Simplify
3141 the code here as well.
3142 * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
3143 (_dl_setup_hash): Likewise for hash tables.
3144 * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
3145 * elf/rtld.c (_dl_start): Likewise for rpath.
3146 (_dl_rtld_libname2): New variable.
3147 (dl_main): Use it to add an soname for ourselves when we don't have
3148 one of our own. Base it on the target's .interp.
3149 (dl_main): Again, skip printing of objects that don't have strtabs.
3153 * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
3154 (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE.
3155 (profile_fixup): Likewise, though this still needs fixing for
3157 * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
3158 to ELF_FIXUP_RETURN_VALUE.
3160 * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
3161 Fix up _dl_start_user to handle _dl_skip_args properly.
3162 Use _dl_hwcap to determine if "flush" is available/needed.
3164 * sysdeps/sparc/configure.in: Remove. It doesn't actually do
3165 anything anymore, and what it did do is done somewhere else.
3166 * sysdeps/sparc/configure: Likewise.
3168 * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
3170 * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
3172 * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
3173 in divrem expansions.
3175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
3176 definitions for assembly syntax differences.
3178 * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
3179 "system". Use %g2,%g3 instead. Use new local label macro.
3180 * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
3181 and LOC for proper assembly headers/footers.
3182 * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
3183 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3184 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3185 * sysdeps/sparc/sparc32/lshift.S: Likewise.
3186 * sysdeps/sparc/sparc32/mul_1.S: Likewise.
3187 * sysdeps/sparc/sparc32/rshift.S: Likewise.
3188 * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
3189 * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
3190 * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
3191 * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
3192 * sysdeps/sparc/sparc32/sub_n.S: Likewise.
3193 * sysdeps/sparc/sparc32/submul_1.S: Likewise.
3194 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
3195 * sysdeps/sparc/sparc32/umul.S: Likewise.
3196 * sysdeps/sparc/sparc32/divrem.m4: Likewise.
3197 * sysdeps/sparc/sparc32/rem.S: Regenerate.
3198 * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
3199 * sysdeps/sparc/sparc32/udiv.S: Regenerate.
3200 * sysdeps/sparc/sparc32/urem.S: Regenerate.
3202 * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
3203 * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
3204 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
3205 * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
3206 * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
3207 * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
3209 * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
3210 * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
3211 * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
3213 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
3216 * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
3217 from the sparc64 version.
3218 * sysdeps/sparc/sparc32/elf/start.c: Removed.
3220 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
3221 assembly based on the sparc64 version.
3223 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh. Use proper syntax
3224 for manipulating %fsr.
3225 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
3228 * elf/elf.h (HWCAP_SPARC_*): New definitions.
3229 * elf/rtld.c (_dl_hwcap): New variable.
3230 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
3232 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
3233 Attempt to get hold of the page size based on what we might have
3234 been told at startup time in _dl_pagesize. This will be obsolete
3235 when I finish the kernel hooks for a proper sysconf(), stay tuned.
3239 * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
3240 Figure out the right thing to return based on the .plt format.
3242 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
3244 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
3245 Should have been 64-bits wide.
3247 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
3248 optimize for branch delay slot usage.
3250 1997-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3252 * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
3255 1997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3257 * math/libm-test.c (identities): Change epsilon.
3259 * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
3260 fabsf, fabsl, __fabsl.
3262 1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com>
3264 * catgets/catgets.c (catclose): Use __munmap instead of munmap.
3265 * catgets/gencat.c (read_input_file): Fix typo.
3267 * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
3269 * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
3270 executed (e.g., when it is a static binary).
3272 * intl/bindtextdomain.c: Use strdup in glibc. Correct comment.
3273 * intl/dcgettext.c: Likewise.
3274 * intl/dgettext.c: Likewise.
3275 * intl/explodename.c: Likewise.
3276 * intl/finddomain.c: Likewise.
3277 * intl/gettext.c: Likewise.
3278 * intl/gettext.h: Likewise.
3279 * intl/hash-string.h: Likewise.
3280 * intl/l10nflist.c: Likewise.
3281 * intl/libintl.h: Likewise.
3282 * intl/loadinfo.h: Likewise.
3283 * intl/loadmsgcat.c: Likewise.
3284 * intl/localealias.c: Likewise.
3285 * intl/textdomain.c: Likewise.
3287 Unify libio sources with code in libg++.
3288 * libio/fcloseall.c: Update and reformat copyright. Protect use
3289 of weak_alias. Use _IO_* thread macros instead of __libc_*.
3290 * libio/feof.c: Likewise.
3291 * libio/feof_u.c: Likewise.
3292 * libio/ferror.c: Likewise.
3293 * libio/ferror_u.c: Likewise.
3294 * libio/fgetc.c: Likewise.
3295 * libio/filedoalloc.c: Likewise.
3296 * libio/fileno.c: Likewise.
3297 * libio/fileops.c: Likewise.
3298 * libio/fputc.c: Likewise.
3299 * libio/fputc_u.c: Likewise.
3300 * libio/freopen.c: Likewise.
3301 * libio/fseek.c: Likewise.
3302 * libio/genops.c: Likewise.
3303 * libio/getc.c: Likewise.
3304 * libio/getc_u.c: Likewise.
3305 * libio/getchar.c: Likewise.
3306 * libio/getchar_u.c: Likewise.
3307 * libio/iofclose.c: Likewise.
3308 * libio/iofdopen.c: Likewise.
3309 * libio/iofflush.c: Likewise.
3310 * libio/iofflush_u.c: Likewise.
3311 * libio/iofgetpos.c: Likewise.
3312 * libio/iofgets.c: Likewise.
3313 * libio/iofopen.c: Likewise.
3314 * libio/iofopncook.c: Likewise.
3315 * libio/iofprintf.c: Likewise.
3316 * libio/iofputs.c: Likewise.
3317 * libio/iofread.c: Likewise.
3318 * libio/iofsetpos.c: Likewise.
3319 * libio/ioftell.c: Likewise.
3320 * libio/iofwrite.c: Likewise.
3321 * libio/iogetdelim.c: Likewise.
3322 * libio/iogetline.c: Likewise.
3323 * libio/iogets.c: Likewise.
3324 * libio/iopadn.c: Likewise.
3325 * libio/iopopen.c: Likewise.
3326 * libio/ioputs.c: Likewise.
3327 * libio/ioseekoff.c: Likewise.
3328 * libio/ioseekpos.c: Likewise.
3329 * libio/iosetbuffer.c: Likewise.
3330 * libio/iosetvbuf.c: Likewise.
3331 * libio/iosprintf.c: Likewise.
3332 * libio/ioungetc.c: Likewise.
3333 * libio/iovdprintf.c: Likewise.
3334 * libio/iovsprintf.c: Likewise.
3335 * libio/iovsscanf.c: Likewise.
3336 * libio/libio.h: Likewise.
3337 * libio/libioP.h: Likewise.
3338 * libio/obprintf.c: Likewise.
3339 * libio/pclose.c: Likewise.
3340 * libio/peekc.c: Likewise.
3341 * libio/putc.c: Likewise.
3342 * libio/putchar.c: Likewise.
3343 * libio/rewind.c: Likewise.
3344 * libio/setbuf.c: Likewise.
3345 * libio/setlinebuf.c: Likewise.
3346 * libio/stdfiles.c: Likewise.
3347 * libio/stdio.c: Likewise.
3348 * libio/strfile.h: Likewise.
3349 * libio/strops.c: Likewise.
3350 * libio/vasprintf.c: Likewise.
3351 * libio/vscanf.c: Likewise.
3352 * libio/vsnprintf.c: Likewise.
3354 * manual/libc.texinfo: Add menu entries for chapter on message
3356 * manual/locale.texi: Correct next entry in @node for new chapter.
3357 * manual/search.texi: Likewise for previous link.
3358 * manual/message.texi: New file.
3359 * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
3360 setenv, unsetenv, and clearenv.
3361 * manual/string.texi: Fix typos. Patch by Jim Meyering.
3363 * math/Makefile (test-longdouble-yes): Enable. We want long double
3366 Crusade against strcat.
3367 * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
3368 * stdlib/canonicalize.c: Likewise.
3370 * posix/glob.h: Define __const if necessary. Use __const in all
3373 * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
3376 * posix/wordexp.c: Completely reworked buffer handling for much
3377 better performance. Patch by Tim Waugh.
3379 * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
3380 it must be socklen_t.
3382 * sysdeps/libm-i387/e_remainder.S: Pretty print.
3383 * sysdeps/libm-i387/e_remainderf.S: Likewise.
3384 * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
3385 * sysdeps/libm-i387/s_cexp.S: Little optimization.
3386 * sysdeps/libm-i387/s_cexpl.S: Likewise.
3387 * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
3389 1997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com>
3391 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
3394 1997-08-17 Paul Eggert <eggert@twinsun.com>
3396 * tzset.c (__tzset_internal): Fix memory leak when the user
3397 specifies a TZ value that uses a default rule file.
3398 Do not assume US DST rules when the user specifies
3399 that there is no DST.
3401 1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
3403 * inet/getnameinfo.c: Tidy up.
3404 * sysdeps/posix/getaddrinfo.c: Likewise.
3406 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
3408 (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
3409 (if_nameindex): Use alloca() rather than malloc(); use
3410 SIOCGIFCOUNT ioctl if the kernel supports it.
3412 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3414 * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
3415 they operate on internal kernel structures and have no place in a
3418 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3420 * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
3421 (build-shlib): Filter them out of $^.
3423 1997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3425 * elf/dl-error.c (_dl_signal_error): Fix error message.
3427 1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com>
3429 * assert/assert.h [__USE_GNU]: Undefine assert_perror.
3430 Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
3432 1997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3434 * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
3435 to avoid conflict with PO files.
3436 * Makerules: Likewise.
3438 * elf/Makefile: Likewise.
3439 * extra-lib.mk: Likewise.
3440 * gmon/Makefile: Likewise.
3441 * nis/Makefile: Likewise.
3442 * nss/Makefile: Likewise.
3443 * resolv/Makefile: Likewise.
3444 * rpm/Makefile: Likewise.
3445 * sunrpc/Makefile: Likewise.
3446 * sysdeps/sparc/elf/Makefile: Likewise.
3447 * sysdeps/sparc64/elf/Makefile: Likewise.
3448 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
3449 (ASFLAGS-.os): Renamed from as-FLAGS.os.
3451 1997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com>
3453 * elf/dl-minimal.c: Don't use relative #include paths.
3454 (malloc): Don't try to initialize _dl_pagesize, it already is.
3455 (__sigjmp_save, longjmp): Reformat.
3457 * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
3458 show content of auxiliary array.
3459 (_dl_sysdep_start): Remember start of auxiliary vector.
3460 * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
3461 * elf/link.h: Add prototype for _dl_show_auxv.
3462 * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
3465 * libio/iofdopen.c: Better prepare for use in libstdc++.
3466 * libio/iofflush.c: Likewise.
3467 * libio/iofgetpos.c: Likewise.
3468 * libio/iofgets.c: Likewise.
3469 * libio/iofopen.c: Likewise.
3470 * libio/iofputs.c: Likewise.
3471 * libio/iofread.c: Likewise.
3472 * libio/iofsetpos.c: Likewise.
3473 * libio/ioftell.c: Likewise.
3474 * libio/iofwrite.c: Likewise.
3475 * libio/iogetdelim.c: Likewise.
3476 * libio/iogets.c: Likewise.
3477 * libio/iopopen.c: Likewise.
3478 * libio/ioputs.c: Likewise.
3479 * libio/iosetbuffer.c: Likewise.
3480 * libio/iosetvbuf.c: Likewise.
3481 * libio/ioungetc.c: Likewise.
3482 * libio/iovsprintf.c: Likewise.
3483 * libio/iovsscanf.c: Likewise.
3485 * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
3488 * manual/math.texi: Add comment to sincos decsription to say it's a
3490 Fix description of random function.
3492 * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
3493 * posix/glob.c: Likewise. Handle stupid system headers on SunOS.
3494 Add casts for all __alloca calls.
3495 * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
3496 Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
3497 Patches by Paul D. Smith <psmith@BayNetworks.COM>.
3499 * stdio-common/_itoa.c: Don't use relateive #include paths.
3501 * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
3503 (atan): Loading 1.0 from memory does not pay off.
3506 1997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com>
3508 * sysdeps/stub/accept.c: Use socklen_t where necessary.
3509 * sysdeps/stub/bind.c: Likewise.
3510 * sysdeps/stub/connect.c: Likewise.
3511 * sysdeps/stub/getsockname.c: Likewise.
3512 * sysdeps/stub/getsockopt.c: Likewise.
3513 * sysdeps/stub/recvfrom.c: Likewise.