1 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
3 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
5 * sysdeps/generic/setenv.c (setenv): Remove optimization for
6 overwriting existing values if it fits.
8 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
10 * posix/wordexp-test.c: Avoid duplicate messages.
12 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
13 tsearch. Correctly interpret values returned by those functions.
14 (unsetenv): Store pointer to string, not pointer to string pointer.
16 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
17 DST information and offset in them.
18 * time/tzset.c (__tz_convert): Pass extra parameters to
19 __tzfile_compute. Compute equivalent values for use of tz_rules.
21 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
23 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
24 stamp files to avoid unnecessary recompilation.
25 (gen-8bit-gap-table): Likewise.
26 (move-if-change): New variable.
27 (all generated .h rules): Change to be .stmp rules.
28 (%.h): New rule; depend on %.stmp; no commands.
29 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
32 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
34 * Makerules (libc-map): Deleted.
35 (load-map-file): Set to the appropriate compiler switch, not
36 just the file name. If libfoo-map is not set, look for a
37 libfoo.map in the current directory and $(..).
38 (map-file): New variable, contains just the mapfile name.
39 (build-shlib): Adjust for new value of load-map-file.
40 (libc.so): Correct dependencies.
42 * extra-lib.mk: Correct shlib dependencies since libfoo-map
43 may not be set anymore.
45 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
46 Delete libdl-map. Tweak ld.so link rule to work with changed
47 variable settings in Makerules.
48 * iconvdata/Makefile: Tweak build-module to work with changed
49 variable settings in Makerules.
51 * db/Makefile: Delete libdb-map.
52 * hesiod/Makefile: Delete libnss_hesiod-map.
53 * linuxthreads/Makefile: Delete libpthread-map.
54 * locale/Makefile: Delete libBrokenLocale-map.
55 * login/Makefile: Delete libutil-map.
56 * math/Makefile: Delete libm-map.
57 * md5-crypt/Makefile: Delete libcrypt-map.
58 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
59 libnss_nisplus-map, and libnss_compat-map.
60 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
62 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
63 * rt/Makefile: Delete librt-map.
65 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
67 * configure.in: Instead of substituting `yes' or `no' for whether
68 --no-whole-archive is available, set @no_whole_archive@ to the
69 appropriate gcc switch or the empty string. Likewise for
71 * config.make.in: Replace have-no-whole-archive with
72 no-whole-archive and have-no-exceptions with no-exceptions.
73 * Makerules: Delete stanzas setting no-whole-archive and
76 * sunrpc/Makefile: Use move-if-change to update generated .h
79 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
81 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
84 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
86 * time/tzfile.c (__tzfile_read): Remove unused variable info.
87 (__tzfile_compute): Likewise.
89 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
91 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
92 defines from Linux 2.1.102.
94 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
96 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
98 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
100 * inet/netinet/in.h: Add defines for multicast.
101 Reported by Jeremy Hall <jhall@UU.NET>.
103 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
104 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
105 and unsetenv. Optimize _LIBC case.
106 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
107 Define functions with leading __.
109 * time/tzfile.c: Correct handling of global variables daylight,
110 timezone, and tzname.
111 * time/tzset.c: Likewise.
112 * timezone/Makefile (tests): Add tst-timezone.
113 * timezone/tst-timezone.c: New file.
115 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
117 * timezone/asia: Update from tzdata1998d.
118 * timezone/australasia: Likewise.
119 * timezone/europe: Likewise.
121 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
123 * string/string.h: Don't use the optimized versions for the string
124 functions if optimizing for space.
126 * stdlib/tst-strtod.c: Add test for -0.0.
128 * io/ftwtest-sh: Prevent tests from being run by root.
130 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
131 last addition. Patch by wkpark@chem.skku.ac.kr.
133 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
135 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
138 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
140 * iconvdata/gen-8bit.sh: New file.
141 * iconvdata/gen-8bit-gap.sh: New file.
142 * iconvdata/gen-8bit-gap-1.sh: New file.
143 * iconvdata/Makefile (generate-8bit-table): Use shell script
144 instead of writing the commands directly.
145 (generate-8bit-gap-table): Likewise.
146 ($(objpfx)iso8859-7jp.h): Likewise.
147 (generated headers): Depend on shell script instead of Makefile.
148 (before-compile): Add $(perl-generated-headers) only if perl is
150 (headers): Depend on $(perl-generated-headers) only if perl is
152 (sed-generated-headers): Remove iso8859-7jp.h.
154 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
156 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
159 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
161 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
162 formed charset names to getfct. Let user override charset
163 selection by mention charset in locale name.
165 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
167 * posix/glob.c: Move to ...
168 * sysdeps/generic/glob.c: ...here.
169 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
171 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
172 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
173 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
174 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
176 * libc.map [GLIBC_2.1]: Add glob and globfree.
178 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
180 * sunrpc/Makefile (generated): Restore old list.
182 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
184 * rt/Makefile (tests): Define only if we have a thread library.
186 * nis/ypclnt.c: Add: #include <errno.h>.
188 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
190 * configure.in: Define and substitute RELEASE as well as
192 * config.make.in: Add RELEASE and VERSION to be substituted.
193 * Makeconfig: Delete all references to version.mk.
194 * Make-dist: Likewise.
195 * MakeTAGS: Likewise.
196 * elf/Makefile: Likewise.
198 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
200 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
201 yp_get_default_domain.
203 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
205 * sysdeps/posix/profil.c (__profil): Don't define act and timer
206 variables as static. Patch by Joe Keane <jgk@jgk.org>.
208 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
210 * malloc/malloc.c: Fix for NO_THREADS case.
212 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
214 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
215 Remove statfs and fstatfs.
216 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
218 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
220 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
222 * libc.map: Add capget and capset.
224 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
226 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
227 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
228 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
229 and Matt McLean <keys@brio.yikes.com>.
231 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
233 * misc/Makefile (tests): Add tst-mntent.
234 * misc/tst-mntent.c: New file.
236 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
238 * autolock.sh: Removed.
239 * manual/move-if-change: Removed.
241 * scripts: New directory.
242 * =__ify: Moved to scripts.
243 * config.guess: Likewise.
244 * config.sub: Likewise.
245 * gen-FAQ.pl: Likewise.
246 * install-sh: Likewise.
247 * mkinstalldirs: Likewise.
248 * move-if-change: Likewise.
249 * printsources: Likewise.
250 * rellns.sh: Likewise.
251 * test-installation.pl: Likewise.
253 * configure.in: Look in scripts for config.guess, config.sub,
255 * Makefile: Distribute all above files in their
256 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
257 * manual/Makefile: Find mkinstalldirs and move-if-change in
258 $(..)scripts. Drop them from distribute. Minor cleanups.
259 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
260 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
261 * timezone/Makefile: Find rellns-sh in scripts.
263 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
265 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
266 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
268 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
270 * Makefile (+subdir-inits): Delete variable.
271 (+init_subdirs): Likewise.
273 (before-compile): Likewise.
274 (libc-init): Delete stanza.
275 (version-info.h): Delete rule and associated variable.
276 (distribute): Don't distribute moved files.
277 * Makerules (interp-obj): It lives in elf now. Only use it
278 if $(elf) is set. Delete rule to build it.
279 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
280 version.o and version-info.h. Minor cleanups.
281 (routines): Add libc-init, sysdep, version.
282 (generated): Add version-info.h.
283 * elf/Makefile: Build interp.os.
285 * interp.c: Moved to elf.
286 * set-init.c: Moved to csu.
287 * munch-init.c: Likewise.
288 * munch.awk: Likewise.
289 * version.c: Likewise.
291 * Rules: Unconfuse syntax highlighting with a fake comment.
293 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
295 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
298 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
300 * iconvdata/Makefile (generated): Set to *-generated-headers
302 (tests): Set to iconv-test.
303 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
304 * posix/Makefile (generated): Set to wordexp-test-result*.
305 * sunrpc/Makefile (generated): Remove rpcsvc/*.
306 (generated-dirs): Add rpcsvc.
307 * libio/Makefile: Clean up.
309 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
311 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
312 * Makerules: Likewise.
313 (+depfiles): Also add sysdep-others.
315 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
316 * iconvdata/Makefile (distribute): Add TESTS.
317 * localedata/Makefile (repertoires): Rename to repertoiremaps.
318 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
319 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
320 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
321 sysdep-others, not others.
322 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
323 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
325 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
327 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
329 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
330 Cost parameter and set cost_lo to INT_MAX.
331 (add_module): Take new parameter and use it to initialize cost_lo.
332 (read_conf_file): Count modules being loaded and use counter for
333 new parameter to add_module.
334 * iconv/gconv_db.c (find_derivation): When look for cost examine
337 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
339 * string/bits/string2.h: Don't use unsigned char * unless really
340 necessary since this disturbs C++.
341 * sysdeps/i386/i486/bits/string.h: Likewise.
342 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
344 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
346 * malloc/malloc.c (top_check): Fix last change.
348 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
350 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
351 Patch by Matt McLean <keys@brio.yikes.com>.
353 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
355 * Makerules (lib): Put back dependency on lib-noranlib.
356 ($(subdirs-stamps)): Remove dependency on stamp.* again.
358 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
360 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
361 test in __pow2 implementation.
363 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
365 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
366 Still need *FLAGS-.o because we still sometimes build .o files.
367 * db2/Makefile: Don't build libndbm.a if !build-static.
369 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
373 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
375 * configure.in: New test for broken gcc on PowerPC.
376 * sysdeps/powerpc/atomicity.h: Use result of test.
377 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
379 * math/libm-test.c: Update many of the epsilon to match actual
382 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
383 * sysdeps/libm-ieee754/e_expf.c: Likewise.
384 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
385 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
387 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
389 * sysdeps/powerpc/elf/libc-start.c: New file.
390 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
391 * sysdeps/powerpc/elf/start.c: Delete.
393 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
394 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
396 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
399 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
401 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
404 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
405 * sysdeps/libm-i387/e_powl.S: Likewise.
407 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
409 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
410 (malloc_check, free_check, realloc_check, memalign_check): Use
411 them to improve overrun checking. Overruns of a single byte and
412 corruption of the top chunk are now detected much more reliably.
414 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
416 * math/libm-test.c (pow_test): Add test for special value from PR
419 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
421 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
422 including linux/errno.h.
424 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
426 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
428 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
429 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
431 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
433 * Makerules (elide-routines.*): Fix assignments.
434 (do-makelib): Fix typo.
435 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
438 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
440 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
441 $(objpfx)sysd-dirs): Move them...
442 * Makeconfig: ... here.
443 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
444 (stubs): Fix circular depedency.
445 (do-makelib): Clean up.
446 (lib): Don't depend on lib-noranlib.
447 ($(objpfx)stamp.oS): Remove special case for empty
448 static-only-routines.
449 (elide-routines.o): Add $(static-only-routines).
450 (elide-routines$o): Define this instead of elide-routines.$o.
451 * manual/Makefile (stubs): Fix circular dependency.
453 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
455 * libio/Makefile (routines): Remove duplicate oldiofclose.
457 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
459 * string/strcoll.c: Use uint32_t instead of u_int32_t.
461 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
463 * libio/stdio.h: Fix typo in __REDIRECT.
464 * io/sys/stat.h: Likewise.
465 Reported by Myles Uyema <myles@uyema.nws.net>.
467 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
469 * locale/programs/localedef.c (options): Fix help message.
471 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
473 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
474 relocations. Patch by Joe Keane <jgk@jgk.org>.
476 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
478 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
479 ptmalloc_unlock_all, but re-initializes the mutexes instead.
480 (ptmalloc_init): Use new function in thread_at_fork call.
481 (thread_atfork_static): Likewise.
482 Suggested by Wolfram Gloger and Xavier Leroy.
484 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
486 * signal/signal.h: Move definitions of struct sigstack and
487 struct sigaltstack into separate file and include it.
488 * sysdeps/generic/bits/sigstack.h: New file.
489 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
490 * signal/Makefile (headers): Add bits/sigstack.h.
492 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
494 * elf/rtld.c (dl_main): Fix check for number of references to
497 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
499 * elf/rtld.c (dl_main): Check has_interp after executing platform
502 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
504 * iconvdata/run-iconv-test.sh: Fix typo.
506 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
508 * Makerules (+depfiles): Add depfiles for $(tests-static).
511 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
513 * manual/terminal.texi (Special Characters): Fix description of
516 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
518 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
520 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
523 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
525 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
527 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
529 * intl/locale.alias: Update russian entry.
531 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
533 * Makerules (static-only-routines): Reimplement in terms of
535 (shared-only-routines): Reimplement in terms of
536 elide-routines.X [where X is all object-suffixes except .os].
538 (stubs): Create stubs file inside the subdir.
539 (common-mostlyclean): Remove stubs file from inside the subdir.
540 * Makefile (subdir-stubs): Look for stubs files inside the
542 * manual/Makefile (stubs): Create dummy stubs file inside the
545 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
547 Build speed improvement: make ar less of a bottleneck.
549 * Makerules (stamp$o): Just record the object list for later
551 (libc_foo.a): New rule, depends on subdir stamp files; builds
552 and ranlibs the library from the lists saved in those files.
554 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
555 (subdirs-stamp-o): Likewise.
557 (ar-symtab-name): Delete variable.
558 (lib%.a): Delete target.
559 (libc_foo.a(bar.%)): Delete target.
560 (libc_foo.a($(ar-symtab-name))): Delete target.
562 (objects objs): Just depend on libobjs and extra-objs.
563 (libobjs): Depend on the stamp files, not the objects.
564 (extra-objs): New target, just depends on the extra-objs list.
566 (CREATE_ARFLAGS): Kill the `ar S' hack.
568 * config.make.in (have-ar-S): Deleted.
569 * configure.in: Delete test for `ar S'. Add test to determine
570 whether ranlib does anything useful.
572 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
574 * inet/tst-ether_aton.c: Include <stdio.h>.
576 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
578 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
580 * locale/Makefile (distribute): Add programs/repertoire.h.
581 (localedef-modules): Add repertoire.
582 (CPPFLAGS): Define REPERTOIREMAP_PATH.
583 * locale/programs/repertoire.c: New file.
584 * locale/programs/repertoire.h: New file.
585 * locale/programs/charmap.c: Starting fixing character set handling
586 to handle multi-byte encodings.
587 * locale/programs/charset.c: Likewise.
588 * locale/programs/charset.h: Likewise.
589 * locale/programs/ld-collate.c: Likewise.
590 * locale/programs/ld-ctype.c: Likewise.
591 * locale/programs/linereader.c: Likewise.
592 * locale/programs/localedef.c: Likewise.
593 * locale/programs/locfile-kw.gperf: Likewise.
594 * locale/programs/locfile-kw.h: Likewise.
595 * locale/programs/locfile-token.h: Likewise.
596 * locale/programs/locfile.h: Likewise.
597 * locale/programs/stringtrans.c: Likewise.
599 * locale/programs/locfile.c: Interpret I18NPATH value as base of
600 path, extended with "/locales/".
602 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
604 * sysdeps/arm/memset.S: Fix off by one error.
606 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
607 __syscall_error rather than syscall_error directly.
609 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
611 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
612 mmap() syscall for ARM.
614 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
617 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
619 * locale/programs/localedef.c: Recognize repertoire-map option.
621 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
623 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
624 converting non-hex numbers.
625 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
627 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
629 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
631 * resolv/Makefile (tests): New, add tst-aton.
632 * resolv/tst-aton.c: New file.
634 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
636 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
639 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
641 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
642 by letting the later modify the variable computing the total directly.
643 * wcsmbs/mbsrtowcs.c: Likewise.
644 * wcsmbs/wcsnrtombs.c: Likewise.
645 * wcsmbs/wcsrtombs.c: Likewise.
647 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
649 * wcsmbs/wctoc.c: Likewise.
651 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
652 * wcsmbs/wcsrtombs.c: Likewise.
654 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
656 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
658 * iconv/skeleton.c: Correct counting of actually converted
661 * intl/localealias.c (read_alias_file): Use unsigned char for
662 local variables. Remove unused variable tp.
663 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
664 for type of codeset. For loosing Solaris systems.
665 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
666 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
668 Patches by Jim Meyering.
670 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
671 wcsrtombs must put it into initial state.
673 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
675 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
676 argument of bswap_XX macro.
678 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
680 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
683 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
685 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
686 semun and use stdarg macros to get the value.
687 * sysdeps/generic/semctl.c: Don't use union semun.
689 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
691 * string/basename.c [!_LIBC]: Define function as gnu_basename.
693 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
696 * stdlib/grouping.h: Accept ungrouped numbers even if locale
699 * intl/hash-string.h: Don't include values.h.
701 * inet/Makefile (tests): Add tst-ether_aton.
702 * inet/tst-ether_aton.c: New file.
704 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
706 * inet/ether_aton.c (ether_aton): Declare result variable static.
707 Reported by ahyung@unixg.ubc.ca.
709 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
710 Define macro _SEM_SEMUN_UNDEFINED instead.
711 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
713 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
714 * stdio-common/Makefile (tests): Add tst-wc-printf.
716 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
718 * manual/stdio.texi (Variable Arguments Output): Correct variable
719 name. Patch from Ewan Mellor <em@nexus.co.uk>
721 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
723 * intl/dcgettext.c: Remove unneeded definition of
726 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
728 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
729 instead of do-iconv-test.
730 ($(objpfx)gconv-modules): Define rule only if objpfx is not
733 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
735 * string/string.h: Fix feature test.
737 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
739 * iconvdata/iso646.c (BODY): Don't use character constants that
740 depend on signedness of char.
742 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
744 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
745 (sysdep_routines): Add s_pread64 and s_pwrite64.
747 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
749 * iconvdata/Makefile (distribute): Remove generated .h files.
750 * iconvdata/koi8-r.h: Removed.
751 * iconvdata/latin-greek-1.h: Removed.
752 * iconvdata/latin-greek.h: Removed.
754 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
755 * iconvdata/KOI-8: Likewise.
756 * iconvdata/KOI-8..UTF8: Likewise.
757 * iconvdata/KOI8-R: Likewise.
758 * iconvdata/KOI8-R..UTF8: Likewise.
760 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
762 * streams/Makefile (headers): Add sys/stropts.h.
763 * streams/sys/stropts.h: New file.
765 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
767 * sysdeps/unix/sysv/linux/ttyname.c,
768 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
769 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
771 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
773 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
774 argument of _itoa_word.
776 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
778 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
779 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
780 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
781 sigprocmask, resp., instead of EXTRA.
783 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
784 s_pread64 and s_pwrite64.
786 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
788 * iconvdata/Makefile: Correct rules to generate gap table.
789 * iconvdata/gap.pl: Simplify.
791 * iconvdata/TESTS: Name new tests.
792 * iconvdata/testdata/CP1250: New file.
793 * iconvdata/testdata/CP1250..UTF8: New file.
794 * iconvdata/testdata/CP1251: New file.
795 * iconvdata/testdata/CP1251..UTF8: New file.
796 * iconvdata/testdata/CP1252: New file.
797 * iconvdata/testdata/CP1252..UTF8: New file.
798 * iconvdata/testdata/CP1253: New file.
799 * iconvdata/testdata/CP1253..UTF8: New file.
800 * iconvdata/testdata/CP1254: New file.
801 * iconvdata/testdata/CP1254..UTF8: New file.
802 * iconvdata/testdata/CP1255: New file.
803 * iconvdata/testdata/CP1255..UTF8: New file.
804 * iconvdata/testdata/CP1256: New file.
805 * iconvdata/testdata/CP1256..UTF8: New file.
806 * iconvdata/testdata/CP1257: New file.
807 * iconvdata/testdata/CP1257..UTF8: New file.
809 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
811 * iconvdata/Makefile: Add rules for ISO-2022-KR.
812 * iconvdata/iso-2022-kr.c: New file.
814 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
817 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
819 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
820 iso8859-8 and iso8859-10.
821 * iconvdata/iso8859-5.c: Change to use gap method.
822 * iconvdata/iso8859-7.c: Likewise.
823 * iconvdata/iso8859-8.c: Likewise.
824 * iconvdata/iso8859-10.c: Likewise.
826 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
827 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
829 * iconvdata/iso-2022-jp.c: New file.
831 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
832 * iconvdata/ksc5601.h: Unify function interfaces.
833 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
834 * iconvdata/uhc.c: Likewise.
836 * iconvdata/gb2312.h: Use correct types.
838 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
839 size elements of data.
841 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
843 * string/tst-svc.expect: Adapt for change in .input.
844 * string/tst-svc.input: More tests.
846 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
848 * iconvdata/Makefile: Add rules for new modules.
849 * iconvdata/gconv-modules: Likewise.
850 * iconvdata/cp737.c: New file.
851 * iconvdata/cp737.h: New file.
852 * iconvdata/cp775.c: New file.
853 * iconvdata/cp775.h: New file.
854 * iconvdata/cp874.c: New file.
855 * iconvdata/cp874.h: New file.
857 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
859 * iconvdata/Makefile: Create target directory before generating
862 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
864 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
865 __USER_LABEL_PREFIX__.
866 (__ASMNAME, __ASMNAME2): New macros.
868 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
870 * elf/dl-load.c: Include sys/param.h for MAX.
872 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
874 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
875 __ftruncate the strong symbol, and add weak alias.
876 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
878 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
880 * termios/cfsetspeed.c: Make code cleaner and add missing const.
881 Patch by Joe Keane <jgk@jgk.org>.
883 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
886 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
888 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
889 Patch by Thomas Bushnell, n/BSG.
891 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
893 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
895 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
897 * iconvdata/Makefile: Put generated headers in build directory.
899 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
901 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
902 strsep as current directory.
904 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
905 Java. Add definitions for unicodelittle implementation.
906 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
907 * iconv/gconv_simple.c: Define unicodelittle functions.
909 * iconv/iconv_prog.c: Make program print information about position
910 of illegal character in input.
912 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
913 comparison of charset name.
914 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
915 * iconvdata/ebcdic-at-de-a.c: Likewise.
916 * iconvdata/ebcdic-at-de.c: Likewise.
917 * iconvdata/ebcdic-ca-fr.c: Likewise.
918 * iconvdata/euccn.c: Likewise.
919 * iconvdata/eucjp.c: Likewise.
920 * iconvdata/euckr.c: Likewise.
921 * iconvdata/euctw.c: Likewise.
922 * iconvdata/hp-roman8.c: Likewise.
923 * iconvdata/iso6937.c: Likewise.
924 * iconvdata/iso8859-1.c: Likewise.
925 * iconvdata/iso8859-10.c: Likewise.
926 * iconvdata/iso8859-2.c: Likewise.
927 * iconvdata/iso8859-3.c: Likewise.
928 * iconvdata/iso8859-4.c: Likewise.
929 * iconvdata/iso8859-5.c: Likewise.
930 * iconvdata/iso8859-6.c: Likewise.
931 * iconvdata/iso8859-7.c: Likewise.
932 * iconvdata/iso8859-8.c: Likewise.
933 * iconvdata/iso8859-9.c: Likewise.
934 * iconvdata/johab.c: Likewise.
935 * iconvdata/koi-8.c: Likewise.
936 * iconvdata/koi8-r.c: Likewise.
937 * iconvdata/latin-greek-1.c: Likewise.
938 * iconvdata/latin-greek.c: Likewise.
939 * iconvdata/sjis.c: Likewise.
940 * iconvdata/t61.c: Likewise.
941 * iconvdata/uhc.c: Likewise.
943 * iconvdata/iso646.c: Add support for more ISO 646 variants.
944 * iconvdata/TESTS: Add tests for ISO646 module.
945 * iconvdata/gconv-modules: Add new modules.
946 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
947 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
948 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
949 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
950 * iconvdata/testdate/DIN_66003: Likewise.
951 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
952 * iconvdata/testdate/DS_2089: Likewise.
953 * iconvdata/testdate/DS_2089..UTF8: Likewise.
954 * iconvdata/testdate/ES: Likewise.
955 * iconvdata/testdate/ES..UTF8: Likewise.
956 * iconvdata/testdate/ES2: Likewise.
957 * iconvdata/testdate/ES2..UTF8: Likewise.
958 * iconvdata/testdate/GB_1988-80: Likewise.
959 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
960 * iconvdata/testdate/IT: Likewise.
961 * iconvdata/testdate/IT..UTF8: Likewise.
962 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
963 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
964 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
965 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
966 * iconvdata/testdate/JUS_I.B1.002: Likewise.
967 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
968 * iconvdata/testdate/KSC5636: Likewise.
969 * iconvdata/testdate/KSC5636..UTF8: Likewise.
970 * iconvdata/testdate/MSZ_7795.3: Likewise.
971 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
972 * iconvdata/testdate/NC_NC00-10: Likewise.
973 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
974 * iconvdata/testdate/NF_Z_62-010: Likewise.
975 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
976 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
977 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
978 * iconvdata/testdate/NS_4551-1: Likewise.
979 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
980 * iconvdata/testdate/NS_4551-2: Likewise.
981 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
982 * iconvdata/testdate/PT: Likewise.
983 * iconvdata/testdate/PT..UTF8: Likewise.
984 * iconvdata/testdate/PT2: Likewise.
985 * iconvdata/testdate/PT2..UTF8: Likewise.
986 * iconvdata/testdate/SEN_850200_B: Likewise.
987 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
988 * iconvdata/testdate/SEN_850200_C: Likewise.
989 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
991 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
992 * iconvdata/cns11643l1.h: Likewise.
993 * iconvdata/latin-greek-1.h: Likewise.
994 * iconvdata/latin-greek.h: Likewise.
995 * iconvdata/koi8-r.h: Likewise.
996 * iconvdata/jis0212.h: Likewise.
997 * iconvdata/gb2312.h: Likewise.
998 * iconvdata/ksc5601.h: Likewise.
1000 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
1002 * iconvdata/Makefile: Add rules for lots of more modules.
1003 * iconvdata/cp1250.c: New file.
1004 * iconvdata/cp1251.c: New file.
1005 * iconvdata/cp1252.c: New file.
1006 * iconvdata/cp1253.c: New file.
1007 * iconvdata/cp1254.c: New file.
1008 * iconvdata/cp1255.c: New file.
1009 * iconvdata/cp1256.c: New file.
1010 * iconvdata/cp1257.c: New file.
1011 * iconvdata/ebcdic-dk-no-a.c: New file.
1012 * iconvdata/ebcdic-dk-no.c: New file.
1013 * iconvdata/ebcdic-es-a.c: New file.
1014 * iconvdata/ebcdic-es-s.c: New file.
1015 * iconvdata/ebcdic-es.c: New file.
1016 * iconvdata/ebcdic-fi-se-a.c: New file.
1017 * iconvdata/ebcdic-fi-se.c: New file.
1018 * iconvdata/ebcdic-fr.c: New file.
1019 * iconvdata/ebcdic-is-friss.c: New file.
1020 * iconvdata/ebcdic-it.c: New file.
1021 * iconvdata/ebcdic-pt.c: New file.
1022 * iconvdata/ebcdic-uk.c: New file.
1023 * iconvdata/ebcdic-us.c: New file.
1024 * iconvdata/ibm037.c: New file.
1025 * iconvdata/ibm038.c: New file.
1026 * iconvdata/ibm1004.c: New file.
1027 * iconvdata/ibm1026.c: New file.
1028 * iconvdata/ibm1047.c: New file.
1029 * iconvdata/ibm256.c: New file.
1030 * iconvdata/ibm273.c: New file.
1031 * iconvdata/ibm274.c: New file.
1032 * iconvdata/ibm275.c: New file.
1033 * iconvdata/ibm277.c: New file.
1034 * iconvdata/ibm278.c: New file.
1035 * iconvdata/ibm280.c: New file.
1036 * iconvdata/ibm281.c: New file.
1037 * iconvdata/ibm284.c: New file.
1038 * iconvdata/ibm285.c: New file.
1039 * iconvdata/ibm290.c: New file.
1040 * iconvdata/ibm297.c: New file.
1041 * iconvdata/ibm420.c: New file.
1042 * iconvdata/ibm423.c: New file.
1043 * iconvdata/ibm424.c: New file.
1044 * iconvdata/ibm437.c: New file.
1045 * iconvdata/ibm500.c: New file.
1046 * iconvdata/ibm850.c: New file.
1047 * iconvdata/ibm851.c: New file.
1048 * iconvdata/ibm852.c: New file.
1049 * iconvdata/ibm855.c: New file.
1050 * iconvdata/ibm857.c: New file.
1051 * iconvdata/ibm860.c: New file.
1052 * iconvdata/ibm861.c: New file.
1053 * iconvdata/ibm862.c: New file.
1054 * iconvdata/ibm863.c: New file.
1055 * iconvdata/ibm864.c: New file.
1056 * iconvdata/ibm865.c: New file.
1057 * iconvdata/ibm868.c: New file.
1058 * iconvdata/ibm869.c: New file.
1059 * iconvdata/ibm870.c: New file.
1060 * iconvdata/ibm871.c: New file.
1061 * iconvdata/ibm875.c: New file.
1062 * iconvdata/ibm880.c: New file.
1063 * iconvdata/ibm891.c: New file.
1064 * iconvdata/ibm903.c: New file.
1065 * iconvdata/ibm904.c: New file.
1066 * iconvdata/ibm905.c: New file.
1067 * iconvdata/ibm918.c: New file.
1069 * locale/iso-4217.def: Update.
1070 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
1072 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
1075 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1077 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
1080 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1082 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
1083 * Makefile: Likewise.
1084 * posix/Makefile: Likewise.
1085 * sysdeps/mach/hurd/Makefile: Likewise.
1087 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1089 * sysdeps/mach/hurd/bits/dirent.h: New file.
1090 * sysdeps/mach/hurd/readdir64.c: New file.
1091 * sysdeps/mach/hurd/readdir64_r.c: New file.
1093 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1095 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
1096 dprintf): Synchronize declarations with libio/stdio.h.
1098 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1100 * elf/dlerror.c (dlerror): Don't assume that
1101 __libc_internal_tsd_get is defined. __libc_getspecific is already
1102 well-protected, so just use it directly.
1104 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1106 * io/ftw.h (ftw): Fix typo.
1108 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1110 * sysdeps/gnu/utmp_file.c: Fix typo.
1112 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1114 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
1115 one part of a test fails move on to the next test.
1117 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
1119 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1121 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1123 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
1124 as pointers, not signed integers.
1126 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1128 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1130 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1132 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
1133 asm symbol name of functions.
1134 * include/features.h: Kill redundant test.
1136 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
1137 * io/ftw.h: Likewise.
1138 * io/sys/stat.h: Likewise.
1139 * io/sys/statfs.h: Likewise.
1140 * io/sys/statvfs.h: Likewise.
1141 * libio/stdio.h: Likewise.
1142 * resource/sys/resource.h: Likewise.
1143 * rt/aio.h: Likewise.
1145 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
1147 * signal/signal.h: Use new macros for BSD vs. SysV signal().
1149 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
1151 * misc/bsd-compat.c: Removed.
1153 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
1155 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
1156 function declaration.
1157 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
1158 and use them in conversion function.
1159 * iconvdata/Makefile (modules): Re-add ISO6446.
1160 * iconvdata/TEST: Add tests for ASCII variants.
1161 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
1162 * iconvdata/testdata/ANSI_X3.4-1968: New file.
1163 * iconvdata/testdata/BS_4730: New file.
1164 * iconvdata/testdata/BS_4730..UTF8: New file.
1166 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
1168 * iconv/gconv.h (struct gconv_step): Add element stateful.
1169 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
1170 to zero for all internal conversions.
1171 * iconv/skeleton.c: Initialize stateful depending on whether or not
1172 RESET_STATE is defined to one or zero respectively.
1173 * stdlib/mblen.c: Use stateful element of currently selected
1174 converter for result if S is NULL.
1175 * stdlib/mbtowc.c: Likewise.
1176 * stdlib/wctomb.c: Likewise.
1178 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
1180 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
1182 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
1184 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
1185 character in comparison with uint32_t.
1186 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
1187 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
1188 Optimize BODY a bit.
1190 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
1193 * iconv/skeleton.c: Also reset converted counter in case of an error.
1194 Call reset function using correct value for output buffer start.
1196 * iconvdata/Makefile: Re-enable tests.
1198 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
1199 value for to-conversion.
1201 * iconvdata/TESTS: Add new third column.
1202 * iconvdata/run-iconv-test.sh: Add support for charsets which are
1204 * iconvdata/testdata/suntzus: New file.
1206 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
1207 while reading. Correctly used base. Little optimization.
1208 (__strtoul_internal): Likewise.
1210 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
1211 was wrong. Use explicit variable.
1213 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1215 * configure.in: Check for awk.
1216 * config.make.in: Add AWK to be substituted.
1218 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
1219 * manual/users.texi: Fix typo exposed by above rewrite.
1221 * Makefile: Invoke awk using AWK variable.
1222 * csu/Makefile: Likewise.
1223 * elf/Makefile: Likewise.
1224 * mach/Makefile: Likewise.
1225 * manual/Makefile: Likewise.
1226 * sysdeps/gnu/Makefile: Likewise.
1227 * sysdeps/mach/hurd/Makefile: Likewise.
1228 * sysdeps/unix/Makefile: Likewise.
1229 * timezone/Makefile: Likewise.
1231 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1233 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
1234 array index translation.
1235 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
1238 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
1240 * sysdeps/mach/hurd/errlist.c: New file.
1241 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
1242 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
1243 semantics, so rename it.
1245 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1247 * iconvdata/run-iconv-test.sh: Make portable. Always test all
1250 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
1252 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
1253 * wcsmbs/wcsnrtombs.c: Likewise.
1255 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
1257 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
1259 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
1261 * time/strftime.c (my_strftime): Initialize pad variable in
1264 * iconvdata/big5.c: Don't use character constants in comparisons
1265 with unsigned value.
1267 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
1269 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
1270 __libc_siglongjmp to GLIBC_2.1.
1272 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
1275 * iconv/Makefile: Don't run tests now.
1277 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
1278 with correct output buffer.
1280 Major rewrite of the low-level gconv functionality.
1281 * iconv/gconv.c: Rewritten.
1282 * iconv/gconv.h: Likewise.
1283 * iconv/gconv_builtin.c: Likewise.
1284 * iconv/gconv_builtin.h: Likewise.
1285 * iconv/gconv_conf.c: Likewise.
1286 * iconv/gconv_int.h: Likewise.
1287 * iconv/gconv_open.c: Likewise.
1288 * iconv/gconv_simple.c: Likewise.
1289 * iconv/iconv.c: Likewise.
1290 * iconvdata/8bit-gap.c: Likewise.
1291 * iconvdata/8bit-generic.c: Likewise.
1292 * iconvdata/Makefile: Likewise.
1293 * iconvdata/big5.c: Likewise.
1294 * iconvdata/cns11643.c: Likewise.
1295 * iconvdata/cns11643.h: Likewise.
1296 * iconvdata/cns11643l1.c: Likewise.
1297 * iconvdata/cns11643l1.h: Likewise.
1298 * iconvdata/ebcdic-at-de-a.c: Likewise.
1299 * iconvdata/ebcdic-at-de.c: Likewise.
1300 * iconvdata/ebcdic-ca-fr.c: Likewise.
1301 * iconvdata/euccn.c: Likewise.
1302 * iconvdata/eucjp.c: Likewise.
1303 * iconvdata/euckr.c: Likewise.
1304 * iconvdata/euctw.c: Likewise.
1305 * iconvdata/gb2312.c: Likewise.
1306 * iconvdata/gb2312.h: Likewise.
1307 * iconvdata/hp-roman8.c: Likewise.
1308 * iconvdata/iso646.c: Likewise.
1309 * iconvdata/iso6937.c: Likewise.
1310 * iconvdata/iso8859-1.c: Likewise.
1311 * iconvdata/iso8859-10.c: Likewise.
1312 * iconvdata/iso8859-2.c: Likewise.
1313 * iconvdata/iso8859-3.c: Likewise.
1314 * iconvdata/iso8859-4.c: Likewise.
1315 * iconvdata/iso8859-5.c: Likewise.
1316 * iconvdata/iso8859-6.c: Likewise.
1317 * iconvdata/iso8859-7.c: Likewise.
1318 * iconvdata/iso8859-8.c: Likewise.
1319 * iconvdata/iso8859-9.c: Likewise.
1320 * iconvdata/jis0201.c: Likewise.
1321 * iconvdata/jis0201.h: Likewise.
1322 * iconvdata/jis0208.c: Likewise.
1323 * iconvdata/jis0208.h: Likewise.
1324 * iconvdata/jis0212.c: Likewise.
1325 * iconvdata/jis0212.h: Likewise.
1326 * iconvdata/johab.c: Likewise.
1327 * iconvdata/koi-8.c: Likewise.
1328 * iconvdata/koi8-r.c: Likewise.
1329 * iconvdata/ksc5601.c: Likewise.
1330 * iconvdata/ksc5601.h: Likewise.
1331 * iconvdata/latin-greek-1.c: Likewise.
1332 * iconvdata/latin-greek.c: Likewise.
1333 * iconvdata/run-iconv-test.sh: Likewise.
1334 * iconvdata/sjis.c: Likewise.
1335 * iconvdata/t61.c: Likewise.
1336 * iconvdata/uhc.c: Likewise.
1337 * wcsmbs/btowc.c: Likewise.
1338 * wcsmbs/mbrtowc.c: Likewise.
1339 * wcsmbs/mbsnrtowcs.c: Likewise.
1340 * wcsmbs/mbsrtowcs.c: Likewise.
1341 * wcsmbs/wcrtomb.c: Likewise.
1342 * wcsmbs/wcsmbsload.c: Likewise.
1343 * wcsmbs/wcsnrtombs.c: Likewise.
1344 * wcsmbs/wcsrtombs.c: Likewise.
1345 * wcsmbs/wctob.c: Likewise.
1346 * iconv/loop.c: New file.
1347 * iconv/skeleton.c: New file.
1349 * stdlib/mblen.c: Handle empty input string correctly.
1350 * stdlib/mbtowc.c: Likewise.
1352 * posix/getopt.c: Various cleanups.
1354 * sysdeps/arm/bits/setjmp.h: Add copyright text.
1355 * sysdeps/i386/bits/setjmp.h: Likewise.
1356 * sysdeps/m68k/bits/setjmp.h: Likewise.
1357 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1358 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
1360 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
1361 and make longjmp weak alias.
1363 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
1365 * iconv/Makefile (routines): Only include gconv_dl if building for
1366 an ELF system - dynamic linking is not available on a.out.
1367 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
1369 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
1370 routines from gconv_dl.
1372 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
1374 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
1375 we can compile without libio.
1377 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
1379 * sysdeps/mach/hurd/Subdirs: Remove login.
1381 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
1383 * db2/compat.h: Include <errno.h>, to make sure we get the
1384 definition of EFTYPE before we define it ourselves.
1386 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1388 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
1389 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
1390 Fix typo to allow inclusion from sys/ioctl.h again.
1392 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1394 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
1396 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1398 * libc.map: Export __strerror_r. Remove _strerror_internal.
1400 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1402 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
1403 Also undefine __strcasestr.
1405 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1407 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
1408 aliases do not work with global variables due to copy relocations.
1410 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
1412 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
1414 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
1416 * signal/sighold.c: Include stddef.h for NULL definition.
1417 * signal/sigrelse.c: Likewise.
1418 * sysdeps/posix/sigignore.c: Likewise.
1419 * sysdeps/posix/sigset.c: Likewise.
1420 * sysdeps/posix/waitid.c: Likewise.
1421 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1422 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
1423 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1424 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
1425 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1427 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
1429 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
1430 * login/getutent.c (getutxent): Remove alias.
1431 * login/getutent_r.c (setutxent, pututxline, endutxent):
1433 * login/getutid.c (getutxid): Remove alias.
1434 * login/getutline.c (getutxline): Remove alias.
1435 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
1436 __getutid, __getutline and __pututline.
1437 * login/utmpx.h: Moved to ...
1438 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
1439 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
1441 * login/updwtmp.c: Moved to ...
1442 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
1443 allowing file name transformation.
1444 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
1445 additional file name transformation.
1446 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
1447 * login/utmp_file.c: Moved to ...
1448 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
1449 Generalized by allowing file name transformation. Do not
1450 print error message. Library functions should not print them.
1451 Reported by Jim Meyering.
1452 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
1453 with additional file name transformation.
1454 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
1455 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
1456 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
1457 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
1459 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
1460 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
1461 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
1462 Define if __USE_GNU.
1463 * sysdeps/generic/setutxent.c: New file.
1464 * sysdeps/generic/getutxent.c: New file.
1465 * sysdeps/generic/endutxent.c: New file.
1466 * sysdeps/generic/getutxid.c: New file.
1467 * sysdeps/generic/getutxline.c: New file.
1468 * sysdeps/generic/pututxline.c: New file.
1469 * sysdeps/generic/utmpxname.c: New file.
1470 * sysdeps/generic/updwtmpx.c: New file.
1471 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
1472 * sysdeps/generic/bits/utmpx.h: Remove.
1474 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
1476 * posix/wordexp-test.c (main): Initialize ifs element of ts for
1479 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
1481 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
1483 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
1485 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
1486 variable using _G_stat64.
1487 * libio/fileops.c: Remove macro definition of fstat, it is in the
1489 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1491 1998-04-17 Philip Blundell <pb@nexus.co.uk>
1493 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
1494 <willy@odie.barnet.ac.uk>.
1496 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
1498 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
1499 required by IPv6 Basic API.
1500 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
1501 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
1502 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
1503 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
1505 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
1507 Don't name internal representation since it might be different from
1508 the external form (namely on little endian machines).
1509 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
1510 UCS4 into references to INTERNAL.
1511 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
1512 Add endianess support to UCS functions. Change references to
1513 UCS4 into references to INTERNAL.
1514 * iconv/gconv_int.h: Change references to UCS4 into references to
1516 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
1517 * iconvdata/gconv-modules: Change accordingly.
1518 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
1520 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
1522 * iconvdata/8bit-gap.c: Likewise.
1523 * iconvdata/8bit-generic.c: Likewise.
1524 * iconvdata/big5.c: Likewise.
1525 * iconvdata/euccn.c: Likewise.
1526 * iconvdata/eucjp.c: Likewise.
1527 * iconvdata/euckr.c: Likewise.
1528 * iconvdata/euctw.c: Likewise.
1529 * iconvdata/iso646.c: Likewise.
1530 * iconvdata/iso6937.c: Likewise.
1531 * iconvdata/iso8859-1.c: Likewise.
1532 * iconvdata/johab.c: Likewise.
1533 * iconvdata/sjis.c: Likewise.
1534 * iconvdata/t61.c: Likewise.
1535 * iconvdata/uhc.c: Likewise.
1537 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
1538 * iconvdata/8bit-generic.c: Likewise.
1540 * iconvdata/TESTS: Add more tests.
1542 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
1544 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
1546 * iconvdata/Makefile: Better rules to run tests.
1548 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
1549 * iconvdata/testdata/ISO-8859-10: Likewise.
1550 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
1551 * iconvdata/testdata/ISO-8859-2: Likewise.
1552 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
1553 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
1554 * iconvdata/testdata/ISO-8859-3: Likewise.
1555 * iconvdata/testdata/ISO-8859-4: Likewise.
1556 * iconvdata/testdata/ISO-8859-5: Likewise.
1557 * iconvdata/testdata/ISO-8859-6: Likewise.
1558 * iconvdata/testdata/ISO-8859-7: Likewise.
1559 * iconvdata/testdata/ISO-8859-8: Likewise.
1560 * iconvdata/testdata/ISO-8859-9: Likewise.
1562 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
1564 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
1565 intermediate result (if available).
1567 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
1570 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
1571 (distribute): Add run-iconv-test.sh and testdata/*.
1573 * stdlib/testmb.c (main): Simplify mbc array handling.
1575 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1577 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
1578 return value on overflow.
1580 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1582 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
1585 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1587 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
1588 of non-standard function setbuffer.
1590 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1592 * stdio-common/perror.c: Include <string.h> for __strerror_r.
1594 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
1596 * iconvdata/Makefile: Add rules to run tests.
1597 * iconvdata/TESTS: New file.
1598 * iconvdata/run-iconv-test.sh: New file.
1599 * iconvdata/testdata/ISO-8859-1: New file.
1601 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
1604 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
1606 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1607 counter element of step.
1609 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
1611 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
1613 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
1615 (__gconv_transform_utf8_ucs4): Correct test for empty input.
1617 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1619 * Makefile: Include makeconfig before defining rule to regenerate
1622 * configure.in: Remove restriction on compiling without static
1625 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
1627 * test-skeleton.c: Provide hook for initializing code before the fork.
1628 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1631 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1632 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1633 * libio/libioP.h: Adopt _IO_cleanup prototype.
1635 * stdlib/Makefile (tests): Add test-canon2.
1636 * stdlib/test-canon2.c: New file.
1637 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1638 be NULL. Use __lxstat, not __lstat. Correctly recognize long
1640 (__realpath): Make real function which checks RESOLVED parameter for
1643 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1645 * catgets/open_catalog.c (__open_catalog): Fix problems with
1646 reading non-files. Always close file.
1647 Reported by Cristian Gafton <gafton@redhat.com>.
1649 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1651 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
1653 * libc.map: Add various low-level I/O functions.
1655 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
1657 * string/Makefile (routines): Remove strerror_r.
1658 * string/strerror_r.c: Removed.
1659 * string/strerror.c: Call __strerror_r for doing the real work.
1660 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1661 add weak alias strerror_r.
1662 * sysdeps/mach/_strerror.c: Likewise.
1663 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1664 * elf/dl-error.c (_dl_signal_error): Likewise.
1665 * elf/dl-profile.c (_dl_start_profile): Likewise.
1666 * gmon/gmon.c (write_gmon): Likewise.
1667 * stdio-common/perror.c: Likewise.
1668 * stdio-common/vfprintf.c: Likewise.
1670 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
1672 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1673 (sysdep_headers): Add netatalk/at.h.
1675 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1677 * manual/socket.texi, manual/creature.texi, manual/time.texi:
1680 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1682 * posix/regex.c: Rename __re_syntax_options back to
1683 re_syntax_options, aliases do not work with global variables due
1684 to copy relocations.
1685 (regex_compile): Use syntax parameter instead of
1688 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1690 * configure.in: Document that enable-force-install is default.
1692 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
1694 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1696 * sysdeps/posix/mkstemp.c: Likewise.
1698 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
1700 * iconvdata/8bit-gap.c: Simplify step data handling.
1701 * iconvdata/8bit-generic.c: Likewise.
1702 * iconvdata/big5.c: Likewise.
1703 * iconvdata/euccn.c: Likewise.
1704 * iconvdata/eucjp.c: Likewise.
1705 * iconvdata/euckr.c: Likewise.
1706 * iconvdata/euctw.c: Likewise.
1707 * iconvdata/iso6937.c: Likewise.
1708 * iconvdata/iso8859-1.c: Likewise.
1709 * iconvdata/jis0208.h: Likewise.
1710 * iconvdata/jis0212.c: Likewise.
1711 * iconvdata/jis0212.h: Likewise.
1712 * iconvdata/johab.c: Likewise.
1713 * iconvdata/ksc5601.h: Likewise.
1714 * iconvdata/sjis.c: Likewise.
1715 * iconvdata/t61.c: Likewise.
1716 * iconvdata/uhc.c: Likewise.
1718 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
1720 * manual/texinfo.texi: Updated from last version.
1722 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
1724 * iconvdata/cns11643.c: New file.
1725 * iconvdata/cns11643.h: New file.
1726 * iconvdata/cns11643l1.c: New file.
1727 * iconvdata/cns11643l1.h: New file.
1728 * iconvdata/euctw.c: New file.
1729 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1730 * iconvdata/gconv-modules: Likewise.
1732 * iconvdata/eucjp.c: Several bug fixes and improvements.
1733 * iconvdata/gb2312.h: Likewise.
1734 * iconvdata/jis0201.h: Likewise.
1735 * iconvdata/jis0208.h: Likewise.
1736 * iconvdata/jis0212.h: Likewise.
1738 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
1740 * iconvdata/eucjp.c: New file.
1741 * iconvdata/euccn.c: New file.
1742 * iconvdata/gb2312.h: New file.
1743 * iconvdata/gb2312.c: New file.
1744 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1745 * iconvdata/gconv-modules: Likewise.
1747 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1749 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1751 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1752 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1753 Patch by Mark Hatle <fray@kernel.crashing.org>.
1755 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
1757 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1759 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1760 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1762 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1764 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1766 * iconvdata/Makefile: Add rules for big5 conversion.
1767 * iconvdata/gconv-modules: Likewise.
1768 * iconvdata/big5.c: New file.
1770 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1771 Patch by Jim Meyering.
1773 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
1775 * rt/tst-aio.c: Add test for aio_read and lio_listio.
1777 * rt/lio_listio.c: Correct total counter handling.
1779 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1782 * test-skeleton.c (main): Make stdout unbuffered. Improve message
1783 of signal on exit even more.
1785 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1786 instead of call to pthread_cond_init.
1787 * rt/lio_listio.c (lio_listio): Likewise.
1788 * rt/lio_listio64.c (lio_listio64): Likewise.
1790 * nis/nis_findserv.c: Include sys/socket.h.
1792 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
1794 * Makeconfig (rtobjdir): New variable.
1795 (rpath-link): Add rtobjdir and thread directory, if available.
1797 * test-skeleton.c: Add support to remove temporary files.
1798 Always define test_dir. Improve message about expected signal.
1800 * rt/Makefile (tests): Add tst-aio.
1801 Add rules for tst-aio to be linked with librt and thread library.
1802 * rt/aio_misc.c: Correct fundamental bugs.
1803 * rt/aio_suspend.c: Correct bug in test for available request.
1804 Initialize conditional variable.
1805 * rt/lio_listio.c: Initialize conditional variable.
1806 * rt/lio_listio64.c: Likewise.
1807 * rt/tst-aio.c: New file.
1809 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1810 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
1811 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1812 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1813 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1814 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1815 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1817 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
1819 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1821 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
1823 * elf/dl-load.c (open_path): Use correct name for test whether
1824 directory in load path exists.
1826 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1827 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1828 Patches by Tom Rini <trini@kernel.crashing.org>.
1830 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1831 * wcsmbs/wcstod_l.c: Likewise.
1832 * wcsmbs/wcstold_l.c: Likewise.
1834 * include/byteswap.h: New file.
1836 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1837 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
1839 * inet/getnameinfo.c (getnameinfo): Change parameter to match
1840 declaration. Patch by Richard Henderson.
1842 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
1844 * manual/process.texi (SIGCHLD example): Save errno.
1846 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1848 * posix/regex.c: Define regerror really as __regerror.
1849 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1850 regerror and regfree.
1852 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1853 * stdlib/strtod_l.c: Likewise.
1854 * stdlib/strtold_l.c: Likewise.
1856 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1858 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1860 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1861 Patch by Christian Gafton.
1863 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
1865 * manual/socket.texi (Interface Naming): Correct @deftypefun line
1868 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1870 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1872 * manual/socket.texi (Interface Naming): Fix typo.
1874 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1876 * manual/examples/filesrv.c (main): Remove filename first.
1878 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1881 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1884 * manual/examples/filecli.c (main): Use AF_LOCAL
1887 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1889 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1891 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1892 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1893 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1894 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1895 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1896 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1898 * login/utmp_daemon.c (open_socket): Use __connect not connect.
1900 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1902 * configure.in: Add new option --enable-force-install. Substitute
1904 * config.make.in (force-install): Set from configure.
1905 * Makerules (force-install): New phony target.
1906 * Makeconfig (+force): New variable.
1907 * Makefile: Use it in dependency list of installation targets.
1908 * db/Makefile: Likewise.
1909 * db2/Makefile: Likewise.
1910 * elf/Makefile: Likewise.
1911 * hurd/Makefile: Likewise.
1912 * iconv/Makefile: Likewise.
1913 * iconvdata/Makefile: Likewise.
1914 * intl/Makefile: Likewise.
1915 * localedata/Makefile: Likewise.
1916 * login/Makefile: Likewise.
1917 * po/Makefile: Likewise.
1918 * sunrpc/Makefile: Likewise.
1919 * sysdeps/mach/hurd/Makefile: Likewise.
1920 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1921 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1922 * timezone/Makefile: Likewise.
1924 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1926 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1927 alloc_size. Pass return value of getcwd syscall to realloc.
1929 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1931 * manual/socket.texi: Spelling fixes.
1933 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1935 * elf/dl-load.c (print_search_path): Remove unused variable.
1937 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1939 * login/utmp_file.c: use __ftruncate not ftruncate.
1940 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1941 for system call and make ftruncate weak alias.
1942 * posix/unistd.h: Add prototype for __ftruncate.
1943 * login/utmp_daemon.c (open_socket): Use __socket not socket.
1944 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1945 instead of snprintf and readv.
1946 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1948 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1951 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
1953 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1954 * iconv/gconv_db.c: Use __ protected regex functions.
1955 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1956 * posix/getopt_init.c: Use __getpid not getpid.
1957 * posix/regex.c: Rename all global functions to start with __ and
1958 make old names weak aliases.
1959 * posix/regex.h: Adopt prototypes for this.
1960 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1961 a weak alias and use __getcwd instead of getcwd.
1962 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1963 * stdlib/strtod.c: Use __btowc instead of btowc.
1964 * stdlib/strtol.c: Likewise.
1965 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1966 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1967 and sys_errlist are weak.
1968 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1969 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1970 * wcsmbs/mbsnrtowcs.c: Likewise.
1971 * wcsmbs/mbsrtowcs.c: Likewise.
1972 * wcsmbs/wcsnrtombs.c: Likewise.
1973 * wcsmbs/wcsrtombs.c: Likewise.
1974 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1976 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1977 * wctype/wctype.c: Define function as __wctype and make wctype
1979 * wctype/wctype.h: Declare __wctype.
1981 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1983 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1985 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1987 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1989 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1991 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1993 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1994 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1995 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1996 make it a weak alias.
1997 * posix/unistd.h: Declare __lseek64.
1999 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
2000 (_IO_file_stat): Fix typo.
2001 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
2002 block size from the file. Use __mempcpy if _LIBC.
2004 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
2006 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
2007 * wcsmbs/mbrtowc.c: Likewise.
2008 * wcsmbs/mbsnrtowcs.c: Likewise.
2009 * wcsmbs/mbsrtowcs.c: Likewise.
2010 * wcsmbs/wcrtomb.c: Likewise.
2011 * wcsmbs/wcsnrtombs.c: Likewise.
2012 * wcsmbs/wcsrtombs.c: Likewise.
2013 * wcsmbs/wctob.c: Likewise.
2015 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
2016 position of next output character correctly.
2017 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
2019 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
2021 * stdlib/strtod.c: Don't use mbtowc.
2023 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
2025 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
2026 what we want is smaller than a buffer.
2028 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
2030 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
2033 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2035 * configure.in: Recognize --with-headers flag and determine
2036 commandline options to be used in compilation.
2037 * Makeconfig (+includes): Use $(sysincludes).
2038 * config.make.in (sysincludes): Define from SYSINCLUDES.
2039 * glibcbug.in: Use SYSINCLUDES information.
2040 Patches by Zack Weinberg.
2042 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
2044 * glibcbug.in: On linux, report version of kernel headers seen
2047 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
2049 * libc.map: Add __asprintf to GLIBC_2.1.
2050 * elf/dlerror.c: Use __asprintf, not asprintf.
2051 * libio/stdio.h: Declare __asprintf.
2052 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
2055 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
2056 to avoid inclusion from libc_pic.a.
2058 * elf/dl-runtime.c: Undo last patch.
2060 * stdlib/strtod.c: Don't use mbtowc, use btowc.
2062 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
2063 as default, use NULL.
2065 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2067 * resolv/Makefile: Include ../Makeconfig - needed for building
2070 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2072 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
2073 static-nss since we don't want hesiod in the static NSS.
2075 * nss/Makefile: Build only nss_files as static.
2077 * nss/function.def: Remove support for service db.
2079 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
2081 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
2083 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
2085 * posix/wordexp-test.c: Make IFS per test-case.
2087 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
2089 * glibcbug.in: Report version of gcc in use. Remove unused variable
2092 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
2094 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
2095 `-print-file-name' to find as and ld.
2097 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2099 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
2100 template is wrong. Remove unused varaible `ignored'.
2102 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2104 * libc.map: Export __libc_sa_len.
2106 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
2108 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
2110 * iconv/gconv.c: Take care for NULL arguments.
2111 * iconv/gconv_dl.c: Make find_func function global.
2112 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
2113 Add prototypes for ASCII conversion functions.
2114 * iconv/gconv_simple.c: Add ASCII conversion functions.
2115 * locale/C-ctype.c: Correct charset name.
2117 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
2118 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
2120 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
2121 * wcsmbs/mbrtowc.c: Likewise.
2122 * wcsmbs/mbsnrtowcs.c: Likewise.
2123 * wcsmbs/mbsrtowcs.c: Likewise.
2124 * wcsmbs/wcrtomb.c: Likewise.
2125 * wcsmbs/wcsnrtombs.c: Likewise.
2126 * wcsmbs/wcsrtombs.c: Likewise.
2127 * wcsmbs/wctob.c: Likewise.
2128 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
2129 prototypes for wmemr*.
2130 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
2131 * wcsmbs/wcsnlen.c: New file.
2132 * wcsmbs/wcsmbsload.c: New file.
2133 * wcsmbs/wcsmbsload.h: New file.
2135 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
2137 * manual/install.texi: Describe some more critical points.
2139 * string/string.h: Add prototype for __strnlen.
2140 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
2142 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
2143 much less predictable names.
2144 * sysdeps/posix/mkstemp.c: Likewise.
2146 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2148 * manual/libc.texinfo (Top): Change "file namespace" to "local
2151 * manual/socket.texi: Change file namespace to local namespace.
2152 (Out-of-Band Data): Remove unneeded variable link.
2153 (Host Address Functions): Use uint32_t consequently and add a
2154 number of clarifications for IPv4/IPv6, classless addresses.
2155 (Internet Namespace): Added some paragraphs about IPv6.
2156 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2158 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2160 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
2162 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
2163 (NI_NUMERICHOST, et al.): Tidy up and add comments.
2164 (AI_NUMERICHOST): Define.
2165 (getnodebyname): New prototype.
2166 (AI_V4MAPPED, et al.): New constants.
2168 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
2169 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
2170 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
2172 * sysdeps/unix/sysv/linux/sa_len.c: New file.
2173 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
2175 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
2177 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
2178 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
2179 * socket/Makefile (headers): Add bits/sockunion.h.
2180 * socket/sys/socket.h: Include <bits/sockunion.h>
2181 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
2182 <sys/socket.h>, to avoid getting sockaddr_union defined.
2183 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
2184 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2185 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2187 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
2188 (2.2.x kernels won't have it).
2190 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
2192 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
2193 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
2194 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
2195 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
2197 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2199 * manual/socket.texi (Socket Addresses): Fix a typo.
2200 (Interface Naming): New section.
2202 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
2204 * configure.in: Check for CC using $ac_tool_prefix, to handle
2205 cross-compilation. Use AC_CHECK_TOOL to find MiG.
2206 * config.make.in: Add MIG to be substituted.
2207 * mach/Machrules: Don't define MIG variable.
2209 Patch by Gordon Matzigkeit <gord@profitpress.com>.
2211 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
2213 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
2214 strdupa to copy rpath.
2216 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2218 * configure.in: Fix gcc version check.
2220 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
2223 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
2225 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
2228 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
2230 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
2231 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
2232 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
2233 of __ptsname_r accordingly.
2234 * login/openpty.c (openpty): Likewise.
2236 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
2238 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
2240 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2242 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
2244 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
2246 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2248 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
2249 return value for better error checking.
2251 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2253 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
2254 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
2256 * elf/elf.h (EM_SPARC64): Remove.
2257 (EM_SPARC32PLUS, EM_SPARCV9): Add.
2258 (HWCAP_SPARC_V9): Add.
2260 * elf/ldsodefs.h (_dl_hwcap): Declare.
2261 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
2262 Weaken so dlopen from static progies works.
2263 (WEAKADDR): New macro.
2264 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
2265 (LD_SO_PRELOAD): New macro.
2266 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
2267 (elf_machine_rela): Weaken _dl_rtld_map.
2269 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
2270 to __clone, and remove the later's alias.
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
2274 the kernel's structure.
2276 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
2277 Sparc needs a custom value of __KERNEL_NCCS.
2279 1998-04-06 Richard Henderson <rth@cygnus.com>
2281 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
2283 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
2284 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2286 1998-04-06 Richard Henderson <rth@cygnus.com>
2288 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
2289 as the buffer is not properly aligned.
2290 Reported by Juan Cespedes <cespedes@debian.org>.
2292 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2294 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
2297 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
2299 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
2300 and wc*tomb* functions.
2302 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
2304 * sysdeps/unix/start.c: Fix typo.
2306 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
2308 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
2310 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
2312 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
2313 expressions and using array variables.
2314 * sysdeps/libm-ieee754/e_asin.c: Likewise.
2315 * sysdeps/libm-ieee754/e_j0.c: Likewise.
2316 * sysdeps/libm-ieee754/e_j1.c: Likewise.
2317 * sysdeps/libm-ieee754/e_log.c: Likewise.
2318 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2319 * sysdeps/libm-ieee754/k_cos.c: Likewise.
2320 * sysdeps/libm-ieee754/k_sin.c: Likewise.
2321 * sysdeps/libm-ieee754/k_tan.c: Likewise.
2322 * sysdeps/libm-ieee754/s_atan.c: Likewise.
2323 * sysdeps/libm-ieee754/s_erf.c: Likewise.
2324 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2325 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2326 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
2328 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
2330 * iconv/gconv.c: Rewrite of the low-level of gconv.
2331 * iconv/gconv.h: Likewise.
2332 * iconv/gconv_builtin.h: Likewise.
2333 * iconv/gconv_close.c: Likewise.
2334 * iconv/gconv_db.: Likewise.
2335 * iconv/gconv_dl.c: Likewise.
2336 * iconv/gconv_int.h: Likewise.
2337 * iconv/gconv_open.c: Likewise.
2338 * iconv/gconv_simple.c: Likewise.
2339 * iconvdata/8bit-gap.c: Adapt for rewrite.
2340 * iconvdata/8bit-generic.c: Likewise.
2341 * iconvdata/euckr.c: Likewise.
2342 * iconvdata/iso646.c: Likewise.
2343 * iconvdata/iso6937.c: Likewise.
2344 * iconvdata/iso8859-1.c: Likewise.
2345 * iconvdata/johab.c: Likewise.
2346 * iconvdata/sjis.c: Likewise.
2347 * iconvdata/t61.c: Likewise.
2348 * iconvdata/uhc.c: Likewise.
2350 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
2352 * iconv/gconv_int.h: New file. Internal header.
2353 * iconv/Makefile (distribute): Add gconv_int.h.
2354 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
2355 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
2356 * iconv/gconv_close.c: Likewise.
2357 * iconv/gconv_conf.c: Likewise.
2358 * iconv/gconv_db.c: Likewise.
2359 * iconv/gconv_dl.c: Likewise.
2360 * iconv/gconv_int.h: Likewise.
2361 * iconv/gconv_open.c: Likewise.
2362 * iconv/iconv.c: Likewise.
2363 * iconv/iconv_close.c: Likewise.
2364 * iconv/iconv_open.c: Likewise.
2365 * iconv/iconv_prog.c: Likewise.
2367 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2369 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
2372 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2374 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
2376 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2378 Based on patch from Pat Beirne:
2379 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
2380 PIC and non-PIC now. Correctly negate error number.
2381 (errno): Use `%' not `@' in .type directives.
2383 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2385 * sysdeps/i386/strtok.S: Change to use single exit point.
2386 * sysdeps/i386/i686/strtok.S: Likewise.
2388 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2390 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
2393 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2395 * Makerules (installed-libcs): Fix typo.
2397 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2399 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
2400 (UHC-routines): Remove ksc5601.
2402 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2404 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
2405 introduced in last change.
2407 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
2409 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
2412 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2414 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
2416 * stdlib/isomac.c: Use -isystem instead of -I for system include
2419 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
2421 * resolv/res_comp.c (underscorechar): New.
2422 (middlechar): Allow '_'.
2424 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2426 * intl/explodename.c (stdlib.h): Include that file only if
2427 STDC_HEADERS or _LIBC.
2428 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
2429 Patch by Philippe De Muyter <phdm@macqel.be>.
2431 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
2433 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
2434 (AC_PROG_CHECK_VER): New macro.
2435 * configure.in: Use AC_PROG_CHECK_VER to check versions of
2436 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
2438 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
2440 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
2441 * sysdeps/i386/i686/strtok.S: New file
2442 * sysdeps/i386/i686/strtok_r.S: New file
2444 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
2446 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
2448 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
2449 parameter as __off64_t instead of __off_t.
2450 (ftello): Make alias for ftello64 instead of ftello. Change
2451 return type to __off64_t.
2453 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2455 * sysdeps/i386/bits/string.h: Fix various typos.
2456 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2458 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
2460 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2462 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
2463 lchown syscall correctly. [PR libc/541].
2465 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
2467 * localedata/Makefile: Correct testsuite rules.
2469 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
2470 * iconvdata/iso646.c: Fix conversion from UCS4.
2472 * elf/ldsodefs.h: Mark internal function with internal_function.
2473 * elf/dl-addr.c: Likewise.
2474 * elf/dl-close.c: Likewise.
2475 * elf/dl-debug.c: Likewise.
2476 * elf/dl-deps.c: Likewise.
2477 * elf/dl-error.c: Likewise.
2478 * elf/dl-fini.c: Likewise.
2479 * elf/dl-init.c: Likewise.
2480 * elf/dl-load.c: Likewise.
2481 * elf/dl-lookup.c: Likewise.
2482 * elf/dl-object.c: Likewise.
2483 * elf/dl-open.c: Likewise.
2484 * elf/dl-profile.c: Likewise.
2485 * elf/dl-reloc.c: Likewise.
2486 * elf/dl-runtime.c: Likewise.
2487 * elf/dl-symbol.c: Likewise.
2488 * elf/dl-version.c: Likewise.
2489 * elf/dlerror.c: Likewise.
2490 * sysdeps/generic/dl-sysdep.c: Likewise.
2491 * sysdeps/i386/dl-machine.h: Likewise.
2492 * intl/finddomain.c: Likewise.
2493 * intl/gettextP.h: Likewise.
2494 * intl/loadmsgcat.c: Likewise.
2496 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
2498 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
2499 * iconv/gconv_builtin.h: Add definitions for new builtins.
2500 * iconv/gconv.h: Add prototypes for new builtins.
2502 * iconvdata/Makefile (modules): Add ISO646.
2503 Add rules for ISO646 module.
2504 (distribute): Add iso646.c.
2505 * iconvdata/gconv-modules: Add module and alias definition for
2507 * iconvdata/iso646.c: New file.
2509 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
2511 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
2512 * iconv/iconv_prog.c: Implement --list option to print available
2513 coded character sets.
2515 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
2517 Make fread() read large blocks straight to the user buffer.
2519 * libio/fileops.c (_IO_file_xsgetn): New function.
2520 (_IO_file_jumps): Use it.
2521 * libio/libioP.h: Prototype it.
2523 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2525 * iconv/gconv_conf.c (builtin_aliases): New variable.
2526 (__gconv_read_conf): Add builtin aliases.
2527 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
2528 noop macro before including gconv_builtin.h.
2529 * iconv/gconv_builtin.h: Add alias names.
2531 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
2532 number of converted bytes correctly.
2534 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2536 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
2537 we only wait for a replay.
2539 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2541 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
2544 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
2546 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
2547 use PLTJMP() rather than explicit (PLT).
2549 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
2550 __libc_start_main().
2552 Based on patch from Pat Beirne:
2553 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
2554 Always define, not only #ifndef PIC.
2555 (DO_CALL): Pass fifth argument correctly in R4.
2556 (PSEUDO): Correct test for error, call syscall_error through PLT
2559 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
2561 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
2564 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2566 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
2569 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
2571 * io/Makefile (static-only-routines): Add stat64, fstat64 and
2574 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2576 * manual/Makefile: Use object-suffixes-for-libc instead of
2578 * rpm/Makefile (install-lib): Likewise.
2580 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2582 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
2584 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
2585 `m68*', not only `m68k'.
2587 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2589 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
2591 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
2594 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2596 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
2599 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
2602 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
2604 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
2607 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2609 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
2611 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2613 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
2615 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2617 * Makerules (install): Change comment for libc.so following the
2618 libc_nonshared changes.
2620 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2622 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2624 * iconvdata/gap.pl: Avoid using %#06x.
2626 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
2628 * Makerules: Use $? instead of S^ when invoking ar.
2630 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2632 * db2/compat.h: Allow EFTYPE being defined.
2633 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2634 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2635 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2636 * sysdeps/mach/bits/libc-lock.h: Fix typo.
2637 (__libc_once): Correctly unlock semaphore.
2638 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2639 * sysdeps/unix/bsd/getpt.c: Fix typo.
2640 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2642 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2644 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2647 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
2649 * include/mntent.h: New file.
2651 * elf/Makefile (trusted-dirs.h): Append slash to filename.
2652 * elf/dl-load.c: Rewrite search path handling.
2653 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2654 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2655 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2656 * elf/ldsodefs.h: Add prototype.
2658 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2660 * nss/nsswitch.c (__nss_lookup): Adjust comment.
2662 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2665 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2667 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2669 (HWCAP_IMPORTANT): New definition.
2671 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
2673 * elf/dl-open.c (_dl_open): Fix a typo.
2674 (_dl_global_scope_alloc): Make it static.
2676 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
2678 * Makerules: Remove duplicate rules to handle stamp.oS.
2680 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2682 * manual/examples/inetsrv.c (main): Change prototype of
2683 make_socket following change in mkisock.c.
2685 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2687 (main): Change prototype of init_sockaddr following change in
2690 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2691 * manual/examples/isockad.c (init_sockaddr): Likewise.
2693 * manual/examples/mkfsock.c (make_named_socket): Removed blank
2694 lines for clarification.
2695 (make_named_socket): Use strncpy instead of strcpy.
2696 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2698 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
2700 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2701 determining libs to remove.
2702 (postclean): Add soversions.mk.
2703 * Makerules (common-mostlyclean): Add tests-static and generated
2706 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
2708 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2710 (__strncat_g): Add i686 specific code.
2712 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2714 * manual/install.texi (Reporting Bugs): Ask to include section
2717 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2719 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2720 guard against direct inclusion.
2722 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2724 Rework support for libc_nonshared.a:
2725 * Makeconfig (object-suffixes-for-libc): New variable.
2726 * Rules: Remove handling of static-only and shared-only routines.
2727 * Makerules: Handle them here instead. Use
2728 object-suffixes-for-libc instead of object-suffixes when dealing
2730 (object-suffixes-for-rules): Remove variable.
2731 (elide-routines.oS): Elide all routines except static-only
2733 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2735 (installed-libcs): Remove special case for .oS.
2738 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2740 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2741 do-tst-rpmatch): New targets.
2743 (install-locales): Ignore comment lines.
2745 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2747 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2748 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2749 ($(objpfx)rtldtbl.h): Likewise.
2750 (CPPFLAGS-dl-load.c): Fix reference to object directory.
2752 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
2754 * manual/string.texi (Finding Tokens in a String): Extend strsep
2755 description and correct example.
2757 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2759 * manual/socket.texi: Remove misguided explicit line breaks and
2760 fix the formatting problem instead by reformulating the
2762 * manual/filesys.texi: Likewise.
2763 * manual/conf.texi: Likewise. Don't typeset table with index
2764 fonts, that looks worse than a minimally overfull line.
2766 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2768 * nscd/Makefile (nscd-modules): Move definition outside of
2771 * pwd/Makefile: Use have-thread-library to test for thread
2774 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2776 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2778 * iconvdata/uhc.c (gconv): Remove unused variable idx.
2780 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2782 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2784 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
2786 * nss/getXXent_r.c: Correctly handle failing setXXent function.
2788 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2789 Reported by Andreas Jaeger.
2791 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
2793 * elf/Makefile: Fix typo.
2794 (distribute): Add dl-librecon.h.
2795 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2796 * elf/ldd.sh.in: Likewise.
2797 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2798 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2799 Use strsep correctly.
2800 (process_envvars): Allow platform specific variables.
2801 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2802 (_dl_load_cache_lookup): Test cache IDs found against
2803 _dl_correct_cache_id.
2804 * sysdeps/generic/dl-librecon.h: New file.
2805 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2807 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2809 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
2811 * config.make.in (ldd-rewrite-script): New variable.
2812 * configure.in: Substitute ldd-rewrite-script.
2813 * elf/Makefile: Rewrite rules to generate ldd script.
2814 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2815 * elf/ldd.sh.in: Likewise.
2816 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2817 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2818 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2819 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2820 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2822 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
2824 * inet/rcmd.c (iruserok): Remain setuid to the local user
2825 while .rhosts is actually read, to make .rhosts-over-NFS work
2826 (PR libc/524). Use iruserfopen() for security checks on both
2827 hosts.equiv and .rhosts. General cleanup.
2828 (iruserfopen): New function, performs careful checking on
2829 hosts.equiv/.rhosts files. Disallows all the old forbidden
2830 stuff plus hard links to files.
2832 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
2834 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2836 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2838 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
2840 * sysdeps/i386/i486/bits/string.h: Fix typos.
2842 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
2844 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2847 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2849 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2850 Added. Used by libm.so on alpha.
2852 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2854 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2857 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
2859 * Makerules (object-suffixes-for-rules): Add .oS only for
2860 building shared library.
2861 Add ranlib rule for nonshared library.
2864 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2865 into for shared library only.
2866 (CPPFLAGS-.oS): Add -DPIC.
2867 (libtypes): Use $(object-suffixes-for-rules) instead of
2870 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
2872 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2873 and install lddlibc4.
2875 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
2877 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2879 * iconvdata/gaptab.pl: Likewise.
2881 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
2883 * Rules: Allow Makefiles to specify test-static for tests which
2884 cannot be linked dynamically.
2885 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2888 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2890 * misc/error.c: Pretty print.
2892 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2894 * Makerules (libc_nonshared-name): Remove variable.
2895 (installed-libcs): Use libc-name instead.
2896 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
2899 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2900 libc.a. Remove explicit reference to dynamic linker.
2902 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2904 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2906 * iconv/iconv_prog.c: Correctly test for write failure.
2907 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2908 * iconvdata/gconv-modules: Likewise.
2909 * iconvdata/euckr.c: New file.
2910 * iconvdata/johab.c: New file.
2911 * iconvdata/ksc5601.c: New file.
2912 * iconvdata/ksc5601.h: New file.
2913 * iconvdata/uhc.c: New file.
2914 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2916 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2917 * stdio/fopen.c: Correct handling of 'x' flag.
2918 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2920 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2922 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2923 * sunrpc/rpcsvc/key_prot.x: Likewise.
2924 * sunrpc/key_prot.c: Likewise.
2926 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
2928 * sysdeps/i386/bits/string.h: Correct things which never worked.
2929 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2930 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2932 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2934 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2935 defined. Reported by Thorsten Kukuk.
2937 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
2939 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2941 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2943 * manual/install.texi (Supported Configurations): Add
2944 arm-linuxaout and arm-none.
2946 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2948 * version.h (VERSION): Bump to 2.0.93.
2950 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
2952 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2954 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2956 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2957 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2959 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2961 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2963 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2965 Put the static-only routines in a separate library.
2966 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2968 (all-object-suffixes): Add .oS.
2969 * Makerules (libc_static-name): New variable.
2970 (installed-libcs): Add libc_nonshared.a.
2971 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2972 (object-suffixes-for-rules): New variable. Use it instead of
2973 object-suffixes for generating compilation rules.
2974 (rmobjs): Also remove *.oS.
2975 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2976 ($(objpfx)stamp.oS): New target.
2978 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2980 * Makefile (FAQ): Automatically check in regenerated FAQ.
2982 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
2984 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2986 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2988 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2989 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2991 * sysdeps/generic/stub_warning: Removed.
2993 * Makefile (distribute): Add include/des.h.
2995 * manual/Makefile (distribute): Change dir-add.texi to
2998 * glibcbug.in: Create files safely when mktemp is not available.
3000 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
3001 Patch by a sun <asun@saul1.u.washington.edu>.
3003 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3005 * libc.map: Rename getname to getnetname.
3007 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
3009 * manual/maint.texi: Use supported platform in examples.
3011 * manual/install.texi: Document some installation tips.
3013 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
3015 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
3016 Fix a bug so that it returns an error if a numeric parameter is
3017 unset and WRDE_UNDEF is set.
3018 Patch by Andreas Schwab and Tim Waugh.
3019 * posix/wordexp-test.c: Add new new test.
3021 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
3023 * posix/regex.c (regex_compile): Last patch wasn't entirely
3024 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
3026 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3028 * manual/filesys.texi (Scanning Directory Content): Fix typo.
3030 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3032 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
3033 clobbered registers don't appear as operands.
3035 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3037 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
3040 * posix/regex.c (regex_compile): Don't allow non-alphabet
3041 characters in character set name.
3043 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
3045 * posix/wordexp.c (w_newword): New function.
3046 (do_parse_glob): New function.
3047 (parse_glob): Use do_parse_glob. Now handles the case where a
3048 variable expansion causes a field-split.
3049 (wordexp): Use w_newword.
3050 (parse_arith): Likewise.
3051 (exec_comm): Likewise.
3052 (parse_comm): Likewise.
3053 (parse_param): Likewise.
3054 (parse_backtick): Likewise.
3056 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
3058 * posix/wordexp-tst.sh: Another test.
3060 * posix/wordexp-test.c: Two new tests.
3062 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
3063 directly (the code using realloc was buggy).
3064 (parse_param): Fix typo in comment.
3066 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3068 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
3070 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3072 * libc.map: Add more rpc auth functions/variables.
3074 * nscd/nscd.c: Add -g option to argp options.
3076 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3078 * configure.in: Be prepared for gcc 2.9.10 and up.
3079 * configure.in: Add missing disabling of quote characters in
3080 compiler version check. Reported by HJ Lu.
3082 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3084 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
3086 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3088 * intl/locale.alias: Fix spelling of romanian.
3090 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
3091 (distribute): Remove des.h.
3092 * include/des.h: New file.
3093 * sunrpc/des.h: Moved to ...
3094 * sunrpc/rpc/rpc_des.h: ...here.
3096 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
3098 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
3101 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3103 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
3104 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
3106 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3108 * elf/ldsodesf.h: New file.
3109 * elf/Makefile (distribute): Add ldsodefs.h.
3110 * elf/link.h: Separate internal information in exter header.
3111 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
3112 * elf/dl-minimal.c: Likewise.
3113 * sysdeps/generic/dl-sysdep.c: Likewise.
3114 * elf/sprof.c: Likewise.
3115 * elf/dlsym.c: Likewise.
3116 * elf/dlvsym.c: Likewise.
3117 * elf/dlerror.c: Likewise.
3118 * elf/dladdr.c: Likewise.
3119 * elf/dlclose.c: Likewise.
3120 * elf/dlopen.c: Likewise.
3121 * elf/dl-addr.c: Likewise.
3122 * elf/dl-close.c: Likewise.
3123 * elf/dl-debug.c: Likewise.
3124 * elf/dl-deps.c: Likewise.
3125 * elf/dl-error.c: Likewise.
3126 * elf/dl-fini.c: Likewise.
3127 * elf/dl-init.c: Likewise.
3128 * elf/dl-load.c: Likewise.
3129 * elf/dl-lookup.c: Likewise.
3130 * elf/dl-object.c: Likewise.
3131 * elf/dl-open.c: Likewise.
3132 * elf/dl-profile.c: Likewise.
3133 * elf/dl-reloc.c: Likewise.
3134 * elf/dl-runtime.c: Likewise.
3135 * elf/dl-support.c: Likewise.
3136 * elf/dl-symbol.c: Likewise.
3137 * elf/dl-version.c: Likewise.
3138 * sysdeps/generic/dl-cache.c: Likewise.
3139 * sysdeps/generic/libc-start.c: Likewise.
3140 * iconv/gconv_dl.c: Likewise.
3141 * nss/nsswitch.c: Likewise.
3143 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
3145 * manual/nss.texi: The database is not called network but networks.
3146 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3148 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3150 * configure.in: Correct test for compiler version.
3151 Check that LD_LIBRARY_PATH doesn't contain current path.
3153 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
3155 * elf/dl-close.c (_dl_close): Fix byte count while removing
3156 the shared object from the global scope list and optimize
3159 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3161 * manual/filesys.texi (Scanning Directory Content): Add missing
3163 (Scanning Directory Content): Fix text.
3165 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3167 * manual/memory.texi (Heap Consistency Checking): Add paragraph
3168 explaining difference of -lmcheck and MALLOC_CHECK_.
3170 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3172 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
3175 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3177 * test-skeleton.c (main): Fix test for exit signal.
3179 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3181 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
3183 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3185 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
3188 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3190 * libc.map: Export __strtok_r.
3192 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
3194 * posix/regex.c (re_compile_fastmap): Remove unused variable
3195 num_regs and adjust comment.
3196 Patch by Jim Meyering <meyering@ascend.com>.
3198 * math/math.h (M_*l): Extend long double constants to be usable
3199 for 128 bit floats. Patch by Richard Henderson.
3201 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3203 * sysdeps/m68k/m68020/wordcopy.S: New file.
3205 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
3207 * posix/wordexp.c: Rewrite parse_param.
3208 Patch by Tim Waugh and Andreas Schwab.
3210 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
3212 * Rules: Update timestamps on empty object files.
3214 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
3216 * manual/filesys.texi (Scanning Directory Content): Add description
3217 of 64 bits scandir function and friends.
3219 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3221 * glibcbug.in: Use mktemp to generate unique file name for
3224 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
3225 ptsname_r. Use cast for execve call.
3227 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
3229 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
3230 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
3231 * io/sys/statvfs.h: New file.
3232 * sysdeps/generic/fstatvfs.h: New file.
3233 * sysdeps/generic/statvfs.h: New file.
3234 * sysdeps/generic/fstatvfs64.h: New file.
3235 * sysdeps/generic/statvfs64.h: New file.
3236 * sysdeps/generic/bits/statvfs.h: New file.
3237 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
3238 * sysdeps/unix/sysv/linux/statvfs.c: New file.
3239 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
3241 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
3242 and f_ffree elements.
3244 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
3245 mount options in enum.
3247 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3249 * configure.in: Check for recent egcs/gcc.
3251 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3253 * libc.map: Add alphasort64, scandir64, versionsort64.
3254 * dirent/Makefile (routines): Add scandir64, alphasort64, and
3256 * dirent/alphasort64.c: New file.
3257 * dirent/scandir64.c: New file.
3258 * dirent/versionsort64.c: New file.
3259 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
3261 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
3262 old name weak alias.
3263 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3265 * dirent/alphasort.c: Use strcoll instead of strcmp.
3267 * dirent/scandir.c: Optimize a bit.
3269 * dirent/versionsort.c: Pretty print.
3271 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3273 * string/string.h: Add prototype for __strtok_r.
3275 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3277 * posix/Makefile: Fix typo in last change.
3279 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3281 * dirent/dirent.h (scandir): Make argument of select function const.
3282 * dirent/scandir.c (scandir): Likewise.
3283 Reported by David.Faure@insa-lyon.fr [PR libc/512].
3285 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
3287 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
3289 * sysdeps/i386/strtok_r.c: Likewise.
3291 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
3292 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
3293 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
3294 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
3295 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
3296 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
3298 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3300 * intl/localealias.c: Remove unneeded define for strdup.
3302 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
3304 * manual/argp.texi: Adjust for better TeX output.
3305 * manual/arith.texi: Likewise.
3306 * manual/conf.texi: Likewise.
3307 * manual/filesys.texi: Likewise.
3308 * manual/header.texi: Likewise.
3309 * manual/lgpl.texinfo: Likewise.
3310 * manual/math.texi: Likewise.
3311 * manual/message.texi: Likewise.
3312 * manual/pattern.texi: Likewise.
3313 * manual/process.texi: Likewise.
3314 * manual/signal.texi: Likewise.
3315 * manual/socket.texi: Likewise.
3316 * manual/startup.texi: Likewise.
3317 * manual/stdio.texi: Likewise.
3318 * manual/terminal.texi: Likewise.
3319 * manual/examples/rprintf.c: Likewise.
3320 * manual/examples/testopt.c: Likewise.
3321 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3323 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
3325 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
3326 parameter name after seeing a digit if it's enclosed in braces.
3328 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3330 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
3332 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3334 * manual/memory.texi (Heap Consistency Checking): Document
3335 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
3337 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
3339 * manual/Makefile: Add missing rules.
3341 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3343 * timezone/Makefile (generated): Define to remove all stamp files.
3345 * sysdeps/generic/strsep.c: Also undefine __strsep.
3347 * string/strdup.c: Undefine __strdup and strdup first.
3348 * string/strndup.c: Likewise.
3350 * string/bits/string2.h: Correct strtok_r and strsep.
3351 Add strndup optimization.
3353 * sysdeps/generic/strsep.c: Little optimization.
3355 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
3357 * string/bits/string2.h: Add optimization for strdup.
3358 Always define __strsep and __strtok_r and make real names available
3359 when feature select macros are defined.
3361 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3363 * manual/install.texi (Installation): Use i486-linux as example
3364 instead of the unsupported sunos4.
3365 (Reporting Bugs): Mention glibcbug script.
3366 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
3368 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3370 * posix/wordexp-tst.sh: Make portable. Add more tests.
3372 * posix/Makefile (do-globtest do-wordexp-test): New targets.
3374 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
3376 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
3377 * sysdeps/generic/libc-start.c: ...here, replacing former content.
3379 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
3382 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
3384 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3386 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
3387 in enumerator for strict standard compliance.
3388 * sysdeps/generic/bits/resource.h: Likewise.
3390 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
3392 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
3393 (PLTJMP): New macro.
3395 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
3396 longjmp() when floating point enabled.
3397 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
3398 * sysdeps/arm/__longjmp.S: Remove floating point code.
3399 * sysdeps/arm/setjmp.S: Likewise.
3401 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
3402 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3404 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
3407 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
3410 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
3412 Based on patches from Pat Beirne and Scott Bambrough:
3414 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
3416 * sysdeps/arm/bits/fenv.h: New file.
3418 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
3419 * sysdeps/arm/elf/setjmp.S: Likewise.
3420 * sysdeps/arm/elf/start.S: Likewise.
3421 * sysdeps/arm/init-first.c: Likewise.
3422 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
3423 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
3424 comment about floating point to reflect current reality.
3426 * sysdeps/unix/arm/brk.S: Support PIC.
3427 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
3429 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
3430 return; call syscall_error through PLT.
3431 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
3433 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
3435 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
3436 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
3437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
3439 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3441 * dirent/list.c (test): Return error value.
3442 (main): Exit with error value.
3444 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
3446 * Makefile (distribute): Add test-skeleton.c.
3447 * test-skeleton.c: New file.
3448 * dirent/Makefile (tests): Add opendir-tst1.
3449 * dirent/opendir-tst1.c: New file.
3451 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3453 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
3454 Optimize memory handling.
3455 * sysdeps/unix/closedir.c: Optmize memory handling.
3457 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
3459 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
3460 handling. Optimize a bit.
3462 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3464 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
3465 (parse_param): Fold in Andreas' fixes to do with when the end of
3466 the parameter name has been reached, and quoting inside ${...}.
3467 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
3470 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
3472 * manual/maint.texi: Split out installation and contribution
3473 sections to their own appendices. Misc cleanups.
3474 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
3475 * manual/contrib.texi: New file.
3476 * manual/libc.texinfo: Pull in new appendices.
3477 * manual/header.texi: Correct node pointer.
3479 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3481 * manual/process.texi (Process Completion): Clarify return value
3482 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
3484 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3486 * posix/wordexp-test.c: Add more tests.
3487 (testit): Fix logic.
3489 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
3490 /dev/null instead of closing it, close pipe. Always chop off all
3491 trailing newlines. Kill and reap child before returning error.
3492 (w_addword, parse_glob): Fix memory leak.
3493 (wordexp): Fix dangling pointer problem.
3495 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
3497 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
3499 * posix/wordexp-test.c (main): Fix little thinkos and typos.
3501 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
3502 directory index by only the language.
3504 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
3506 * posix/wordexp-tst.sh: Store test results in the
3507 ${common_objpfx}posix directory.
3509 * posix/wordexp-test.c: Remove temporary directory afterwards.
3511 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3513 * libc.map: Export internal versions of cancelable functions.
3515 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3517 * Makerules (MAKEFLAGS): Append `r'.
3519 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3521 * Makeconfig: Define have-thread-library, shared-thread-library
3522 and static-thread-library if a thread library is available. Don't
3524 * nscd/Makefile: Compile nscd if have-thread-library. Rename
3525 nscd-routines to nscd-modules. Use shared-thread-library and
3526 static-thread-library in dependencies.
3527 * rt/Makefile: Only compile librt if have-thread-library is
3529 * Makefile (subdirs): Always include rt subdir.
3531 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3533 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
3535 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
3537 * configure.in: Recognize variations for 32 MIPS processors.
3538 Don't assume ELF systems always have .weak, test for .weakext.
3540 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3542 * configure.in: Irix6 is an ELF platform.
3544 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
3546 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
3547 unmapping the last loaded segment.
3549 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
3551 * configure.in: Set base_os for Irix6.
3552 Correct test for .weakext.
3554 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3556 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
3557 (new_line) to _dl_debug_message call.
3559 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3561 * posix/wordexp.c (parse_param): Perform field-splitting after
3562 expanding positional parameter.
3564 * posix/wordexp-tst.sh: Test that field-splitting is performed
3565 after expanding positional parameter.
3567 * posix/wordexp.c (parse_param): Fixed memory leak in
3568 field-splitting after parameter expansion.
3570 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3572 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
3573 (get_toplvl_escape): Correctly terminate loop at EOF.
3574 Patch by Cristian Gafton <gafton@redhat.com>.
3576 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
3578 * string/tester.c (test_strpbrk): Add more strpbrk tests.
3579 (test_strsep): Likewise. Correct horrible bugs.
3581 * string/bits/string2.h (strcspn): Optimize also reject string of
3584 (strpbrk): Likewise.
3585 (strsep): Likewise. Correct bug with successive separators and
3586 separators at the end of the string.
3587 * sysdeps/generic/strsep.c: Correct bug with successive separators
3588 and separators at the end of the string.
3590 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3592 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
3593 etc) now handled, as well as $$ (pid).
3595 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
3596 (distribute): Add wordexp-tst.sh.
3598 * posix/wordexp-tst.sh: New file.
3600 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
3601 number of positional parameters. Renamed substitute_length to
3603 Don't free(env) is env is NULL.
3605 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
3607 * libc.map: Add pthread_attr_init to GLIBC_2.1.
3609 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
3611 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
3612 for output file replacing gmon.out.
3613 Patch by Dean Gaudet <dgaudet@arctic.org>.
3615 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3617 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
3618 up namespace. Optimize finding end of line.
3620 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3622 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3623 securely. Optimized.
3624 (process_dl_debug): Add ':' to list of separators. Optimized.
3626 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3628 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3629 isless, islessequal, islessgreater, isunordered): Return zero or
3632 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3634 * posix/wordexp-test.c: More tests.
3635 (main): Set up arena for pathname expansion tests (in a temporary
3637 (testit): Don't check word count or word vector if return value is
3640 * posix/wordexp.c (exec_comm): Always chop off terminating
3641 linefeed (just like bash does).
3642 (parse_param): Change lots of occurrences of "if (!*env)" to "if
3644 (parse_param): For assignment inside parameter expansion, use all
3645 expanded words in assignment rather than just the first.
3646 (parse_param): Corrected return value for parameter expansion of
3647 an unset variable when WRDE_UNDEF is in effect.
3648 (parse_dollars): Don't field-split if quoted.
3649 (wordexp): Opening brace character isn't allowed unquoted.
3651 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3653 * elf/dlerror.c: Fix concurrency problems with error string and
3656 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3657 filter/auxiliary are being loaded.
3659 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
3661 * elf/dlerror.c (last_object_name): Removed.
3662 (dlerror): Don't use last_object_name.
3663 (_dl_error_run): Omit second argument to _dl_catch_error.
3664 * elf/dl-error.c (struct catch): Remove objname member.
3665 (_dl_signal_error): Construct string including objname when given.
3666 (_dl_catch_error): Remove objname handling.
3667 * elf/link.h (_dl_catch_error): Fix prototype and comment.
3668 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3669 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3670 * nss/nsswitch.c (nss_dlerror_run): Likewise.
3671 * iconv/gconv_dl.c (dlerror_run): Likewise.
3672 [Corrects PR libc/501].
3674 1998-03-12 Matthias Urlichs <smurf@noris.de>
3676 * nscd/nscd.c: Ignore SIGPIPE.
3678 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3680 * nscd/nscd_getgr_r.c: Use __ protected names.
3681 * nscd/nscd_getpw_r.c: Likewise.
3683 1998-03-12 Matthias Urlichs <smurf@noris.de>
3685 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3686 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3687 null bytes are not transmitted.
3689 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3691 * powerpc/syscalls.list: Correct typo.
3692 * alpha/syscalls.list: Likewise.
3693 * mips/syscalls.list: Likewise.
3695 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3697 * socket/sys/socket.h: Add prototype for __socket.
3699 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3701 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3703 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3706 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3708 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3711 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3712 AF_* and PF_* constants.
3714 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3716 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
3718 * elf/rtld.c: Update help message.
3719 Install link maps for preloaded objects using main_map as loader.
3721 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3722 * elf/dl-profile.c: Likewise.
3724 * elf/dlsym.c: Little optimization.
3725 * elf/dlvsym.c: Likewise.
3727 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
3729 * posix/wordexp-test.c: Move test for parameter list at the very
3732 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3734 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3735 WRDE_REUSE flag is set.
3736 (parse_param): Allow `*', `@', and numbers in parameter names.
3737 (parse_dollars): Differentiate between arithmetic expansion and a
3738 command substitution that starts immediately with a sub-shell
3739 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3740 (parse_param): Memory allocated with __alloca in a block was
3741 referenced outside that block. Adjusted to use malloc/free.
3742 (parse_param): Adjusted field-splitting algorithm so that there is
3743 not necessarily a field split at the end of a parameter expansion.
3745 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3747 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3748 don't free words that have already been allocated.
3749 (parse_param): A dollar sign on its own will never have a pattern
3750 associated with it (like "${HOME%%/}" has), so don't try to free it.
3751 (parse_glob): Attempt to glob when an unquoted `[' is found
3752 (rather than an unquoted '{' (!)). Also for unquoted '?'.
3753 (parse_glob): Sorted out quoting in a glob-able word.
3754 (parse_param): Added $* and $@ handling.
3756 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3758 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3761 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3763 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3766 1998-03-12 Matthias Urlichs <smurf@noris.de>
3768 * elf/dl-misc.c: Default for debug output should be stderr.
3769 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3770 * elf/dl-lookup.c: reference_name may be NULL or empty.
3772 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3774 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3776 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3778 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3780 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3782 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3784 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3787 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3789 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3792 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3794 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3797 * misc/syslog.c (vsyslog): Don't try to send if not connected to
3799 (closelog_internal): Don't do anything if not connected.
3801 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
3803 * libc.map: Add _dl_debug_message.
3804 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
3806 * elf/fini.c: Correctly use new _dl_debug_message function.
3807 * elf/init.c: Likewise.
3808 * elf/dl-lookup.c: Likewise.
3809 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3810 * elf/dl-load.c: Likewise. Add more debugging prints.
3811 * elf/dl-reloc.c: Likewise.
3812 * elf/dl-version.c: Likewise.
3813 * elf/dl-support.c: Add variables for debugging.
3814 * elf/rtld.c: Likewise. Recognize new debug options.
3815 * elf/link.h: Declare new variables.
3817 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3819 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3821 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3822 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
3824 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3826 * posix/wordexp-test.c (command_line_test): New function to allow
3827 testing of specific cases from the command-line.
3829 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3831 * elf/dl-init.c (_dl_init_next): Print nicer messages.
3832 * elf/dl-fini.c (_dl_fini): Likewise.
3833 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3835 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3836 symbol in debug message.
3837 (_dl_lookup_versioned_symbol_skip): Likewise.
3839 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
3841 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3842 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3843 * manual/filesys/texi: Document this.
3845 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
3847 * manual/filesys.texi: Document the change below.
3849 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3851 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3852 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3854 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
3856 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3857 instead scope. If debugging display information about symbol
3859 (_dl_lookup_symbol): Call do_lookup with correct parameters.
3860 (_dl_lookup_symbol_skip): Likewise.
3861 (_dl_lookup_versioned_symbol): Likewise.
3862 (_dl_lookup_versioned_symbol_skip): Likewise.
3863 * elf/dl-support.c: Define _dl_debug_symbols.
3864 * elf/link.h: Add declaration for _dl_debug_symbols.
3865 * elf/rtld.c: Define _dl_debug_symbols.
3866 (process_dl_debug): Recognize symbols option.
3868 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
3870 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3872 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3873 with correct parameters.
3874 [!PIC]: Initialize __libc_multiple_libcs.
3876 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
3878 * elf/dl-support.c (_dl_debug_bindings): Add definition.
3879 * elf/rtld.c (_dl_debug_bindings): Add definition.
3880 (process_dl_debug): Recognize bindings option. Update help message.
3881 * elf/link.h (struct link_map): Add l_versyms member.
3882 (_dl_debug_bindings): Add declaration.
3883 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3884 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3886 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3887 (sym_val): Remove a member, add m as link_map.
3888 (do_lookup): Return result appropriately.
3889 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3890 Call do_lookup correctly.
3891 (_dl_lookup_symbol_skip): Likewise.
3892 (_dl_lookup_versioned_symbol): Likewise.
3893 (_dl_lookup_versioned_symbol_skip): Likewise.
3895 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
3897 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3898 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3900 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3901 * libc.map: Add chown to GLIBC_2.1.
3902 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3903 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3905 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3907 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3909 * sysdeps/alpha/ffs.c: Likewise.
3910 * sysdeps/am29k/ffs.c: Likewise.
3911 * sysdeps/i386/ffs.c: Likewise.
3912 * sysdeps/i960/ffs.c: Likewise.
3913 * sysdeps/m68k/ffs.c: Likewise.
3914 * sysdeps/m88k/ffs.c: Likewise.
3915 * sysdeps/powerpc/ffs.c: Likewise.
3916 * sysdeps/rs6000/ffs.c: Likewise.
3917 * sysdeps/vax/ffs.s: Likewise.
3918 * string/string.h: Declare __ffs.
3919 * libc.map: Export it.
3920 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3921 __builtin_ffs, which is not guaranteed to be namespace clean.
3923 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3925 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3926 table, which is much more likely to exist than debugging symbols.
3927 (printsym): Remove const.
3928 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
3931 * libc.map: Export __profile_frequency, used by elf/sprof, to
3932 avoid infinite recursion during startup.
3934 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3936 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3939 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3941 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
3943 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3945 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3947 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3948 LD_PRELOAD, and LD_VERBOSE.
3949 (dl_main): Use global variables set by process_envvars instead of
3951 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3952 LD_LIBRARY_PATH value, this comes with the parameter.
3953 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3954 ("LD_LIBRARY_PATH") to _dl_init_paths.
3956 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
3958 * elf/rtld.c (dl_main): Delay initialization of path structure if
3959 the dynamically linker is invoked implicitly until we read the
3962 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3964 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3966 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3968 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3971 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3973 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
3975 * Makeconfig (nisobjdir): Set to path to nis directory.
3976 (rpath-link): Add nisobjdir.
3977 Patch by Sven Verdoolaege <skimo@kotnet.org>.
3979 * elf/Makefile: Pretty print.
3980 * elf/dl-lookup.c: Include unistd.h.
3981 * elf/dl-runtime.c: Likewise.
3983 * localedata/Makefile (test-srcs): Add tst-rpmatch.
3984 (distribute): Add tst-rpmatch.sh.
3985 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3987 New tests for rpmatch function by
3988 Jochen Hein <jochen.hein@delphi.central.de>.
3989 * localedata/tst-rpmatch.c: New file.
3990 * localedata/tst-rpmatch.sh: New file.
3992 * localedata/locales/de_DE: Correct yesexpr and noexpr.
3993 * localedata/locales/de_AT: Likewise.
3995 * posix/getopt.c: Update contact address.
3996 * posix/getopt1.c: Pretty print.
3998 * sysdeps/generic/libc-start.c: Do most of the initialization now
3999 here instead of in start.S.
4000 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
4001 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
4003 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
4004 profil_counter to be public.
4006 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
4008 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
4009 (parse_param): Coded parameter length expansion (${#var}).
4010 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
4011 (parse_param): Cleaned up (fixed) error handling.
4013 * posix/wordexp-test.c: IFS now includes non-whitespace character
4014 (comma). Added more tests.
4016 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
4018 * elf/link.h: Fix typos.
4019 Reported by Andreas Jaeger.
4021 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
4022 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
4024 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4026 * argp/argp-help.c: Remove last bits of using gettext instead of
4029 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
4031 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
4033 * csu/Makefile (routines): Add libc-start.
4034 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
4035 * elf/dl-lookup.c: Likewise.
4036 * elf/dl-version.c: Likewise.
4037 * sysdeps/i386/dl-machine.h: Likewise.
4038 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
4039 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
4040 _dl_sysdep_message macros which use _dl_sysdep_output.
4041 * elf/dl-fini.c: Write out which destructor is called while debugging.
4042 * elf/dl-init.c: Likewise for constructor.
4043 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
4044 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
4045 _dl_sysdep_message. Add _dl_sysdep_output.
4046 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
4047 this file can be opened.
4048 For LD_DEBUG=libs also set _dl_debug_impcalls.
4049 * sysdeps/generic/dl-cache.c: Include unistd.h.
4050 * sysdeps/generic/libc-start.c: New file.
4051 * sysdeps/unix/sysv/linux/libc-start.c: New file.
4052 * sysdeps/i386/elf/start.S: Don't call main directly, call
4053 __libc_start_main instead.
4055 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
4057 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4059 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
4061 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
4063 * argp/argp.h (struct argp): Add new field domain.
4064 * argp/argp-help.c: Change all gettext calls to dgettext and use
4065 domain field from appropriate argp in call.
4066 * argp/argp-parse.c: Likewise.
4068 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
4070 * posix/wordexp-test.c: Change testsuite so that it can run even
4073 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4075 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
4077 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4079 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4080 Don't store into global errno if we already store through
4082 * sysdeps/unix/i386/sysdep.S: Likewise.
4083 * sysdeps/unix/alpha/sysdep.S: Likewise.
4084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4085 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
4087 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
4090 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4092 * sysdeps/generic/sysdep.h (L): Remove definition.
4093 * sysdeps/i386/sysdep.h (L): Define it here instead.
4095 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4097 * nis/nis_call.c (__do_niscall): Safe and reset errno.
4099 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
4101 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4103 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
4104 declaration style to avoid warnings.
4106 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
4108 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
4111 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4113 * posix/Makefile (tests): Add wordexp-test.
4114 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
4115 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
4117 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
4119 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
4122 * elf/link.h (struct r_search_path_elem): Add two new field for
4124 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
4125 variable accordingly.
4126 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
4127 is considered next along with information about load paths.
4128 * sysdeps/generic/dl-cache.c: Likewise.
4129 * elf/dl-support.c: Define _dl_debug_libs.
4130 * elf/genrtldtbl.awk: Add initializers for two new field in
4131 struct r_search_path_elem.
4133 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4135 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
4136 * sysdeps/m68k/lshift.S: Likewise.
4137 * sysdeps/m68k/rshift.S: Likewise.
4138 * sysdeps/m68k/sub_n.S: Likewise.
4139 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
4140 * sysdeps/m68k/m68020/mul_1.S: Likewise.
4141 * sysdeps/m68k/m68020/submul_1.S: Likewise.
4143 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
4144 [_LIBC_REENTRANT]: Don't store into global errno.
4146 * sysdeps/m68k/sysdep.h: New file.
4147 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
4148 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
4149 (DO_CALL): Change to expect syscall name as argument.
4150 (PSEUDO): Pass syscall_name to DO_CALL.
4151 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
4154 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4156 * elf/rtld.c: Speed up processing of environment variables. Do
4157 only one run on the environment by avoiding to call getenv.
4158 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
4159 function. Used by patch above.
4161 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4163 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
4165 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
4166 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
4167 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
4169 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4171 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
4172 module cannot be found. Reported by Andreas Jaeger.
4174 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4176 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
4177 on platforms which default to unsigned chars.
4178 * nscd/nscd_getpw_r.c: Likewise.
4179 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
4182 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4184 * elf/Makefile (install-bin): Change = to += for sprof to install
4187 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
4189 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
4191 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
4193 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
4195 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4197 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
4198 that a failure to connect to nscd doesn't change errno.
4200 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4202 * manual/maint.texi (Reporting Bugs): Change
4203 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
4205 * locale/iso-4217.def: Likewise
4207 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
4209 * manual/texinfo.tex: Updated.
4211 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4213 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
4215 * sysdeps/posix/pathconf.c: Likewise.
4216 * posix/getconf.c: Print `undefined' if pathconf returns -1
4217 without setting errno.
4219 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
4221 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
4223 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
4224 Patches by Elliot Lee <sopwith@cuc.edu>.
4226 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
4228 * elf/link.h (struct link_map): Add new field l_reloc_result.
4229 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
4230 of relocation for the object to be profiled.
4231 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
4233 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
4235 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
4236 contains a result from a previous run use this instead of computing
4238 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
4240 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4242 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
4243 offsets into the GOT.
4244 (RTLD_START): Likewise.
4246 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
4248 * elf/sprof.c: Cleanup a bit.
4250 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
4252 * sysdeps/generic/sysdep.h (L): New. Define.
4254 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
4256 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
4258 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
4259 to have only one exit point for functions.
4260 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4261 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
4262 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
4263 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4264 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4266 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4268 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
4269 reset errno so that errno isn't set to ENOSYS in the first call.
4270 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
4271 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4272 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4273 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4275 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
4277 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
4278 * sysdeps/i386/addmul_1.S: Likewise.
4279 * sysdeps/i386/lshift.S: Likewise.
4280 * sysdeps/i386/mul_1.S: Likewise.
4281 * sysdeps/i386/rshift.S: Likewise.
4282 * sysdeps/i386/sub_n.S: Likewise.
4283 * sysdeps/i386/submul_1.S: Likewise.
4284 * sysdeps/i386/i586/add_n.S: Likewise.
4285 * sysdeps/i386/i586/addmul_1.S: Likewise.
4286 * sysdeps/i386/i586/lshift.S: Likewise.
4287 * sysdeps/i386/i586/mul_1.S: Likewise.
4288 * sysdeps/i386/i586/rshift.S: Likewise.
4289 * sysdeps/i386/i586/sub_n.S: Likewise.
4290 * sysdeps/i386/i586/submul_1.S: Likewise.
4292 * sysdeps/i386/sysdep.h: Extend last change.
4294 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
4295 to have only one exit point for functions.
4297 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4299 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
4302 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
4304 * Makerules: Generate libc.so with absolute paths for the used
4307 * config.make.in: Add MAKEINFO definition.
4309 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4311 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
4312 (ENTRY): Use STABS_FUN.
4313 (END): Use STABS_FUN_END.
4314 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
4316 * elf/Makefile: Add rules to build sprof program.
4317 * elf/sprof.c: New file.
4319 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4321 * misc/syslog.c (openlog_internal): Insert missing closing brace.
4323 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4325 * configure.in: Check for working msgfmt version (from GNU gettext
4328 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4330 * configure.in: Avoid //s in sysdirs.
4331 Patch by Roland McGrath.
4333 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
4335 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
4337 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
4338 setting _dl_global_scope for RTLD_GLOBAL.
4340 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4342 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
4343 possible lists of object-suffixes are taken care of.
4345 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
4347 * timezone/private.h: Update from tzcode1998c.
4348 * timezone/zic.c: Likewise.
4349 * timezone/antarctica: Updated from tzdata1998c.
4350 * timezone/asia: Likewise.
4351 * timezone/australasia: Likewise.
4352 * timezone/europe: Likewise.
4353 * timezone/southamerica: Likewise.
4355 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4357 * posix/glob.c (glob_in_dir): Add support for cases insensitive
4358 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
4360 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
4362 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
4363 Changed type of TWO43, TWO52 from float to double.
4364 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
4365 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
4366 Changed type of TWO43 from float to double.
4367 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
4370 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
4372 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
4373 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
4374 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
4376 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
4378 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
4380 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
4381 Clean up random whitespace.
4382 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
4383 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
4384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
4385 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
4387 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
4389 * shlib-versions: Match alpha*.
4390 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
4391 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
4393 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
4394 Implement copysign* with and without __ prefix.
4395 Likewise for fabs; use builtin for gcc 2.8.
4399 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
4400 (R_SPARC*): Match current v9 ABI.
4402 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
4404 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
4405 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4406 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
4407 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
4408 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4409 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
4410 * sysdeps/unix/grantpt.c (argv): Fix consts.
4411 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
4412 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4414 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4416 * misc/syslog.c: Change to allow user the interpretation of the
4417 outcome even with syslog having no return value.
4419 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4421 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
4422 that the number of program headers is >0 (which is wrong for the
4425 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4427 * Makefile (distribute): Add README.libm.
4429 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4431 * time/clocktest.c (main): Correct typo: "--" -> "==".
4433 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
4435 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
4437 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
4440 * math/libm.map (__atan2): Added.
4442 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4444 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
4445 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4447 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
4450 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4452 * manual/arith.texi (Old-style number conversion): Correct
4453 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4455 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4457 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
4458 but does not require it. Handle missing argv[] values gracefully.
4459 * posix/execl.c: Likewise.
4460 * posix/execle.c: Likewise.
4462 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4464 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
4466 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
4468 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4470 * libc.map: Add __adjtimex.
4472 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4474 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
4477 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
4479 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
4482 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
4484 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
4485 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
4487 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
4490 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
4492 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4493 Added adjtimex and old_adjtimex.
4495 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
4497 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
4498 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
4500 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
4501 symbols only for shared library.
4502 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4503 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4504 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4505 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4506 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4507 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4508 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4510 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
4511 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4512 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4513 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4514 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4515 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4516 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4517 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4519 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
4522 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
4524 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
4525 timex and __adjtimex, respectively.
4527 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
4529 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
4531 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
4533 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
4534 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
4536 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
4538 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
4540 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
4542 * Makefile.in: Disable built-in rules.
4544 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4546 * sysdeps/i386/fpu/t_exp.c: Move to ...
4547 * sysdeps/libm-i387/t_exp.c: ... here.
4549 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
4551 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
4552 from __exp2_deltatable.
4554 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
4556 * nis/ypclnt.c (yp_master): Check result of strdup.
4557 Patch by Thorsten Kukuk.
4559 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4561 * nis/ypclnt.c: Give clnt handle after error checking free, change
4562 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
4564 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
4566 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
4567 Patch by Joe Keane <jgk@jgk.org>.
4569 * misc/fstab.h (struct fstab): Change fs_type member to be const.
4570 * misc/fstab.c: Remove casts in fs_type assignments.
4572 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4574 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
4575 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
4576 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4577 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4578 * sysdeps/powerpc/bits/fenv.h: Likewise.
4579 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4580 * sysdeps/generic/bits/fenv.h: Likewise.
4581 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4582 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
4583 * sysdeps/powerpc/test-arith.c (main): Likewise.
4585 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4587 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
4588 the comparison macros.
4590 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
4592 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
4593 (__log2): Fixed return values.
4594 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4596 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4598 * math/math.h (isunordered): Rename local variables to ensure
4599 correct code. Reported by HJ Lu.
4601 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
4603 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4604 isless, islessequal, islessgreater, isunordered): Fix syntax for
4605 fucompip instruction.
4606 (isless, islessequal): Fix logic.
4608 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4610 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
4611 (comparisons_test): New tests for comparison macros.
4613 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
4615 * Makeconfig: Filter out frame-pointer effecting options when
4616 compiling profiling or debugging code.
4617 * config.h.in (internal_function): Don't define here if PROF is
4619 * gmon/gmon.c (__moncontrol): Don't change state if already in error
4621 (__monstartup): If calloc fails set error state and mark array as
4623 (_mcleanup): Don't call write_gmon if in error state. Don't try
4624 to free array if not successfully allocated.
4626 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4627 Include elf.h to get macro definitions.
4628 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4630 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
4632 * elf/ldd.sh.in: Add compatibility for broken old shells.
4633 * elf/ldd.bash.in: Likewise.
4635 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
4637 * sunrpc/rpc_main.c (open_input): Check pipe return error.
4639 * time/clocktest.c (main): Check signal return error.
4641 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4643 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4644 "/" and use do-install-program. Reported by Mark M. Kettenis.
4645 (subdir_install): Likewise.
4647 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4649 * sunrpc/rpc_sample.c: Fix typo.
4651 * nscd/connections.c: Use locale.
4652 * nscd/grpcache.c: Add debug messages, gidtbl should get the
4654 * nscd/nscd.c: Check if init functions fails.
4655 * nscd/nscd_conf.c: Allow disabling of group cache.
4656 * nscd/nscd_getgr_r.c: Fix return code if group not found.
4657 * nscd/pwdcache.c: Fix debug messages.
4659 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4661 * libc.map: Add __monstartup and _mcleanup for profiling support.
4663 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4665 * libc.map: Export __getpagesize, for binary compatibility with
4668 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4670 * posix/globtest.sh: Use --library-path instead of
4672 * localedata/sort-test.sh: Likewise.
4673 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
4675 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4677 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4678 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4679 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4681 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4682 kernel_sigaction): Define.
4683 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4684 kernel_sigaction): Define.
4686 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4688 * math/libm-test.c: Change epsilons for libm-ieee754.
4690 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
4692 * sysdeps/i386/__longjmp.S: Fix race condition.
4693 Reported by Bruno Haible <haible@ilog.fr>.
4695 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
4697 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
4698 * iconvdata/8bit-gap.c: Likewise.
4699 * iconvdata/8bit-generic.c: Likewise.
4700 * iconvdata/iso6937.c: Likewise.
4701 * iconvdata/iso8859-1.c: Likewise.
4702 * iconvdata/sjis.c: Likewise.
4703 * iconvdata/t61.c: Likewise.
4705 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4707 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4708 feature tests by positive feature tests.
4710 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4712 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4714 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
4716 * elf/dlvsym.c (dlvsym_doit): More corrections.
4717 Patch by Andreas Jaeger.
4719 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4721 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4723 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
4725 * libc.map: More reordering for GLIBC_2.1 symbols.
4727 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4729 * libc.map: Move some functions from version GLIBC_2.0 to
4730 GLIBC_2.1, reorder declarations.
4732 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4734 * resolv/gethnamaddr.c (addrsort): Make this function extern.
4735 Patch by zab@thebrain.grumblesmurf.net.
4737 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4739 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4740 NIS+ functions with version GLIBC_2.1.
4742 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
4744 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4745 with 2.0 binaries. Reported by Thorsten Kukuk.
4747 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4749 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4751 * elf/dlsym.c (dlsym_doit): Likewise.
4753 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4755 * elf/link.h: Correct typos.
4757 * iconv/iconv_prog.c: Correct typo.
4759 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
4761 * iconv/Makefile: Add rules to build and install iconv program.
4762 * iconv/iconv_prog.c: New file.
4764 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
4766 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4767 _dl_lookup_symbol_skip call.
4768 * elf/dlvsym.c (dlvsym_doit): Likewise.
4770 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
4772 * libio/iovsscanf.c: Do not include errno.h.
4774 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4776 * elf/dl-load.c (add_name_to_object): Don't translate strings.
4777 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4778 pulling in the whole error list.
4779 (__dcgettext, dcgettext): Removed.
4780 * libc.map: Export _strerror_internal.
4782 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
4784 * sysdeps/i386/fpu/t_exp.c: New file.
4786 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4788 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
4789 everything with version GLIBC_2.1.
4790 * hesiod/libnss_hesiod.map: Likewise.
4792 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4794 * manual/arith.texi (Old-style number conversion): This node is a
4795 section, not a subsection.
4797 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4799 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
4801 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4803 * elf/rtld.c (dl_main): Make sure that the library search paths
4804 have been initialized before the first call to _dl_map_object.
4806 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4808 * Makerules (common-generated): Add libc_pic.os.
4810 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4812 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
4815 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4817 * sysdeps/m68k/fpu/t_exp.c: New file.
4819 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4821 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4822 to global errno variable anymore.
4824 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
4826 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4827 If PRELOADED is nonzero check in case of an SUID application
4828 whether the shared object has the SUID bit set.
4829 Fix some other problems with handling shared objects in system
4830 specific directories.
4831 (_dl_map_object): Also take extra parameter and pass it to open_path.
4832 * elf/link.h (_dl_map_object): Correct prototype and comment.
4833 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4834 * elf/dl-open.c (_dl_open): Likewise.
4835 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4837 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4839 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4841 * math/libm-test.c (modf_test): Add test for 1.5.
4843 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4844 0 to get always an int.
4846 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4848 * math/libm.map: Move all symbols that are new in glibc 2.1 to
4851 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4853 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4854 trying to read another character.
4856 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4858 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4861 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4862 name to lowercase, add test for big enough buffer.
4864 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4866 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4867 Make compatible with older kernels. Patch by Richard Henderson.
4869 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
4871 * elf/dl-load.c (open_path): Use __xstat instead of stat.
4873 * localedata/tst-locale.sh: Comment out first test for now.
4875 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
4877 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4879 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4882 * libio/iogetline.c (_IO_getline_info): Renamed from
4884 (_IO_getline): Just call _IO_getline_info.
4886 * libio/libioP.h (_IO_getline_info): New declaration.
4888 * libc.map (_IO_getline_info, __write): Added.
4890 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4892 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4893 const char* to shut up gcc.
4895 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
4897 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4898 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4900 * math/math.h: Define M_* constants always as `double' and add new
4901 macros M_*l which are of type `long double'.
4902 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4903 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4904 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4905 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4906 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4907 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4908 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4909 * math/libm-tst.c: Likewise.
4911 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4912 define as long double unconditionally.
4914 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4916 * manual/arith.texi (Old-style number conversion): Correct some
4919 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
4921 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4924 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4926 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
4928 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4929 on $(rtld-ldscript).
4931 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4932 starting from 0 not only from `from'.
4933 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4935 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
4937 * elf/rtld.c (dl_main): Recognize --library-path parameter and
4938 pass value (or NULL) to _dl_init_paths.
4939 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4940 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
4941 environment variable.
4942 * elf/link.h: Change prototype for _dl_init_paths.
4943 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4945 * localedata/Makefile (distribute): Add test files.
4947 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4949 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4950 test1.def, test2.def, test3.def, test4.def}: Simple input files
4951 for localedef. Contributed by Yung-Ching Hsiao
4952 <yhsiao@cae.wisc.edu>.
4954 * localedata/Makefile (tests): Call tst-locale.sh.
4956 * localedata/tst-locale.sh: New file, regression tests for some
4959 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4961 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4963 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4965 * nis/nss_nisplus/nisplus-network.c: Likewise.
4966 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4967 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4968 * nis/nss_nisplus/nisplus-service.c: Likewise.
4970 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4971 and support generating thread safe RPC code.
4972 * sunrpc/rpc_main.c: Add changes.
4973 * sunrpc/rpc_clntout.c: Likewise.
4974 * sunrpc/rpc_cout.c: Likewise.
4975 * sunrpc/rpc_hout.c: Likewise.
4976 * sunrpc/rpc_parse.c: Likewise.
4977 * sunrpc/rpc_sample.c: Likewise.
4978 * sunrpc/rpc_scan.c: Likewise.
4979 * sunrpc/rpc_svcout.c: Likewise.
4980 * sunrpc/rpc_util.c: Likewise.
4981 * sunrpc/rpc_util.h: Add new structs and prototypes.
4982 * sunrpc/proto.h: Remove prototypes for static functions.
4984 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4986 * locale/programs/ld-messages.c (messages_finish): Don't skip
4987 error checking when being quiet.
4988 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
4989 (set_class_defaults): Likewise.
4990 * locale/programs/charmap.c (parse_charmap): Likewise.
4991 * locale/programs/ld-collate.c (collate_finish): Likewise.
4992 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
4993 * locale/programs/ld-time.c (time_finish): Likewise.
4994 * locale/programs/locfile.c (write_locale_data): Likewise.
4996 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
4997 unknown characters and empty ranges.
4998 * locale/programs/ld-collate.c (collate_order_elem): When
4999 processing an ellipsis properly form a linked list in the result
5000 table, fix typo when allocating ordering array.
5003 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5005 * elf/Makefile (ld-map): Define.
5006 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
5008 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
5010 (rtld-link): Combine the two versions of this definition. Fixed
5011 to make it work when no symbol versioning is used.
5013 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
5015 * Makeconfig (build-program-cmd): Use --library-path parameter to
5016 ld.so instead of environment variable.
5018 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
5019 * sunrpc/rpc_main.c: Remove support for -$$ option again.
5021 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5023 * Make-dist: Respect with-cvs setting.
5024 * MakeTAGS (all-pot): Likewise.
5025 * sysdeps/sparc/sparc32/Makefile: Likewise.
5026 * sysdeps/mach/hurd/Makefile: Likewise.
5027 * stdlib/Makefile: Likewise.
5028 * posix/Makefile: Likewise.
5029 * intl/Makefile: Likewise.
5030 * po/Makefile (linguas): Likewise
5032 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5034 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
5036 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5038 * libc.map: Add __strcasecmp.
5040 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
5043 * nss/getXXent_r.c: If no more module is found don't try to call
5044 setXXent functions but leave unsuccessfully.
5046 * malloc/obstack.h: Cleanups.
5048 * sysdeps/wordsize-32/stdint.h: New file.
5049 * sysdeps/wordsize-64/stdint.h: New file.
5050 * sysdeps/generic/stdint.h: New file.
5051 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
5052 * sysdeps/wordsize-64/inttypes.h: Likewise.
5053 * stdlib/Makefile (headers): Add stdint.h.
5055 1998-02-03 Paul Eggert <eggert@twinsun.com>
5057 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
5059 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
5061 * timezone: New directory.
5062 * time/README, time/africa, time/antarctica, time/asia,
5063 time/australasia, time/backward, time/checktab.awk,
5064 time/etcetera, time/europe, time/factory, time/ialloc.c,
5065 time/iso3166.tab, time/leapseconds, time/northamerica,
5066 time/pacificnew, time/private.h, time/scheck.c,
5067 time/solar87, time/solar88, time/solar89, time/southamerica,
5068 time/systemv, time/test-tz.c, time/tzfile.h,
5069 time/tzselect.ksh, time/yearistype, time/zdump.c,
5070 time/zic.c, time/zone.tab: Moved to timezone.
5071 * time/tzfile.c: Include tzfile.h from timezone subdir.
5072 * time/tzset.c: Likewise.
5073 * time/Makefile: Cut out all code relating to timezones...
5074 * timezone/Makefile: ...and paste it in here.
5075 * Makefile (subdirs): Add timezone.
5077 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
5079 * libc.map (_sys_nerr): Added.
5081 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
5084 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
5086 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
5087 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
5088 Reported by Craig Metz <cmetz@inner.net>.
5090 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5092 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
5093 instead of strcasecmp.
5094 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
5096 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
5098 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
5100 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
5101 Patch by Dean Gaudet <dgaudet@arctic.org>.
5103 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
5105 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
5107 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
5109 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
5110 with no poll syscall, just include the BSD version.
5111 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
5112 kernel without the syscall, include the stub version.
5113 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
5114 * sysdeps/generic/getresuid.c: New file.
5115 * sysdeps/generic/getresgid.c: New file.
5117 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5119 * stdio-common/vfscanf.c: Correct last change a bit.
5121 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
5123 * elf/Makefile: Don't use --version-script parameter to link ld.so
5126 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
5128 * math/Makefile: Add t_exp.
5129 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
5131 * math/test-reduce.c: Remove temporarily, it seems to be broken.
5132 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
5133 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
5135 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
5136 algorithm for very large/very small arguments.
5137 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
5138 correct algorithm for very large/very small arguments; adjust for
5140 * sysdeps/libm-ieee754/t_exp.c: New file.
5141 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
5143 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
5144 back, with comment that explains what breaks when you remove it :-(.
5146 * localedata/xfrm-test.c: Avoid integer overflow.
5148 * stdlib/strfmon.c: char is unsigned, sometimes.
5150 * sysdeps/powerpc/Makefile: Remove quad float support.
5151 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
5152 * sysdeps/powerpc/quad_float.h: Likewise.
5153 * sysdeps/powerpc/test-arith.c: Likewise.
5154 * sysdeps/powerpc/test-arithf.c: Likewise.
5156 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
5157 * sysdeps/generic/s_exp2f.c: Likewise.
5159 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
5160 don't try anything if _SOFT_FLOAT.
5162 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5164 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
5165 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
5166 * wctype/wctype.c: Likewise.
5167 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
5168 changed. They are incompatible with the _ISxxx values from
5169 <ctype.h> on little endian machines.
5170 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
5171 bit number. This fixes the real bug and restores the integrity of
5172 the ctype locale file.
5173 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
5174 * wctype/wcfuncs_l.c: Likewise.
5175 * wctype/wcextra.c: Likewise.
5176 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
5179 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
5182 into .bss segment instead of .common, so that aliases on it work.
5184 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
5185 .size directives, put into .bss segment instead of initializing it
5188 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
5190 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
5192 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
5194 Make names without __ weak aliases.
5195 (__libc_release, __libc_version): Make them static.
5197 * include/gnu/libc-version.h: New file.
5198 * Makefile (headers): Add gnu/libc-version.h.
5200 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
5202 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
5203 and use x for member name.
5204 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
5206 * stdlib/drand48.c: Change according to member name change.
5207 * stdlib/drand48_r.c: Likewise.
5208 * stdlib/lcong48_r.c: Likewise.
5209 * stdlib/lrand48.c: Likewise.
5210 * stdlib/lrand48_r.c: Likewise.
5211 * stdlib/mrand48.c: Likewise.
5212 * stdlib/mrand48_r.c: Likewise.
5213 * stdlib/seed48.c: Likewise.
5214 * stdlib/seed48_r.c: Likewise.
5215 * stdlib/srand48_r.c: Likewise.
5217 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5219 * nss/test-netdb.c: Add some more test cases.
5221 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
5223 * libio/iovsscanf.c: Undo last change modifying errno.
5225 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5227 * stdio-common/vfscanf.c: Never try to read another character
5228 after EOF. Don't decrement read_in after EOF, it wasn't
5229 incremented in the first place.
5230 (NEXT_WIDE_CHAR): Set First, not first.
5232 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
5234 * db/Makefile ($(inst_libdir)/libndbm.a,
5235 $(inst_libdir)/libndbm.so): New targets.
5236 * db2/Makefile: Likewise.
5238 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
5240 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
5241 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
5243 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5245 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
5247 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5249 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5251 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
5254 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
5256 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
5257 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
5260 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5262 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
5265 * grp/Makefile: Fix logic when checking for thread package.
5266 * pwd/Makefile: Likewise.
5268 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
5270 * elf/Makefile (rtld-map): Replaced by libc-map.
5272 * elf/rtld.map: Removed.
5274 * libc.map (__libc_enable_secure, _dl_catch_error,
5275 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
5276 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
5277 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
5278 _dl_object_relocation_scope, _dl_relocate_object,
5279 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
5280 _r_debug): Added for ld.so.
5282 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
5284 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
5286 * libio/iofdopen.c: Ditto.
5287 * libio/iofopen.c: Ditto.
5288 * libio/oldfileops.c: Ditto.
5290 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
5293 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
5294 oldsiglist from sysdep_routines and shared-only-routines.
5296 * sysdeps/unix/sysv/linux/errlist.c: New.
5297 * sysdeps/unix/sysv/linux/errlist.h: New.
5298 * sysdeps/unix/sysv/linux/sizes.h: New.
5299 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
5300 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
5302 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
5304 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
5305 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
5308 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
5310 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
5311 (oldsiglist.c): Removed.
5313 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
5314 (_sys_siglist): Use SYS_SIGLIST instead.
5315 (_sys_nerr): Use SYS_NERR instead.
5317 * sysdeps/gnu/errlist.c: Rebuilt.
5319 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
5321 * elf/Makefile (others-static): New, set to ldconfig.
5322 ($(objpfx)ldconfig): Removed.
5324 * Rules (binaries-all, binaries-static, binaries-shared): New.
5325 Create targets for $(binaries-static) and $(binaries-shared).
5327 * Makeconfig (+link-static, link-libc-static,
5328 link-extra-libs-static): New for static linking.
5330 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5332 * manual/memory.texi (Using the Memory Debugger): Fix typo.
5334 * math/libm-test.c (modf_test): Add one more test for modf.
5336 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
5338 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5339 Rename from __libc_have_rt_sigs and leave as COMMON data.
5341 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
5343 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
5346 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
5348 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
5350 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
5352 * misc/tst-efgcvt.c: Add yet more tests.
5353 * misc/efgcvt_r.c: And correct for these tests again.
5356 * isomac.c: Move to...
5357 * stdlib/isomac.c: ...here.
5358 * Makefile: Move rules for handling isomac...
5359 * stdlib/Makefile: ...to here.
5361 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
5363 * misc/tst-efgcvt.c: Add more tests.
5364 * misc/efgcvt_r.c: Correct result for above new tests.
5366 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
5368 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
5371 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
5373 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
5374 if the programs weren't built.
5376 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
5378 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
5379 FE_TONEAREST, soldier on regardless and do the best we can.
5380 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
5382 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
5384 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
5385 _STDIO_H, before including <bits/stdio_lim.h>.
5387 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
5389 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
5392 * sysdeps/arm/sys/ucontext.h: New file.
5394 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
5396 * manual/stdio.texi (Formatted Output Functions): Explicitly say
5397 that the return value from snprintf() does not count the
5398 terminating NUL as a character.
5400 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
5402 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
5403 add description for sete[ug]id and general cleanup.
5404 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5406 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5408 * Makefile (parent-clean): Don't remove makefile fragments here.
5409 (postclean): New variable.
5410 (clean): Remove makefile fragments here.
5411 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
5412 (generated): Add isomac and isomanc.out.
5413 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
5414 avoid-generated is set.
5415 (postclean-generated): Add soversion.mk.
5416 ($(common-objpfx)version.mk): Don't include if avoid-generated is
5418 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
5419 avoid-generated is set.
5420 (common-generated): Add libc.so and libc.so$(libc.so-version).
5421 (generated): Add versioned libraries.
5422 (common-mostlyclean): Also remove %.so and %_pic.a.
5423 * csu/Makefile (generated): Add abi-tag.h.
5424 * db2/Makefile (extra-objs): Add getlong.o.
5425 * elf/Makefile (generated): Add ld.so, ldd and
5426 $(rtld-installed-name).
5427 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
5428 * malloc/Makefile (generated): Add mtrace.
5429 * po/Makefile: Don't include version.mk, not needed any more.
5430 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
5431 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
5432 syscall.h -> sys/syscall.h.
5433 (common-generated): Add s-proto.d.
5434 (postclean-generated): Add sysd-syscalls.
5435 * localedata/Makefile (test-output): Add all output files.
5436 (generated): Add test-input and test-output.
5437 (generated-dirs): Add all the dirs.
5439 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5441 * Makefile (test-output, generated, generated-dirs): New
5444 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
5446 * resolv/nss_dns/dns-host.c: Various code cleanups.
5448 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
5450 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
5451 From Philip Blundell <pb@nexus.co.uk>.
5452 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
5454 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5456 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
5457 Suggested by debian/sparc porters.
5459 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5461 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
5464 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
5466 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
5467 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
5469 * signal/signal.h: Always define sigset_t if __need_sigset_t is
5470 defined even if __USE_POSIX is not defined.
5472 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
5474 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
5475 to support obsolete tty major numbers correctly.
5477 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
5479 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
5480 directory first and ignore install error.
5482 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
5483 128 from ptyno and fix a typo for the BSD style pty.
5485 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5487 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
5490 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5492 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5493 getresuid and getresgid.
5495 * sysdeps/unix/sysv/linux/getresuid.c: New file.
5496 * sysdeps/unix/sysv/linux/getresgid.c: New file.
5498 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
5501 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
5502 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5503 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5504 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5506 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
5508 * nscd/grpcache.c: Include <stdlib.h>.
5510 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
5512 * stdlib/atoll.c: Fix comments.
5514 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
5515 * sysdeps/posix/ttyname_r.c: Ditto.
5517 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5519 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
5520 __USE_MISC, independent of __USE_UNIX98.
5522 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
5524 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5525 Rename from __libc_have_rt_sigs and leave as COMMON data.
5527 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
5529 * Makeconfig (CFLAGS-.os): Kill -fno-common.
5530 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
5532 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
5533 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
5535 * include/libc-symbols.h (symbol_version, default_symbol_version):
5536 Provide asm versions and correct !DO_VERSIONING versions.
5537 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
5538 the weak symbol list.
5540 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
5541 Rename from __libc_have_rt_sigs and leave as COMMON data.
5542 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5543 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5544 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5546 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
5548 * sunrpc/Makefile: Correct dependencies of rpcgen.
5550 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
5552 * nscd/Makefile: Fix test for available linuxthreads add-on.
5553 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5555 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5557 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
5559 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5561 * sysdeps/gnu/Makefile: Respect with-cvs variable.
5563 * manual/errno.texi (Error Messages): Correct description of
5564 strerror_r. Pointed out by jonas@bagge.se.
5566 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5568 * manual/socket.texi (Host Address Functions): Clarify description
5571 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5573 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
5574 (grantpt): Delete superfluous cast.
5576 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5578 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
5579 elf/ldso_install instead of elf/subdir_install.
5580 (elf/ldso_install): New target.
5582 * elf/Makefile (ldso_install): New target.
5584 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5586 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
5589 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5591 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
5592 constant expressions.
5594 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5596 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
5597 for __nss_configure_lookup.
5598 (output_hostent): Remove unused variable.
5600 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5602 * string/tst-inlcall.c: Fix format string.
5604 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5606 * inet/netinet/in.h: Rename second parameter of bindresvport to
5607 avoid buggy gcc warning. [PR libc/412]
5609 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
5611 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
5612 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
5614 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
5615 Follow POSIX and make tv_sec a time_t.
5616 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
5617 new tv64 syscall as well as fall back to tv32.
5618 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5619 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5620 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5621 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5622 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5623 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5624 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5625 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
5627 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
5628 * include/rpcsvc/nis_tags.h: Likewise.
5629 * include/rpcsvc/nislib.h: Likewise.
5631 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
5633 * libc.map: Add _h_errno.
5634 * inet/herrno.c: Make _h_errno weak alias.
5636 * login/Makefile (distribute): Add pty-internal.h.
5638 * nscd/Makefile (distribute): Add all the files missing.
5640 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
5643 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
5644 and report status at the end.
5646 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
5648 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
5650 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
5651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
5654 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
5656 * configure.in: Fix --enable-add-ons code.
5658 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5660 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
5661 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
5664 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
5665 occurence in cache. Reported by Rudolf Leitgeb
5666 <leitgeb@leland.stanford.edu>.
5669 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
5671 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
5672 that it never is EINTR (which is tested for in _IO_vfscanf).
5674 * Makefile.in: Call sub-make with CVSOPTS.
5676 * elf/Makefile (distribute): Add dl-procinfo.h.
5678 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
5680 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
5682 * version.h (VERSION): Bump to 2.0.92.
5684 1998-01-31 Phil Blundell <philb@gnu.org>
5686 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
5687 alias for __new_sys_siglist.
5689 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
5691 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
5692 getgrgid_r.c if thread package is available.
5693 * pwd/Makefile: Likewise.
5694 * grp/getgrnam_r.c: Remove USE_NSCD definition.
5695 * grp/getgrgid_r.c: Likewise.
5696 * pwd/getpwnam_r.c: Likewise.
5697 * pwd/getpwuid_r.c: Likewise.
5699 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
5701 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
5702 with error to allow user intervention.
5703 * nss/getXXent_r.c: Likewise.
5705 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
5707 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
5708 AT_PLATFORM string. Pretty print AT_BASE info.
5710 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
5711 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
5712 * sysdeps/generic/dl-procinfo.h: New file.
5713 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
5715 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
5717 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
5719 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
5720 thread and not pthread_detach.
5722 * nscd/nscd.c: Rewrite to use argp instead of getopt.
5724 1998-01-31 Phil Blundell <philb@gnu.org>
5726 * configure.in: Add --without-cvs option to suppress automatic
5727 checkin of regenerated files.
5728 * config.make.in: Likewise.
5729 * Makefile: Respect with-cvs setting.
5730 * Makerules: Likewise.
5732 * configure.in: Allow the standalone ARM port to be configured.
5734 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5736 * grp/getgrgid_r.c: Define USE_NSCD.
5737 * grp/getgrnam_r.c: Likewise.
5738 * pwd/getpwuid_r.c: Likewise.
5739 * pwd/getpwnam_r.c: Likewise.
5741 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
5743 * nss/getXXbyYY_r.c: Try at first nscd.
5745 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
5746 * nscd/connections.c: New file.
5747 * nscd/dbg_log.c: New file.
5748 * nscd/dbg_log.h: New file.
5749 * nscd/grpcache.c: New file.
5750 * nscd/nscd.c: New file.
5751 * nscd/nscd.h: New file.
5752 * nscd/nscd_conf.c: New file.
5753 * nscd/nscd_stat.c: New file.
5754 * nscd/pwdcache.c: New file.
5756 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
5757 * nscd/nscd_getpw_r.c: Likewise.
5758 * nscd/nscd_proto.h: New, prototypes for client functions.
5760 * nscd/nscd.conf: New, example for a configuration file.
5761 * nscd/nscd.init: New, example for a startup script.
5763 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
5765 * nscd/getgrnam_r.c: Likewise.
5766 * nscd/getpwnam_r.c: Likewise.
5767 * nscd/getpwuid_r.c: Likewise.
5769 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
5771 * intl/Makefile: Use CVSOPTS in cvs invocation.
5772 * po/Makefile: Likewise.
5773 * posix/Makefile: Likewise.
5774 * stdlib/Makefile: Likewise.
5776 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
5778 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
5780 * misc/Makefile (tests): Add tst-efgcvt.
5781 * misc/tst-efgcvt.c: New file.
5783 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
5785 * posix/regex.c: Add some more cleanups by Akim Demaille.
5787 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
5789 * signal/signal.h: Revert last change.
5790 * string/strsignal.c: Regard signal number NSGI as illegal.
5791 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
5794 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
5796 * Makefile.in: Add comment about CVSOPTS Makefile variable.
5797 * Makerules: Use CVSOPTS in cvs invocation.
5798 * Makefile: Likewise.
5799 * MakeTAGS: Likewise.
5800 * Make-dist: Likewise.
5802 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
5804 * sysdeps/generic/memmem.c: Correct last change.
5806 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
5808 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
5809 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
5811 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5813 * nis/ypclnt.c: Try at first to use the binding file from ypbind
5816 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5818 * manual/memory.texi (Heap Consistency Checking): mcheck is
5819 declared in <mcheck.h>.
5820 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5822 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5824 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5825 beginning of haystack.
5827 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5829 * nss/nss_files/files-service.c: Correct last patch.
5831 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
5833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5834 __libc_have_rt_sigs.
5835 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5836 including <bits/setjmp.h>.
5837 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5838 Patch from the Debian glibc/SPARC package.
5840 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
5842 * sysdeps/alpha/bzero.S: Fix a typo.
5843 * sysdeps/alpha/htonl.S: Ditto.
5844 * sysdeps/alpha/htons.S: Ditto.
5846 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5848 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5850 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
5852 * include/cpio.h: Move to ...
5853 * posix/cpio.h: ...here.
5855 * locale/programs/ld-collate.c: Fix typo.
5857 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5859 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5861 * login/utmp_file.c (pututline_file): Don't always report success
5862 if similar entry is found. Patch by Mark M. Kettenis.
5864 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
5866 * manual/Makefile: Don't try to install the info files if makeinfo
5869 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
5871 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5872 kernel's network ioctls, rather than using <linux/sockios.h> to
5873 get them. This way we are sure of maintaining compatibility if
5874 the kernel interface should change.
5876 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
5878 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5880 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
5882 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5885 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
5887 Implement System V pseudoterminal handling.
5890 (routines): Add getpt, grantpt, unlockpt, ptsname.
5891 (libutil-routines): Remove pty. Add openpty, forkpty.
5892 (distribute): New internal header pty-internal.h.
5893 (others): Add the helper program, pt_chown.
5894 (install-others): Install it, in $(libexecdir), mode 4755.
5896 * login/pty-internal.h: New file.
5897 * login/openpty.c: New file.
5898 * login/forkpty.c: New file.
5899 * login/programs/pt_chown.c: New file.
5901 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5902 * stdlib/stdlib.h: Prototype them.
5904 * config.make.in: Define $(libexecdir).
5905 * Makeconfig: Define $(inst_libexecdir).
5907 * sysdeps/generic/pty.c: Removed.
5908 * sysdeps/unix/sysv/linux/pty.c: Removed.
5910 * sysdeps/generic/getpt.c: Stub out.
5911 * sysdeps/generic/grantpt.c: Likewise.
5912 * sysdeps/generic/ptsname.c: Likewise.
5913 * sysdeps/generic/unlockpt.c: Likewise.
5915 * sysdeps/unix/grantpt.c: New file.
5916 * sysdeps/unix/bsd/getpt.c: New file.
5917 * sysdeps/unix/bsd/unlockpt.c: New file.
5918 * sysdeps/unix/sysv/linux/getpt.c: New file.
5919 * sysdeps/unix/sysv/linux/ptsname.c: New file.
5920 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5922 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
5924 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
5926 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5928 * nss/Makefile (tests): Add rule for test-netdb.c.
5930 * nss/test-netdb.c: New file.
5932 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
5934 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5935 really kept as a variable. Patch by Richard Henderson,
5936 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5938 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5939 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5940 entries as not existing.
5942 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5944 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5945 zero in alternate form with precision of zero, which must produce
5946 "0". Add braces to avoid ambiguous `else'.
5948 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5950 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5951 problem with strncpy.
5952 * nis/nss_compat/compat-pwd.c: Likewise.
5953 * nis/nss_compat/comapt-spwd.c: Likewise.
5955 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5957 * assert/assert.h (assert_perror): Correct test for errnum. Patch
5958 by uch@nop.or.jp. [PR libc/437]
5960 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5962 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5964 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5966 * stdio-common/test-popen.c: Include <errno.h>.
5968 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5971 * inet/getnetgrent_r.c: Include <errno.h>.
5973 * db2/db/db_conv.c: Include <string.h> for memcpy.
5975 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5976 so that memcpy is declared.
5978 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5980 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5982 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5984 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
5985 overflow while reading line with fgets.
5986 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5988 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
5990 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
5991 unsigned short, not short.
5992 Reported by Andreas Jaeger.
5994 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5996 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
5999 * sysdeps/generic/inttypes.h: Fix spelling.
6001 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6003 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
6005 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
6007 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
6009 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
6010 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
6011 field for hh modifier.
6012 * stdio-common/vfprint.c: Use is_char field and do not depend in
6013 is_short having the value 2.
6014 Bug reported by Andreas Jaeger.
6016 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6018 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
6019 PIC && DO_VERSIONING.
6021 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6023 * Rules: Add rules for $(common-objpfx)dummy$o.
6025 1998-01-26 Richard Henderson <rth@cygnus.com>
6027 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
6028 unimplemented OSF/1 definitions so that they are not accidentally seen.
6030 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
6031 of the trampoline function into the macro.
6032 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
6033 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
6034 kernel 2.1.82 has this fixed.
6036 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
6037 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
6039 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
6041 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
6042 support sigaction on kernels > 2.1.7x.
6044 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
6046 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
6049 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
6050 Patch by David Engel <david@sw.ods.com>.
6052 * configure.in: Fix another typo in --enable-add-ons code.
6054 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
6056 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
6058 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6060 * nss/nss_files/files-network.c: Correct order of parameters for
6063 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
6065 * db2/Makefile (routines): Add os_alloc.
6066 * db2/db.h: Update from db-2.3.16.
6067 * db2/db_185.h: Likewise.
6068 * db2/db_int.h: Likewise.
6069 * db2/btree/bt_close.c: Likewise.
6070 * db2/btree/bt_cursor.c: Likewise.
6071 * db2/btree/bt_delete.c: Likewise.
6072 * db2/btree/bt_open.c: Likewise.
6073 * db2/btree/bt_page.c: Likewise.
6074 * db2/btree/bt_put.c: Likewise.
6075 * db2/btree/bt_rec.c: Likewise.
6076 * db2/btree/bt_recno.c: Likewise.
6077 * db2/btree/btree_auto.c: Likewise.
6078 * db2/common/db_appinit.c: Likewise.
6079 * db2/common/db_apprec.c: Likewise.
6080 * db2/common/db_err.c: Likewise.
6081 * db2/common/db_region.c: Likewise.
6082 * db2/common/db_shash.c: Likewise.
6083 * db2/db/db.c: Likewise.
6084 * db2/db/db_auto.c: Likewise.
6085 * db2/db/db_conv.c: Likewise.
6086 * db2/db/db_dispatch.c: Likewise.
6087 * db2/db/db_dup.c: Likewise.
6088 * db2/db/db_pr.c: Likewise.
6089 * db2/db/db_rec.c: Likewise.
6090 * db2/db185/db185.c: Likewise.
6091 * db2/dbm/dbm.c: Likewise.
6092 * db2/hash/hash.c: Likewise.
6093 * db2/hash/hash_auto.c: Likewise.
6094 * db2/hash/hash_dup.c: Likewise.
6095 * db2/hash/hash_page.c: Likewise.
6096 * db2/hash/hash_rec.c: Likewise.
6097 * db2/include/btree_ext.h: Likewise.
6098 * db2/include/clib_ext.h: Likewise.
6099 * db2/include/common_ext.h: Likewise.
6100 * db2/include/db.h.src: Likewise.
6101 * db2/include/db_185.h.src: Likewise.
6102 * db2/include/db_am.h: Likewise.
6103 * db2/include/db_ext.h: Likewise.
6104 * db2/include/db_int.h.src: Likewise.
6105 * db2/include/hash_ext.h: Likewise.
6106 * db2/include/lock_ext.h: Likewise.
6107 * db2/include/log.h: Likewise.
6108 * db2/include/log_auto.h: Likewise.
6109 * db2/include/log_ext.h: Likewise.
6110 * db2/include/mp.h: Likewise.
6111 * db2/include/mp_ext.h: Likewise.
6112 * db2/include/mutex_ext.h: Likewise.
6113 * db2/include/os_ext.h: Likewise.
6114 * db2/include/os_func.h: Likewise.
6115 * db2/include/txn_ext.h: Likewise.
6116 * db2/lock/lock.c: Likewise.
6117 * db2/lock/lock_util.c: Likewise.
6118 * db2/log/log.c: Likewise.
6119 * db2/log/log.src: Likewise.
6120 * db2/log/log_archive.c: Likewise.
6121 * db2/log/log_auto.c: Likewise.
6122 * db2/log/log_get.c: Likewise.
6123 * db2/log/log_put.c: Likewise.
6124 * db2/log/log_rec.c: Likewise.
6125 * db2/log/log_register.c: Likewise.
6126 * db2/mp/mp_bh.c: Likewise.
6127 * db2/mp/mp_fget.c: Likewise.
6128 * db2/mp/mp_fopen.c: Likewise.
6129 * db2/mp/mp_fput.c: Likewise.
6130 * db2/mp/mp_pr.c: Likewise.
6131 * db2/mp/mp_sync.c: Likewise.
6132 * db2/mutex/mutex.c: Likewise.
6133 * db2/os/os_alloc.c: Likewise.
6134 * db2/os/os_config.c: Likewise.
6135 * db2/os/os_stat.c: Likewise.
6136 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
6137 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
6138 * db2/progs/db_load/db_load.c: Likewise.
6139 * db2/progs/db_printlog/db_printlog.c: Likewise.
6140 * db2/progs/db_recover/db_recover.c: Likewise.
6141 * db2/progs/db_stat/db_stat.c: Likewise.
6142 * db2/txn/txn.c: Likewise.
6144 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
6145 Unmap memory blocks in reverse order of allocation.
6146 Call munmap with load address added to offset.
6147 Bug reported by Miguel de Icaza.
6149 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
6152 * localedata/locales/cs_CZ: Update by Michael Mraka
6153 <michael@informatics.muni.cz>.
6155 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
6158 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
6159 reading line with fgets.
6160 * nis/nss_compat/compat-pwd.c: Likewise.
6161 * nis/nss_compat/compat-spwd.c: Likewise.
6162 * nss/nss_files/files-XXX.c: Likewise.
6163 * nss/nss_files/files-alias.c: Likewise.
6164 * shadow/fgetspent_r.c: Likewise.
6166 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
6168 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
6169 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6170 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6172 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
6173 FP register content in ucontext_t.
6175 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6177 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
6178 calculation. Patch by Markus Schoder
6179 <Markus.Schoder@dresdner-bank.de>.
6181 * math/libm-test.c (modf_test): Add more tests for modf.
6183 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
6184 munlock according to Unix98.
6186 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6188 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
6191 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
6193 * sysdeps/posix/ttyname.c: Handle symbolic links.
6194 * sysdeps/posix/ttyname_r.c: Ditto.
6196 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
6198 * db2/makedb.c (process_input): Write terminating \0 for value.
6199 (print_database): Simply print value string, don't use length.
6201 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6203 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
6206 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6208 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
6211 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
6213 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
6215 * signal/sighold.c: New file.
6216 * signal/sigrelse.c: New file.
6217 * sysdeps/generic/sigignore.c: New file.
6218 * sysdeps/generic/sigset.c: New file.
6219 * sysdeps/posix/sigignore.c: New file.
6220 * sysdeps/posix/sigset.c: New file.
6221 * signal/signal.h: Add prototypes for new functions.
6223 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
6224 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
6225 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
6226 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
6228 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6230 * posix/wordexp.c: Added IFS field-splitting in parameter and
6231 command substitution. Fixed an IFS-related bug that caused an
6234 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
6236 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
6238 * stdlib/ucontext.h: Correct prototypes.
6239 * sysdeps/generic/getcontext.c: New file.
6240 * sysdeps/generic/setcontext.c: New file.
6241 * sysdeps/generic/makecontext.c: New file.
6242 * sysdeps/generic/swapcontext.c: New file.
6243 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
6245 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
6247 * resource/sys/resource.h: Remove #include of ulimit.h which is
6248 not allowed by SUSv2 and not available on other systems.
6249 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
6251 * streams/Makefile: New file.
6252 * streams/stropts.h: New file.
6253 * sysdeps/generic/bits/stropts.h: New file.
6254 * sysdeps/generic/isastream.c: New file.
6255 * sysdeps/generic/getmsg.c: New file.
6256 * sysdeps/generic/getpmsg.c: New file.
6257 * sysdeps/generic/putmsg.c: New file.
6258 * sysdeps/generic/putpmsg.c: New file.
6259 * sysdeps/generic/fattach.c: New file.
6260 * sysdeps/generic/fdetach.c: New file.
6261 * sysdeps/unix/inet/Subdirs: Add streams.
6262 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
6264 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6265 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6266 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6269 * sysdeps/mach/_strerror.c: Follow changes of generic version to
6270 handle small buffers correctly.
6272 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
6274 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6275 Remove the 3rd arg and add declaration for _dl_runtime_resolve
6276 and _dl_runtime_profile.
6278 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
6280 * include/cpio.h: New file. Mainly copied from GNU cpio.
6281 * posix/Makefile (headers): Add cpio.h.
6283 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6285 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
6287 * nis/nis_cache.c: New file.
6288 * nis/nis_cache2.h: New file.
6289 * nis/nis_cache2_xdr.c: New file.
6290 * nis/nis_call.c: Changes for cache2_info parameter.
6291 * nis/nis_checkpoint.c: Likewise.
6292 * nis/nis_intern.h: Likewise.
6293 * nis/nis_mkdir.c: Likewise.
6294 * nis/nis_ping.c: Likewise.
6295 * nis/nis_rmdir.c: Likewise.
6296 * nis/nis_server.c: Likewise.
6297 * nis/nis_util.c: Likewise.
6299 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6301 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
6302 return/errnop codes.
6303 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6304 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6305 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6306 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6307 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6308 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6309 * nis/nss_nisplus/nisplus-rpc.c: Likewise
6310 * nis/nss_nisplus/nisplus-service.c: Likewise.
6311 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6313 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6315 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
6316 * nis/nss_nis/nis-ethers.c: Likewise.
6317 * nis/nss_nis/nis-grp.c: Likewise.
6318 * nis/nss_nis/nis-hosts.c: Likewise.
6319 * nis/nss_nis/nis-network.c: Likewise.
6320 * nis/nss_nis/nis-proto.c: Likewise.
6321 * nis/nss_nis/nis-hosts.c: Likewise.
6322 * nis/nss_nis/nis-network.c: Likewise.
6323 * nis/nss_nis/nis-proto.c: Likewise.
6324 * nis/nss_nis/nis-publickey.c: Likewise.
6325 * nis/nss_nis/nis-pwd.c: Likewise.
6326 * nis/nss_nis/nis-rpc.c: Likewise.
6327 * nis/nss_nis/nis-service.c: Likewise.
6328 * nis/nss_nis/nis-spwd.c: Likewise.
6330 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
6332 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
6333 Added to follow latest kernel development.
6335 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
6337 * nss/db-Makefile: Handle empty and comment lines better.
6338 ($(VAR_DB)/services.db): Generate entries with missing protocol
6341 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6343 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
6345 (getservbyname): Allow proto == NULL.
6346 Pointed out by David N. Welton <davidw@gate.cks.com>.
6349 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
6351 * nis/nislib/nislib.h: Finally removed.
6353 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
6354 C compiler. From Kaveh Ghazi.
6355 (TYPE_MINIMUM): Define.
6356 (TYPE_MAXIMUM): Define.
6357 (TIME_T_MIN): Use TYPE_MINIMUM.
6358 (TIME_T_MAX): Use TYPE_MAXIMUM.
6359 Patch by Jim Meyering <meyering@ascend.com>.
6361 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
6363 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
6364 __pread64, __pwrite64, and __getpid.
6366 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
6369 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6371 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
6372 cancelable socket functions as __libc_xxx with __xxx as weak
6374 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6375 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6377 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
6379 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6380 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
6381 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6382 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6384 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
6385 and __xxx a weak alias.
6386 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6387 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6388 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6389 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6390 * sysdeps/unix/sysv/linux/send.S: Likewise.
6391 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6392 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6394 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6396 * locale/langinfo.h: Add defines.
6398 * dirent/dirent.h: Add defines for DT_*, check also for
6399 _DIRENT_HAVE_D_TYPE.
6400 Suggested by Roland McGrath.
6402 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6404 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
6405 Update from Linux 2.1.73+79.
6407 * README.template: Update information about possible
6410 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
6411 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6414 * manual/time.texi (Priority): Correct description of
6415 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6418 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
6420 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
6421 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
6423 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
6425 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
6428 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
6430 * locale/programs/ld-collate.c: Little optimizations.
6432 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
6434 * string/Makefile (tests): Add tst-inlcall.
6435 * string/tst-inlcall.c: New file.
6437 * string/strsignal.c: Add support for real-time signals.
6439 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
6440 presense of small buffer.
6442 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
6444 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
6447 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
6450 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
6452 * Rules: Add explicit rule for dummy.o; at least one library needs
6453 it and it isn't autogenerated by the default rules.
6455 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6457 * math/libm-test.c: Tweak epsilons.
6459 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6461 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
6463 (feenv_mask_test): Likewise.
6465 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6467 * Makeconfig: Don't export CPPFLAGS.
6469 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6471 * sunrpc/rpc_main.c (parseargs): Use perror to print error
6474 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6476 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
6477 terminating null in key size.
6479 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6481 * nss/nss_files/files-service.c: Fix allocation size to include
6484 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
6485 applicable. Fix return value and error checking.
6486 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
6488 (DB_LOOKUP): Allocate space for terminating null byte.
6490 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
6493 * db2/makedb.c (process_input): Continue processing if a duplicate
6496 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
6498 * time/tzfile.h: Updated from tzcode1998b.
6499 * time/zdump.c: Likewise.
6500 * time/zic.c: Likewise.
6501 * time/africa: Update from tzdata1998b.
6502 * time/antarctica: Likewise.
6503 * time/asia: Likewise.
6504 * time/australasia: Likewise.
6505 * time/etcetera: Likewise.
6506 * time/europe: Likewise.
6507 * time/leapseconds: Likewise.
6508 * time/northamerica: Likewise.
6509 * time/southamerica: Likewise.
6511 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6513 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
6514 lookups ignoring case.
6515 * nss/nss_files/files-network.c: Do network lookups ignoring
6517 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
6519 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
6520 case insensitive comparing.
6521 Patches by Cristian Gafton <gafton@redhat.com>.
6523 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6525 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
6526 by Roland McGrath. [PR libc/395]
6528 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6530 * manual/arith.texi (Parsing of Integers): Correct description of
6531 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
6534 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
6536 * misc/lsearch.c (lsearch): Return a pointer to the new element
6537 if one was "allocated".
6539 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6541 * string/strsignal.c: NSIG is not a valid index into
6542 _sys_siglist. Don't zap the last character of the "Unknown
6545 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
6547 * locale/programs/charmap.c (parse_charmap): Correct parsing of
6548 ellipsis expressions.
6550 * locale/programs/charset.c (insert_char): Correctly insert value
6551 of eliipsis expression.
6553 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
6555 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
6557 * sysdeps/powerpc/setjmp.S: Likewise.
6558 Patches by Matt McLean <keys@keys.got.net>.
6560 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
6562 * Makefile: Undo last patch.
6563 (distribute): Add test-installation.pl.
6565 * configure.in: Correct handling of --enable-add-ons without parameter.
6566 Correct address of WWW pages.
6568 * libc.map: Add _nl_domain_bindings.
6570 * db2/mutex/tsl_parisc.s: New file.
6572 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
6573 and extra-module.mk.
6575 * localedata/Makefile (distribute): New. Add all the files.
6577 * stdlib/Makefile (headers): Add inttypes.h.
6578 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
6579 * sysdeps/generic/inttypes.h: New file.
6580 * sysdeps/generic/strtoimax.c: New file.
6581 * sysdeps/generic/strtoumax.c: New file.
6582 * sysdeps/generic/wcstoimax.c: New file.
6583 * sysdeps/generic/wcstoumax.c: New file.
6584 * sysdeps/wordsize-32/Dist: Removed.
6585 * sysdeps/wordsize-32/Makefile: Removed.
6586 * sysdeps/wordsize-64/Dist: Removed.
6587 * sysdeps/wordsize-64/Makefile: Removed.
6588 * sysdeps/generic/bits/environments.h: New file.
6590 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
6591 header is still not correct.
6593 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
6594 * posix/unistd.h: Likewise.
6595 * sysdeps/generic/sys/mman.h: Likewise.
6596 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6598 * manual/arith.texi: Change definition of mul macro.
6599 * manual/math.texi: Likewise.
6601 * misc/Makefile (routines): Add mmap64.
6602 * sysdeps/generic/mmap64.c: New file.
6603 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
6604 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
6605 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
6607 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6609 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
6611 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
6613 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
6615 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
6616 FOPEN_MAX also when included by limits.h.
6617 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6619 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
6620 and netrom/netrom.h.
6621 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
6622 oldsiglist to sysdep_routines, not aux.
6623 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
6625 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
6626 and SOL_NETROM definition.
6628 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
6630 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
6631 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
6633 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
6635 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
6637 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
6638 sa_handler with k_sa_handler.
6639 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
6643 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
6644 __libc_have_rt_sigs here.
6645 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
6646 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6647 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
6648 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6650 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
6652 * sysdeps/powerpc/atomicity.h: New file.
6653 * sysdeps/mach/powerpc/machine-lock.h: New file.
6655 * Rules: Use -fpic to build anything that might end up in a users'
6658 * sysdeps/powerpc/s_fdim.c: New file.
6659 * sysdeps/powerpc/s_fdimf.c: New file.
6660 * sysdeps/powerpc/s_fmax.S: New file.
6661 * sysdeps/powerpc/s_fmaxf.S: New file.
6662 * sysdeps/powerpc/s_fmin.S: New file.
6663 * sysdeps/powerpc/s_fminf.S: New file.
6664 * sysdeps/powerpc/s_llrint.c: Now is for double.
6665 * sysdeps/powerpc/s_llrintf.c: New file.
6666 * sysdeps/powerpc/s_llround.c: Now is for double.
6667 * sysdeps/powerpc/s_llroundf.c: New file.
6668 * sysdeps/powerpc/s_lrint.c: Now is for double.
6669 * sysdeps/powerpc/s_lrintf.S: New file.
6670 * sysdeps/powerpc/s_lround.c: Now is for double.
6671 * sysdeps/powerpc/s_lroundf.c: New file.
6672 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
6673 lrintf, fdim, fdimf.
6675 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
6676 file directly, use its parent.
6678 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
6679 (for the third time).
6681 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
6683 * posix/sched.h: timespec is in <time.h>.
6685 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
6687 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
6689 * configure.in: Stop with error if --disable-static is used when
6690 the shared lib uses this library.
6692 * gen-FAQ.pl: I've perl installed in /usr/bin.
6694 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
6696 Fix Unix98 conformance problems in the headers.
6697 * catgets/nl_types.h: Define nl_item.
6698 * grp/grp.h: Define gid_t.
6699 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
6700 * include/nl_types.h: New file.
6701 * include/ulimit.h: New file.
6702 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
6703 constants in POSIX mode.
6704 * io/utime.h: Get definition for time_t.
6705 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
6706 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
6707 * libio/stdio.h: Define va_list. Make snprintf also available is
6708 __USE_UNIX98. Declare getopt function and variables.
6709 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
6710 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
6711 * math/math.h: Defined M_* constants as double for Unix98 mode.
6712 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
6713 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
6714 * posix/regex.h: Define REG_NOSYS.
6715 * posix/wordexp.h: Define WRDE_NOSYS.
6716 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
6718 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
6719 somewhere else as well. Define clock_t for Unix98.
6720 * posix/sys/wait.h: Define pid_t.
6721 * pwd/pwd.h: Define gid_t, uid_t.
6722 * resource/Makefile (headers): Add ulimit.h.
6723 * resource/ulimit.h: New file.
6724 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
6725 instead of second argument.
6726 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
6727 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6728 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
6729 * signal/signal.h: Define pid_t.
6730 * string/string.h: Don't declare BSD string functions in POSIX mode.
6731 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
6732 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
6733 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
6736 * inet/test_ifindex.c: Change test so that it does not fail for
6739 * locale/programs/locale.c (show_info): Use correct cast sequence
6742 * malloc/malloc.c: __malloc_initialized now signals three states:
6743 uninitialized, initializing, initialized. Used in mcheck.
6744 * malloc/mcheck.c (mabort): Add '\n' to messages.
6745 (mcheck): Allow installation when malloc is uninitialized or is
6748 * manual/memory.texi: Explain mtrace output a bit more.
6750 * math/libm-test.c: Add more epsilons.
6752 * misc/regexp.h (compile): Remove __ prefix from parameter names.
6754 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
6755 instead of strcpy for security.
6756 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
6757 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
6758 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
6760 * nss/digits_dots.c: Pretty print.
6762 * posix/getconf.c (vars): Add symbols for programming environment
6763 recognition. Recognize --version.
6765 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
6766 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
6767 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
6769 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
6771 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6772 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
6775 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
6776 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
6778 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
6779 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6780 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6781 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
6782 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6783 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
6785 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
6787 * sysdeps/wordsize-64/inttypes.h: Likewise.
6789 * time/africa: Update from tzdata1997j.
6790 * time/antarctica: Likewise.
6791 * time/asia: Likewise.
6792 * time/australasia: Likewise.
6793 * time/backward: Likewise.
6794 * time/etcetera: Likewise.
6795 * time/europe: Likewise.
6796 * time/factory: Likewise.
6797 * time/northamerica: Likewise.
6798 * time/pacificnew: Likewise.
6799 * time/southamerica: Likewise.
6801 * time/tzfile.h: Update from tzcode1997h.
6802 * time/zic.c: Likewise.
6804 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
6805 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
6806 isw*() functions for Unix98.
6807 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
6808 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
6811 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6813 * locale/duplocale.c: Increase usage_count only if less than
6815 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6817 * locale/setlocale.c: Likewise.
6819 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6821 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6822 dependency to make it easier to install it selectively.
6824 * Makerules (.SUFFIXES): Don't define any suffixes.
6826 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6828 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6829 * sysdeps/generic/statfs64.c: Emulate using statfs.
6830 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6831 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6832 * sysdpes/generic/ftruncate64.c: New file.
6833 * sysdpes/generic/truncate64.c: New file.
6835 * sysdeps/generic/bits/stat.h: Add LFS support.
6836 * sysdeps/generic/bits/statfs.h: Likewise.
6838 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6839 [__USE_FILE_OFFSET64]: Make long long constant.
6840 (RLIM64_INFINITY): Likewise.
6842 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6844 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6845 * sysdeps/generic/bits/resource.h: Likewise.
6847 * misc/Makefile (routines): Add truncate64 and ftruncate64.
6849 * include/features.h: Don't prevent LFS support from defining BSD
6852 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6853 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6854 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6856 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6857 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6858 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6860 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6861 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6862 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6863 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6864 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6865 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6866 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6867 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6868 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6869 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6870 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6873 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6874 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6875 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6876 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6877 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6879 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6881 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6882 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6883 * sysdeps/unix/sysv/linux/xstat64.c: New file.
6884 * sysdeps/unix/sysv/linux/readdir64.c: New file.
6885 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6887 * sysdeps/unix/sysv/linux/getdents64.c: New file.
6888 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6889 [$(subdir)=dirent]: Add getdents64.
6890 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6892 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6894 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
6896 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6898 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6899 * sysdeps/generic/getrlimit64.c: Likewise.
6900 * sysdeps/generic/setrlimit.c: Likewise.
6901 * sysdeps/generic/setrlimit64.c: Likewise.
6903 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
6905 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6908 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6910 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6912 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6914 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6915 after the codeset name.
6917 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6919 * libc.map: Add get_kernel_syms.
6921 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6923 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6925 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6926 Likewise. Fix condition.
6928 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6930 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6932 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6934 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6935 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6937 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6939 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6940 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6943 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6945 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6947 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6949 * math/libm-test.c (catanh_test): Change epsilon.
6950 Reported by H.J. Lu.
6952 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
6954 * libc.map (__getpid): Added for linuxthreads.
6956 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
6958 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6959 it if gcc uses static variable in DWARF2 unwind information
6960 for exception support.
6962 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6964 * elf/soinit.c (__libc_global_ctors, _fini): Handle
6965 HAVE_DWARF2_UNWIND_INFO_STATIC.
6967 * libc.map (__register_frame*, __deregister_frame*): Make them
6970 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6972 * math/libm-test.c: Add more tests for "normal" values.
6974 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6976 * stdio-common/printf_fphex.c: Fix printing of long double number
6977 with a biased exponent of zero. Fix rounding.
6979 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6981 * sunrpc/rpc_main.c: Accept new flag -$.
6982 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
6984 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6986 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
6987 dynamic linker first, in case the interface has changed.
6989 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6991 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
6994 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6996 * math/tgmath.h: Check for double first, for architectures where
6997 sizeof (long double) == sizeof (double).
6999 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7001 * math/libm-test.c: New tests for "normal" values added for most
7004 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
7006 * version.h (VERSION): Bump to 2.0.91.
7008 * db2/makedb.c (process_input): Fix typo in message.
7009 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
7011 * elf/dynamic-link.h: Pretty print.
7013 * elf/rtld.c: Allow multiple preloading of a shared object.
7015 * include/limits.h: Prevent multiple inclusion.
7017 * malloc/Makefile (headers): Add mcheck.h.
7018 (distribute): Remove it here.
7019 * malloc/mcheck.h: Pretty print.
7020 * malloc/mtrace.c (mallenv): Make `const'.
7021 * malloc/mtrace.pl: Don't print table head for memory leaks if there
7023 * manual/memory.texi: Update descriptor of malloc hooks.
7025 * posix/Makefile (routines): Add waitid.
7026 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
7028 * posix/sys/wait.h: Define idtype_t type.
7029 Add prototype for waitid.
7030 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
7031 * sysdeps/generic/waitid.c: Stub for waitid.
7032 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
7033 the __need_siginfo_t defined.
7034 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
7035 * sysdeps/generic/bits/types.h: Define __id_t.
7036 Correct definition of __FDMASK.
7037 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7038 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7039 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
7041 * sysdeps/posix/waitid.c: New file.
7042 Provided by Zack Weinberg.
7044 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
7046 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7047 Add missing parameters.
7049 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
7050 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
7051 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
7052 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
7055 * sysdeps/i386/dl-machine.h: Little cleanup.
7057 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
7058 (__finite): Mark function as const.
7059 Add inline code for __ieee754_atan2.
7061 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
7062 (but don't use it now).
7063 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
7065 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
7066 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7067 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
7069 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
7070 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7071 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
7072 __ieee754_atan2 to base 10.
7073 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
7074 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7076 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
7077 old_kernel_sigaction.
7079 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
7081 * wctype/Makefile (routines): Add wctype_l.
7082 * wctype/wctype.h: Add declaration of __wctype_l.
7083 * wctype/wctype_l.c: New file.
7085 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
7087 * locale/C-ctype.c: Correct data for isw* functions.
7088 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
7090 * wctype/test_wctype.c: Add test for isw* functions.
7091 * wctype/wctype.c: Return value with expected byte order.
7093 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7095 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
7097 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
7099 * iconvdata/Makefile: Fix a typo.
7101 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
7102 oldsiglist for shared library.
7104 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
7105 sys_sigabbrev): Make them as the default version GLIBC_2.1.
7107 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
7108 sys_siglist, sys_sigabbrev): New file. Make them as the old
7111 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
7114 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
7116 * libio/iofgets.c (_IO_fgets): Return an error only if there
7118 * libio/iogets.c (_IO_gets): Ditto.
7120 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
7122 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
7124 * libio/Makefile (routines, shared-only-routines): Add
7127 * libio/fileops.c: Don't use _IO_FILE_complete.
7128 * libio/iofdopen.c: Ditto.
7129 * libio/iofopen.c: Ditto.
7130 * libio/iofopen64.c: Ditto.
7131 * libio/iopopen.c: Ditto.
7132 * libio/iovdprintf.c: Ditto.
7134 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
7136 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
7137 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
7139 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
7140 _IO_old_fdopen, _IO_new_fdopen): New declaration.
7142 * libio/libio.h (_IO_FILE): Add more fields.
7143 (_IO_FILE_complete): Defined and make _IO_FILE be the old
7144 one if _IO_USE_OLD_IO_FILE is defined
7145 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
7146 them _IO_FILE_complete.
7148 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
7150 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
7152 (_IO_FILE_complete): Commented out.
7154 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
7155 * libio/oldiofclose.c: Ditto.
7156 * libio/oldiofopen.c: Ditto.
7157 * libio/oldstdfiles.c: Ditto.
7159 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
7160 for the old _IO_FILE.
7162 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
7163 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
7166 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
7169 * libio/stdio.c (stdin, stdout, stdin): Don't use
7172 * libio/oldiofdopen.c: New.
7174 * stdio-common/vfprintf.c (buffered_vfprintf): Set
7175 hp->_vtable_offset to 0.
7177 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
7179 * libc.map (_IO_file_open): Added.
7181 * libio/libioP.h (_IO_file_open): Declared.
7183 * libio/fileops.c (_IO_file_open): New.
7184 (_IO_file_fopen): Call _IO_file_open ().
7186 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
7187 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7189 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7191 * signal/signal.h: Fix selection of signal semantics to match
7194 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7196 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
7197 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
7199 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
7200 [$(subdir)=signal]: Remove rt_sigreturn.
7201 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
7202 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
7203 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
7205 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7207 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
7210 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7212 * iconvdata/extra-module.mk: Expand extra-objs now.
7214 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7216 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
7217 inline functions by feature tests to avoid warning about missing
7218 prototype declarations.
7220 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7222 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
7223 return code for non existent +name entries.
7224 * nis/nss_compat/compat-pwd.c: Likewise.
7225 * nis/nss_compat/compat-spwd.c: Likewise.
7227 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
7229 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
7233 (__errno_location): Likewise.
7235 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
7237 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
7239 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7241 * sunrpc/publickey.c: Use new NSS interface.
7243 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
7245 * manual/malloc.texi: Document mtrace/muntrace and the concept.
7247 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7249 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
7250 value, to match spirit of the standard.
7251 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
7252 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
7253 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
7255 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7257 * manual/signal.texi (Signal Stack): Remove spurious @item.
7259 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7261 * rt/aio.h: Remove double semicolon.
7263 * rt/librt.map: Add aio_init.
7265 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
7267 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
7268 * Makefile (subdirs): Replace rt by $(rt).
7270 * shlib-versions: Use version .2 for NSS modules.
7272 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
7274 * pwd/fgetpwent_r.c: Likewise.
7275 * spwd/fgetspent_r.c: Likewise.
7276 * spwd/sgetspent_r.c: Likewise.
7277 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
7278 Store error number in *ERRNOP. Little optimization.
7279 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
7280 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
7281 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7282 (__internal_getnetgrent_r): New argument.
7283 Call __internal_setnetgrent_reuse with new argument.
7284 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
7285 * inet/netgroup.h: Add argument to prototypes.
7286 * nis/nisplus-parser.h: Likewise.
7287 * nis/nss_compat/compat-grp.c: Change everything to store error
7288 code through provided pointer and not use errno.
7289 * nis/nss_compat/compat-pwd.c: Likewise.
7290 * nis/nss_compat/compat-spwd.c: Likewise.
7291 * nis/nss_nis/nis-alias.c: Likewise.
7292 * nis/nss_nis/nis-ethers.c: Likewise.
7293 * nis/nss_nis/nis-grp.c: Likewise.
7294 * nis/nss_nis/nis-hosts.c: Likewise.
7295 * nis/nss_nis/nis-netgrp.c: Likewise.
7296 * nis/nss_nis/nis-network.c: Likewise.
7297 * nis/nss_nis/nis-proto.c: Likewise.
7298 * nis/nss_nis/nis-publickey.c: Likewise.
7299 * nis/nss_nis/nis-pwd.c: Likewise.
7300 * nis/nss_nis/nis-rpc.c: Likewise.
7301 * nis/nss_nis/nis-service.c: Likewise.
7302 * nis/nss_nis/nis-spwd.c: Likewise.
7303 * nis/nss_nisplus/nisplus-alias.c: Likewise.
7304 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7305 * nis/nss_nisplus/nisplus-grp.c: Likewise.
7306 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7307 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
7308 * nis/nss_nisplus/nisplus-network.c: Likewise.
7309 * nis/nss_nisplus/nisplus-parser.c: Likewise.
7310 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7311 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7312 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7313 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7314 * nis/nss_nisplus/nisplus-service.c: Likewise.
7315 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7316 * nss/nss_db/db-XXX.c: Likewise.
7317 * nss/nss_db/db-alias.c: Likewise.
7318 * nss/nss_db/db-netgrp.c: Likewise.
7319 * nss/nss_files/files-XXX.c: Likewise
7320 * nss/nss_files/files-alias.c: Likewise
7321 * nss/nss_files/files-netgrp.c: Likewise
7322 * nss/nss_files/files-parse.c: Likewise
7323 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
7324 parameter of get functions.
7325 * nss/getXXent_r.c: Likewise.
7327 * localedata/tst-fmon.c: Print debug info if test fails.
7329 * rt/Makefile (routines): Add aio_notify.
7330 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
7331 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
7332 * rt/aio_fsync.c: Likewise.
7333 * rt/aio_misc.c: Likewise.
7334 * rt/aio_misc.h: Likewise.
7335 * rt/aio_read.c: Likewise.
7336 * rt/aio_read64.c: Likewise.
7337 * rt/aio_suspend.c: Likewise.
7338 * rt/aio_write.c: Likewise.
7339 * rt/aio_write64.c: Likewise.
7340 * rt/lio_listio.c: Likewise.
7341 * rt/lio_listio64.c: Likewise.
7342 * rt/aio_notify.c: New file.
7344 * sysdeps/generic/bits/sigset.h: Pretty print.
7346 * sysdeps/posix/pwrite.c: Define weak alias only if function is
7347 really defined as __pwrite.
7349 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
7351 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7353 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7354 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
7355 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
7357 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7358 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7359 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
7360 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7361 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
7362 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7363 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
7365 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
7367 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
7368 __NR_pread is not defined.
7369 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
7370 __NR_pwrite is not defined.
7372 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7374 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
7375 handle for /etc/group back in some more cases.
7376 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
7377 handle for /etc/passwd back in some more cases.
7378 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
7379 handle for /etc/shadow back in some more cases.
7381 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
7383 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
7385 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
7386 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
7388 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
7390 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
7391 handling. Don't use macros, we need functions. Use inline functions
7393 * sysdeps/wordsize-64/inttypes.h: Likewise.
7394 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
7396 * sysdeps/wordsize-64/Makefile: Likewise.
7397 * sysdeps/wordsize-32/Dist: Likewise.
7398 * sysdeps/wordsize-64/Dist: Likewise.
7399 * sysdeps/wordsize-32/strtoimax.c: New file.
7400 * sysdeps/wordsize-32/strtoumax.c: New file.
7401 * sysdeps/wordsize-32/wcstoimax.c: New file.
7402 * sysdeps/wordsize-32/wcstoumax.c: New file.
7403 * sysdeps/wordsize-64/strtoimax.c: New file.
7404 * sysdeps/wordsize-64/strtoumax.c: New file.
7405 * sysdeps/wordsize-64/wcstoimax.c: New file.
7406 * sysdeps/wordsize-64/wcstoumax.c: New file.
7408 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
7410 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
7411 that transparent union works.
7412 * sysdeps/generic/wait4.c (__wait4): Likewise.
7413 * sysdeps/generic/wait.c (__wait): Likewise.
7415 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
7418 * sysdeps/generic/syscall.c (syscall): Return value and arg are
7419 long, to match prototype.
7421 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
7424 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
7426 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
7428 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
7430 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
7433 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
7435 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
7437 * io/sys/stat.h (S_ISLNK): Always false if we don't have
7440 * sysdeps/standalone/close.c (_STDIO_H): Define before including
7442 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
7444 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
7446 * posix/sys/wait.h: Don't use transparent unions in C++.
7448 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7450 * time/time.h: Add strfxtime.
7452 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
7453 sysv_signal, strfxtime, pread64, pwrite64.
7455 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
7457 Alpha changes for EGCS:
7458 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
7459 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
7460 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
7462 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
7464 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
7466 The kernel expects the arguments in a different order.
7467 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
7468 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
7471 * gen-FAQ.pl: New file.
7472 * Makefile (FAQ): Add rule to generate from FAQ.in.
7474 * iconvdata/Makefile: Treat libJIS like the other modules.
7476 * rt/librt.map: New file.
7478 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
7480 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
7483 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
7485 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
7486 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
7487 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
7488 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
7490 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7492 * string/bits/string2.h: Fix spellings.
7494 * string/string.h: Fix spellings.
7496 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7498 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
7499 declaration to __syscall_rt_sigaction.
7501 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
7502 non-existant <sigcontext.h>.
7504 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7506 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
7509 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7511 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
7513 * Makeconfig (shared-thread-library): Correct spelling.
7515 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
7518 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7520 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
7521 constants from Linux headers. Pointed out by
7522 csmall@scooter.o.i.net. [PR libc/369]
7524 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7526 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
7528 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
7530 * configure.in: If --enable-add-ons is given without an
7531 argument, set the addons list to all subdirs with a configure
7534 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
7536 * Makeconfig: Add shared-thread-library variable.
7538 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
7539 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
7541 * sysdeps/m68k/fpu/e_acos.c: Likewise.
7542 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7543 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7544 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7545 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7546 * sysdeps/m68k/fpu/k_cos.c: Likewise.
7547 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7548 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7549 * sysdeps/m68k/fpu/s_atan.c: Likewise.
7550 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7551 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7552 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7553 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7554 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7555 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7556 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7557 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7558 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7559 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7560 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7561 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7562 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7563 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7564 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7565 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7567 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
7568 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
7569 * signal/Makefile (headers): Add bits/siginfo.h.
7570 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
7571 (distribute): Add testrtsig.h.
7572 * signal/allocrtsig.c: New file.
7573 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
7574 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
7575 __libc_current_sigrtmax.
7576 * sysdeps/generic/sigqueue.c: New file.
7577 * sysdeps/generic/sigtimedwait.c: New file.
7578 * sysdeps/generic/sigwaitinfo.c: New file.
7579 * sysdeps/generic/testrtsig.h: New file.
7580 * sysdeps/generic/bits/siginfo.h: New file.
7581 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
7582 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
7583 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
7584 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
7585 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
7586 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
7587 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
7588 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
7589 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
7590 * sysdeps/unix/sysv/linux/sigpending.c: New file.
7591 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
7592 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
7593 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
7594 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
7595 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
7596 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
7597 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
7598 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
7599 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
7600 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
7601 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
7602 and _POSIX_REALTIME_SIGNALS.
7603 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
7604 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
7606 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
7607 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
7610 * Makefile (subdirs): Add rt.
7611 * shlib-versions: Add entry for librt.
7612 * rt/Makefile: New file.
7613 * rt/aio.h: New file.
7614 * rt/aio_cancel.c: New file.
7615 * rt/aio_error.c: New file.
7616 * rt/aio_fsync.c: New file.
7617 * rt/aio_misc.c: New file.
7618 * rt/aio_misc.h: New file.
7619 * rt/aio_read.c: New file.
7620 * rt/aio_read64.c: New file.
7621 * rt/aio_return.c: New file.
7622 * rt/aio_suspend.c: New file.
7623 * rt/aio_write.c: New file.
7624 * rt/aio_write64.c: New file.
7625 * rt/lio_listio.c: New file.
7626 * rt/lio_listio64.c: New file.
7627 * sysdeps/generic/aio_sigqueue.c: New file.
7628 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
7629 * sysdeps/unix/sysv/linux/Dist: Add new files
7630 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7631 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
7632 rt_sigqueueinfo, rt_sigaction.
7634 * posix/Makefile (headers): Add bits/environments.h.
7635 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
7636 and _CS_LFS_CFLAGS on 64bit platforms.
7637 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
7638 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
7639 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
7640 compilation modules.
7641 * sysdeps/wordsize-32/bits/environments.h: New file.
7642 * sysdeps/wordsize-64/bits/environments.h: New file.
7644 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
7645 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
7647 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
7650 * string/string.h: Add declaration of __strverscmp.
7651 * string/strverscmp.c: Rename function ot __strverscmp and make old
7654 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
7655 * sysdeps/generic/enbl-secure.c: Likewise.
7656 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7658 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
7660 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
7662 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7664 * posix/sys/wait.h: Use __transparent_union__ instead of
7665 transparent_union. Reported by Roland McGrath.
7667 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7669 * resolv/inet_neta.c (inet_neta): Change type of first parameter
7670 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
7673 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
7675 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
7677 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7679 * grp/initgroups.c: Increase buffer if it is too small.
7681 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7683 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
7684 fields, this is no ISO C. Reported by Andreas Jaeger.
7686 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7688 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
7690 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
7692 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
7693 _SYS_UTSNAME_H not _UTSNAME_H.
7695 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7697 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
7700 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7702 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
7703 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
7704 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
7706 * math/libm-test.c (csqrt_test): Add testcase.
7708 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
7710 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
7711 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
7712 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
7714 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7716 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
7718 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7720 * math/libm-test.c (acos_test): Add more tests.
7721 (asin_test): Likewise.
7722 (atan_test): Likewise.
7723 (exp_test): Likewise.
7724 (sin_test): Likewise.
7725 (sqrt_test): Likewise.
7726 (cpow_test): Likewise.
7727 (csqrt_test): Likewise.
7728 (cexp_test): Correct typo in gcc version test.
7730 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
7732 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
7734 * sysdeps/arm/setjmp.S: Likewise.
7736 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
7738 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
7740 * stdio/stdio.h: Add prototype for tmpfile64().
7742 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
7744 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
7745 prototype to keep in step with libio version.
7747 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
7749 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
7751 * sysdeps/generic/Makefile: Don't try to use make_siglist if
7754 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
7756 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
7757 load GOT ptr before jumping to _exit.
7758 Reported by Xavier Leroy.
7760 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
7762 * Makefile (subdirs): Add iconvdata and localedata.
7764 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
7766 * iconv/gconv_conf.c (read_conf_file): Little optimization.
7768 * iconvdata/8bit-gap.c: New file.
7769 * iconvdata/8bit-generic.c: Renamed from ...
7770 * iconvdata/iso8859-generic.c: ...this.
7771 * iconvdata/configure: Removed.
7772 * iconvdata/Makefile: Add new modules and better rules.
7773 * iconvdata/iso6937.c: Minor bug fixes.
7774 * iconvdata/iso8859-1.c: Likewise.
7775 * iconvdata/t61.c: Likewise.
7776 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
7778 * iconvdata/iso8859-3.c: Likewise.
7779 * iconvdata/iso8859-4.c: Likewise.
7780 * iconvdata/iso8859-5.c: Likewise.
7781 * iconvdata/iso8859-6.c: Likewise.
7782 * iconvdata/iso8859-7.c: Likewise.
7783 * iconvdata/iso8859-8.c: Likewise.
7784 * iconvdata/iso8859-9.c: Likewise.
7785 * iconvdata/iso8859-10.c: Likewise.
7786 * iconvdata/ebcdic-at-de-a.c: New file.
7787 * iconvdata/ebcdic-at-de.c: New file.
7788 * iconvdata/ebcdic-ca-fr.c: New file.
7789 * iconvdata/hp-roman8.c: New file.
7790 * iconvdata/koi-8.c: New file.
7791 * iconvdata/koi8-r.c: New file.
7792 * iconvdata/koi8-h.c: New file.
7793 * iconvdata/latin-greek-1.c: New file.
7794 * iconvdata/latin-greek-1.h: New file.
7795 * iconvdata/latin-greek.c: New file.
7796 * iconvdata/latin-greek.h: New file.
7797 * iconvdata/jis0201.c: New file.
7798 * iconvdata/jis0201.h: New file.
7799 * iconvdata/jis0208.c: New file.
7800 * iconvdata/jis0208.h: New file.
7801 * iconvdata/jis0212.c: New file.
7802 * iconvdata/jis0212.h: New file.
7803 * iconvdata/sjis.c: New file.
7804 * iconvdata/gap.pl: New file. Script to generate table header.
7805 * iconvdata/gaptab.pl: New file.
7806 * iconvdata/gconv-modules: Add info about new modules.
7808 * locale/programs/charmap.c: Also examine alias names given in charmap
7811 * localedata/*: Add to here from add-on. We need the information
7812 to generate tables for iconv.
7814 Update from db-2.3.14.
7815 * db2/Makefile: Updated.
7816 * db2/config.h: Likewise.
7817 * db2/db.h: Likewise.
7818 * db2/db_int.h: Likewise.
7819 * db2/btree/bt_cursor.c: Likewise.
7820 * db2/btree/bt_delete.c: Likewise.
7821 * db2/btree/bt_put.c: Likewise.
7822 * db2/btree/bt_search.c: Likewise.
7823 * db2/btree/bt_split.c: Likewise.
7824 * db2/btree/btree_auto.c: Likewise.
7825 * db2/common/db_appinit.c: Likewise.
7826 * db2/common/db_apprec.c: Likewise.
7827 * db2/common/db_err.c: Likewise.
7828 * db2/common/db_region.c: Likewise.
7829 * db2/db/db_auto.c: Likewise.
7830 * db2/db/db_dispatch.c: Likewise.
7831 * db2/db/db_ret.c: Likewise.
7832 * db2/dbm/dbm.c: Likewise.
7833 * db2/hash/hash_auto.c: Likewise.
7834 * db2/include/btree_ext.h: Likewise.
7835 * db2/include/common_ext.h: Likewise.
7836 * db2/include/db.h.src: Likewise.
7837 * db2/include/db_cxx.h: Likewise.
7838 * db2/include/db_ext.h: Likewise.
7839 * db2/include/db_int.h.src: Likewise.
7840 * db2/include/lock.h: Likewise.
7841 * db2/include/log.h: Likewise.
7842 * db2/include/mp.h: Likewise.
7843 * db2/include/mp_ext.h: Likewise.
7844 * db2/include/os_ext.h: Likewise.
7845 * db2/include/os_func.h: Likewise.
7846 * db2/lock/lock.c: Likewise.
7847 * db2/lock/lock_deadlock.c: Likewise.
7848 * db2/log/log.c: Likewise.
7849 * db2/log/log_archive.c: Likewise.
7850 * db2/log/log_auto.c: Likewise.
7851 * db2/log/log_get.c: Likewise.
7852 * db2/log/log_put.c: Likewise.
7853 * db2/mp/mp_bh.c: Likewise.
7854 * db2/mp/mp_fget.c: Likewise.
7855 * db2/mp/mp_fopen.c: Likewise.
7856 * db2/mp/mp_fput.c: Likewise.
7857 * db2/mp/mp_fset.c: Likewise.
7858 * db2/mp/mp_open.c: Likewise.
7859 * db2/mp/mp_pr.c: Likewise.
7860 * db2/mp/mp_region.c: Likewise.
7861 * db2/mp/mp_sync.c: Likewise.
7862 * db2/mutex/README: Likewise.
7863 * db2/mutex/mutex.c: Likewise.
7864 * db2/os/os_open.c: Likewise.
7865 * db2/os/os_func.c: Removed.
7866 * db2/os/os_config.c: New file.
7867 * db2/os/os_spin.c: New file.
7868 * db2/txn/txn.c: Likewise.
7869 * db2/txn/txn_auto.c: Likewise.
7871 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
7873 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7874 __typeof for C++ since this fails for class members.
7875 Reported by Neal Becker <neal@ctd.comsat.com>.
7877 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
7879 * configure.in: Check for a working makeinfo (3.11 or better).
7880 * config.make.in: Add MAKEINFO to be substituted.
7881 * manual/Makefile: Don't update info if makeinfo is too old.
7883 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
7885 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7886 * sysdeps/alpha/__longjmp.S: Likewise.
7887 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7888 not <bits/termios.h>.
7890 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7891 __llseek and make llseek and lseek64 weak aliases.
7892 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7893 Patches by a sun <asun@zoology.washington.edu>.
7895 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
7897 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7898 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7899 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7900 * misc/sys/syslog.h: Clean up BSD header.
7902 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7904 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7906 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7908 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7909 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7911 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7912 csqrt (-1), ctanh(i*pi/4).
7914 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7916 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7918 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
7920 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7922 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7924 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7926 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
7928 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7929 and use. Define GETCWD_RETURN_TYPE instead and use it.
7930 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7931 of GETCWD_STORYGE_CLASS and put the return type and the
7932 `internal_function' in the right order for gcc 2.7.2.
7934 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7936 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
7937 incompatible with Linux 2.1.x. Packages using modules
7938 (e.g. modutils) should/do provide their own version. Suggested by
7941 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7944 [$(subdir)=socket]: Remove sys/module.h.
7946 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
7948 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7949 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
7951 * iconv/gconv_close.c: Correct freeing of descriptor data.
7952 * iconv/gconv_simple.c: Return correct error values for illegal or
7953 incomplete characters.
7955 * Makefile (iconvdata/%): Special goal to simplify iconvdata
7957 * iconvdata/Makefile: New file.
7958 * iconvdata/configure: Likewise.
7959 * iconvdata/extra-module.mk: Likewise.
7960 * iconvdata/gconv-modules: Likewise.
7961 * iconvdata/iso6937.c: Likewise.
7962 * iconvdata/iso8859-1.c: Likewise.
7963 * iconvdata/iso8859-10.c: Likewise.
7964 * iconvdata/iso8859-10.h: Likewise.
7965 * iconvdata/iso8859-2.c: Likewise.
7966 * iconvdata/iso8859-2.h: Likewise.
7967 * iconvdata/iso8859-3.c: Likewise.
7968 * iconvdata/iso8859-3.h: Likewise.
7969 * iconvdata/iso8859-4.c: Likewise.
7970 * iconvdata/iso8859-4.h: Likewise.
7971 * iconvdata/iso8859-5.c: Likewise.
7972 * iconvdata/iso8859-5.h: Likewise.
7973 * iconvdata/iso8859-6.c: Likewise.
7974 * iconvdata/iso8859-6.h: Likewise.
7975 * iconvdata/iso8859-7.c: Likewise.
7976 * iconvdata/iso8859-7.h: Likewise.
7977 * iconvdata/iso8859-8.c: Likewise.
7978 * iconvdata/iso8859-8.h: Likewise.
7979 * iconvdata/iso8859-9.c: Likewise.
7980 * iconvdata/iso8859-9.h: Likewise.
7981 * iconvdata/iso8859-generic.c: Likewise.
7982 * iconvdata/t61.c: Likewise.
7984 * string/Makefile (routines): Add strcasestr.
7985 * string/string.h: Add prototype for strcasestr.
7986 * sysdeps/generic/strcasestr.c: New file.
7987 * wcsmbs/mbrtowc.c: Simplify special case a bit.
7988 * wcsmbs/wcrtomb.c: Likewise.
7989 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
7990 * wcsmbs/wcsnrtombs.c: Likewise.
7991 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
7992 partial character is read.
7993 * wcsmbs/wcsrtombs.c: Likewise.
7994 * wcsmbs/wmemrtombs.c: Likewise.
7995 * wcsmbs/wmemrtowcs.c: Likewise.
7997 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
7998 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
7999 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
8000 * sysdeps/i386/elf/setjmp.S: Likewise.
8001 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
8004 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
8005 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
8007 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
8008 * sysvipc/sys/ipc.h: Likewise.
8009 * sysvipc/sys/msg.h: Likewise.
8010 * sysvipc/sys/sem.h: Likewise.
8011 * sysvipc/sys/shm.h: Likewise.
8013 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
8015 * sysdeps/alpha/bits/setjmp.h: Likewise.
8016 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8017 * sysdeps/arm/bits/endian.h: Likewise.
8018 * sysdeps/arm/bits/setjmp.h: Likewise.
8019 * sysdeps/generic/bits/byteswap.h: Likewise.
8020 * sysdeps/generic/bits/confname.h: Likewise.
8021 * sysdeps/generic/bits/dirent.h: Likewise.
8022 * sysdeps/generic/bits/dlfcn.h: Likewise.
8023 * sysdeps/generic/bits/endian.h: Likewise.
8024 * sysdeps/generic/bits/fenv.h: Likewise.
8025 * sysdeps/generic/bits/huge_val.h: Likewise.
8026 * sysdeps/generic/bits/in.h: Likewise.
8027 * sysdeps/generic/bits/ioctl-types.h: Likewise.
8028 * sysdeps/generic/bits/ioctls.h: Likewise.
8029 * sysdeps/generic/bits/ipc.h: Likewise.
8030 * sysdeps/generic/bits/msq.h: Likewise.
8031 * sysdeps/generic/bits/poll.h: Likewise.
8032 * sysdeps/generic/bits/resource.h: Likewise.
8033 * sysdeps/generic/bits/sched.h: Likewise.
8034 * sysdeps/generic/bits/sem.h: Likewise.
8035 * sysdeps/generic/bits/setjmp.h: Likewise.
8036 * sysdeps/generic/bits/shm.h: Likewise.
8037 * sysdeps/generic/bits/sigaction.h: Likewise.
8038 * sysdeps/generic/bits/sigcontext.h: Likewise.
8039 * sysdeps/generic/bits/socket.h: Likewise.
8040 * sysdeps/generic/bits/stat.h: Likewise.
8041 * sysdeps/generic/bits/statfs.h: Likewise.
8042 * sysdeps/generic/bits/stdio_lim.h: Likewise.
8043 * sysdeps/generic/bits/termios.h: Likewise.
8044 * sysdeps/generic/bits/time.h: Likewise.
8045 * sysdeps/generic/bits/uio.h: Likewise.
8046 * sysdeps/generic/bits/utmp.h: Likewise.
8047 * sysdeps/generic/bits/utmpx.h: Likewise.
8048 * sysdeps/generic/bits/utsname.h: Likewise.
8049 * sysdeps/generic/bits/waitflags.h: Likewise.
8050 * sysdeps/generic/bits/waitstatus.h: Likewise.
8051 * sysdeps/gnu/bits/utmp.h: Likewise.
8052 * sysdeps/gnu/bits/utmpx.h: Likewise.
8053 * sysdeps/i386/bits/byteswap.h: Likewise.
8054 * sysdeps/i386/bits/endian.h: Likewise.
8055 * sysdeps/i386/bits/huge_val.h: Likewise.
8056 * sysdeps/i386/bits/setjmp.h: Likewise.
8057 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8058 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8059 * sysdeps/m68k/bits/byteswap.h: Likewise.
8060 * sysdeps/m68k/bits/endian.h: Likewise.
8061 * sysdeps/m68k/bits/setjmp.h: Likewise.
8062 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8063 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
8064 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
8065 * sysdeps/mach/hurd/bits/stat.h: Likewise.
8066 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
8067 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
8068 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
8069 * sysdeps/mips/bits/dlfcn.h: Likewise.
8070 * sysdeps/mips/bits/endian.h: Likewise.
8071 * sysdeps/mips/bits/setjmp.h: Likewise.
8072 * sysdeps/mips/dec/bits/endian.h: Likewise.
8073 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
8074 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
8075 * sysdeps/mips/p40/bits/endian.h: Likewise.
8076 * sysdeps/powerpc/bits/endian.h: Likewise.
8077 * sysdeps/powerpc/bits/fenv.h: Likewise.
8078 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8079 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
8080 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
8081 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8082 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
8083 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8084 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
8085 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8086 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
8087 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
8088 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
8089 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
8090 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
8091 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
8092 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
8093 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
8094 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
8095 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
8096 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
8097 * sysdeps/unix/common/bits/dirent.h: Likewise.
8098 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
8099 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8100 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8101 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8102 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
8103 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
8104 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
8105 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
8106 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8107 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
8108 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8109 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8110 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
8111 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
8112 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8113 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
8114 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
8115 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8116 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8117 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
8118 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8119 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8120 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8121 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8122 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
8123 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
8124 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8125 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8126 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
8127 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8128 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
8129 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8130 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
8131 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
8132 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8133 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8134 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
8135 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
8136 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
8137 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
8138 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
8139 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
8140 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8141 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
8142 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8143 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8144 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
8145 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8146 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
8147 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
8148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8149 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8150 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
8152 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8154 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
8155 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
8156 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
8157 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
8158 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
8159 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
8160 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
8161 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
8162 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
8163 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
8164 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
8165 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
8166 * sysdeps/vax/bits/huge_val.h: Likewise.
8167 * sysdeps/vax/bits/setjmp.h: Likewise.
8168 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
8169 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
8171 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8173 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
8175 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
8177 * strftime.c (strftime):
8178 No longer any need to undef or declare if emacs is defined.
8179 (my_strftime): When checking a -1 returned by mktime, don't blow up
8180 if localtime_r returns NULL.
8182 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8184 * README.template: Fix spelling.
8186 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8188 * configure.in: Enhance --enable-add-ons description a wee bit.
8190 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8192 * glibcbug.in: Add more information of build environment and flags.
8194 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8196 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
8199 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
8201 * elf/dl-support.c: Call __libc_init_secure to make sure
8202 __libc_enable_secure is defined early.
8203 * sysdeps/generic/enbl-secure.c: Change function name to
8204 __libc_init_secure and make it global instead of a constructor.
8206 * iconv/gconv.c: Fix lots of bugs.
8207 * iconv/gconv.h: Likewise.
8208 * iconv/gconv_builtin.h: Likewise.
8209 * iconv/gconv_close.c: Likewise.
8210 * iconv/gconv_conf.c: Likewise.
8211 * iconv/gconv_db.c: Likewise.
8212 * iconv/gconv_dl.c: Likewise.
8213 * iconv/gconv_open.c: Likewise.
8214 * iconv/gconv_simple.c: Likewise.
8215 * iconv/iconv.c: Likewise.
8216 * iconv/iconv_close.c: Likewise.
8217 * iconv/iconv_open.c: Likewise.
8219 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
8220 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
8221 * wcsmbs/wmemrtombs.c: New file.
8222 * wcsmbs/wmemrtowcs.c: New file.
8224 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
8226 * iconv/gconv_simple.c: Fix lots of bugs.
8227 * iconv/iconv_open.c: Normalize names before passing them to
8230 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
8232 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
8233 * stdio-common/test-popen.c: Add test for above change.
8235 * math/libm-test.c: Print test results also using %a format,
8236 specified in PRINTF_XEXPR macro.
8237 * math/test-double.c: Define PRINTF_XEXPR.
8238 * math/test-float.c: Likewise.
8239 * math/test-ldouble.c: Likewise.
8240 * math/test-idouble.c: Likewise.
8241 * math/test-ifloat.c: Likewise.
8242 * math/test-ildoubl.c: Likewise.
8244 * stdio-common/vfscanf.c: Recognize a in format specifier only as
8245 modifier if used before s, S, or [. Otherwise it's the hexadecimal
8248 * stdlib/strtod.c: Little code cleanup.
8250 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
8251 compiling in math subdir.
8253 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
8254 instead of __LIBC_M81_MATH_INLINES.
8255 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8256 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8257 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8258 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8259 * sysdeps/m68k/fpu/k_cos.c: Likewise.
8260 * sysdeps/m68k/fpu/k_sin.c: Likewise.
8261 * sysdeps/m68k/fpu/k_tan.c: Likewise.
8262 * sysdeps/m68k/fpu/s_atan.c: Likewise.
8263 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8264 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8265 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8266 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8267 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8268 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
8269 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8270 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
8271 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8272 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8273 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8274 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
8275 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8276 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
8277 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
8278 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
8279 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
8280 __LIBC_INTERNAL_MATH_INLINES is defined.
8282 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
8283 of compare macros from ISO C 9X. Optimize generic versions a bit.
8284 Define __signbit inline functions and __ieee754_sqrt which can be
8285 used if the ompiler is fixed.
8287 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
8289 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8291 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
8292 sysdeps/generic in the whole dep file, not only in the first line.
8294 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8296 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
8298 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8300 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
8303 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8305 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
8308 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
8310 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
8313 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
8315 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
8316 readlink succeeds but the return value is too long.
8318 * stdio-common/printf_fphex.c: Determine sign of number correctly.
8320 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
8322 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
8325 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
8327 * sysdeps/generic/sys/ucontext.h: Stub context file.
8329 * libio/iofprintf.c: Removed. We use the stdio-common version.
8331 * manual/Makefile (distribute): Add stdio-fp.c.
8333 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
8335 * db2/Makefile (distribute): Add include/os_func.h, README and
8338 * hesiod/Makefile (distribute): Add README.hesiod.
8340 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
8342 * iconv/gconv.c: Correctly call transformation function.
8344 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
8346 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8348 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
8349 wrong results for e.g. remquo (3,2, &x)).
8350 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
8351 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
8353 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8355 * configure.in (ld --version-script): Test if the same symbol
8356 maybe defined in all versions (needed by recent changes to
8357 libc.map and supported with binutils 2.8.1.0.17) and issue warning
8358 if versioning is not supported/enabled.
8359 (bash test): Correct test case.
8361 * math/libm-test.c: Added counting/reporting of number of test cases.
8363 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
8366 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
8368 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8370 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
8372 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
8374 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
8375 Replace revoke call by use of REVOKE.
8376 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
8377 empty and #include generic version.
8378 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8380 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
8382 * libc.map: Add socket functions with __libc_* names.
8383 Reported by Andreas Jaeger.
8385 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8387 * libc.map: Tidy up (remove duplicates, sort entries).
8389 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8391 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
8393 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
8395 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
8396 again after successful call.
8397 Patch by Marc Lehmann <pcg@goof.com>.
8399 1997-11-17 Paul Eggert <eggert@twinsun.com>
8401 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
8402 as some hosts need this to declare localtime_r properly.
8404 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
8406 * libc.map: Add iconv_open, iconv, and iconv_close.
8408 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
8410 * iconv/Makefile: New file.
8411 * iconv/gconv.c: New file.
8412 * iconv/gconv.h: New file.
8413 * iconv/gconv_builtin.c: New file.
8414 * iconv/gconv_builtin.h: New file.
8415 * iconv/gconv_close.c: New file.
8416 * iconv/gconv_conf.c: New file.
8417 * iconv/gconv_db.c: New file.
8418 * iconv/gconv_dl.c: New file.
8419 * iconv/gconv_open.c: New file.
8420 * iconv/gconv_simple.c: New file.
8421 * iconv/iconv.c: New file.
8422 * iconv/iconv.h: New file.
8423 * iconv/iconv_close.c: New file.
8424 * iconv/iconv_open.c: New file.
8425 * include/gconv.h: New file.
8427 * Makeconfig: Define gconvdir.
8428 * Makefile (subdirs): Add iconv.
8430 * string/bits/string2.h: Add optimization for strtok_r.
8432 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
8434 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8435 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
8437 * configure.in: Correct test for bash2.
8438 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8440 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
8441 (CFLAGS-locfile.c): Likewise.
8442 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8444 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
8445 non-existing entry if the table is full.
8447 * posix/regex.h: Pretty print.
8449 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
8451 * sysdeps/posix/ctermid.c: Simplify a bit.
8453 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
8455 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8457 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
8458 <sys/types.h> instead of <asm/types.h>.
8460 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8462 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
8464 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
8466 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
8467 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
8468 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
8469 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
8470 fclose): Added to GLIBC_2.1.
8472 * libio/Makefile (routines, shared-only-routines): Add
8473 oldiofclose. Remove oldfreopen.
8475 * libio/freopen.c (freopen): When PIC is defined, call
8476 _IO_old_freopen () for old stdio.
8478 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
8479 (_IO_fclose, fclose): Use _IO_new_fclose as default version
8482 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
8483 instead of _IO_file_close_it.
8485 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
8487 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
8490 * libio/libioP.h (_IO_old_do_flush): New.
8492 * libio/oldfileops.c (_IO_old_file_close_it,
8493 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
8494 Call _IO_old_do_flush () instead of _IO_do_flush ().
8495 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
8498 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
8499 instead of _IO_file_init ().
8500 Bind old symbols to version GLIBC_2.0.
8502 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
8503 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
8505 (_IO_check_libio): New function in .init.
8507 * libio/oldiofclose.c: New file.
8509 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
8510 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
8511 (DEF_STDFILE): Don't use default_symbol_version.
8513 * libio/stdio.c (stdin, stdout, stderr): Set to
8515 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
8518 * csu/Makefile (distribute): Add init.c.
8519 (extra-objs): Add init.o for ELF.
8520 (start-installed-name): Add $(objpfx)init.o.
8522 * csu/init.c: New file.
8524 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
8526 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
8527 definition as the default.
8529 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
8531 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
8533 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8535 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
8538 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
8540 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
8541 to preserve condition codes on function call.
8543 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8545 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
8547 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8549 * math/libm-test.c (asin_test): Add epsilon for float.
8550 (tan_test): Add epsilon for float.
8551 (log1p_test): Add epsilon for float.
8552 (inverse_functions): Add epsilons.
8554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
8557 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
8559 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8561 * md5-crypt/Makefile (extra-objs): Make recursively expanded
8562 variable, since $(object-suffixes) is not defined yet.
8564 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8566 * db2/Makefile (distribute): db185/db185_int.src ->
8569 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8571 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
8574 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8576 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
8578 * sysdeps/generic/e_acosl.c: Likewise.
8579 * sysdeps/generic/e_asinl.c: Likewise.
8580 * sysdeps/generic/e_atan2l.c: Likewise.
8581 * sysdeps/generic/e_expl.c: Likewise.
8582 * sysdeps/generic/e_fmodl.c: Likewise.
8583 * sysdeps/generic/e_j0l.c: Likewise.
8584 * sysdeps/generic/e_j1l.c: Likewise.
8585 * sysdeps/generic/e_jnl.c: Likewise.
8586 * sysdeps/generic/e_lgammal_r.c: Likewise.
8587 * sysdeps/generic/e_log10l.c: Likewise.
8588 * sysdeps/generic/e_logl.c: Likewise.
8589 * sysdeps/generic/e_powl.c: Likewise.
8590 * sysdeps/generic/e_sqrtl.c: Likewise.
8591 * sysdeps/generic/e_exp2l.c: Likewise.
8593 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8595 * Make-dist (+sysdep-names): Remove extra paren.
8596 * Makefile (distribute): Add stub-tag.h.
8597 * elf/Makefile (distribute): Add atomicity.h.
8598 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
8599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
8600 [$(subdir)=socket]: Add net/if_packet.h.
8601 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
8602 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
8603 net/if_packet.h, scsi/sg.h.
8605 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8607 * Makefile (install): Quote $(CC) expansion.
8609 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8611 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
8612 working /proc cwd and no restrictions on path length. Following
8613 some ideas from Andi Kleen <ak@muc.de> (PR 350).
8615 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8617 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
8618 * nis/nss_compat/compat-pwd.c: Likewise.
8619 * nis/nss_compat/compat-spwd.c: Likewise.
8621 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
8623 * sysdeps/libm-i387/s_fdim.S: New file.
8624 * sysdeps/libm-i387/s_fdimf.S: New file.
8625 * sysdeps/libm-i387/s_fdiml.S: New file.
8626 * sysdeps/libm-i387/i686/s_fdim.S: New file.
8627 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
8628 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
8630 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8632 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
8633 pointer to unsigned char.
8635 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8637 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
8639 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
8641 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
8643 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8645 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
8647 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
8648 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
8650 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
8652 * sysdeps/libm-i387/s_fmin.S: New file.
8653 * sysdeps/libm-i387/s_fminf.S: New file.
8654 * sysdeps/libm-i387/s_fminl.S: New file.
8655 * sysdeps/libm-i387/s_fmax.S: New file.
8656 * sysdeps/libm-i387/s_fmaxf.S: New file.
8657 * sysdeps/libm-i387/s_fmaxl.S: New file.
8658 * sysdeps/libm-i387/i686/s_fmin.S: New file.
8659 * sysdeps/libm-i387/i686/s_fminf.S: New file.
8660 * sysdeps/libm-i387/i686/s_fminl.S: New file.
8661 * sysdeps/libm-i387/i686/s_fmax.S: New file.
8662 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
8663 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
8665 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
8667 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
8668 * sysdeps/unix/sysv/linux/send.S: Likewise.
8669 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8670 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8671 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8672 * sysdeps/unix/sysv/linux/recv.S: Likewise.
8673 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8674 * sysdeps/unix/sysv/linux/connect.S: Likewise.
8675 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
8677 See ChangeLog.7 for earlier changes.