1 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
3 * posix/wordexp-test.c: Avoid duplicate messages.
5 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
6 tsearch. Correctly interpret values returned by those functions.
7 (unsetenv): Store pointer to string, not pointer to string pointer.
9 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
10 DST information and offset in them.
11 * time/tzset.c (__tz_convert): Pass extra parameters to
12 __tzfile_compute. Compute equivalent values for use of tz_rules.
14 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
16 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
17 stamp files to avoid unnecessary recompilation.
18 (gen-8bit-gap-table): Likewise.
19 (move-if-change): New variable.
20 (all generated .h rules): Change to be .stmp rules.
21 (%.h): New rule; depend on %.stmp; no commands.
22 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
25 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
27 * Makerules (libc-map): Deleted.
28 (load-map-file): Set to the appropriate compiler switch, not
29 just the file name. If libfoo-map is not set, look for a
30 libfoo.map in the current directory and $(..).
31 (map-file): New variable, contains just the mapfile name.
32 (build-shlib): Adjust for new value of load-map-file.
33 (libc.so): Correct dependencies.
35 * extra-lib.mk: Correct shlib dependencies since libfoo-map
36 may not be set anymore.
38 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
39 Delete libdl-map. Tweak ld.so link rule to work with changed
40 variable settings in Makerules.
41 * iconvdata/Makefile: Tweak build-module to work with changed
42 variable settings in Makerules.
44 * db/Makefile: Delete libdb-map.
45 * hesiod/Makefile: Delete libnss_hesiod-map.
46 * linuxthreads/Makefile: Delete libpthread-map.
47 * locale/Makefile: Delete libBrokenLocale-map.
48 * login/Makefile: Delete libutil-map.
49 * math/Makefile: Delete libm-map.
50 * md5-crypt/Makefile: Delete libcrypt-map.
51 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
52 libnss_nisplus-map, and libnss_compat-map.
53 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
55 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
56 * rt/Makefile: Delete librt-map.
58 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
60 * configure.in: Instead of substituting `yes' or `no' for whether
61 --no-whole-archive is available, set @no_whole_archive@ to the
62 appropriate gcc switch or the empty string. Likewise for
64 * config.make.in: Replace have-no-whole-archive with
65 no-whole-archive and have-no-exceptions with no-exceptions.
66 * Makerules: Delete stanzas setting no-whole-archive and
69 * sunrpc/Makefile: Use move-if-change to update generated .h
72 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
74 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
77 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
79 * time/tzfile.c (__tzfile_read): Remove unused variable info.
80 (__tzfile_compute): Likewise.
82 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
84 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
85 defines from Linux 2.1.102.
87 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
89 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
91 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
93 * inet/netinet/in.h: Add defines for multicast.
94 Reported by Jeremy Hall <jhall@UU.NET>.
96 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
97 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
98 and unsetenv. Optimize _LIBC case.
99 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
100 Define functions with leading __.
102 * time/tzfile.c: Correct handling of global variables daylight,
103 timezone, and tzname.
104 * time/tzset.c: Likewise.
105 * timezone/Makefile (tests): Add tst-timezone.
106 * timezone/tst-timezone.c: New file.
108 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
110 * timezone/asia: Update from tzdata1998d.
111 * timezone/australasia: Likewise.
112 * timezone/europe: Likewise.
114 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
116 * string/string.h: Don't use the optimized versions for the string
117 functions if optimizing for space.
119 * stdlib/tst-strtod.c: Add test for -0.0.
121 * io/ftwtest-sh: Prevent tests from being run by root.
123 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
124 last addition. Patch by wkpark@chem.skku.ac.kr.
126 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
128 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
131 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
133 * iconvdata/gen-8bit.sh: New file.
134 * iconvdata/gen-8bit-gap.sh: New file.
135 * iconvdata/gen-8bit-gap-1.sh: New file.
136 * iconvdata/Makefile (generate-8bit-table): Use shell script
137 instead of writing the commands directly.
138 (generate-8bit-gap-table): Likewise.
139 ($(objpfx)iso8859-7jp.h): Likewise.
140 (generated headers): Depend on shell script instead of Makefile.
141 (before-compile): Add $(perl-generated-headers) only if perl is
143 (headers): Depend on $(perl-generated-headers) only if perl is
145 (sed-generated-headers): Remove iso8859-7jp.h.
147 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
149 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
152 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
154 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
155 formed charset names to getfct. Let user override charset
156 selection by mention charset in locale name.
158 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
160 * posix/glob.c: Move to ...
161 * sysdeps/generic/glob.c: ...here.
162 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
164 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
165 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
166 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
167 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
169 * libc.map [GLIBC_2.1]: Add glob and globfree.
171 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
173 * sunrpc/Makefile (generated): Restore old list.
175 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
177 * rt/Makefile (tests): Define only if we have a thread library.
179 * nis/ypclnt.c: Add: #include <errno.h>.
181 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
183 * configure.in: Define and substitute RELEASE as well as
185 * config.make.in: Add RELEASE and VERSION to be substituted.
186 * Makeconfig: Delete all references to version.mk.
187 * Make-dist: Likewise.
188 * MakeTAGS: Likewise.
189 * elf/Makefile: Likewise.
191 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
193 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
194 yp_get_default_domain.
196 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
198 * sysdeps/posix/profil.c (__profil): Don't define act and timer
199 variables as static. Patch by Joe Keane <jgk@jgk.org>.
201 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
203 * malloc/malloc.c: Fix for NO_THREADS case.
205 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
207 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
208 Remove statfs and fstatfs.
209 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
211 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
213 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
215 * libc.map: Add capget and capset.
217 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
219 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
220 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
221 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
222 and Matt McLean <keys@brio.yikes.com>.
224 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
226 * misc/Makefile (tests): Add tst-mntent.
227 * misc/tst-mntent.c: New file.
229 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
231 * autolock.sh: Removed.
232 * manual/move-if-change: Removed.
234 * scripts: New directory.
235 * =__ify: Moved to scripts.
236 * config.guess: Likewise.
237 * config.sub: Likewise.
238 * gen-FAQ.pl: Likewise.
239 * install-sh: Likewise.
240 * mkinstalldirs: Likewise.
241 * move-if-change: Likewise.
242 * printsources: Likewise.
243 * rellns.sh: Likewise.
244 * test-installation.pl: Likewise.
246 * configure.in: Look in scripts for config.guess, config.sub,
248 * Makefile: Distribute all above files in their
249 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
250 * manual/Makefile: Find mkinstalldirs and move-if-change in
251 $(..)scripts. Drop them from distribute. Minor cleanups.
252 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
253 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
254 * timezone/Makefile: Find rellns-sh in scripts.
256 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
258 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
259 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
261 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
263 * Makefile (+subdir-inits): Delete variable.
264 (+init_subdirs): Likewise.
266 (before-compile): Likewise.
267 (libc-init): Delete stanza.
268 (version-info.h): Delete rule and associated variable.
269 (distribute): Don't distribute moved files.
270 * Makerules (interp-obj): It lives in elf now. Only use it
271 if $(elf) is set. Delete rule to build it.
272 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
273 version.o and version-info.h. Minor cleanups.
274 (routines): Add libc-init, sysdep, version.
275 (generated): Add version-info.h.
276 * elf/Makefile: Build interp.os.
278 * interp.c: Moved to elf.
279 * set-init.c: Moved to csu.
280 * munch-init.c: Likewise.
281 * munch.awk: Likewise.
282 * version.c: Likewise.
284 * Rules: Unconfuse syntax highlighting with a fake comment.
286 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
288 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
291 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
293 * iconvdata/Makefile (generated): Set to *-generated-headers
295 (tests): Set to iconv-test.
296 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
297 * posix/Makefile (generated): Set to wordexp-test-result*.
298 * sunrpc/Makefile (generated): Remove rpcsvc/*.
299 (generated-dirs): Add rpcsvc.
300 * libio/Makefile: Clean up.
302 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
304 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
305 * Makerules: Likewise.
306 (+depfiles): Also add sysdep-others.
308 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
309 * iconvdata/Makefile (distribute): Add TESTS.
310 * localedata/Makefile (repertoires): Rename to repertoiremaps.
311 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
312 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
313 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
314 sysdep-others, not others.
315 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
316 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
318 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
320 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
322 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
323 Cost parameter and set cost_lo to INT_MAX.
324 (add_module): Take new parameter and use it to initialize cost_lo.
325 (read_conf_file): Count modules being loaded and use counter for
326 new parameter to add_module.
327 * iconv/gconv_db.c (find_derivation): When look for cost examine
330 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
332 * string/bits/string2.h: Don't use unsigned char * unless really
333 necessary since this disturbs C++.
334 * sysdeps/i386/i486/bits/string.h: Likewise.
335 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
337 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
339 * malloc/malloc.c (top_check): Fix last change.
341 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
343 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
344 Patch by Matt McLean <keys@brio.yikes.com>.
346 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
348 * Makerules (lib): Put back dependency on lib-noranlib.
349 ($(subdirs-stamps)): Remove dependency on stamp.* again.
351 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
353 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
354 test in __pow2 implementation.
356 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
358 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
359 Still need *FLAGS-.o because we still sometimes build .o files.
360 * db2/Makefile: Don't build libndbm.a if !build-static.
362 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
364 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
366 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
368 * configure.in: New test for broken gcc on PowerPC.
369 * sysdeps/powerpc/atomicity.h: Use result of test.
370 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
372 * math/libm-test.c: Update many of the epsilon to match actual
375 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
376 * sysdeps/libm-ieee754/e_expf.c: Likewise.
377 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
378 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
380 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
382 * sysdeps/powerpc/elf/libc-start.c: New file.
383 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
384 * sysdeps/powerpc/elf/start.c: Delete.
386 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
387 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
389 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
392 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
394 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
397 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
398 * sysdeps/libm-i387/e_powl.S: Likewise.
400 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
402 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
403 (malloc_check, free_check, realloc_check, memalign_check): Use
404 them to improve overrun checking. Overruns of a single byte and
405 corruption of the top chunk are now detected much more reliably.
407 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
409 * math/libm-test.c (pow_test): Add test for special value from PR
412 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
414 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
415 including linux/errno.h.
417 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
419 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
421 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
422 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
424 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
426 * Makerules (elide-routines.*): Fix assignments.
427 (do-makelib): Fix typo.
428 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
431 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
433 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
434 $(objpfx)sysd-dirs): Move them...
435 * Makeconfig: ... here.
436 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
437 (stubs): Fix circular depedency.
438 (do-makelib): Clean up.
439 (lib): Don't depend on lib-noranlib.
440 ($(objpfx)stamp.oS): Remove special case for empty
441 static-only-routines.
442 (elide-routines.o): Add $(static-only-routines).
443 (elide-routines$o): Define this instead of elide-routines.$o.
444 * manual/Makefile (stubs): Fix circular dependency.
446 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
448 * libio/Makefile (routines): Remove duplicate oldiofclose.
450 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
452 * string/strcoll.c: Use uint32_t instead of u_int32_t.
454 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
456 * libio/stdio.h: Fix typo in __REDIRECT.
457 * io/sys/stat.h: Likewise.
458 Reported by Myles Uyema <myles@uyema.nws.net>.
460 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
462 * locale/programs/localedef.c (options): Fix help message.
464 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
466 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
467 relocations. Patch by Joe Keane <jgk@jgk.org>.
469 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
471 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
472 ptmalloc_unlock_all, but re-initializes the mutexes instead.
473 (ptmalloc_init): Use new function in thread_at_fork call.
474 (thread_atfork_static): Likewise.
475 Suggested by Wolfram Gloger and Xavier Leroy.
477 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
479 * signal/signal.h: Move definitions of struct sigstack and
480 struct sigaltstack into separate file and include it.
481 * sysdeps/generic/bits/sigstack.h: New file.
482 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
483 * signal/Makefile (headers): Add bits/sigstack.h.
485 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
487 * elf/rtld.c (dl_main): Fix check for number of references to
490 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
492 * elf/rtld.c (dl_main): Check has_interp after executing platform
495 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
497 * iconvdata/run-iconv-test.sh: Fix typo.
499 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
501 * Makerules (+depfiles): Add depfiles for $(tests-static).
504 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
506 * manual/terminal.texi (Special Characters): Fix description of
509 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
511 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
513 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
516 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
518 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
520 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
522 * intl/locale.alias: Update russian entry.
524 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
526 * Makerules (static-only-routines): Reimplement in terms of
528 (shared-only-routines): Reimplement in terms of
529 elide-routines.X [where X is all object-suffixes except .os].
531 (stubs): Create stubs file inside the subdir.
532 (common-mostlyclean): Remove stubs file from inside the subdir.
533 * Makefile (subdir-stubs): Look for stubs files inside the
535 * manual/Makefile (stubs): Create dummy stubs file inside the
538 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
540 Build speed improvement: make ar less of a bottleneck.
542 * Makerules (stamp$o): Just record the object list for later
544 (libc_foo.a): New rule, depends on subdir stamp files; builds
545 and ranlibs the library from the lists saved in those files.
547 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
548 (subdirs-stamp-o): Likewise.
550 (ar-symtab-name): Delete variable.
551 (lib%.a): Delete target.
552 (libc_foo.a(bar.%)): Delete target.
553 (libc_foo.a($(ar-symtab-name))): Delete target.
555 (objects objs): Just depend on libobjs and extra-objs.
556 (libobjs): Depend on the stamp files, not the objects.
557 (extra-objs): New target, just depends on the extra-objs list.
559 (CREATE_ARFLAGS): Kill the `ar S' hack.
561 * config.make.in (have-ar-S): Deleted.
562 * configure.in: Delete test for `ar S'. Add test to determine
563 whether ranlib does anything useful.
565 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
567 * inet/tst-ether_aton.c: Include <stdio.h>.
569 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
571 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
573 * locale/Makefile (distribute): Add programs/repertoire.h.
574 (localedef-modules): Add repertoire.
575 (CPPFLAGS): Define REPERTOIREMAP_PATH.
576 * locale/programs/repertoire.c: New file.
577 * locale/programs/repertoire.h: New file.
578 * locale/programs/charmap.c: Starting fixing character set handling
579 to handle multi-byte encodings.
580 * locale/programs/charset.c: Likewise.
581 * locale/programs/charset.h: Likewise.
582 * locale/programs/ld-collate.c: Likewise.
583 * locale/programs/ld-ctype.c: Likewise.
584 * locale/programs/linereader.c: Likewise.
585 * locale/programs/localedef.c: Likewise.
586 * locale/programs/locfile-kw.gperf: Likewise.
587 * locale/programs/locfile-kw.h: Likewise.
588 * locale/programs/locfile-token.h: Likewise.
589 * locale/programs/locfile.h: Likewise.
590 * locale/programs/stringtrans.c: Likewise.
592 * locale/programs/locfile.c: Interpret I18NPATH value as base of
593 path, extended with "/locales/".
595 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
597 * sysdeps/arm/memset.S: Fix off by one error.
599 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
600 __syscall_error rather than syscall_error directly.
602 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
604 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
605 mmap() syscall for ARM.
607 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
610 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
612 * locale/programs/localedef.c: Recognize repertoire-map option.
614 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
616 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
617 converting non-hex numbers.
618 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
620 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
622 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
624 * resolv/Makefile (tests): New, add tst-aton.
625 * resolv/tst-aton.c: New file.
627 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
629 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
632 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
634 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
635 by letting the later modify the variable computing the total directly.
636 * wcsmbs/mbsrtowcs.c: Likewise.
637 * wcsmbs/wcsnrtombs.c: Likewise.
638 * wcsmbs/wcsrtombs.c: Likewise.
640 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
642 * wcsmbs/wctoc.c: Likewise.
644 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
645 * wcsmbs/wcsrtombs.c: Likewise.
647 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
649 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
651 * iconv/skeleton.c: Correct counting of actually converted
654 * intl/localealias.c (read_alias_file): Use unsigned char for
655 local variables. Remove unused variable tp.
656 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
657 for type of codeset. For loosing Solaris systems.
658 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
659 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
661 Patches by Jim Meyering.
663 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
664 wcsrtombs must put it into initial state.
666 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
668 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
669 argument of bswap_XX macro.
671 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
673 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
676 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
678 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
679 semun and use stdarg macros to get the value.
680 * sysdeps/generic/semctl.c: Don't use union semun.
682 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
684 * string/basename.c [!_LIBC]: Define function as gnu_basename.
686 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
689 * stdlib/grouping.h: Accept ungrouped numbers even if locale
692 * intl/hash-string.h: Don't include values.h.
694 * inet/Makefile (tests): Add tst-ether_aton.
695 * inet/tst-ether_aton.c: New file.
697 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
699 * inet/ether_aton.c (ether_aton): Declare result variable static.
700 Reported by ahyung@unixg.ubc.ca.
702 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
703 Define macro _SEM_SEMUN_UNDEFINED instead.
704 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
706 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
707 * stdio-common/Makefile (tests): Add tst-wc-printf.
709 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
711 * manual/stdio.texi (Variable Arguments Output): Correct variable
712 name. Patch from Ewan Mellor <em@nexus.co.uk>
714 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
716 * intl/dcgettext.c: Remove unneeded definition of
719 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
721 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
722 instead of do-iconv-test.
723 ($(objpfx)gconv-modules): Define rule only if objpfx is not
726 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
728 * string/string.h: Fix feature test.
730 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
732 * iconvdata/iso646.c (BODY): Don't use character constants that
733 depend on signedness of char.
735 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
737 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
738 (sysdep_routines): Add s_pread64 and s_pwrite64.
740 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
742 * iconvdata/Makefile (distribute): Remove generated .h files.
743 * iconvdata/koi8-r.h: Removed.
744 * iconvdata/latin-greek-1.h: Removed.
745 * iconvdata/latin-greek.h: Removed.
747 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
748 * iconvdata/KOI-8: Likewise.
749 * iconvdata/KOI-8..UTF8: Likewise.
750 * iconvdata/KOI8-R: Likewise.
751 * iconvdata/KOI8-R..UTF8: Likewise.
753 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
755 * streams/Makefile (headers): Add sys/stropts.h.
756 * streams/sys/stropts.h: New file.
758 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
760 * sysdeps/unix/sysv/linux/ttyname.c,
761 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
762 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
764 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
766 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
767 argument of _itoa_word.
769 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
771 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
772 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
773 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
774 sigprocmask, resp., instead of EXTRA.
776 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
777 s_pread64 and s_pwrite64.
779 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
781 * iconvdata/Makefile: Correct rules to generate gap table.
782 * iconvdata/gap.pl: Simplify.
784 * iconvdata/TESTS: Name new tests.
785 * iconvdata/testdata/CP1250: New file.
786 * iconvdata/testdata/CP1250..UTF8: New file.
787 * iconvdata/testdata/CP1251: New file.
788 * iconvdata/testdata/CP1251..UTF8: New file.
789 * iconvdata/testdata/CP1252: New file.
790 * iconvdata/testdata/CP1252..UTF8: New file.
791 * iconvdata/testdata/CP1253: New file.
792 * iconvdata/testdata/CP1253..UTF8: New file.
793 * iconvdata/testdata/CP1254: New file.
794 * iconvdata/testdata/CP1254..UTF8: New file.
795 * iconvdata/testdata/CP1255: New file.
796 * iconvdata/testdata/CP1255..UTF8: New file.
797 * iconvdata/testdata/CP1256: New file.
798 * iconvdata/testdata/CP1256..UTF8: New file.
799 * iconvdata/testdata/CP1257: New file.
800 * iconvdata/testdata/CP1257..UTF8: New file.
802 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
804 * iconvdata/Makefile: Add rules for ISO-2022-KR.
805 * iconvdata/iso-2022-kr.c: New file.
807 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
810 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
812 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
813 iso8859-8 and iso8859-10.
814 * iconvdata/iso8859-5.c: Change to use gap method.
815 * iconvdata/iso8859-7.c: Likewise.
816 * iconvdata/iso8859-8.c: Likewise.
817 * iconvdata/iso8859-10.c: Likewise.
819 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
820 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
822 * iconvdata/iso-2022-jp.c: New file.
824 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
825 * iconvdata/ksc5601.h: Unify function interfaces.
826 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
827 * iconvdata/uhc.c: Likewise.
829 * iconvdata/gb2312.h: Use correct types.
831 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
832 size elements of data.
834 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
836 * string/tst-svc.expect: Adapt for change in .input.
837 * string/tst-svc.input: More tests.
839 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
841 * iconvdata/Makefile: Add rules for new modules.
842 * iconvdata/gconv-modules: Likewise.
843 * iconvdata/cp737.c: New file.
844 * iconvdata/cp737.h: New file.
845 * iconvdata/cp775.c: New file.
846 * iconvdata/cp775.h: New file.
847 * iconvdata/cp874.c: New file.
848 * iconvdata/cp874.h: New file.
850 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
852 * iconvdata/Makefile: Create target directory before generating
855 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
857 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
858 __USER_LABEL_PREFIX__.
859 (__ASMNAME, __ASMNAME2): New macros.
861 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
863 * elf/dl-load.c: Include sys/param.h for MAX.
865 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
867 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
868 __ftruncate the strong symbol, and add weak alias.
869 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
871 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
873 * termios/cfsetspeed.c: Make code cleaner and add missing const.
874 Patch by Joe Keane <jgk@jgk.org>.
876 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
879 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
881 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
882 Patch by Thomas Bushnell, n/BSG.
884 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
886 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
888 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
890 * iconvdata/Makefile: Put generated headers in build directory.
892 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
894 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
895 strsep as current directory.
897 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
898 Java. Add definitions for unicodelittle implementation.
899 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
900 * iconv/gconv_simple.c: Define unicodelittle functions.
902 * iconv/iconv_prog.c: Make program print information about position
903 of illegal character in input.
905 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
906 comparison of charset name.
907 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
908 * iconvdata/ebcdic-at-de-a.c: Likewise.
909 * iconvdata/ebcdic-at-de.c: Likewise.
910 * iconvdata/ebcdic-ca-fr.c: Likewise.
911 * iconvdata/euccn.c: Likewise.
912 * iconvdata/eucjp.c: Likewise.
913 * iconvdata/euckr.c: Likewise.
914 * iconvdata/euctw.c: Likewise.
915 * iconvdata/hp-roman8.c: Likewise.
916 * iconvdata/iso6937.c: Likewise.
917 * iconvdata/iso8859-1.c: Likewise.
918 * iconvdata/iso8859-10.c: Likewise.
919 * iconvdata/iso8859-2.c: Likewise.
920 * iconvdata/iso8859-3.c: Likewise.
921 * iconvdata/iso8859-4.c: Likewise.
922 * iconvdata/iso8859-5.c: Likewise.
923 * iconvdata/iso8859-6.c: Likewise.
924 * iconvdata/iso8859-7.c: Likewise.
925 * iconvdata/iso8859-8.c: Likewise.
926 * iconvdata/iso8859-9.c: Likewise.
927 * iconvdata/johab.c: Likewise.
928 * iconvdata/koi-8.c: Likewise.
929 * iconvdata/koi8-r.c: Likewise.
930 * iconvdata/latin-greek-1.c: Likewise.
931 * iconvdata/latin-greek.c: Likewise.
932 * iconvdata/sjis.c: Likewise.
933 * iconvdata/t61.c: Likewise.
934 * iconvdata/uhc.c: Likewise.
936 * iconvdata/iso646.c: Add support for more ISO 646 variants.
937 * iconvdata/TESTS: Add tests for ISO646 module.
938 * iconvdata/gconv-modules: Add new modules.
939 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
940 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
941 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
942 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
943 * iconvdata/testdate/DIN_66003: Likewise.
944 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
945 * iconvdata/testdate/DS_2089: Likewise.
946 * iconvdata/testdate/DS_2089..UTF8: Likewise.
947 * iconvdata/testdate/ES: Likewise.
948 * iconvdata/testdate/ES..UTF8: Likewise.
949 * iconvdata/testdate/ES2: Likewise.
950 * iconvdata/testdate/ES2..UTF8: Likewise.
951 * iconvdata/testdate/GB_1988-80: Likewise.
952 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
953 * iconvdata/testdate/IT: Likewise.
954 * iconvdata/testdate/IT..UTF8: Likewise.
955 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
956 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
957 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
958 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
959 * iconvdata/testdate/JUS_I.B1.002: Likewise.
960 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
961 * iconvdata/testdate/KSC5636: Likewise.
962 * iconvdata/testdate/KSC5636..UTF8: Likewise.
963 * iconvdata/testdate/MSZ_7795.3: Likewise.
964 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
965 * iconvdata/testdate/NC_NC00-10: Likewise.
966 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
967 * iconvdata/testdate/NF_Z_62-010: Likewise.
968 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
969 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
970 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
971 * iconvdata/testdate/NS_4551-1: Likewise.
972 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
973 * iconvdata/testdate/NS_4551-2: Likewise.
974 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
975 * iconvdata/testdate/PT: Likewise.
976 * iconvdata/testdate/PT..UTF8: Likewise.
977 * iconvdata/testdate/PT2: Likewise.
978 * iconvdata/testdate/PT2..UTF8: Likewise.
979 * iconvdata/testdate/SEN_850200_B: Likewise.
980 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
981 * iconvdata/testdate/SEN_850200_C: Likewise.
982 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
984 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
985 * iconvdata/cns11643l1.h: Likewise.
986 * iconvdata/latin-greek-1.h: Likewise.
987 * iconvdata/latin-greek.h: Likewise.
988 * iconvdata/koi8-r.h: Likewise.
989 * iconvdata/jis0212.h: Likewise.
990 * iconvdata/gb2312.h: Likewise.
991 * iconvdata/ksc5601.h: Likewise.
993 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
995 * iconvdata/Makefile: Add rules for lots of more modules.
996 * iconvdata/cp1250.c: New file.
997 * iconvdata/cp1251.c: New file.
998 * iconvdata/cp1252.c: New file.
999 * iconvdata/cp1253.c: New file.
1000 * iconvdata/cp1254.c: New file.
1001 * iconvdata/cp1255.c: New file.
1002 * iconvdata/cp1256.c: New file.
1003 * iconvdata/cp1257.c: New file.
1004 * iconvdata/ebcdic-dk-no-a.c: New file.
1005 * iconvdata/ebcdic-dk-no.c: New file.
1006 * iconvdata/ebcdic-es-a.c: New file.
1007 * iconvdata/ebcdic-es-s.c: New file.
1008 * iconvdata/ebcdic-es.c: New file.
1009 * iconvdata/ebcdic-fi-se-a.c: New file.
1010 * iconvdata/ebcdic-fi-se.c: New file.
1011 * iconvdata/ebcdic-fr.c: New file.
1012 * iconvdata/ebcdic-is-friss.c: New file.
1013 * iconvdata/ebcdic-it.c: New file.
1014 * iconvdata/ebcdic-pt.c: New file.
1015 * iconvdata/ebcdic-uk.c: New file.
1016 * iconvdata/ebcdic-us.c: New file.
1017 * iconvdata/ibm037.c: New file.
1018 * iconvdata/ibm038.c: New file.
1019 * iconvdata/ibm1004.c: New file.
1020 * iconvdata/ibm1026.c: New file.
1021 * iconvdata/ibm1047.c: New file.
1022 * iconvdata/ibm256.c: New file.
1023 * iconvdata/ibm273.c: New file.
1024 * iconvdata/ibm274.c: New file.
1025 * iconvdata/ibm275.c: New file.
1026 * iconvdata/ibm277.c: New file.
1027 * iconvdata/ibm278.c: New file.
1028 * iconvdata/ibm280.c: New file.
1029 * iconvdata/ibm281.c: New file.
1030 * iconvdata/ibm284.c: New file.
1031 * iconvdata/ibm285.c: New file.
1032 * iconvdata/ibm290.c: New file.
1033 * iconvdata/ibm297.c: New file.
1034 * iconvdata/ibm420.c: New file.
1035 * iconvdata/ibm423.c: New file.
1036 * iconvdata/ibm424.c: New file.
1037 * iconvdata/ibm437.c: New file.
1038 * iconvdata/ibm500.c: New file.
1039 * iconvdata/ibm850.c: New file.
1040 * iconvdata/ibm851.c: New file.
1041 * iconvdata/ibm852.c: New file.
1042 * iconvdata/ibm855.c: New file.
1043 * iconvdata/ibm857.c: New file.
1044 * iconvdata/ibm860.c: New file.
1045 * iconvdata/ibm861.c: New file.
1046 * iconvdata/ibm862.c: New file.
1047 * iconvdata/ibm863.c: New file.
1048 * iconvdata/ibm864.c: New file.
1049 * iconvdata/ibm865.c: New file.
1050 * iconvdata/ibm868.c: New file.
1051 * iconvdata/ibm869.c: New file.
1052 * iconvdata/ibm870.c: New file.
1053 * iconvdata/ibm871.c: New file.
1054 * iconvdata/ibm875.c: New file.
1055 * iconvdata/ibm880.c: New file.
1056 * iconvdata/ibm891.c: New file.
1057 * iconvdata/ibm903.c: New file.
1058 * iconvdata/ibm904.c: New file.
1059 * iconvdata/ibm905.c: New file.
1060 * iconvdata/ibm918.c: New file.
1062 * locale/iso-4217.def: Update.
1063 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
1065 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
1068 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1070 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
1073 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1075 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
1076 * Makefile: Likewise.
1077 * posix/Makefile: Likewise.
1078 * sysdeps/mach/hurd/Makefile: Likewise.
1080 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1082 * sysdeps/mach/hurd/bits/dirent.h: New file.
1083 * sysdeps/mach/hurd/readdir64.c: New file.
1084 * sysdeps/mach/hurd/readdir64_r.c: New file.
1086 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1088 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
1089 dprintf): Synchronize declarations with libio/stdio.h.
1091 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1093 * elf/dlerror.c (dlerror): Don't assume that
1094 __libc_internal_tsd_get is defined. __libc_getspecific is already
1095 well-protected, so just use it directly.
1097 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1099 * io/ftw.h (ftw): Fix typo.
1101 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1103 * sysdeps/gnu/utmp_file.c: Fix typo.
1105 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1107 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
1108 one part of a test fails move on to the next test.
1110 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
1112 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1114 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1116 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
1117 as pointers, not signed integers.
1119 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1121 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1123 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1125 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
1126 asm symbol name of functions.
1127 * include/features.h: Kill redundant test.
1129 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
1130 * io/ftw.h: Likewise.
1131 * io/sys/stat.h: Likewise.
1132 * io/sys/statfs.h: Likewise.
1133 * io/sys/statvfs.h: Likewise.
1134 * libio/stdio.h: Likewise.
1135 * resource/sys/resource.h: Likewise.
1136 * rt/aio.h: Likewise.
1138 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
1140 * signal/signal.h: Use new macros for BSD vs. SysV signal().
1142 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
1144 * misc/bsd-compat.c: Removed.
1146 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
1148 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
1149 function declaration.
1150 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
1151 and use them in conversion function.
1152 * iconvdata/Makefile (modules): Re-add ISO6446.
1153 * iconvdata/TEST: Add tests for ASCII variants.
1154 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
1155 * iconvdata/testdata/ANSI_X3.4-1968: New file.
1156 * iconvdata/testdata/BS_4730: New file.
1157 * iconvdata/testdata/BS_4730..UTF8: New file.
1159 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
1161 * iconv/gconv.h (struct gconv_step): Add element stateful.
1162 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
1163 to zero for all internal conversions.
1164 * iconv/skeleton.c: Initialize stateful depending on whether or not
1165 RESET_STATE is defined to one or zero respectively.
1166 * stdlib/mblen.c: Use stateful element of currently selected
1167 converter for result if S is NULL.
1168 * stdlib/mbtowc.c: Likewise.
1169 * stdlib/wctomb.c: Likewise.
1171 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
1173 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
1175 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
1177 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
1178 character in comparison with uint32_t.
1179 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
1180 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
1181 Optimize BODY a bit.
1183 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
1186 * iconv/skeleton.c: Also reset converted counter in case of an error.
1187 Call reset function using correct value for output buffer start.
1189 * iconvdata/Makefile: Re-enable tests.
1191 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
1192 value for to-conversion.
1194 * iconvdata/TESTS: Add new third column.
1195 * iconvdata/run-iconv-test.sh: Add support for charsets which are
1197 * iconvdata/testdata/suntzus: New file.
1199 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
1200 while reading. Correctly used base. Little optimization.
1201 (__strtoul_internal): Likewise.
1203 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
1204 was wrong. Use explicit variable.
1206 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1208 * configure.in: Check for awk.
1209 * config.make.in: Add AWK to be substituted.
1211 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
1212 * manual/users.texi: Fix typo exposed by above rewrite.
1214 * Makefile: Invoke awk using AWK variable.
1215 * csu/Makefile: Likewise.
1216 * elf/Makefile: Likewise.
1217 * mach/Makefile: Likewise.
1218 * manual/Makefile: Likewise.
1219 * sysdeps/gnu/Makefile: Likewise.
1220 * sysdeps/mach/hurd/Makefile: Likewise.
1221 * sysdeps/unix/Makefile: Likewise.
1222 * timezone/Makefile: Likewise.
1224 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1226 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
1227 array index translation.
1228 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
1231 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
1233 * sysdeps/mach/hurd/errlist.c: New file.
1234 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
1235 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
1236 semantics, so rename it.
1238 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1240 * iconvdata/run-iconv-test.sh: Make portable. Always test all
1243 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
1245 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
1246 * wcsmbs/wcsnrtombs.c: Likewise.
1248 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
1250 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
1252 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
1254 * time/strftime.c (my_strftime): Initialize pad variable in
1257 * iconvdata/big5.c: Don't use character constants in comparisons
1258 with unsigned value.
1260 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
1262 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
1263 __libc_siglongjmp to GLIBC_2.1.
1265 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
1268 * iconv/Makefile: Don't run tests now.
1270 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
1271 with correct output buffer.
1273 Major rewrite of the low-level gconv functionality.
1274 * iconv/gconv.c: Rewritten.
1275 * iconv/gconv.h: Likewise.
1276 * iconv/gconv_builtin.c: Likewise.
1277 * iconv/gconv_builtin.h: Likewise.
1278 * iconv/gconv_conf.c: Likewise.
1279 * iconv/gconv_int.h: Likewise.
1280 * iconv/gconv_open.c: Likewise.
1281 * iconv/gconv_simple.c: Likewise.
1282 * iconv/iconv.c: Likewise.
1283 * iconvdata/8bit-gap.c: Likewise.
1284 * iconvdata/8bit-generic.c: Likewise.
1285 * iconvdata/Makefile: Likewise.
1286 * iconvdata/big5.c: Likewise.
1287 * iconvdata/cns11643.c: Likewise.
1288 * iconvdata/cns11643.h: Likewise.
1289 * iconvdata/cns11643l1.c: Likewise.
1290 * iconvdata/cns11643l1.h: Likewise.
1291 * iconvdata/ebcdic-at-de-a.c: Likewise.
1292 * iconvdata/ebcdic-at-de.c: Likewise.
1293 * iconvdata/ebcdic-ca-fr.c: Likewise.
1294 * iconvdata/euccn.c: Likewise.
1295 * iconvdata/eucjp.c: Likewise.
1296 * iconvdata/euckr.c: Likewise.
1297 * iconvdata/euctw.c: Likewise.
1298 * iconvdata/gb2312.c: Likewise.
1299 * iconvdata/gb2312.h: Likewise.
1300 * iconvdata/hp-roman8.c: Likewise.
1301 * iconvdata/iso646.c: Likewise.
1302 * iconvdata/iso6937.c: Likewise.
1303 * iconvdata/iso8859-1.c: Likewise.
1304 * iconvdata/iso8859-10.c: Likewise.
1305 * iconvdata/iso8859-2.c: Likewise.
1306 * iconvdata/iso8859-3.c: Likewise.
1307 * iconvdata/iso8859-4.c: Likewise.
1308 * iconvdata/iso8859-5.c: Likewise.
1309 * iconvdata/iso8859-6.c: Likewise.
1310 * iconvdata/iso8859-7.c: Likewise.
1311 * iconvdata/iso8859-8.c: Likewise.
1312 * iconvdata/iso8859-9.c: Likewise.
1313 * iconvdata/jis0201.c: Likewise.
1314 * iconvdata/jis0201.h: Likewise.
1315 * iconvdata/jis0208.c: Likewise.
1316 * iconvdata/jis0208.h: Likewise.
1317 * iconvdata/jis0212.c: Likewise.
1318 * iconvdata/jis0212.h: Likewise.
1319 * iconvdata/johab.c: Likewise.
1320 * iconvdata/koi-8.c: Likewise.
1321 * iconvdata/koi8-r.c: Likewise.
1322 * iconvdata/ksc5601.c: Likewise.
1323 * iconvdata/ksc5601.h: Likewise.
1324 * iconvdata/latin-greek-1.c: Likewise.
1325 * iconvdata/latin-greek.c: Likewise.
1326 * iconvdata/run-iconv-test.sh: Likewise.
1327 * iconvdata/sjis.c: Likewise.
1328 * iconvdata/t61.c: Likewise.
1329 * iconvdata/uhc.c: Likewise.
1330 * wcsmbs/btowc.c: Likewise.
1331 * wcsmbs/mbrtowc.c: Likewise.
1332 * wcsmbs/mbsnrtowcs.c: Likewise.
1333 * wcsmbs/mbsrtowcs.c: Likewise.
1334 * wcsmbs/wcrtomb.c: Likewise.
1335 * wcsmbs/wcsmbsload.c: Likewise.
1336 * wcsmbs/wcsnrtombs.c: Likewise.
1337 * wcsmbs/wcsrtombs.c: Likewise.
1338 * wcsmbs/wctob.c: Likewise.
1339 * iconv/loop.c: New file.
1340 * iconv/skeleton.c: New file.
1342 * stdlib/mblen.c: Handle empty input string correctly.
1343 * stdlib/mbtowc.c: Likewise.
1345 * posix/getopt.c: Various cleanups.
1347 * sysdeps/arm/bits/setjmp.h: Add copyright text.
1348 * sysdeps/i386/bits/setjmp.h: Likewise.
1349 * sysdeps/m68k/bits/setjmp.h: Likewise.
1350 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1351 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
1353 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
1354 and make longjmp weak alias.
1356 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
1358 * iconv/Makefile (routines): Only include gconv_dl if building for
1359 an ELF system - dynamic linking is not available on a.out.
1360 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
1362 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
1363 routines from gconv_dl.
1365 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
1367 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
1368 we can compile without libio.
1370 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
1372 * sysdeps/mach/hurd/Subdirs: Remove login.
1374 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
1376 * db2/compat.h: Include <errno.h>, to make sure we get the
1377 definition of EFTYPE before we define it ourselves.
1379 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1381 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
1382 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
1383 Fix typo to allow inclusion from sys/ioctl.h again.
1385 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1387 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
1389 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1391 * libc.map: Export __strerror_r. Remove _strerror_internal.
1393 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1395 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
1396 Also undefine __strcasestr.
1398 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1400 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
1401 aliases do not work with global variables due to copy relocations.
1403 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
1405 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
1407 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
1409 * signal/sighold.c: Include stddef.h for NULL definition.
1410 * signal/sigrelse.c: Likewise.
1411 * sysdeps/posix/sigignore.c: Likewise.
1412 * sysdeps/posix/sigset.c: Likewise.
1413 * sysdeps/posix/waitid.c: Likewise.
1414 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1415 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
1416 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1417 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
1418 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1420 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
1422 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
1423 * login/getutent.c (getutxent): Remove alias.
1424 * login/getutent_r.c (setutxent, pututxline, endutxent):
1426 * login/getutid.c (getutxid): Remove alias.
1427 * login/getutline.c (getutxline): Remove alias.
1428 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
1429 __getutid, __getutline and __pututline.
1430 * login/utmpx.h: Moved to ...
1431 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
1432 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
1434 * login/updwtmp.c: Moved to ...
1435 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
1436 allowing file name transformation.
1437 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
1438 additional file name transformation.
1439 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
1440 * login/utmp_file.c: Moved to ...
1441 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
1442 Generalized by allowing file name transformation. Do not
1443 print error message. Library functions should not print them.
1444 Reported by Jim Meyering.
1445 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
1446 with additional file name transformation.
1447 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
1448 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
1449 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
1450 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
1452 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
1453 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
1454 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
1455 Define if __USE_GNU.
1456 * sysdeps/generic/setutxent.c: New file.
1457 * sysdeps/generic/getutxent.c: New file.
1458 * sysdeps/generic/endutxent.c: New file.
1459 * sysdeps/generic/getutxid.c: New file.
1460 * sysdeps/generic/getutxline.c: New file.
1461 * sysdeps/generic/pututxline.c: New file.
1462 * sysdeps/generic/utmpxname.c: New file.
1463 * sysdeps/generic/updwtmpx.c: New file.
1464 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
1465 * sysdeps/generic/bits/utmpx.h: Remove.
1467 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
1469 * posix/wordexp-test.c (main): Initialize ifs element of ts for
1472 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
1474 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
1476 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
1478 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
1479 variable using _G_stat64.
1480 * libio/fileops.c: Remove macro definition of fstat, it is in the
1482 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1484 1998-04-17 Philip Blundell <pb@nexus.co.uk>
1486 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
1487 <willy@odie.barnet.ac.uk>.
1489 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
1491 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
1492 required by IPv6 Basic API.
1493 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
1494 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
1495 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
1496 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
1498 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
1500 Don't name internal representation since it might be different from
1501 the external form (namely on little endian machines).
1502 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
1503 UCS4 into references to INTERNAL.
1504 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
1505 Add endianess support to UCS functions. Change references to
1506 UCS4 into references to INTERNAL.
1507 * iconv/gconv_int.h: Change references to UCS4 into references to
1509 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
1510 * iconvdata/gconv-modules: Change accordingly.
1511 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
1513 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
1515 * iconvdata/8bit-gap.c: Likewise.
1516 * iconvdata/8bit-generic.c: Likewise.
1517 * iconvdata/big5.c: Likewise.
1518 * iconvdata/euccn.c: Likewise.
1519 * iconvdata/eucjp.c: Likewise.
1520 * iconvdata/euckr.c: Likewise.
1521 * iconvdata/euctw.c: Likewise.
1522 * iconvdata/iso646.c: Likewise.
1523 * iconvdata/iso6937.c: Likewise.
1524 * iconvdata/iso8859-1.c: Likewise.
1525 * iconvdata/johab.c: Likewise.
1526 * iconvdata/sjis.c: Likewise.
1527 * iconvdata/t61.c: Likewise.
1528 * iconvdata/uhc.c: Likewise.
1530 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
1531 * iconvdata/8bit-generic.c: Likewise.
1533 * iconvdata/TESTS: Add more tests.
1535 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
1537 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
1539 * iconvdata/Makefile: Better rules to run tests.
1541 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
1542 * iconvdata/testdata/ISO-8859-10: Likewise.
1543 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
1544 * iconvdata/testdata/ISO-8859-2: Likewise.
1545 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
1546 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
1547 * iconvdata/testdata/ISO-8859-3: Likewise.
1548 * iconvdata/testdata/ISO-8859-4: Likewise.
1549 * iconvdata/testdata/ISO-8859-5: Likewise.
1550 * iconvdata/testdata/ISO-8859-6: Likewise.
1551 * iconvdata/testdata/ISO-8859-7: Likewise.
1552 * iconvdata/testdata/ISO-8859-8: Likewise.
1553 * iconvdata/testdata/ISO-8859-9: Likewise.
1555 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
1557 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
1558 intermediate result (if available).
1560 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
1563 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
1564 (distribute): Add run-iconv-test.sh and testdata/*.
1566 * stdlib/testmb.c (main): Simplify mbc array handling.
1568 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1570 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
1571 return value on overflow.
1573 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1575 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
1578 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1580 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
1581 of non-standard function setbuffer.
1583 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1585 * stdio-common/perror.c: Include <string.h> for __strerror_r.
1587 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
1589 * iconvdata/Makefile: Add rules to run tests.
1590 * iconvdata/TESTS: New file.
1591 * iconvdata/run-iconv-test.sh: New file.
1592 * iconvdata/testdata/ISO-8859-1: New file.
1594 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
1597 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
1599 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1600 counter element of step.
1602 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
1604 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
1606 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
1608 (__gconv_transform_utf8_ucs4): Correct test for empty input.
1610 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1612 * Makefile: Include makeconfig before defining rule to regenerate
1615 * configure.in: Remove restriction on compiling without static
1618 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
1620 * test-skeleton.c: Provide hook for initializing code before the fork.
1621 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1624 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1625 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1626 * libio/libioP.h: Adopt _IO_cleanup prototype.
1628 * stdlib/Makefile (tests): Add test-canon2.
1629 * stdlib/test-canon2.c: New file.
1630 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1631 be NULL. Use __lxstat, not __lstat. Correctly recognize long
1633 (__realpath): Make real function which checks RESOLVED parameter for
1636 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1638 * catgets/open_catalog.c (__open_catalog): Fix problems with
1639 reading non-files. Always close file.
1640 Reported by Cristian Gafton <gafton@redhat.com>.
1642 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1644 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
1646 * libc.map: Add various low-level I/O functions.
1648 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
1650 * string/Makefile (routines): Remove strerror_r.
1651 * string/strerror_r.c: Removed.
1652 * string/strerror.c: Call __strerror_r for doing the real work.
1653 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1654 add weak alias strerror_r.
1655 * sysdeps/mach/_strerror.c: Likewise.
1656 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1657 * elf/dl-error.c (_dl_signal_error): Likewise.
1658 * elf/dl-profile.c (_dl_start_profile): Likewise.
1659 * gmon/gmon.c (write_gmon): Likewise.
1660 * stdio-common/perror.c: Likewise.
1661 * stdio-common/vfprintf.c: Likewise.
1663 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
1665 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1666 (sysdep_headers): Add netatalk/at.h.
1668 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1670 * manual/socket.texi, manual/creature.texi, manual/time.texi:
1673 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1675 * posix/regex.c: Rename __re_syntax_options back to
1676 re_syntax_options, aliases do not work with global variables due
1677 to copy relocations.
1678 (regex_compile): Use syntax parameter instead of
1681 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1683 * configure.in: Document that enable-force-install is default.
1685 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
1687 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1689 * sysdeps/posix/mkstemp.c: Likewise.
1691 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
1693 * iconvdata/8bit-gap.c: Simplify step data handling.
1694 * iconvdata/8bit-generic.c: Likewise.
1695 * iconvdata/big5.c: Likewise.
1696 * iconvdata/euccn.c: Likewise.
1697 * iconvdata/eucjp.c: Likewise.
1698 * iconvdata/euckr.c: Likewise.
1699 * iconvdata/euctw.c: Likewise.
1700 * iconvdata/iso6937.c: Likewise.
1701 * iconvdata/iso8859-1.c: Likewise.
1702 * iconvdata/jis0208.h: Likewise.
1703 * iconvdata/jis0212.c: Likewise.
1704 * iconvdata/jis0212.h: Likewise.
1705 * iconvdata/johab.c: Likewise.
1706 * iconvdata/ksc5601.h: Likewise.
1707 * iconvdata/sjis.c: Likewise.
1708 * iconvdata/t61.c: Likewise.
1709 * iconvdata/uhc.c: Likewise.
1711 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
1713 * manual/texinfo.texi: Updated from last version.
1715 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
1717 * iconvdata/cns11643.c: New file.
1718 * iconvdata/cns11643.h: New file.
1719 * iconvdata/cns11643l1.c: New file.
1720 * iconvdata/cns11643l1.h: New file.
1721 * iconvdata/euctw.c: New file.
1722 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1723 * iconvdata/gconv-modules: Likewise.
1725 * iconvdata/eucjp.c: Several bug fixes and improvements.
1726 * iconvdata/gb2312.h: Likewise.
1727 * iconvdata/jis0201.h: Likewise.
1728 * iconvdata/jis0208.h: Likewise.
1729 * iconvdata/jis0212.h: Likewise.
1731 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
1733 * iconvdata/eucjp.c: New file.
1734 * iconvdata/euccn.c: New file.
1735 * iconvdata/gb2312.h: New file.
1736 * iconvdata/gb2312.c: New file.
1737 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1738 * iconvdata/gconv-modules: Likewise.
1740 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1742 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1744 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1745 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1746 Patch by Mark Hatle <fray@kernel.crashing.org>.
1748 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
1750 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1752 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1753 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1755 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1757 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1759 * iconvdata/Makefile: Add rules for big5 conversion.
1760 * iconvdata/gconv-modules: Likewise.
1761 * iconvdata/big5.c: New file.
1763 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1764 Patch by Jim Meyering.
1766 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
1768 * rt/tst-aio.c: Add test for aio_read and lio_listio.
1770 * rt/lio_listio.c: Correct total counter handling.
1772 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1775 * test-skeleton.c (main): Make stdout unbuffered. Improve message
1776 of signal on exit even more.
1778 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1779 instead of call to pthread_cond_init.
1780 * rt/lio_listio.c (lio_listio): Likewise.
1781 * rt/lio_listio64.c (lio_listio64): Likewise.
1783 * nis/nis_findserv.c: Include sys/socket.h.
1785 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
1787 * Makeconfig (rtobjdir): New variable.
1788 (rpath-link): Add rtobjdir and thread directory, if available.
1790 * test-skeleton.c: Add support to remove temporary files.
1791 Always define test_dir. Improve message about expected signal.
1793 * rt/Makefile (tests): Add tst-aio.
1794 Add rules for tst-aio to be linked with librt and thread library.
1795 * rt/aio_misc.c: Correct fundamental bugs.
1796 * rt/aio_suspend.c: Correct bug in test for available request.
1797 Initialize conditional variable.
1798 * rt/lio_listio.c: Initialize conditional variable.
1799 * rt/lio_listio64.c: Likewise.
1800 * rt/tst-aio.c: New file.
1802 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1803 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
1804 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1805 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1806 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1807 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1808 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1810 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
1812 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1814 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
1816 * elf/dl-load.c (open_path): Use correct name for test whether
1817 directory in load path exists.
1819 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1820 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1821 Patches by Tom Rini <trini@kernel.crashing.org>.
1823 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1824 * wcsmbs/wcstod_l.c: Likewise.
1825 * wcsmbs/wcstold_l.c: Likewise.
1827 * include/byteswap.h: New file.
1829 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1830 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
1832 * inet/getnameinfo.c (getnameinfo): Change parameter to match
1833 declaration. Patch by Richard Henderson.
1835 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
1837 * manual/process.texi (SIGCHLD example): Save errno.
1839 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1841 * posix/regex.c: Define regerror really as __regerror.
1842 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1843 regerror and regfree.
1845 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1846 * stdlib/strtod_l.c: Likewise.
1847 * stdlib/strtold_l.c: Likewise.
1849 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1851 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1853 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1854 Patch by Christian Gafton.
1856 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
1858 * manual/socket.texi (Interface Naming): Correct @deftypefun line
1861 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1863 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1865 * manual/socket.texi (Interface Naming): Fix typo.
1867 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1869 * manual/examples/filesrv.c (main): Remove filename first.
1871 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1874 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1877 * manual/examples/filecli.c (main): Use AF_LOCAL
1880 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1882 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1884 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1885 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1886 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1887 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1888 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1889 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1891 * login/utmp_daemon.c (open_socket): Use __connect not connect.
1893 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1895 * configure.in: Add new option --enable-force-install. Substitute
1897 * config.make.in (force-install): Set from configure.
1898 * Makerules (force-install): New phony target.
1899 * Makeconfig (+force): New variable.
1900 * Makefile: Use it in dependency list of installation targets.
1901 * db/Makefile: Likewise.
1902 * db2/Makefile: Likewise.
1903 * elf/Makefile: Likewise.
1904 * hurd/Makefile: Likewise.
1905 * iconv/Makefile: Likewise.
1906 * iconvdata/Makefile: Likewise.
1907 * intl/Makefile: Likewise.
1908 * localedata/Makefile: Likewise.
1909 * login/Makefile: Likewise.
1910 * po/Makefile: Likewise.
1911 * sunrpc/Makefile: Likewise.
1912 * sysdeps/mach/hurd/Makefile: Likewise.
1913 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1914 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1915 * timezone/Makefile: Likewise.
1917 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1919 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1920 alloc_size. Pass return value of getcwd syscall to realloc.
1922 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1924 * manual/socket.texi: Spelling fixes.
1926 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1928 * elf/dl-load.c (print_search_path): Remove unused variable.
1930 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1932 * login/utmp_file.c: use __ftruncate not ftruncate.
1933 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1934 for system call and make ftruncate weak alias.
1935 * posix/unistd.h: Add prototype for __ftruncate.
1936 * login/utmp_daemon.c (open_socket): Use __socket not socket.
1937 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1938 instead of snprintf and readv.
1939 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1941 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1944 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
1946 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1947 * iconv/gconv_db.c: Use __ protected regex functions.
1948 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1949 * posix/getopt_init.c: Use __getpid not getpid.
1950 * posix/regex.c: Rename all global functions to start with __ and
1951 make old names weak aliases.
1952 * posix/regex.h: Adopt prototypes for this.
1953 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1954 a weak alias and use __getcwd instead of getcwd.
1955 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1956 * stdlib/strtod.c: Use __btowc instead of btowc.
1957 * stdlib/strtol.c: Likewise.
1958 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1959 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1960 and sys_errlist are weak.
1961 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1962 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1963 * wcsmbs/mbsnrtowcs.c: Likewise.
1964 * wcsmbs/mbsrtowcs.c: Likewise.
1965 * wcsmbs/wcsnrtombs.c: Likewise.
1966 * wcsmbs/wcsrtombs.c: Likewise.
1967 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1969 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1970 * wctype/wctype.c: Define function as __wctype and make wctype
1972 * wctype/wctype.h: Declare __wctype.
1974 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1976 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1978 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1980 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1982 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1984 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1986 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1987 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1988 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1989 make it a weak alias.
1990 * posix/unistd.h: Declare __lseek64.
1992 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1993 (_IO_file_stat): Fix typo.
1994 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
1995 block size from the file. Use __mempcpy if _LIBC.
1997 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
1999 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
2000 * wcsmbs/mbrtowc.c: Likewise.
2001 * wcsmbs/mbsnrtowcs.c: Likewise.
2002 * wcsmbs/mbsrtowcs.c: Likewise.
2003 * wcsmbs/wcrtomb.c: Likewise.
2004 * wcsmbs/wcsnrtombs.c: Likewise.
2005 * wcsmbs/wcsrtombs.c: Likewise.
2006 * wcsmbs/wctob.c: Likewise.
2008 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
2009 position of next output character correctly.
2010 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
2012 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
2014 * stdlib/strtod.c: Don't use mbtowc.
2016 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
2018 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
2019 what we want is smaller than a buffer.
2021 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
2023 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
2026 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2028 * configure.in: Recognize --with-headers flag and determine
2029 commandline options to be used in compilation.
2030 * Makeconfig (+includes): Use $(sysincludes).
2031 * config.make.in (sysincludes): Define from SYSINCLUDES.
2032 * glibcbug.in: Use SYSINCLUDES information.
2033 Patches by Zack Weinberg.
2035 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
2037 * glibcbug.in: On linux, report version of kernel headers seen
2040 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
2042 * libc.map: Add __asprintf to GLIBC_2.1.
2043 * elf/dlerror.c: Use __asprintf, not asprintf.
2044 * libio/stdio.h: Declare __asprintf.
2045 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
2048 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
2049 to avoid inclusion from libc_pic.a.
2051 * elf/dl-runtime.c: Undo last patch.
2053 * stdlib/strtod.c: Don't use mbtowc, use btowc.
2055 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
2056 as default, use NULL.
2058 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2060 * resolv/Makefile: Include ../Makeconfig - needed for building
2063 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2065 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
2066 static-nss since we don't want hesiod in the static NSS.
2068 * nss/Makefile: Build only nss_files as static.
2070 * nss/function.def: Remove support for service db.
2072 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
2074 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
2076 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
2078 * posix/wordexp-test.c: Make IFS per test-case.
2080 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
2082 * glibcbug.in: Report version of gcc in use. Remove unused variable
2085 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
2087 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
2088 `-print-file-name' to find as and ld.
2090 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2092 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
2093 template is wrong. Remove unused varaible `ignored'.
2095 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2097 * libc.map: Export __libc_sa_len.
2099 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
2101 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
2103 * iconv/gconv.c: Take care for NULL arguments.
2104 * iconv/gconv_dl.c: Make find_func function global.
2105 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
2106 Add prototypes for ASCII conversion functions.
2107 * iconv/gconv_simple.c: Add ASCII conversion functions.
2108 * locale/C-ctype.c: Correct charset name.
2110 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
2111 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
2113 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
2114 * wcsmbs/mbrtowc.c: Likewise.
2115 * wcsmbs/mbsnrtowcs.c: Likewise.
2116 * wcsmbs/mbsrtowcs.c: Likewise.
2117 * wcsmbs/wcrtomb.c: Likewise.
2118 * wcsmbs/wcsnrtombs.c: Likewise.
2119 * wcsmbs/wcsrtombs.c: Likewise.
2120 * wcsmbs/wctob.c: Likewise.
2121 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
2122 prototypes for wmemr*.
2123 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
2124 * wcsmbs/wcsnlen.c: New file.
2125 * wcsmbs/wcsmbsload.c: New file.
2126 * wcsmbs/wcsmbsload.h: New file.
2128 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
2130 * manual/install.texi: Describe some more critical points.
2132 * string/string.h: Add prototype for __strnlen.
2133 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
2135 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
2136 much less predictable names.
2137 * sysdeps/posix/mkstemp.c: Likewise.
2139 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2141 * manual/libc.texinfo (Top): Change "file namespace" to "local
2144 * manual/socket.texi: Change file namespace to local namespace.
2145 (Out-of-Band Data): Remove unneeded variable link.
2146 (Host Address Functions): Use uint32_t consequently and add a
2147 number of clarifications for IPv4/IPv6, classless addresses.
2148 (Internet Namespace): Added some paragraphs about IPv6.
2149 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2151 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2153 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
2155 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
2156 (NI_NUMERICHOST, et al.): Tidy up and add comments.
2157 (AI_NUMERICHOST): Define.
2158 (getnodebyname): New prototype.
2159 (AI_V4MAPPED, et al.): New constants.
2161 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
2162 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
2163 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
2165 * sysdeps/unix/sysv/linux/sa_len.c: New file.
2166 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
2168 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
2170 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
2171 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
2172 * socket/Makefile (headers): Add bits/sockunion.h.
2173 * socket/sys/socket.h: Include <bits/sockunion.h>
2174 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
2175 <sys/socket.h>, to avoid getting sockaddr_union defined.
2176 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
2177 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2178 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2180 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
2181 (2.2.x kernels won't have it).
2183 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
2185 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
2186 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
2187 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
2188 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
2190 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2192 * manual/socket.texi (Socket Addresses): Fix a typo.
2193 (Interface Naming): New section.
2195 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
2197 * configure.in: Check for CC using $ac_tool_prefix, to handle
2198 cross-compilation. Use AC_CHECK_TOOL to find MiG.
2199 * config.make.in: Add MIG to be substituted.
2200 * mach/Machrules: Don't define MIG variable.
2202 Patch by Gordon Matzigkeit <gord@profitpress.com>.
2204 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
2206 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
2207 strdupa to copy rpath.
2209 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2211 * configure.in: Fix gcc version check.
2213 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
2216 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
2218 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
2221 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
2223 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
2224 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
2225 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
2226 of __ptsname_r accordingly.
2227 * login/openpty.c (openpty): Likewise.
2229 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
2231 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
2233 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2235 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
2237 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
2239 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2241 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
2242 return value for better error checking.
2244 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2246 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
2247 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
2249 * elf/elf.h (EM_SPARC64): Remove.
2250 (EM_SPARC32PLUS, EM_SPARCV9): Add.
2251 (HWCAP_SPARC_V9): Add.
2253 * elf/ldsodefs.h (_dl_hwcap): Declare.
2254 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
2255 Weaken so dlopen from static progies works.
2256 (WEAKADDR): New macro.
2257 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
2258 (LD_SO_PRELOAD): New macro.
2259 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
2260 (elf_machine_rela): Weaken _dl_rtld_map.
2262 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
2263 to __clone, and remove the later's alias.
2264 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2266 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
2267 the kernel's structure.
2269 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
2270 Sparc needs a custom value of __KERNEL_NCCS.
2272 1998-04-06 Richard Henderson <rth@cygnus.com>
2274 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
2276 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
2277 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2279 1998-04-06 Richard Henderson <rth@cygnus.com>
2281 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
2282 as the buffer is not properly aligned.
2283 Reported by Juan Cespedes <cespedes@debian.org>.
2285 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2287 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
2290 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
2292 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
2293 and wc*tomb* functions.
2295 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
2297 * sysdeps/unix/start.c: Fix typo.
2299 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
2301 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
2303 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
2305 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
2306 expressions and using array variables.
2307 * sysdeps/libm-ieee754/e_asin.c: Likewise.
2308 * sysdeps/libm-ieee754/e_j0.c: Likewise.
2309 * sysdeps/libm-ieee754/e_j1.c: Likewise.
2310 * sysdeps/libm-ieee754/e_log.c: Likewise.
2311 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2312 * sysdeps/libm-ieee754/k_cos.c: Likewise.
2313 * sysdeps/libm-ieee754/k_sin.c: Likewise.
2314 * sysdeps/libm-ieee754/k_tan.c: Likewise.
2315 * sysdeps/libm-ieee754/s_atan.c: Likewise.
2316 * sysdeps/libm-ieee754/s_erf.c: Likewise.
2317 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2318 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2319 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
2321 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
2323 * iconv/gconv.c: Rewrite of the low-level of gconv.
2324 * iconv/gconv.h: Likewise.
2325 * iconv/gconv_builtin.h: Likewise.
2326 * iconv/gconv_close.c: Likewise.
2327 * iconv/gconv_db.: Likewise.
2328 * iconv/gconv_dl.c: Likewise.
2329 * iconv/gconv_int.h: Likewise.
2330 * iconv/gconv_open.c: Likewise.
2331 * iconv/gconv_simple.c: Likewise.
2332 * iconvdata/8bit-gap.c: Adapt for rewrite.
2333 * iconvdata/8bit-generic.c: Likewise.
2334 * iconvdata/euckr.c: Likewise.
2335 * iconvdata/iso646.c: Likewise.
2336 * iconvdata/iso6937.c: Likewise.
2337 * iconvdata/iso8859-1.c: Likewise.
2338 * iconvdata/johab.c: Likewise.
2339 * iconvdata/sjis.c: Likewise.
2340 * iconvdata/t61.c: Likewise.
2341 * iconvdata/uhc.c: Likewise.
2343 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
2345 * iconv/gconv_int.h: New file. Internal header.
2346 * iconv/Makefile (distribute): Add gconv_int.h.
2347 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
2348 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
2349 * iconv/gconv_close.c: Likewise.
2350 * iconv/gconv_conf.c: Likewise.
2351 * iconv/gconv_db.c: Likewise.
2352 * iconv/gconv_dl.c: Likewise.
2353 * iconv/gconv_int.h: Likewise.
2354 * iconv/gconv_open.c: Likewise.
2355 * iconv/iconv.c: Likewise.
2356 * iconv/iconv_close.c: Likewise.
2357 * iconv/iconv_open.c: Likewise.
2358 * iconv/iconv_prog.c: Likewise.
2360 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2362 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
2365 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2367 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
2369 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2371 Based on patch from Pat Beirne:
2372 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
2373 PIC and non-PIC now. Correctly negate error number.
2374 (errno): Use `%' not `@' in .type directives.
2376 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2378 * sysdeps/i386/strtok.S: Change to use single exit point.
2379 * sysdeps/i386/i686/strtok.S: Likewise.
2381 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2383 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
2386 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2388 * Makerules (installed-libcs): Fix typo.
2390 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2392 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
2393 (UHC-routines): Remove ksc5601.
2395 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2397 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
2398 introduced in last change.
2400 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
2402 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
2405 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2407 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
2409 * stdlib/isomac.c: Use -isystem instead of -I for system include
2412 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
2414 * resolv/res_comp.c (underscorechar): New.
2415 (middlechar): Allow '_'.
2417 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2419 * intl/explodename.c (stdlib.h): Include that file only if
2420 STDC_HEADERS or _LIBC.
2421 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
2422 Patch by Philippe De Muyter <phdm@macqel.be>.
2424 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
2426 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
2427 (AC_PROG_CHECK_VER): New macro.
2428 * configure.in: Use AC_PROG_CHECK_VER to check versions of
2429 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
2431 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
2433 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
2434 * sysdeps/i386/i686/strtok.S: New file
2435 * sysdeps/i386/i686/strtok_r.S: New file
2437 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
2439 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
2441 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
2442 parameter as __off64_t instead of __off_t.
2443 (ftello): Make alias for ftello64 instead of ftello. Change
2444 return type to __off64_t.
2446 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2448 * sysdeps/i386/bits/string.h: Fix various typos.
2449 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2451 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
2453 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2455 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
2456 lchown syscall correctly. [PR libc/541].
2458 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
2460 * localedata/Makefile: Correct testsuite rules.
2462 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
2463 * iconvdata/iso646.c: Fix conversion from UCS4.
2465 * elf/ldsodefs.h: Mark internal function with internal_function.
2466 * elf/dl-addr.c: Likewise.
2467 * elf/dl-close.c: Likewise.
2468 * elf/dl-debug.c: Likewise.
2469 * elf/dl-deps.c: Likewise.
2470 * elf/dl-error.c: Likewise.
2471 * elf/dl-fini.c: Likewise.
2472 * elf/dl-init.c: Likewise.
2473 * elf/dl-load.c: Likewise.
2474 * elf/dl-lookup.c: Likewise.
2475 * elf/dl-object.c: Likewise.
2476 * elf/dl-open.c: Likewise.
2477 * elf/dl-profile.c: Likewise.
2478 * elf/dl-reloc.c: Likewise.
2479 * elf/dl-runtime.c: Likewise.
2480 * elf/dl-symbol.c: Likewise.
2481 * elf/dl-version.c: Likewise.
2482 * elf/dlerror.c: Likewise.
2483 * sysdeps/generic/dl-sysdep.c: Likewise.
2484 * sysdeps/i386/dl-machine.h: Likewise.
2485 * intl/finddomain.c: Likewise.
2486 * intl/gettextP.h: Likewise.
2487 * intl/loadmsgcat.c: Likewise.
2489 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
2491 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
2492 * iconv/gconv_builtin.h: Add definitions for new builtins.
2493 * iconv/gconv.h: Add prototypes for new builtins.
2495 * iconvdata/Makefile (modules): Add ISO646.
2496 Add rules for ISO646 module.
2497 (distribute): Add iso646.c.
2498 * iconvdata/gconv-modules: Add module and alias definition for
2500 * iconvdata/iso646.c: New file.
2502 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
2504 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
2505 * iconv/iconv_prog.c: Implement --list option to print available
2506 coded character sets.
2508 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
2510 Make fread() read large blocks straight to the user buffer.
2512 * libio/fileops.c (_IO_file_xsgetn): New function.
2513 (_IO_file_jumps): Use it.
2514 * libio/libioP.h: Prototype it.
2516 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2518 * iconv/gconv_conf.c (builtin_aliases): New variable.
2519 (__gconv_read_conf): Add builtin aliases.
2520 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
2521 noop macro before including gconv_builtin.h.
2522 * iconv/gconv_builtin.h: Add alias names.
2524 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
2525 number of converted bytes correctly.
2527 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2529 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
2530 we only wait for a replay.
2532 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2534 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
2537 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
2539 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
2540 use PLTJMP() rather than explicit (PLT).
2542 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
2543 __libc_start_main().
2545 Based on patch from Pat Beirne:
2546 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
2547 Always define, not only #ifndef PIC.
2548 (DO_CALL): Pass fifth argument correctly in R4.
2549 (PSEUDO): Correct test for error, call syscall_error through PLT
2552 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
2554 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
2557 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2559 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
2562 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
2564 * io/Makefile (static-only-routines): Add stat64, fstat64 and
2567 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2569 * manual/Makefile: Use object-suffixes-for-libc instead of
2571 * rpm/Makefile (install-lib): Likewise.
2573 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2575 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
2577 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
2578 `m68*', not only `m68k'.
2580 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2582 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
2584 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
2587 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2589 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
2592 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
2595 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
2597 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
2600 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2602 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
2604 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2606 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
2608 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2610 * Makerules (install): Change comment for libc.so following the
2611 libc_nonshared changes.
2613 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2615 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2617 * iconvdata/gap.pl: Avoid using %#06x.
2619 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
2621 * Makerules: Use $? instead of S^ when invoking ar.
2623 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2625 * db2/compat.h: Allow EFTYPE being defined.
2626 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2627 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2628 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2629 * sysdeps/mach/bits/libc-lock.h: Fix typo.
2630 (__libc_once): Correctly unlock semaphore.
2631 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2632 * sysdeps/unix/bsd/getpt.c: Fix typo.
2633 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2635 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2637 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2640 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
2642 * include/mntent.h: New file.
2644 * elf/Makefile (trusted-dirs.h): Append slash to filename.
2645 * elf/dl-load.c: Rewrite search path handling.
2646 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2647 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2648 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2649 * elf/ldsodefs.h: Add prototype.
2651 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2653 * nss/nsswitch.c (__nss_lookup): Adjust comment.
2655 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2658 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2660 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2662 (HWCAP_IMPORTANT): New definition.
2664 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
2666 * elf/dl-open.c (_dl_open): Fix a typo.
2667 (_dl_global_scope_alloc): Make it static.
2669 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
2671 * Makerules: Remove duplicate rules to handle stamp.oS.
2673 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2675 * manual/examples/inetsrv.c (main): Change prototype of
2676 make_socket following change in mkisock.c.
2678 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2680 (main): Change prototype of init_sockaddr following change in
2683 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2684 * manual/examples/isockad.c (init_sockaddr): Likewise.
2686 * manual/examples/mkfsock.c (make_named_socket): Removed blank
2687 lines for clarification.
2688 (make_named_socket): Use strncpy instead of strcpy.
2689 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2691 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
2693 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2694 determining libs to remove.
2695 (postclean): Add soversions.mk.
2696 * Makerules (common-mostlyclean): Add tests-static and generated
2699 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
2701 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2703 (__strncat_g): Add i686 specific code.
2705 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2707 * manual/install.texi (Reporting Bugs): Ask to include section
2710 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2712 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2713 guard against direct inclusion.
2715 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2717 Rework support for libc_nonshared.a:
2718 * Makeconfig (object-suffixes-for-libc): New variable.
2719 * Rules: Remove handling of static-only and shared-only routines.
2720 * Makerules: Handle them here instead. Use
2721 object-suffixes-for-libc instead of object-suffixes when dealing
2723 (object-suffixes-for-rules): Remove variable.
2724 (elide-routines.oS): Elide all routines except static-only
2726 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2728 (installed-libcs): Remove special case for .oS.
2731 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2733 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2734 do-tst-rpmatch): New targets.
2736 (install-locales): Ignore comment lines.
2738 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2740 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2741 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2742 ($(objpfx)rtldtbl.h): Likewise.
2743 (CPPFLAGS-dl-load.c): Fix reference to object directory.
2745 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
2747 * manual/string.texi (Finding Tokens in a String): Extend strsep
2748 description and correct example.
2750 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2752 * manual/socket.texi: Remove misguided explicit line breaks and
2753 fix the formatting problem instead by reformulating the
2755 * manual/filesys.texi: Likewise.
2756 * manual/conf.texi: Likewise. Don't typeset table with index
2757 fonts, that looks worse than a minimally overfull line.
2759 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2761 * nscd/Makefile (nscd-modules): Move definition outside of
2764 * pwd/Makefile: Use have-thread-library to test for thread
2767 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2769 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2771 * iconvdata/uhc.c (gconv): Remove unused variable idx.
2773 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2775 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2777 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
2779 * nss/getXXent_r.c: Correctly handle failing setXXent function.
2781 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2782 Reported by Andreas Jaeger.
2784 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
2786 * elf/Makefile: Fix typo.
2787 (distribute): Add dl-librecon.h.
2788 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2789 * elf/ldd.sh.in: Likewise.
2790 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2791 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2792 Use strsep correctly.
2793 (process_envvars): Allow platform specific variables.
2794 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2795 (_dl_load_cache_lookup): Test cache IDs found against
2796 _dl_correct_cache_id.
2797 * sysdeps/generic/dl-librecon.h: New file.
2798 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2800 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2802 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
2804 * config.make.in (ldd-rewrite-script): New variable.
2805 * configure.in: Substitute ldd-rewrite-script.
2806 * elf/Makefile: Rewrite rules to generate ldd script.
2807 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2808 * elf/ldd.sh.in: Likewise.
2809 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2810 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2811 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2812 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2813 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2815 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
2817 * inet/rcmd.c (iruserok): Remain setuid to the local user
2818 while .rhosts is actually read, to make .rhosts-over-NFS work
2819 (PR libc/524). Use iruserfopen() for security checks on both
2820 hosts.equiv and .rhosts. General cleanup.
2821 (iruserfopen): New function, performs careful checking on
2822 hosts.equiv/.rhosts files. Disallows all the old forbidden
2823 stuff plus hard links to files.
2825 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
2827 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2829 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2831 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
2833 * sysdeps/i386/i486/bits/string.h: Fix typos.
2835 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
2837 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2840 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2842 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2843 Added. Used by libm.so on alpha.
2845 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2847 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2850 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
2852 * Makerules (object-suffixes-for-rules): Add .oS only for
2853 building shared library.
2854 Add ranlib rule for nonshared library.
2857 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2858 into for shared library only.
2859 (CPPFLAGS-.oS): Add -DPIC.
2860 (libtypes): Use $(object-suffixes-for-rules) instead of
2863 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
2865 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2866 and install lddlibc4.
2868 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
2870 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2872 * iconvdata/gaptab.pl: Likewise.
2874 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
2876 * Rules: Allow Makefiles to specify test-static for tests which
2877 cannot be linked dynamically.
2878 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2881 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2883 * misc/error.c: Pretty print.
2885 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2887 * Makerules (libc_nonshared-name): Remove variable.
2888 (installed-libcs): Use libc-name instead.
2889 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
2892 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2893 libc.a. Remove explicit reference to dynamic linker.
2895 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2897 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2899 * iconv/iconv_prog.c: Correctly test for write failure.
2900 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2901 * iconvdata/gconv-modules: Likewise.
2902 * iconvdata/euckr.c: New file.
2903 * iconvdata/johab.c: New file.
2904 * iconvdata/ksc5601.c: New file.
2905 * iconvdata/ksc5601.h: New file.
2906 * iconvdata/uhc.c: New file.
2907 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2909 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2910 * stdio/fopen.c: Correct handling of 'x' flag.
2911 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2913 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2915 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2916 * sunrpc/rpcsvc/key_prot.x: Likewise.
2917 * sunrpc/key_prot.c: Likewise.
2919 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
2921 * sysdeps/i386/bits/string.h: Correct things which never worked.
2922 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2923 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2925 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2927 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2928 defined. Reported by Thorsten Kukuk.
2930 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
2932 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2934 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2936 * manual/install.texi (Supported Configurations): Add
2937 arm-linuxaout and arm-none.
2939 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2941 * version.h (VERSION): Bump to 2.0.93.
2943 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
2945 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2947 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2949 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2950 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2952 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2954 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2956 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2958 Put the static-only routines in a separate library.
2959 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2961 (all-object-suffixes): Add .oS.
2962 * Makerules (libc_static-name): New variable.
2963 (installed-libcs): Add libc_nonshared.a.
2964 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2965 (object-suffixes-for-rules): New variable. Use it instead of
2966 object-suffixes for generating compilation rules.
2967 (rmobjs): Also remove *.oS.
2968 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2969 ($(objpfx)stamp.oS): New target.
2971 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2973 * Makefile (FAQ): Automatically check in regenerated FAQ.
2975 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
2977 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2979 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2982 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2984 * sysdeps/generic/stub_warning: Removed.
2986 * Makefile (distribute): Add include/des.h.
2988 * manual/Makefile (distribute): Change dir-add.texi to
2991 * glibcbug.in: Create files safely when mktemp is not available.
2993 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2994 Patch by a sun <asun@saul1.u.washington.edu>.
2996 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2998 * libc.map: Rename getname to getnetname.
3000 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
3002 * manual/maint.texi: Use supported platform in examples.
3004 * manual/install.texi: Document some installation tips.
3006 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
3008 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
3009 Fix a bug so that it returns an error if a numeric parameter is
3010 unset and WRDE_UNDEF is set.
3011 Patch by Andreas Schwab and Tim Waugh.
3012 * posix/wordexp-test.c: Add new new test.
3014 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
3016 * posix/regex.c (regex_compile): Last patch wasn't entirely
3017 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
3019 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3021 * manual/filesys.texi (Scanning Directory Content): Fix typo.
3023 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3025 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
3026 clobbered registers don't appear as operands.
3028 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3030 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
3033 * posix/regex.c (regex_compile): Don't allow non-alphabet
3034 characters in character set name.
3036 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
3038 * posix/wordexp.c (w_newword): New function.
3039 (do_parse_glob): New function.
3040 (parse_glob): Use do_parse_glob. Now handles the case where a
3041 variable expansion causes a field-split.
3042 (wordexp): Use w_newword.
3043 (parse_arith): Likewise.
3044 (exec_comm): Likewise.
3045 (parse_comm): Likewise.
3046 (parse_param): Likewise.
3047 (parse_backtick): Likewise.
3049 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
3051 * posix/wordexp-tst.sh: Another test.
3053 * posix/wordexp-test.c: Two new tests.
3055 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
3056 directly (the code using realloc was buggy).
3057 (parse_param): Fix typo in comment.
3059 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3061 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
3063 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3065 * libc.map: Add more rpc auth functions/variables.
3067 * nscd/nscd.c: Add -g option to argp options.
3069 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3071 * configure.in: Be prepared for gcc 2.9.10 and up.
3072 * configure.in: Add missing disabling of quote characters in
3073 compiler version check. Reported by HJ Lu.
3075 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3077 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
3079 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3081 * intl/locale.alias: Fix spelling of romanian.
3083 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
3084 (distribute): Remove des.h.
3085 * include/des.h: New file.
3086 * sunrpc/des.h: Moved to ...
3087 * sunrpc/rpc/rpc_des.h: ...here.
3089 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
3091 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
3094 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3096 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
3097 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
3099 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3101 * elf/ldsodesf.h: New file.
3102 * elf/Makefile (distribute): Add ldsodefs.h.
3103 * elf/link.h: Separate internal information in exter header.
3104 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
3105 * elf/dl-minimal.c: Likewise.
3106 * sysdeps/generic/dl-sysdep.c: Likewise.
3107 * elf/sprof.c: Likewise.
3108 * elf/dlsym.c: Likewise.
3109 * elf/dlvsym.c: Likewise.
3110 * elf/dlerror.c: Likewise.
3111 * elf/dladdr.c: Likewise.
3112 * elf/dlclose.c: Likewise.
3113 * elf/dlopen.c: Likewise.
3114 * elf/dl-addr.c: Likewise.
3115 * elf/dl-close.c: Likewise.
3116 * elf/dl-debug.c: Likewise.
3117 * elf/dl-deps.c: Likewise.
3118 * elf/dl-error.c: Likewise.
3119 * elf/dl-fini.c: Likewise.
3120 * elf/dl-init.c: Likewise.
3121 * elf/dl-load.c: Likewise.
3122 * elf/dl-lookup.c: Likewise.
3123 * elf/dl-object.c: Likewise.
3124 * elf/dl-open.c: Likewise.
3125 * elf/dl-profile.c: Likewise.
3126 * elf/dl-reloc.c: Likewise.
3127 * elf/dl-runtime.c: Likewise.
3128 * elf/dl-support.c: Likewise.
3129 * elf/dl-symbol.c: Likewise.
3130 * elf/dl-version.c: Likewise.
3131 * sysdeps/generic/dl-cache.c: Likewise.
3132 * sysdeps/generic/libc-start.c: Likewise.
3133 * iconv/gconv_dl.c: Likewise.
3134 * nss/nsswitch.c: Likewise.
3136 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
3138 * manual/nss.texi: The database is not called network but networks.
3139 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3141 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3143 * configure.in: Correct test for compiler version.
3144 Check that LD_LIBRARY_PATH doesn't contain current path.
3146 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
3148 * elf/dl-close.c (_dl_close): Fix byte count while removing
3149 the shared object from the global scope list and optimize
3152 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3154 * manual/filesys.texi (Scanning Directory Content): Add missing
3156 (Scanning Directory Content): Fix text.
3158 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3160 * manual/memory.texi (Heap Consistency Checking): Add paragraph
3161 explaining difference of -lmcheck and MALLOC_CHECK_.
3163 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3165 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
3168 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3170 * test-skeleton.c (main): Fix test for exit signal.
3172 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3174 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
3176 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3178 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
3181 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3183 * libc.map: Export __strtok_r.
3185 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
3187 * posix/regex.c (re_compile_fastmap): Remove unused variable
3188 num_regs and adjust comment.
3189 Patch by Jim Meyering <meyering@ascend.com>.
3191 * math/math.h (M_*l): Extend long double constants to be usable
3192 for 128 bit floats. Patch by Richard Henderson.
3194 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3196 * sysdeps/m68k/m68020/wordcopy.S: New file.
3198 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
3200 * posix/wordexp.c: Rewrite parse_param.
3201 Patch by Tim Waugh and Andreas Schwab.
3203 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
3205 * Rules: Update timestamps on empty object files.
3207 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
3209 * manual/filesys.texi (Scanning Directory Content): Add description
3210 of 64 bits scandir function and friends.
3212 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3214 * glibcbug.in: Use mktemp to generate unique file name for
3217 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
3218 ptsname_r. Use cast for execve call.
3220 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
3222 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
3223 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
3224 * io/sys/statvfs.h: New file.
3225 * sysdeps/generic/fstatvfs.h: New file.
3226 * sysdeps/generic/statvfs.h: New file.
3227 * sysdeps/generic/fstatvfs64.h: New file.
3228 * sysdeps/generic/statvfs64.h: New file.
3229 * sysdeps/generic/bits/statvfs.h: New file.
3230 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
3231 * sysdeps/unix/sysv/linux/statvfs.c: New file.
3232 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
3234 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
3235 and f_ffree elements.
3237 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
3238 mount options in enum.
3240 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3242 * configure.in: Check for recent egcs/gcc.
3244 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3246 * libc.map: Add alphasort64, scandir64, versionsort64.
3247 * dirent/Makefile (routines): Add scandir64, alphasort64, and
3249 * dirent/alphasort64.c: New file.
3250 * dirent/scandir64.c: New file.
3251 * dirent/versionsort64.c: New file.
3252 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
3254 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
3255 old name weak alias.
3256 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3258 * dirent/alphasort.c: Use strcoll instead of strcmp.
3260 * dirent/scandir.c: Optimize a bit.
3262 * dirent/versionsort.c: Pretty print.
3264 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3266 * string/string.h: Add prototype for __strtok_r.
3268 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3270 * posix/Makefile: Fix typo in last change.
3272 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3274 * dirent/dirent.h (scandir): Make argument of select function const.
3275 * dirent/scandir.c (scandir): Likewise.
3276 Reported by David.Faure@insa-lyon.fr [PR libc/512].
3278 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
3280 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
3282 * sysdeps/i386/strtok_r.c: Likewise.
3284 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
3285 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
3286 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
3287 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
3288 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
3289 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
3291 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3293 * intl/localealias.c: Remove unneeded define for strdup.
3295 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
3297 * manual/argp.texi: Adjust for better TeX output.
3298 * manual/arith.texi: Likewise.
3299 * manual/conf.texi: Likewise.
3300 * manual/filesys.texi: Likewise.
3301 * manual/header.texi: Likewise.
3302 * manual/lgpl.texinfo: Likewise.
3303 * manual/math.texi: Likewise.
3304 * manual/message.texi: Likewise.
3305 * manual/pattern.texi: Likewise.
3306 * manual/process.texi: Likewise.
3307 * manual/signal.texi: Likewise.
3308 * manual/socket.texi: Likewise.
3309 * manual/startup.texi: Likewise.
3310 * manual/stdio.texi: Likewise.
3311 * manual/terminal.texi: Likewise.
3312 * manual/examples/rprintf.c: Likewise.
3313 * manual/examples/testopt.c: Likewise.
3314 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3316 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
3318 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
3319 parameter name after seeing a digit if it's enclosed in braces.
3321 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3323 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
3325 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3327 * manual/memory.texi (Heap Consistency Checking): Document
3328 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
3330 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
3332 * manual/Makefile: Add missing rules.
3334 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3336 * timezone/Makefile (generated): Define to remove all stamp files.
3338 * sysdeps/generic/strsep.c: Also undefine __strsep.
3340 * string/strdup.c: Undefine __strdup and strdup first.
3341 * string/strndup.c: Likewise.
3343 * string/bits/string2.h: Correct strtok_r and strsep.
3344 Add strndup optimization.
3346 * sysdeps/generic/strsep.c: Little optimization.
3348 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
3350 * string/bits/string2.h: Add optimization for strdup.
3351 Always define __strsep and __strtok_r and make real names available
3352 when feature select macros are defined.
3354 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3356 * manual/install.texi (Installation): Use i486-linux as example
3357 instead of the unsupported sunos4.
3358 (Reporting Bugs): Mention glibcbug script.
3359 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
3361 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3363 * posix/wordexp-tst.sh: Make portable. Add more tests.
3365 * posix/Makefile (do-globtest do-wordexp-test): New targets.
3367 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
3369 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
3370 * sysdeps/generic/libc-start.c: ...here, replacing former content.
3372 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
3375 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
3377 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3379 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
3380 in enumerator for strict standard compliance.
3381 * sysdeps/generic/bits/resource.h: Likewise.
3383 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
3385 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
3386 (PLTJMP): New macro.
3388 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
3389 longjmp() when floating point enabled.
3390 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
3391 * sysdeps/arm/__longjmp.S: Remove floating point code.
3392 * sysdeps/arm/setjmp.S: Likewise.
3394 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
3395 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3397 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
3400 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
3403 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
3405 Based on patches from Pat Beirne and Scott Bambrough:
3407 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
3409 * sysdeps/arm/bits/fenv.h: New file.
3411 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
3412 * sysdeps/arm/elf/setjmp.S: Likewise.
3413 * sysdeps/arm/elf/start.S: Likewise.
3414 * sysdeps/arm/init-first.c: Likewise.
3415 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
3416 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
3417 comment about floating point to reflect current reality.
3419 * sysdeps/unix/arm/brk.S: Support PIC.
3420 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
3422 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
3423 return; call syscall_error through PLT.
3424 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
3426 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
3428 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
3429 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
3430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
3432 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3434 * dirent/list.c (test): Return error value.
3435 (main): Exit with error value.
3437 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
3439 * Makefile (distribute): Add test-skeleton.c.
3440 * test-skeleton.c: New file.
3441 * dirent/Makefile (tests): Add opendir-tst1.
3442 * dirent/opendir-tst1.c: New file.
3444 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3446 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
3447 Optimize memory handling.
3448 * sysdeps/unix/closedir.c: Optmize memory handling.
3450 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
3452 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
3453 handling. Optimize a bit.
3455 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3457 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
3458 (parse_param): Fold in Andreas' fixes to do with when the end of
3459 the parameter name has been reached, and quoting inside ${...}.
3460 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
3463 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
3465 * manual/maint.texi: Split out installation and contribution
3466 sections to their own appendices. Misc cleanups.
3467 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
3468 * manual/contrib.texi: New file.
3469 * manual/libc.texinfo: Pull in new appendices.
3470 * manual/header.texi: Correct node pointer.
3472 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3474 * manual/process.texi (Process Completion): Clarify return value
3475 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
3477 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3479 * posix/wordexp-test.c: Add more tests.
3480 (testit): Fix logic.
3482 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
3483 /dev/null instead of closing it, close pipe. Always chop off all
3484 trailing newlines. Kill and reap child before returning error.
3485 (w_addword, parse_glob): Fix memory leak.
3486 (wordexp): Fix dangling pointer problem.
3488 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
3490 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
3492 * posix/wordexp-test.c (main): Fix little thinkos and typos.
3494 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
3495 directory index by only the language.
3497 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
3499 * posix/wordexp-tst.sh: Store test results in the
3500 ${common_objpfx}posix directory.
3502 * posix/wordexp-test.c: Remove temporary directory afterwards.
3504 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3506 * libc.map: Export internal versions of cancelable functions.
3508 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3510 * Makerules (MAKEFLAGS): Append `r'.
3512 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3514 * Makeconfig: Define have-thread-library, shared-thread-library
3515 and static-thread-library if a thread library is available. Don't
3517 * nscd/Makefile: Compile nscd if have-thread-library. Rename
3518 nscd-routines to nscd-modules. Use shared-thread-library and
3519 static-thread-library in dependencies.
3520 * rt/Makefile: Only compile librt if have-thread-library is
3522 * Makefile (subdirs): Always include rt subdir.
3524 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3526 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
3528 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
3530 * configure.in: Recognize variations for 32 MIPS processors.
3531 Don't assume ELF systems always have .weak, test for .weakext.
3533 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3535 * configure.in: Irix6 is an ELF platform.
3537 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
3539 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
3540 unmapping the last loaded segment.
3542 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
3544 * configure.in: Set base_os for Irix6.
3545 Correct test for .weakext.
3547 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3549 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
3550 (new_line) to _dl_debug_message call.
3552 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3554 * posix/wordexp.c (parse_param): Perform field-splitting after
3555 expanding positional parameter.
3557 * posix/wordexp-tst.sh: Test that field-splitting is performed
3558 after expanding positional parameter.
3560 * posix/wordexp.c (parse_param): Fixed memory leak in
3561 field-splitting after parameter expansion.
3563 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3565 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
3566 (get_toplvl_escape): Correctly terminate loop at EOF.
3567 Patch by Cristian Gafton <gafton@redhat.com>.
3569 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
3571 * string/tester.c (test_strpbrk): Add more strpbrk tests.
3572 (test_strsep): Likewise. Correct horrible bugs.
3574 * string/bits/string2.h (strcspn): Optimize also reject string of
3577 (strpbrk): Likewise.
3578 (strsep): Likewise. Correct bug with successive separators and
3579 separators at the end of the string.
3580 * sysdeps/generic/strsep.c: Correct bug with successive separators
3581 and separators at the end of the string.
3583 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3585 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
3586 etc) now handled, as well as $$ (pid).
3588 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
3589 (distribute): Add wordexp-tst.sh.
3591 * posix/wordexp-tst.sh: New file.
3593 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
3594 number of positional parameters. Renamed substitute_length to
3596 Don't free(env) is env is NULL.
3598 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
3600 * libc.map: Add pthread_attr_init to GLIBC_2.1.
3602 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
3604 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
3605 for output file replacing gmon.out.
3606 Patch by Dean Gaudet <dgaudet@arctic.org>.
3608 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3610 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
3611 up namespace. Optimize finding end of line.
3613 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3615 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3616 securely. Optimized.
3617 (process_dl_debug): Add ':' to list of separators. Optimized.
3619 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3621 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3622 isless, islessequal, islessgreater, isunordered): Return zero or
3625 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3627 * posix/wordexp-test.c: More tests.
3628 (main): Set up arena for pathname expansion tests (in a temporary
3630 (testit): Don't check word count or word vector if return value is
3633 * posix/wordexp.c (exec_comm): Always chop off terminating
3634 linefeed (just like bash does).
3635 (parse_param): Change lots of occurrences of "if (!*env)" to "if
3637 (parse_param): For assignment inside parameter expansion, use all
3638 expanded words in assignment rather than just the first.
3639 (parse_param): Corrected return value for parameter expansion of
3640 an unset variable when WRDE_UNDEF is in effect.
3641 (parse_dollars): Don't field-split if quoted.
3642 (wordexp): Opening brace character isn't allowed unquoted.
3644 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3646 * elf/dlerror.c: Fix concurrency problems with error string and
3649 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3650 filter/auxiliary are being loaded.
3652 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
3654 * elf/dlerror.c (last_object_name): Removed.
3655 (dlerror): Don't use last_object_name.
3656 (_dl_error_run): Omit second argument to _dl_catch_error.
3657 * elf/dl-error.c (struct catch): Remove objname member.
3658 (_dl_signal_error): Construct string including objname when given.
3659 (_dl_catch_error): Remove objname handling.
3660 * elf/link.h (_dl_catch_error): Fix prototype and comment.
3661 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3662 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3663 * nss/nsswitch.c (nss_dlerror_run): Likewise.
3664 * iconv/gconv_dl.c (dlerror_run): Likewise.
3665 [Corrects PR libc/501].
3667 1998-03-12 Matthias Urlichs <smurf@noris.de>
3669 * nscd/nscd.c: Ignore SIGPIPE.
3671 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3673 * nscd/nscd_getgr_r.c: Use __ protected names.
3674 * nscd/nscd_getpw_r.c: Likewise.
3676 1998-03-12 Matthias Urlichs <smurf@noris.de>
3678 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3679 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3680 null bytes are not transmitted.
3682 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3684 * powerpc/syscalls.list: Correct typo.
3685 * alpha/syscalls.list: Likewise.
3686 * mips/syscalls.list: Likewise.
3688 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3690 * socket/sys/socket.h: Add prototype for __socket.
3692 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3694 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3696 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3699 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3701 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3704 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3705 AF_* and PF_* constants.
3707 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3709 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
3711 * elf/rtld.c: Update help message.
3712 Install link maps for preloaded objects using main_map as loader.
3714 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3715 * elf/dl-profile.c: Likewise.
3717 * elf/dlsym.c: Little optimization.
3718 * elf/dlvsym.c: Likewise.
3720 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
3722 * posix/wordexp-test.c: Move test for parameter list at the very
3725 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3727 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3728 WRDE_REUSE flag is set.
3729 (parse_param): Allow `*', `@', and numbers in parameter names.
3730 (parse_dollars): Differentiate between arithmetic expansion and a
3731 command substitution that starts immediately with a sub-shell
3732 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3733 (parse_param): Memory allocated with __alloca in a block was
3734 referenced outside that block. Adjusted to use malloc/free.
3735 (parse_param): Adjusted field-splitting algorithm so that there is
3736 not necessarily a field split at the end of a parameter expansion.
3738 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3740 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3741 don't free words that have already been allocated.
3742 (parse_param): A dollar sign on its own will never have a pattern
3743 associated with it (like "${HOME%%/}" has), so don't try to free it.
3744 (parse_glob): Attempt to glob when an unquoted `[' is found
3745 (rather than an unquoted '{' (!)). Also for unquoted '?'.
3746 (parse_glob): Sorted out quoting in a glob-able word.
3747 (parse_param): Added $* and $@ handling.
3749 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3751 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3754 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3756 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3759 1998-03-12 Matthias Urlichs <smurf@noris.de>
3761 * elf/dl-misc.c: Default for debug output should be stderr.
3762 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3763 * elf/dl-lookup.c: reference_name may be NULL or empty.
3765 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3767 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3769 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3771 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3773 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3775 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3777 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3780 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3782 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3785 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3787 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3790 * misc/syslog.c (vsyslog): Don't try to send if not connected to
3792 (closelog_internal): Don't do anything if not connected.
3794 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
3796 * libc.map: Add _dl_debug_message.
3797 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
3799 * elf/fini.c: Correctly use new _dl_debug_message function.
3800 * elf/init.c: Likewise.
3801 * elf/dl-lookup.c: Likewise.
3802 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3803 * elf/dl-load.c: Likewise. Add more debugging prints.
3804 * elf/dl-reloc.c: Likewise.
3805 * elf/dl-version.c: Likewise.
3806 * elf/dl-support.c: Add variables for debugging.
3807 * elf/rtld.c: Likewise. Recognize new debug options.
3808 * elf/link.h: Declare new variables.
3810 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3812 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3814 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3815 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
3817 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3819 * posix/wordexp-test.c (command_line_test): New function to allow
3820 testing of specific cases from the command-line.
3822 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3824 * elf/dl-init.c (_dl_init_next): Print nicer messages.
3825 * elf/dl-fini.c (_dl_fini): Likewise.
3826 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3828 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3829 symbol in debug message.
3830 (_dl_lookup_versioned_symbol_skip): Likewise.
3832 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
3834 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3835 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3836 * manual/filesys/texi: Document this.
3838 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
3840 * manual/filesys.texi: Document the change below.
3842 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3844 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3845 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3847 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
3849 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3850 instead scope. If debugging display information about symbol
3852 (_dl_lookup_symbol): Call do_lookup with correct parameters.
3853 (_dl_lookup_symbol_skip): Likewise.
3854 (_dl_lookup_versioned_symbol): Likewise.
3855 (_dl_lookup_versioned_symbol_skip): Likewise.
3856 * elf/dl-support.c: Define _dl_debug_symbols.
3857 * elf/link.h: Add declaration for _dl_debug_symbols.
3858 * elf/rtld.c: Define _dl_debug_symbols.
3859 (process_dl_debug): Recognize symbols option.
3861 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
3863 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3865 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3866 with correct parameters.
3867 [!PIC]: Initialize __libc_multiple_libcs.
3869 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
3871 * elf/dl-support.c (_dl_debug_bindings): Add definition.
3872 * elf/rtld.c (_dl_debug_bindings): Add definition.
3873 (process_dl_debug): Recognize bindings option. Update help message.
3874 * elf/link.h (struct link_map): Add l_versyms member.
3875 (_dl_debug_bindings): Add declaration.
3876 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3877 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3879 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3880 (sym_val): Remove a member, add m as link_map.
3881 (do_lookup): Return result appropriately.
3882 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3883 Call do_lookup correctly.
3884 (_dl_lookup_symbol_skip): Likewise.
3885 (_dl_lookup_versioned_symbol): Likewise.
3886 (_dl_lookup_versioned_symbol_skip): Likewise.
3888 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
3890 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3891 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3893 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3894 * libc.map: Add chown to GLIBC_2.1.
3895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3896 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3898 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3900 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3902 * sysdeps/alpha/ffs.c: Likewise.
3903 * sysdeps/am29k/ffs.c: Likewise.
3904 * sysdeps/i386/ffs.c: Likewise.
3905 * sysdeps/i960/ffs.c: Likewise.
3906 * sysdeps/m68k/ffs.c: Likewise.
3907 * sysdeps/m88k/ffs.c: Likewise.
3908 * sysdeps/powerpc/ffs.c: Likewise.
3909 * sysdeps/rs6000/ffs.c: Likewise.
3910 * sysdeps/vax/ffs.s: Likewise.
3911 * string/string.h: Declare __ffs.
3912 * libc.map: Export it.
3913 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3914 __builtin_ffs, which is not guaranteed to be namespace clean.
3916 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3918 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3919 table, which is much more likely to exist than debugging symbols.
3920 (printsym): Remove const.
3921 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
3924 * libc.map: Export __profile_frequency, used by elf/sprof, to
3925 avoid infinite recursion during startup.
3927 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3929 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3932 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3934 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
3936 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3938 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3940 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3941 LD_PRELOAD, and LD_VERBOSE.
3942 (dl_main): Use global variables set by process_envvars instead of
3944 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3945 LD_LIBRARY_PATH value, this comes with the parameter.
3946 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3947 ("LD_LIBRARY_PATH") to _dl_init_paths.
3949 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
3951 * elf/rtld.c (dl_main): Delay initialization of path structure if
3952 the dynamically linker is invoked implicitly until we read the
3955 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3957 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3959 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3961 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3964 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3966 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
3968 * Makeconfig (nisobjdir): Set to path to nis directory.
3969 (rpath-link): Add nisobjdir.
3970 Patch by Sven Verdoolaege <skimo@kotnet.org>.
3972 * elf/Makefile: Pretty print.
3973 * elf/dl-lookup.c: Include unistd.h.
3974 * elf/dl-runtime.c: Likewise.
3976 * localedata/Makefile (test-srcs): Add tst-rpmatch.
3977 (distribute): Add tst-rpmatch.sh.
3978 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3980 New tests for rpmatch function by
3981 Jochen Hein <jochen.hein@delphi.central.de>.
3982 * localedata/tst-rpmatch.c: New file.
3983 * localedata/tst-rpmatch.sh: New file.
3985 * localedata/locales/de_DE: Correct yesexpr and noexpr.
3986 * localedata/locales/de_AT: Likewise.
3988 * posix/getopt.c: Update contact address.
3989 * posix/getopt1.c: Pretty print.
3991 * sysdeps/generic/libc-start.c: Do most of the initialization now
3992 here instead of in start.S.
3993 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3994 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3996 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3997 profil_counter to be public.
3999 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
4001 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
4002 (parse_param): Coded parameter length expansion (${#var}).
4003 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
4004 (parse_param): Cleaned up (fixed) error handling.
4006 * posix/wordexp-test.c: IFS now includes non-whitespace character
4007 (comma). Added more tests.
4009 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
4011 * elf/link.h: Fix typos.
4012 Reported by Andreas Jaeger.
4014 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
4015 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
4017 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4019 * argp/argp-help.c: Remove last bits of using gettext instead of
4022 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
4024 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
4026 * csu/Makefile (routines): Add libc-start.
4027 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
4028 * elf/dl-lookup.c: Likewise.
4029 * elf/dl-version.c: Likewise.
4030 * sysdeps/i386/dl-machine.h: Likewise.
4031 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
4032 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
4033 _dl_sysdep_message macros which use _dl_sysdep_output.
4034 * elf/dl-fini.c: Write out which destructor is called while debugging.
4035 * elf/dl-init.c: Likewise for constructor.
4036 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
4037 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
4038 _dl_sysdep_message. Add _dl_sysdep_output.
4039 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
4040 this file can be opened.
4041 For LD_DEBUG=libs also set _dl_debug_impcalls.
4042 * sysdeps/generic/dl-cache.c: Include unistd.h.
4043 * sysdeps/generic/libc-start.c: New file.
4044 * sysdeps/unix/sysv/linux/libc-start.c: New file.
4045 * sysdeps/i386/elf/start.S: Don't call main directly, call
4046 __libc_start_main instead.
4048 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
4050 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4052 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
4054 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
4056 * argp/argp.h (struct argp): Add new field domain.
4057 * argp/argp-help.c: Change all gettext calls to dgettext and use
4058 domain field from appropriate argp in call.
4059 * argp/argp-parse.c: Likewise.
4061 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
4063 * posix/wordexp-test.c: Change testsuite so that it can run even
4066 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4068 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
4070 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4072 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4073 Don't store into global errno if we already store through
4075 * sysdeps/unix/i386/sysdep.S: Likewise.
4076 * sysdeps/unix/alpha/sysdep.S: Likewise.
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4078 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
4080 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
4083 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4085 * sysdeps/generic/sysdep.h (L): Remove definition.
4086 * sysdeps/i386/sysdep.h (L): Define it here instead.
4088 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4090 * nis/nis_call.c (__do_niscall): Safe and reset errno.
4092 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
4094 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4096 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
4097 declaration style to avoid warnings.
4099 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
4101 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
4104 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4106 * posix/Makefile (tests): Add wordexp-test.
4107 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
4108 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
4110 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
4112 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
4115 * elf/link.h (struct r_search_path_elem): Add two new field for
4117 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
4118 variable accordingly.
4119 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
4120 is considered next along with information about load paths.
4121 * sysdeps/generic/dl-cache.c: Likewise.
4122 * elf/dl-support.c: Define _dl_debug_libs.
4123 * elf/genrtldtbl.awk: Add initializers for two new field in
4124 struct r_search_path_elem.
4126 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4128 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
4129 * sysdeps/m68k/lshift.S: Likewise.
4130 * sysdeps/m68k/rshift.S: Likewise.
4131 * sysdeps/m68k/sub_n.S: Likewise.
4132 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
4133 * sysdeps/m68k/m68020/mul_1.S: Likewise.
4134 * sysdeps/m68k/m68020/submul_1.S: Likewise.
4136 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
4137 [_LIBC_REENTRANT]: Don't store into global errno.
4139 * sysdeps/m68k/sysdep.h: New file.
4140 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
4141 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
4142 (DO_CALL): Change to expect syscall name as argument.
4143 (PSEUDO): Pass syscall_name to DO_CALL.
4144 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
4147 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4149 * elf/rtld.c: Speed up processing of environment variables. Do
4150 only one run on the environment by avoiding to call getenv.
4151 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
4152 function. Used by patch above.
4154 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4156 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
4158 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
4159 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
4160 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
4162 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4164 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
4165 module cannot be found. Reported by Andreas Jaeger.
4167 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4169 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
4170 on platforms which default to unsigned chars.
4171 * nscd/nscd_getpw_r.c: Likewise.
4172 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
4175 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4177 * elf/Makefile (install-bin): Change = to += for sprof to install
4180 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
4182 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
4184 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
4186 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
4188 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4190 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
4191 that a failure to connect to nscd doesn't change errno.
4193 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4195 * manual/maint.texi (Reporting Bugs): Change
4196 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
4198 * locale/iso-4217.def: Likewise
4200 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
4202 * manual/texinfo.tex: Updated.
4204 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4206 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
4208 * sysdeps/posix/pathconf.c: Likewise.
4209 * posix/getconf.c: Print `undefined' if pathconf returns -1
4210 without setting errno.
4212 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
4214 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
4216 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
4217 Patches by Elliot Lee <sopwith@cuc.edu>.
4219 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
4221 * elf/link.h (struct link_map): Add new field l_reloc_result.
4222 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
4223 of relocation for the object to be profiled.
4224 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
4226 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
4228 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
4229 contains a result from a previous run use this instead of computing
4231 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
4233 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4235 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
4236 offsets into the GOT.
4237 (RTLD_START): Likewise.
4239 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
4241 * elf/sprof.c: Cleanup a bit.
4243 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
4245 * sysdeps/generic/sysdep.h (L): New. Define.
4247 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
4249 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
4251 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
4252 to have only one exit point for functions.
4253 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4254 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
4255 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
4256 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4257 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4259 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4261 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
4262 reset errno so that errno isn't set to ENOSYS in the first call.
4263 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
4264 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4265 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4266 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4268 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
4270 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
4271 * sysdeps/i386/addmul_1.S: Likewise.
4272 * sysdeps/i386/lshift.S: Likewise.
4273 * sysdeps/i386/mul_1.S: Likewise.
4274 * sysdeps/i386/rshift.S: Likewise.
4275 * sysdeps/i386/sub_n.S: Likewise.
4276 * sysdeps/i386/submul_1.S: Likewise.
4277 * sysdeps/i386/i586/add_n.S: Likewise.
4278 * sysdeps/i386/i586/addmul_1.S: Likewise.
4279 * sysdeps/i386/i586/lshift.S: Likewise.
4280 * sysdeps/i386/i586/mul_1.S: Likewise.
4281 * sysdeps/i386/i586/rshift.S: Likewise.
4282 * sysdeps/i386/i586/sub_n.S: Likewise.
4283 * sysdeps/i386/i586/submul_1.S: Likewise.
4285 * sysdeps/i386/sysdep.h: Extend last change.
4287 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
4288 to have only one exit point for functions.
4290 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4292 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
4295 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
4297 * Makerules: Generate libc.so with absolute paths for the used
4300 * config.make.in: Add MAKEINFO definition.
4302 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4304 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
4305 (ENTRY): Use STABS_FUN.
4306 (END): Use STABS_FUN_END.
4307 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
4309 * elf/Makefile: Add rules to build sprof program.
4310 * elf/sprof.c: New file.
4312 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4314 * misc/syslog.c (openlog_internal): Insert missing closing brace.
4316 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4318 * configure.in: Check for working msgfmt version (from GNU gettext
4321 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4323 * configure.in: Avoid //s in sysdirs.
4324 Patch by Roland McGrath.
4326 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
4328 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
4330 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
4331 setting _dl_global_scope for RTLD_GLOBAL.
4333 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4335 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
4336 possible lists of object-suffixes are taken care of.
4338 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
4340 * timezone/private.h: Update from tzcode1998c.
4341 * timezone/zic.c: Likewise.
4342 * timezone/antarctica: Updated from tzdata1998c.
4343 * timezone/asia: Likewise.
4344 * timezone/australasia: Likewise.
4345 * timezone/europe: Likewise.
4346 * timezone/southamerica: Likewise.
4348 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4350 * posix/glob.c (glob_in_dir): Add support for cases insensitive
4351 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
4353 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
4355 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
4356 Changed type of TWO43, TWO52 from float to double.
4357 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
4358 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
4359 Changed type of TWO43 from float to double.
4360 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
4363 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
4365 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
4366 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
4367 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
4369 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
4371 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
4373 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
4374 Clean up random whitespace.
4375 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
4376 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
4377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
4378 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
4380 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
4382 * shlib-versions: Match alpha*.
4383 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
4384 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
4386 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
4387 Implement copysign* with and without __ prefix.
4388 Likewise for fabs; use builtin for gcc 2.8.
4392 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
4393 (R_SPARC*): Match current v9 ABI.
4395 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
4397 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
4398 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4399 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
4400 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
4401 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4402 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
4403 * sysdeps/unix/grantpt.c (argv): Fix consts.
4404 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
4405 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4407 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4409 * misc/syslog.c: Change to allow user the interpretation of the
4410 outcome even with syslog having no return value.
4412 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4414 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
4415 that the number of program headers is >0 (which is wrong for the
4418 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4420 * Makefile (distribute): Add README.libm.
4422 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4424 * time/clocktest.c (main): Correct typo: "--" -> "==".
4426 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
4428 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
4430 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
4433 * math/libm.map (__atan2): Added.
4435 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4437 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
4438 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4440 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
4443 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4445 * manual/arith.texi (Old-style number conversion): Correct
4446 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
4448 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4450 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
4451 but does not require it. Handle missing argv[] values gracefully.
4452 * posix/execl.c: Likewise.
4453 * posix/execle.c: Likewise.
4455 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4457 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
4459 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
4461 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4463 * libc.map: Add __adjtimex.
4465 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4467 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
4470 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
4472 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
4475 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
4477 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
4478 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
4480 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
4483 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
4485 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4486 Added adjtimex and old_adjtimex.
4488 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
4490 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
4491 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
4493 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
4494 symbols only for shared library.
4495 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4496 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4497 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4498 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4499 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4500 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4501 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4503 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
4504 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4505 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4506 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4507 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4508 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4509 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4510 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4512 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
4515 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
4517 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
4518 timex and __adjtimex, respectively.
4520 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
4522 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
4524 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
4526 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
4527 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
4529 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
4531 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
4533 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
4535 * Makefile.in: Disable built-in rules.
4537 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4539 * sysdeps/i386/fpu/t_exp.c: Move to ...
4540 * sysdeps/libm-i387/t_exp.c: ... here.
4542 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
4544 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
4545 from __exp2_deltatable.
4547 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
4549 * nis/ypclnt.c (yp_master): Check result of strdup.
4550 Patch by Thorsten Kukuk.
4552 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4554 * nis/ypclnt.c: Give clnt handle after error checking free, change
4555 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
4557 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
4559 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
4560 Patch by Joe Keane <jgk@jgk.org>.
4562 * misc/fstab.h (struct fstab): Change fs_type member to be const.
4563 * misc/fstab.c: Remove casts in fs_type assignments.
4565 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4567 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
4568 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
4569 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4570 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4571 * sysdeps/powerpc/bits/fenv.h: Likewise.
4572 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4573 * sysdeps/generic/bits/fenv.h: Likewise.
4574 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4575 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
4576 * sysdeps/powerpc/test-arith.c (main): Likewise.
4578 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4580 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
4581 the comparison macros.
4583 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
4585 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
4586 (__log2): Fixed return values.
4587 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4589 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4591 * math/math.h (isunordered): Rename local variables to ensure
4592 correct code. Reported by HJ Lu.
4594 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
4596 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4597 isless, islessequal, islessgreater, isunordered): Fix syntax for
4598 fucompip instruction.
4599 (isless, islessequal): Fix logic.
4601 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4603 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
4604 (comparisons_test): New tests for comparison macros.
4606 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
4608 * Makeconfig: Filter out frame-pointer effecting options when
4609 compiling profiling or debugging code.
4610 * config.h.in (internal_function): Don't define here if PROF is
4612 * gmon/gmon.c (__moncontrol): Don't change state if already in error
4614 (__monstartup): If calloc fails set error state and mark array as
4616 (_mcleanup): Don't call write_gmon if in error state. Don't try
4617 to free array if not successfully allocated.
4619 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4620 Include elf.h to get macro definitions.
4621 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4623 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
4625 * elf/ldd.sh.in: Add compatibility for broken old shells.
4626 * elf/ldd.bash.in: Likewise.
4628 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
4630 * sunrpc/rpc_main.c (open_input): Check pipe return error.
4632 * time/clocktest.c (main): Check signal return error.
4634 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4636 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4637 "/" and use do-install-program. Reported by Mark M. Kettenis.
4638 (subdir_install): Likewise.
4640 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4642 * sunrpc/rpc_sample.c: Fix typo.
4644 * nscd/connections.c: Use locale.
4645 * nscd/grpcache.c: Add debug messages, gidtbl should get the
4647 * nscd/nscd.c: Check if init functions fails.
4648 * nscd/nscd_conf.c: Allow disabling of group cache.
4649 * nscd/nscd_getgr_r.c: Fix return code if group not found.
4650 * nscd/pwdcache.c: Fix debug messages.
4652 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4654 * libc.map: Add __monstartup and _mcleanup for profiling support.
4656 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4658 * libc.map: Export __getpagesize, for binary compatibility with
4661 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4663 * posix/globtest.sh: Use --library-path instead of
4665 * localedata/sort-test.sh: Likewise.
4666 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
4668 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4670 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4671 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4672 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4674 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4675 kernel_sigaction): Define.
4676 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4677 kernel_sigaction): Define.
4679 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4681 * math/libm-test.c: Change epsilons for libm-ieee754.
4683 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
4685 * sysdeps/i386/__longjmp.S: Fix race condition.
4686 Reported by Bruno Haible <haible@ilog.fr>.
4688 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
4690 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
4691 * iconvdata/8bit-gap.c: Likewise.
4692 * iconvdata/8bit-generic.c: Likewise.
4693 * iconvdata/iso6937.c: Likewise.
4694 * iconvdata/iso8859-1.c: Likewise.
4695 * iconvdata/sjis.c: Likewise.
4696 * iconvdata/t61.c: Likewise.
4698 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4700 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4701 feature tests by positive feature tests.
4703 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4705 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4707 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
4709 * elf/dlvsym.c (dlvsym_doit): More corrections.
4710 Patch by Andreas Jaeger.
4712 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4714 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4716 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
4718 * libc.map: More reordering for GLIBC_2.1 symbols.
4720 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4722 * libc.map: Move some functions from version GLIBC_2.0 to
4723 GLIBC_2.1, reorder declarations.
4725 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4727 * resolv/gethnamaddr.c (addrsort): Make this function extern.
4728 Patch by zab@thebrain.grumblesmurf.net.
4730 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4732 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4733 NIS+ functions with version GLIBC_2.1.
4735 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
4737 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4738 with 2.0 binaries. Reported by Thorsten Kukuk.
4740 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4742 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4744 * elf/dlsym.c (dlsym_doit): Likewise.
4746 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4748 * elf/link.h: Correct typos.
4750 * iconv/iconv_prog.c: Correct typo.
4752 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
4754 * iconv/Makefile: Add rules to build and install iconv program.
4755 * iconv/iconv_prog.c: New file.
4757 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
4759 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4760 _dl_lookup_symbol_skip call.
4761 * elf/dlvsym.c (dlvsym_doit): Likewise.
4763 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
4765 * libio/iovsscanf.c: Do not include errno.h.
4767 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4769 * elf/dl-load.c (add_name_to_object): Don't translate strings.
4770 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4771 pulling in the whole error list.
4772 (__dcgettext, dcgettext): Removed.
4773 * libc.map: Export _strerror_internal.
4775 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
4777 * sysdeps/i386/fpu/t_exp.c: New file.
4779 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4781 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
4782 everything with version GLIBC_2.1.
4783 * hesiod/libnss_hesiod.map: Likewise.
4785 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4787 * manual/arith.texi (Old-style number conversion): This node is a
4788 section, not a subsection.
4790 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4792 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
4794 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4796 * elf/rtld.c (dl_main): Make sure that the library search paths
4797 have been initialized before the first call to _dl_map_object.
4799 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4801 * Makerules (common-generated): Add libc_pic.os.
4803 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4805 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
4808 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4810 * sysdeps/m68k/fpu/t_exp.c: New file.
4812 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4814 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4815 to global errno variable anymore.
4817 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
4819 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4820 If PRELOADED is nonzero check in case of an SUID application
4821 whether the shared object has the SUID bit set.
4822 Fix some other problems with handling shared objects in system
4823 specific directories.
4824 (_dl_map_object): Also take extra parameter and pass it to open_path.
4825 * elf/link.h (_dl_map_object): Correct prototype and comment.
4826 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4827 * elf/dl-open.c (_dl_open): Likewise.
4828 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4830 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4832 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4834 * math/libm-test.c (modf_test): Add test for 1.5.
4836 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4837 0 to get always an int.
4839 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4841 * math/libm.map: Move all symbols that are new in glibc 2.1 to
4844 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4846 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4847 trying to read another character.
4849 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4851 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4854 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4855 name to lowercase, add test for big enough buffer.
4857 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4859 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4860 Make compatible with older kernels. Patch by Richard Henderson.
4862 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
4864 * elf/dl-load.c (open_path): Use __xstat instead of stat.
4866 * localedata/tst-locale.sh: Comment out first test for now.
4868 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
4870 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4872 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4875 * libio/iogetline.c (_IO_getline_info): Renamed from
4877 (_IO_getline): Just call _IO_getline_info.
4879 * libio/libioP.h (_IO_getline_info): New declaration.
4881 * libc.map (_IO_getline_info, __write): Added.
4883 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4885 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4886 const char* to shut up gcc.
4888 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
4890 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4891 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4893 * math/math.h: Define M_* constants always as `double' and add new
4894 macros M_*l which are of type `long double'.
4895 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4896 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4897 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4898 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4899 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4900 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4901 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4902 * math/libm-tst.c: Likewise.
4904 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4905 define as long double unconditionally.
4907 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4909 * manual/arith.texi (Old-style number conversion): Correct some
4912 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
4914 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4917 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4919 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
4921 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4922 on $(rtld-ldscript).
4924 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4925 starting from 0 not only from `from'.
4926 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4928 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
4930 * elf/rtld.c (dl_main): Recognize --library-path parameter and
4931 pass value (or NULL) to _dl_init_paths.
4932 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4933 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
4934 environment variable.
4935 * elf/link.h: Change prototype for _dl_init_paths.
4936 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4938 * localedata/Makefile (distribute): Add test files.
4940 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4942 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4943 test1.def, test2.def, test3.def, test4.def}: Simple input files
4944 for localedef. Contributed by Yung-Ching Hsiao
4945 <yhsiao@cae.wisc.edu>.
4947 * localedata/Makefile (tests): Call tst-locale.sh.
4949 * localedata/tst-locale.sh: New file, regression tests for some
4952 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4954 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4956 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4958 * nis/nss_nisplus/nisplus-network.c: Likewise.
4959 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4960 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4961 * nis/nss_nisplus/nisplus-service.c: Likewise.
4963 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4964 and support generating thread safe RPC code.
4965 * sunrpc/rpc_main.c: Add changes.
4966 * sunrpc/rpc_clntout.c: Likewise.
4967 * sunrpc/rpc_cout.c: Likewise.
4968 * sunrpc/rpc_hout.c: Likewise.
4969 * sunrpc/rpc_parse.c: Likewise.
4970 * sunrpc/rpc_sample.c: Likewise.
4971 * sunrpc/rpc_scan.c: Likewise.
4972 * sunrpc/rpc_svcout.c: Likewise.
4973 * sunrpc/rpc_util.c: Likewise.
4974 * sunrpc/rpc_util.h: Add new structs and prototypes.
4975 * sunrpc/proto.h: Remove prototypes for static functions.
4977 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4979 * locale/programs/ld-messages.c (messages_finish): Don't skip
4980 error checking when being quiet.
4981 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
4982 (set_class_defaults): Likewise.
4983 * locale/programs/charmap.c (parse_charmap): Likewise.
4984 * locale/programs/ld-collate.c (collate_finish): Likewise.
4985 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
4986 * locale/programs/ld-time.c (time_finish): Likewise.
4987 * locale/programs/locfile.c (write_locale_data): Likewise.
4989 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
4990 unknown characters and empty ranges.
4991 * locale/programs/ld-collate.c (collate_order_elem): When
4992 processing an ellipsis properly form a linked list in the result
4993 table, fix typo when allocating ordering array.
4996 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4998 * elf/Makefile (ld-map): Define.
4999 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
5001 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
5003 (rtld-link): Combine the two versions of this definition. Fixed
5004 to make it work when no symbol versioning is used.
5006 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
5008 * Makeconfig (build-program-cmd): Use --library-path parameter to
5009 ld.so instead of environment variable.
5011 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
5012 * sunrpc/rpc_main.c: Remove support for -$$ option again.
5014 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5016 * Make-dist: Respect with-cvs setting.
5017 * MakeTAGS (all-pot): Likewise.
5018 * sysdeps/sparc/sparc32/Makefile: Likewise.
5019 * sysdeps/mach/hurd/Makefile: Likewise.
5020 * stdlib/Makefile: Likewise.
5021 * posix/Makefile: Likewise.
5022 * intl/Makefile: Likewise.
5023 * po/Makefile (linguas): Likewise
5025 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5027 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
5029 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5031 * libc.map: Add __strcasecmp.
5033 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
5036 * nss/getXXent_r.c: If no more module is found don't try to call
5037 setXXent functions but leave unsuccessfully.
5039 * malloc/obstack.h: Cleanups.
5041 * sysdeps/wordsize-32/stdint.h: New file.
5042 * sysdeps/wordsize-64/stdint.h: New file.
5043 * sysdeps/generic/stdint.h: New file.
5044 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
5045 * sysdeps/wordsize-64/inttypes.h: Likewise.
5046 * stdlib/Makefile (headers): Add stdint.h.
5048 1998-02-03 Paul Eggert <eggert@twinsun.com>
5050 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
5052 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
5054 * timezone: New directory.
5055 * time/README, time/africa, time/antarctica, time/asia,
5056 time/australasia, time/backward, time/checktab.awk,
5057 time/etcetera, time/europe, time/factory, time/ialloc.c,
5058 time/iso3166.tab, time/leapseconds, time/northamerica,
5059 time/pacificnew, time/private.h, time/scheck.c,
5060 time/solar87, time/solar88, time/solar89, time/southamerica,
5061 time/systemv, time/test-tz.c, time/tzfile.h,
5062 time/tzselect.ksh, time/yearistype, time/zdump.c,
5063 time/zic.c, time/zone.tab: Moved to timezone.
5064 * time/tzfile.c: Include tzfile.h from timezone subdir.
5065 * time/tzset.c: Likewise.
5066 * time/Makefile: Cut out all code relating to timezones...
5067 * timezone/Makefile: ...and paste it in here.
5068 * Makefile (subdirs): Add timezone.
5070 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
5072 * libc.map (_sys_nerr): Added.
5074 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
5077 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
5079 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
5080 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
5081 Reported by Craig Metz <cmetz@inner.net>.
5083 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5085 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
5086 instead of strcasecmp.
5087 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
5089 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
5091 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
5093 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
5094 Patch by Dean Gaudet <dgaudet@arctic.org>.
5096 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
5098 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
5100 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
5102 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
5103 with no poll syscall, just include the BSD version.
5104 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
5105 kernel without the syscall, include the stub version.
5106 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
5107 * sysdeps/generic/getresuid.c: New file.
5108 * sysdeps/generic/getresgid.c: New file.
5110 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5112 * stdio-common/vfscanf.c: Correct last change a bit.
5114 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
5116 * elf/Makefile: Don't use --version-script parameter to link ld.so
5119 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
5121 * math/Makefile: Add t_exp.
5122 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
5124 * math/test-reduce.c: Remove temporarily, it seems to be broken.
5125 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
5126 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
5128 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
5129 algorithm for very large/very small arguments.
5130 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
5131 correct algorithm for very large/very small arguments; adjust for
5133 * sysdeps/libm-ieee754/t_exp.c: New file.
5134 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
5136 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
5137 back, with comment that explains what breaks when you remove it :-(.
5139 * localedata/xfrm-test.c: Avoid integer overflow.
5141 * stdlib/strfmon.c: char is unsigned, sometimes.
5143 * sysdeps/powerpc/Makefile: Remove quad float support.
5144 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
5145 * sysdeps/powerpc/quad_float.h: Likewise.
5146 * sysdeps/powerpc/test-arith.c: Likewise.
5147 * sysdeps/powerpc/test-arithf.c: Likewise.
5149 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
5150 * sysdeps/generic/s_exp2f.c: Likewise.
5152 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
5153 don't try anything if _SOFT_FLOAT.
5155 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5157 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
5158 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
5159 * wctype/wctype.c: Likewise.
5160 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
5161 changed. They are incompatible with the _ISxxx values from
5162 <ctype.h> on little endian machines.
5163 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
5164 bit number. This fixes the real bug and restores the integrity of
5165 the ctype locale file.
5166 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
5167 * wctype/wcfuncs_l.c: Likewise.
5168 * wctype/wcextra.c: Likewise.
5169 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
5172 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
5175 into .bss segment instead of .common, so that aliases on it work.
5177 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
5178 .size directives, put into .bss segment instead of initializing it
5181 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
5183 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
5185 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
5187 Make names without __ weak aliases.
5188 (__libc_release, __libc_version): Make them static.
5190 * include/gnu/libc-version.h: New file.
5191 * Makefile (headers): Add gnu/libc-version.h.
5193 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
5195 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
5196 and use x for member name.
5197 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
5199 * stdlib/drand48.c: Change according to member name change.
5200 * stdlib/drand48_r.c: Likewise.
5201 * stdlib/lcong48_r.c: Likewise.
5202 * stdlib/lrand48.c: Likewise.
5203 * stdlib/lrand48_r.c: Likewise.
5204 * stdlib/mrand48.c: Likewise.
5205 * stdlib/mrand48_r.c: Likewise.
5206 * stdlib/seed48.c: Likewise.
5207 * stdlib/seed48_r.c: Likewise.
5208 * stdlib/srand48_r.c: Likewise.
5210 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5212 * nss/test-netdb.c: Add some more test cases.
5214 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
5216 * libio/iovsscanf.c: Undo last change modifying errno.
5218 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5220 * stdio-common/vfscanf.c: Never try to read another character
5221 after EOF. Don't decrement read_in after EOF, it wasn't
5222 incremented in the first place.
5223 (NEXT_WIDE_CHAR): Set First, not first.
5225 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
5227 * db/Makefile ($(inst_libdir)/libndbm.a,
5228 $(inst_libdir)/libndbm.so): New targets.
5229 * db2/Makefile: Likewise.
5231 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
5233 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
5234 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
5236 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5238 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
5240 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5242 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5244 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
5247 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
5249 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
5250 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
5253 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5255 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
5258 * grp/Makefile: Fix logic when checking for thread package.
5259 * pwd/Makefile: Likewise.
5261 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
5263 * elf/Makefile (rtld-map): Replaced by libc-map.
5265 * elf/rtld.map: Removed.
5267 * libc.map (__libc_enable_secure, _dl_catch_error,
5268 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
5269 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
5270 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
5271 _dl_object_relocation_scope, _dl_relocate_object,
5272 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
5273 _r_debug): Added for ld.so.
5275 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
5277 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
5279 * libio/iofdopen.c: Ditto.
5280 * libio/iofopen.c: Ditto.
5281 * libio/oldfileops.c: Ditto.
5283 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
5286 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
5287 oldsiglist from sysdep_routines and shared-only-routines.
5289 * sysdeps/unix/sysv/linux/errlist.c: New.
5290 * sysdeps/unix/sysv/linux/errlist.h: New.
5291 * sysdeps/unix/sysv/linux/sizes.h: New.
5292 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
5293 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
5295 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
5297 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
5298 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
5301 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
5303 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
5304 (oldsiglist.c): Removed.
5306 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
5307 (_sys_siglist): Use SYS_SIGLIST instead.
5308 (_sys_nerr): Use SYS_NERR instead.
5310 * sysdeps/gnu/errlist.c: Rebuilt.
5312 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
5314 * elf/Makefile (others-static): New, set to ldconfig.
5315 ($(objpfx)ldconfig): Removed.
5317 * Rules (binaries-all, binaries-static, binaries-shared): New.
5318 Create targets for $(binaries-static) and $(binaries-shared).
5320 * Makeconfig (+link-static, link-libc-static,
5321 link-extra-libs-static): New for static linking.
5323 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5325 * manual/memory.texi (Using the Memory Debugger): Fix typo.
5327 * math/libm-test.c (modf_test): Add one more test for modf.
5329 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
5331 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5332 Rename from __libc_have_rt_sigs and leave as COMMON data.
5334 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
5336 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
5339 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
5341 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
5343 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
5345 * misc/tst-efgcvt.c: Add yet more tests.
5346 * misc/efgcvt_r.c: And correct for these tests again.
5349 * isomac.c: Move to...
5350 * stdlib/isomac.c: ...here.
5351 * Makefile: Move rules for handling isomac...
5352 * stdlib/Makefile: ...to here.
5354 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
5356 * misc/tst-efgcvt.c: Add more tests.
5357 * misc/efgcvt_r.c: Correct result for above new tests.
5359 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
5361 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
5364 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
5366 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
5367 if the programs weren't built.
5369 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
5371 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
5372 FE_TONEAREST, soldier on regardless and do the best we can.
5373 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
5375 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
5377 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
5378 _STDIO_H, before including <bits/stdio_lim.h>.
5380 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
5382 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
5385 * sysdeps/arm/sys/ucontext.h: New file.
5387 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
5389 * manual/stdio.texi (Formatted Output Functions): Explicitly say
5390 that the return value from snprintf() does not count the
5391 terminating NUL as a character.
5393 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
5395 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
5396 add description for sete[ug]id and general cleanup.
5397 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5399 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5401 * Makefile (parent-clean): Don't remove makefile fragments here.
5402 (postclean): New variable.
5403 (clean): Remove makefile fragments here.
5404 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
5405 (generated): Add isomac and isomanc.out.
5406 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
5407 avoid-generated is set.
5408 (postclean-generated): Add soversion.mk.
5409 ($(common-objpfx)version.mk): Don't include if avoid-generated is
5411 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
5412 avoid-generated is set.
5413 (common-generated): Add libc.so and libc.so$(libc.so-version).
5414 (generated): Add versioned libraries.
5415 (common-mostlyclean): Also remove %.so and %_pic.a.
5416 * csu/Makefile (generated): Add abi-tag.h.
5417 * db2/Makefile (extra-objs): Add getlong.o.
5418 * elf/Makefile (generated): Add ld.so, ldd and
5419 $(rtld-installed-name).
5420 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
5421 * malloc/Makefile (generated): Add mtrace.
5422 * po/Makefile: Don't include version.mk, not needed any more.
5423 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
5424 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
5425 syscall.h -> sys/syscall.h.
5426 (common-generated): Add s-proto.d.
5427 (postclean-generated): Add sysd-syscalls.
5428 * localedata/Makefile (test-output): Add all output files.
5429 (generated): Add test-input and test-output.
5430 (generated-dirs): Add all the dirs.
5432 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5434 * Makefile (test-output, generated, generated-dirs): New
5437 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
5439 * resolv/nss_dns/dns-host.c: Various code cleanups.
5441 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
5443 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
5444 From Philip Blundell <pb@nexus.co.uk>.
5445 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
5447 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5449 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
5450 Suggested by debian/sparc porters.
5452 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5454 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
5457 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
5459 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
5460 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
5462 * signal/signal.h: Always define sigset_t if __need_sigset_t is
5463 defined even if __USE_POSIX is not defined.
5465 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
5467 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
5468 to support obsolete tty major numbers correctly.
5470 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
5472 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
5473 directory first and ignore install error.
5475 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
5476 128 from ptyno and fix a typo for the BSD style pty.
5478 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5480 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
5483 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5486 getresuid and getresgid.
5488 * sysdeps/unix/sysv/linux/getresuid.c: New file.
5489 * sysdeps/unix/sysv/linux/getresgid.c: New file.
5491 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
5494 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
5495 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5496 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5497 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5499 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
5501 * nscd/grpcache.c: Include <stdlib.h>.
5503 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
5505 * stdlib/atoll.c: Fix comments.
5507 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
5508 * sysdeps/posix/ttyname_r.c: Ditto.
5510 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5512 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
5513 __USE_MISC, independent of __USE_UNIX98.
5515 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
5517 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5518 Rename from __libc_have_rt_sigs and leave as COMMON data.
5520 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
5522 * Makeconfig (CFLAGS-.os): Kill -fno-common.
5523 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
5525 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
5526 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
5528 * include/libc-symbols.h (symbol_version, default_symbol_version):
5529 Provide asm versions and correct !DO_VERSIONING versions.
5530 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
5531 the weak symbol list.
5533 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
5534 Rename from __libc_have_rt_sigs and leave as COMMON data.
5535 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5536 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5537 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5539 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
5541 * sunrpc/Makefile: Correct dependencies of rpcgen.
5543 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
5545 * nscd/Makefile: Fix test for available linuxthreads add-on.
5546 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5548 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5550 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
5552 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5554 * sysdeps/gnu/Makefile: Respect with-cvs variable.
5556 * manual/errno.texi (Error Messages): Correct description of
5557 strerror_r. Pointed out by jonas@bagge.se.
5559 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5561 * manual/socket.texi (Host Address Functions): Clarify description
5564 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5566 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
5567 (grantpt): Delete superfluous cast.
5569 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5571 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
5572 elf/ldso_install instead of elf/subdir_install.
5573 (elf/ldso_install): New target.
5575 * elf/Makefile (ldso_install): New target.
5577 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5579 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
5582 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5584 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
5585 constant expressions.
5587 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5589 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
5590 for __nss_configure_lookup.
5591 (output_hostent): Remove unused variable.
5593 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5595 * string/tst-inlcall.c: Fix format string.
5597 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5599 * inet/netinet/in.h: Rename second parameter of bindresvport to
5600 avoid buggy gcc warning. [PR libc/412]
5602 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
5604 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
5605 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
5607 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
5608 Follow POSIX and make tv_sec a time_t.
5609 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
5610 new tv64 syscall as well as fall back to tv32.
5611 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5612 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5613 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5614 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5615 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5616 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5617 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5618 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
5620 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
5621 * include/rpcsvc/nis_tags.h: Likewise.
5622 * include/rpcsvc/nislib.h: Likewise.
5624 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
5626 * libc.map: Add _h_errno.
5627 * inet/herrno.c: Make _h_errno weak alias.
5629 * login/Makefile (distribute): Add pty-internal.h.
5631 * nscd/Makefile (distribute): Add all the files missing.
5633 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
5636 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
5637 and report status at the end.
5639 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
5641 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
5643 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
5644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
5645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
5647 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
5649 * configure.in: Fix --enable-add-ons code.
5651 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5653 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
5654 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
5657 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
5658 occurence in cache. Reported by Rudolf Leitgeb
5659 <leitgeb@leland.stanford.edu>.
5662 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
5664 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
5665 that it never is EINTR (which is tested for in _IO_vfscanf).
5667 * Makefile.in: Call sub-make with CVSOPTS.
5669 * elf/Makefile (distribute): Add dl-procinfo.h.
5671 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
5673 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
5675 * version.h (VERSION): Bump to 2.0.92.
5677 1998-01-31 Phil Blundell <philb@gnu.org>
5679 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
5680 alias for __new_sys_siglist.
5682 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
5684 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
5685 getgrgid_r.c if thread package is available.
5686 * pwd/Makefile: Likewise.
5687 * grp/getgrnam_r.c: Remove USE_NSCD definition.
5688 * grp/getgrgid_r.c: Likewise.
5689 * pwd/getpwnam_r.c: Likewise.
5690 * pwd/getpwuid_r.c: Likewise.
5692 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
5694 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
5695 with error to allow user intervention.
5696 * nss/getXXent_r.c: Likewise.
5698 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
5700 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
5701 AT_PLATFORM string. Pretty print AT_BASE info.
5703 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
5704 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
5705 * sysdeps/generic/dl-procinfo.h: New file.
5706 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
5708 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
5710 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
5712 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
5713 thread and not pthread_detach.
5715 * nscd/nscd.c: Rewrite to use argp instead of getopt.
5717 1998-01-31 Phil Blundell <philb@gnu.org>
5719 * configure.in: Add --without-cvs option to suppress automatic
5720 checkin of regenerated files.
5721 * config.make.in: Likewise.
5722 * Makefile: Respect with-cvs setting.
5723 * Makerules: Likewise.
5725 * configure.in: Allow the standalone ARM port to be configured.
5727 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5729 * grp/getgrgid_r.c: Define USE_NSCD.
5730 * grp/getgrnam_r.c: Likewise.
5731 * pwd/getpwuid_r.c: Likewise.
5732 * pwd/getpwnam_r.c: Likewise.
5734 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
5736 * nss/getXXbyYY_r.c: Try at first nscd.
5738 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
5739 * nscd/connections.c: New file.
5740 * nscd/dbg_log.c: New file.
5741 * nscd/dbg_log.h: New file.
5742 * nscd/grpcache.c: New file.
5743 * nscd/nscd.c: New file.
5744 * nscd/nscd.h: New file.
5745 * nscd/nscd_conf.c: New file.
5746 * nscd/nscd_stat.c: New file.
5747 * nscd/pwdcache.c: New file.
5749 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
5750 * nscd/nscd_getpw_r.c: Likewise.
5751 * nscd/nscd_proto.h: New, prototypes for client functions.
5753 * nscd/nscd.conf: New, example for a configuration file.
5754 * nscd/nscd.init: New, example for a startup script.
5756 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
5758 * nscd/getgrnam_r.c: Likewise.
5759 * nscd/getpwnam_r.c: Likewise.
5760 * nscd/getpwuid_r.c: Likewise.
5762 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
5764 * intl/Makefile: Use CVSOPTS in cvs invocation.
5765 * po/Makefile: Likewise.
5766 * posix/Makefile: Likewise.
5767 * stdlib/Makefile: Likewise.
5769 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
5771 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
5773 * misc/Makefile (tests): Add tst-efgcvt.
5774 * misc/tst-efgcvt.c: New file.
5776 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
5778 * posix/regex.c: Add some more cleanups by Akim Demaille.
5780 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
5782 * signal/signal.h: Revert last change.
5783 * string/strsignal.c: Regard signal number NSGI as illegal.
5784 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
5787 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
5789 * Makefile.in: Add comment about CVSOPTS Makefile variable.
5790 * Makerules: Use CVSOPTS in cvs invocation.
5791 * Makefile: Likewise.
5792 * MakeTAGS: Likewise.
5793 * Make-dist: Likewise.
5795 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
5797 * sysdeps/generic/memmem.c: Correct last change.
5799 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
5801 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
5802 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
5804 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5806 * nis/ypclnt.c: Try at first to use the binding file from ypbind
5809 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5811 * manual/memory.texi (Heap Consistency Checking): mcheck is
5812 declared in <mcheck.h>.
5813 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5815 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5817 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5818 beginning of haystack.
5820 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5822 * nss/nss_files/files-service.c: Correct last patch.
5824 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
5826 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5827 __libc_have_rt_sigs.
5828 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5829 including <bits/setjmp.h>.
5830 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5831 Patch from the Debian glibc/SPARC package.
5833 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
5835 * sysdeps/alpha/bzero.S: Fix a typo.
5836 * sysdeps/alpha/htonl.S: Ditto.
5837 * sysdeps/alpha/htons.S: Ditto.
5839 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5841 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5843 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
5845 * include/cpio.h: Move to ...
5846 * posix/cpio.h: ...here.
5848 * locale/programs/ld-collate.c: Fix typo.
5850 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5852 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5854 * login/utmp_file.c (pututline_file): Don't always report success
5855 if similar entry is found. Patch by Mark M. Kettenis.
5857 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
5859 * manual/Makefile: Don't try to install the info files if makeinfo
5862 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
5864 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5865 kernel's network ioctls, rather than using <linux/sockios.h> to
5866 get them. This way we are sure of maintaining compatibility if
5867 the kernel interface should change.
5869 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
5871 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5873 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
5875 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5878 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
5880 Implement System V pseudoterminal handling.
5883 (routines): Add getpt, grantpt, unlockpt, ptsname.
5884 (libutil-routines): Remove pty. Add openpty, forkpty.
5885 (distribute): New internal header pty-internal.h.
5886 (others): Add the helper program, pt_chown.
5887 (install-others): Install it, in $(libexecdir), mode 4755.
5889 * login/pty-internal.h: New file.
5890 * login/openpty.c: New file.
5891 * login/forkpty.c: New file.
5892 * login/programs/pt_chown.c: New file.
5894 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5895 * stdlib/stdlib.h: Prototype them.
5897 * config.make.in: Define $(libexecdir).
5898 * Makeconfig: Define $(inst_libexecdir).
5900 * sysdeps/generic/pty.c: Removed.
5901 * sysdeps/unix/sysv/linux/pty.c: Removed.
5903 * sysdeps/generic/getpt.c: Stub out.
5904 * sysdeps/generic/grantpt.c: Likewise.
5905 * sysdeps/generic/ptsname.c: Likewise.
5906 * sysdeps/generic/unlockpt.c: Likewise.
5908 * sysdeps/unix/grantpt.c: New file.
5909 * sysdeps/unix/bsd/getpt.c: New file.
5910 * sysdeps/unix/bsd/unlockpt.c: New file.
5911 * sysdeps/unix/sysv/linux/getpt.c: New file.
5912 * sysdeps/unix/sysv/linux/ptsname.c: New file.
5913 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5915 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
5917 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
5919 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5921 * nss/Makefile (tests): Add rule for test-netdb.c.
5923 * nss/test-netdb.c: New file.
5925 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
5927 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5928 really kept as a variable. Patch by Richard Henderson,
5929 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5931 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5932 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5933 entries as not existing.
5935 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5937 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5938 zero in alternate form with precision of zero, which must produce
5939 "0". Add braces to avoid ambiguous `else'.
5941 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5943 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5944 problem with strncpy.
5945 * nis/nss_compat/compat-pwd.c: Likewise.
5946 * nis/nss_compat/comapt-spwd.c: Likewise.
5948 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5950 * assert/assert.h (assert_perror): Correct test for errnum. Patch
5951 by uch@nop.or.jp. [PR libc/437]
5953 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5955 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5957 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5959 * stdio-common/test-popen.c: Include <errno.h>.
5961 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5964 * inet/getnetgrent_r.c: Include <errno.h>.
5966 * db2/db/db_conv.c: Include <string.h> for memcpy.
5968 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5969 so that memcpy is declared.
5971 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5973 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5975 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5977 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
5978 overflow while reading line with fgets.
5979 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5981 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
5983 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
5984 unsigned short, not short.
5985 Reported by Andreas Jaeger.
5987 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5989 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
5992 * sysdeps/generic/inttypes.h: Fix spelling.
5994 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5996 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
5998 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
6000 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
6002 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
6003 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
6004 field for hh modifier.
6005 * stdio-common/vfprint.c: Use is_char field and do not depend in
6006 is_short having the value 2.
6007 Bug reported by Andreas Jaeger.
6009 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6011 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
6012 PIC && DO_VERSIONING.
6014 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6016 * Rules: Add rules for $(common-objpfx)dummy$o.
6018 1998-01-26 Richard Henderson <rth@cygnus.com>
6020 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
6021 unimplemented OSF/1 definitions so that they are not accidentally seen.
6023 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
6024 of the trampoline function into the macro.
6025 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
6026 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
6027 kernel 2.1.82 has this fixed.
6029 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
6030 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
6032 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
6034 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
6035 support sigaction on kernels > 2.1.7x.
6037 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
6039 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
6042 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
6043 Patch by David Engel <david@sw.ods.com>.
6045 * configure.in: Fix another typo in --enable-add-ons code.
6047 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
6049 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
6051 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6053 * nss/nss_files/files-network.c: Correct order of parameters for
6056 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
6058 * db2/Makefile (routines): Add os_alloc.
6059 * db2/db.h: Update from db-2.3.16.
6060 * db2/db_185.h: Likewise.
6061 * db2/db_int.h: Likewise.
6062 * db2/btree/bt_close.c: Likewise.
6063 * db2/btree/bt_cursor.c: Likewise.
6064 * db2/btree/bt_delete.c: Likewise.
6065 * db2/btree/bt_open.c: Likewise.
6066 * db2/btree/bt_page.c: Likewise.
6067 * db2/btree/bt_put.c: Likewise.
6068 * db2/btree/bt_rec.c: Likewise.
6069 * db2/btree/bt_recno.c: Likewise.
6070 * db2/btree/btree_auto.c: Likewise.
6071 * db2/common/db_appinit.c: Likewise.
6072 * db2/common/db_apprec.c: Likewise.
6073 * db2/common/db_err.c: Likewise.
6074 * db2/common/db_region.c: Likewise.
6075 * db2/common/db_shash.c: Likewise.
6076 * db2/db/db.c: Likewise.
6077 * db2/db/db_auto.c: Likewise.
6078 * db2/db/db_conv.c: Likewise.
6079 * db2/db/db_dispatch.c: Likewise.
6080 * db2/db/db_dup.c: Likewise.
6081 * db2/db/db_pr.c: Likewise.
6082 * db2/db/db_rec.c: Likewise.
6083 * db2/db185/db185.c: Likewise.
6084 * db2/dbm/dbm.c: Likewise.
6085 * db2/hash/hash.c: Likewise.
6086 * db2/hash/hash_auto.c: Likewise.
6087 * db2/hash/hash_dup.c: Likewise.
6088 * db2/hash/hash_page.c: Likewise.
6089 * db2/hash/hash_rec.c: Likewise.
6090 * db2/include/btree_ext.h: Likewise.
6091 * db2/include/clib_ext.h: Likewise.
6092 * db2/include/common_ext.h: Likewise.
6093 * db2/include/db.h.src: Likewise.
6094 * db2/include/db_185.h.src: Likewise.
6095 * db2/include/db_am.h: Likewise.
6096 * db2/include/db_ext.h: Likewise.
6097 * db2/include/db_int.h.src: Likewise.
6098 * db2/include/hash_ext.h: Likewise.
6099 * db2/include/lock_ext.h: Likewise.
6100 * db2/include/log.h: Likewise.
6101 * db2/include/log_auto.h: Likewise.
6102 * db2/include/log_ext.h: Likewise.
6103 * db2/include/mp.h: Likewise.
6104 * db2/include/mp_ext.h: Likewise.
6105 * db2/include/mutex_ext.h: Likewise.
6106 * db2/include/os_ext.h: Likewise.
6107 * db2/include/os_func.h: Likewise.
6108 * db2/include/txn_ext.h: Likewise.
6109 * db2/lock/lock.c: Likewise.
6110 * db2/lock/lock_util.c: Likewise.
6111 * db2/log/log.c: Likewise.
6112 * db2/log/log.src: Likewise.
6113 * db2/log/log_archive.c: Likewise.
6114 * db2/log/log_auto.c: Likewise.
6115 * db2/log/log_get.c: Likewise.
6116 * db2/log/log_put.c: Likewise.
6117 * db2/log/log_rec.c: Likewise.
6118 * db2/log/log_register.c: Likewise.
6119 * db2/mp/mp_bh.c: Likewise.
6120 * db2/mp/mp_fget.c: Likewise.
6121 * db2/mp/mp_fopen.c: Likewise.
6122 * db2/mp/mp_fput.c: Likewise.
6123 * db2/mp/mp_pr.c: Likewise.
6124 * db2/mp/mp_sync.c: Likewise.
6125 * db2/mutex/mutex.c: Likewise.
6126 * db2/os/os_alloc.c: Likewise.
6127 * db2/os/os_config.c: Likewise.
6128 * db2/os/os_stat.c: Likewise.
6129 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
6130 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
6131 * db2/progs/db_load/db_load.c: Likewise.
6132 * db2/progs/db_printlog/db_printlog.c: Likewise.
6133 * db2/progs/db_recover/db_recover.c: Likewise.
6134 * db2/progs/db_stat/db_stat.c: Likewise.
6135 * db2/txn/txn.c: Likewise.
6137 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
6138 Unmap memory blocks in reverse order of allocation.
6139 Call munmap with load address added to offset.
6140 Bug reported by Miguel de Icaza.
6142 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
6145 * localedata/locales/cs_CZ: Update by Michael Mraka
6146 <michael@informatics.muni.cz>.
6148 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
6151 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
6152 reading line with fgets.
6153 * nis/nss_compat/compat-pwd.c: Likewise.
6154 * nis/nss_compat/compat-spwd.c: Likewise.
6155 * nss/nss_files/files-XXX.c: Likewise.
6156 * nss/nss_files/files-alias.c: Likewise.
6157 * shadow/fgetspent_r.c: Likewise.
6159 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
6161 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
6162 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6163 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6165 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
6166 FP register content in ucontext_t.
6168 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6170 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
6171 calculation. Patch by Markus Schoder
6172 <Markus.Schoder@dresdner-bank.de>.
6174 * math/libm-test.c (modf_test): Add more tests for modf.
6176 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
6177 munlock according to Unix98.
6179 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6181 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
6184 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
6186 * sysdeps/posix/ttyname.c: Handle symbolic links.
6187 * sysdeps/posix/ttyname_r.c: Ditto.
6189 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
6191 * db2/makedb.c (process_input): Write terminating \0 for value.
6192 (print_database): Simply print value string, don't use length.
6194 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6196 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
6199 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6201 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
6204 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
6206 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
6208 * signal/sighold.c: New file.
6209 * signal/sigrelse.c: New file.
6210 * sysdeps/generic/sigignore.c: New file.
6211 * sysdeps/generic/sigset.c: New file.
6212 * sysdeps/posix/sigignore.c: New file.
6213 * sysdeps/posix/sigset.c: New file.
6214 * signal/signal.h: Add prototypes for new functions.
6216 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
6217 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
6218 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
6219 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
6221 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6223 * posix/wordexp.c: Added IFS field-splitting in parameter and
6224 command substitution. Fixed an IFS-related bug that caused an
6227 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
6229 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
6231 * stdlib/ucontext.h: Correct prototypes.
6232 * sysdeps/generic/getcontext.c: New file.
6233 * sysdeps/generic/setcontext.c: New file.
6234 * sysdeps/generic/makecontext.c: New file.
6235 * sysdeps/generic/swapcontext.c: New file.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
6238 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
6240 * resource/sys/resource.h: Remove #include of ulimit.h which is
6241 not allowed by SUSv2 and not available on other systems.
6242 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
6244 * streams/Makefile: New file.
6245 * streams/stropts.h: New file.
6246 * sysdeps/generic/bits/stropts.h: New file.
6247 * sysdeps/generic/isastream.c: New file.
6248 * sysdeps/generic/getmsg.c: New file.
6249 * sysdeps/generic/getpmsg.c: New file.
6250 * sysdeps/generic/putmsg.c: New file.
6251 * sysdeps/generic/putpmsg.c: New file.
6252 * sysdeps/generic/fattach.c: New file.
6253 * sysdeps/generic/fdetach.c: New file.
6254 * sysdeps/unix/inet/Subdirs: Add streams.
6255 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
6257 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6258 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6259 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6260 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6262 * sysdeps/mach/_strerror.c: Follow changes of generic version to
6263 handle small buffers correctly.
6265 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
6267 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6268 Remove the 3rd arg and add declaration for _dl_runtime_resolve
6269 and _dl_runtime_profile.
6271 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
6273 * include/cpio.h: New file. Mainly copied from GNU cpio.
6274 * posix/Makefile (headers): Add cpio.h.
6276 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6278 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
6280 * nis/nis_cache.c: New file.
6281 * nis/nis_cache2.h: New file.
6282 * nis/nis_cache2_xdr.c: New file.
6283 * nis/nis_call.c: Changes for cache2_info parameter.
6284 * nis/nis_checkpoint.c: Likewise.
6285 * nis/nis_intern.h: Likewise.
6286 * nis/nis_mkdir.c: Likewise.
6287 * nis/nis_ping.c: Likewise.
6288 * nis/nis_rmdir.c: Likewise.
6289 * nis/nis_server.c: Likewise.
6290 * nis/nis_util.c: Likewise.
6292 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6294 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
6295 return/errnop codes.
6296 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6297 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6298 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6299 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6300 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6301 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6302 * nis/nss_nisplus/nisplus-rpc.c: Likewise
6303 * nis/nss_nisplus/nisplus-service.c: Likewise.
6304 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6306 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6308 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
6309 * nis/nss_nis/nis-ethers.c: Likewise.
6310 * nis/nss_nis/nis-grp.c: Likewise.
6311 * nis/nss_nis/nis-hosts.c: Likewise.
6312 * nis/nss_nis/nis-network.c: Likewise.
6313 * nis/nss_nis/nis-proto.c: Likewise.
6314 * nis/nss_nis/nis-hosts.c: Likewise.
6315 * nis/nss_nis/nis-network.c: Likewise.
6316 * nis/nss_nis/nis-proto.c: Likewise.
6317 * nis/nss_nis/nis-publickey.c: Likewise.
6318 * nis/nss_nis/nis-pwd.c: Likewise.
6319 * nis/nss_nis/nis-rpc.c: Likewise.
6320 * nis/nss_nis/nis-service.c: Likewise.
6321 * nis/nss_nis/nis-spwd.c: Likewise.
6323 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
6325 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
6326 Added to follow latest kernel development.
6328 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
6330 * nss/db-Makefile: Handle empty and comment lines better.
6331 ($(VAR_DB)/services.db): Generate entries with missing protocol
6334 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6336 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
6338 (getservbyname): Allow proto == NULL.
6339 Pointed out by David N. Welton <davidw@gate.cks.com>.
6342 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
6344 * nis/nislib/nislib.h: Finally removed.
6346 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
6347 C compiler. From Kaveh Ghazi.
6348 (TYPE_MINIMUM): Define.
6349 (TYPE_MAXIMUM): Define.
6350 (TIME_T_MIN): Use TYPE_MINIMUM.
6351 (TIME_T_MAX): Use TYPE_MAXIMUM.
6352 Patch by Jim Meyering <meyering@ascend.com>.
6354 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
6356 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
6357 __pread64, __pwrite64, and __getpid.
6359 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
6362 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6364 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
6365 cancelable socket functions as __libc_xxx with __xxx as weak
6367 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6368 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6370 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
6372 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6373 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
6374 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6375 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6377 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
6378 and __xxx a weak alias.
6379 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6380 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6381 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6382 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6383 * sysdeps/unix/sysv/linux/send.S: Likewise.
6384 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6385 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6387 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6389 * locale/langinfo.h: Add defines.
6391 * dirent/dirent.h: Add defines for DT_*, check also for
6392 _DIRENT_HAVE_D_TYPE.
6393 Suggested by Roland McGrath.
6395 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6397 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
6398 Update from Linux 2.1.73+79.
6400 * README.template: Update information about possible
6403 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
6404 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6407 * manual/time.texi (Priority): Correct description of
6408 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6411 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
6413 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
6414 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
6416 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
6418 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
6421 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
6423 * locale/programs/ld-collate.c: Little optimizations.
6425 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
6427 * string/Makefile (tests): Add tst-inlcall.
6428 * string/tst-inlcall.c: New file.
6430 * string/strsignal.c: Add support for real-time signals.
6432 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
6433 presense of small buffer.
6435 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
6437 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
6440 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
6443 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
6445 * Rules: Add explicit rule for dummy.o; at least one library needs
6446 it and it isn't autogenerated by the default rules.
6448 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6450 * math/libm-test.c: Tweak epsilons.
6452 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6454 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
6456 (feenv_mask_test): Likewise.
6458 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6460 * Makeconfig: Don't export CPPFLAGS.
6462 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6464 * sunrpc/rpc_main.c (parseargs): Use perror to print error
6467 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6469 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
6470 terminating null in key size.
6472 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6474 * nss/nss_files/files-service.c: Fix allocation size to include
6477 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
6478 applicable. Fix return value and error checking.
6479 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
6481 (DB_LOOKUP): Allocate space for terminating null byte.
6483 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
6486 * db2/makedb.c (process_input): Continue processing if a duplicate
6489 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
6491 * time/tzfile.h: Updated from tzcode1998b.
6492 * time/zdump.c: Likewise.
6493 * time/zic.c: Likewise.
6494 * time/africa: Update from tzdata1998b.
6495 * time/antarctica: Likewise.
6496 * time/asia: Likewise.
6497 * time/australasia: Likewise.
6498 * time/etcetera: Likewise.
6499 * time/europe: Likewise.
6500 * time/leapseconds: Likewise.
6501 * time/northamerica: Likewise.
6502 * time/southamerica: Likewise.
6504 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6506 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
6507 lookups ignoring case.
6508 * nss/nss_files/files-network.c: Do network lookups ignoring
6510 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
6512 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
6513 case insensitive comparing.
6514 Patches by Cristian Gafton <gafton@redhat.com>.
6516 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6518 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
6519 by Roland McGrath. [PR libc/395]
6521 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6523 * manual/arith.texi (Parsing of Integers): Correct description of
6524 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
6527 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
6529 * misc/lsearch.c (lsearch): Return a pointer to the new element
6530 if one was "allocated".
6532 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6534 * string/strsignal.c: NSIG is not a valid index into
6535 _sys_siglist. Don't zap the last character of the "Unknown
6538 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
6540 * locale/programs/charmap.c (parse_charmap): Correct parsing of
6541 ellipsis expressions.
6543 * locale/programs/charset.c (insert_char): Correctly insert value
6544 of eliipsis expression.
6546 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
6548 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
6550 * sysdeps/powerpc/setjmp.S: Likewise.
6551 Patches by Matt McLean <keys@keys.got.net>.
6553 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
6555 * Makefile: Undo last patch.
6556 (distribute): Add test-installation.pl.
6558 * configure.in: Correct handling of --enable-add-ons without parameter.
6559 Correct address of WWW pages.
6561 * libc.map: Add _nl_domain_bindings.
6563 * db2/mutex/tsl_parisc.s: New file.
6565 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
6566 and extra-module.mk.
6568 * localedata/Makefile (distribute): New. Add all the files.
6570 * stdlib/Makefile (headers): Add inttypes.h.
6571 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
6572 * sysdeps/generic/inttypes.h: New file.
6573 * sysdeps/generic/strtoimax.c: New file.
6574 * sysdeps/generic/strtoumax.c: New file.
6575 * sysdeps/generic/wcstoimax.c: New file.
6576 * sysdeps/generic/wcstoumax.c: New file.
6577 * sysdeps/wordsize-32/Dist: Removed.
6578 * sysdeps/wordsize-32/Makefile: Removed.
6579 * sysdeps/wordsize-64/Dist: Removed.
6580 * sysdeps/wordsize-64/Makefile: Removed.
6581 * sysdeps/generic/bits/environments.h: New file.
6583 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
6584 header is still not correct.
6586 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
6587 * posix/unistd.h: Likewise.
6588 * sysdeps/generic/sys/mman.h: Likewise.
6589 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6591 * manual/arith.texi: Change definition of mul macro.
6592 * manual/math.texi: Likewise.
6594 * misc/Makefile (routines): Add mmap64.
6595 * sysdeps/generic/mmap64.c: New file.
6596 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
6597 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
6598 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
6600 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6602 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
6604 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
6606 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
6608 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
6609 FOPEN_MAX also when included by limits.h.
6610 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6612 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
6613 and netrom/netrom.h.
6614 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
6615 oldsiglist to sysdep_routines, not aux.
6616 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
6618 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
6619 and SOL_NETROM definition.
6621 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
6623 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
6624 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
6626 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
6628 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
6630 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
6631 sa_handler with k_sa_handler.
6632 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
6636 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
6637 __libc_have_rt_sigs here.
6638 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
6639 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6640 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
6641 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6643 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
6645 * sysdeps/powerpc/atomicity.h: New file.
6646 * sysdeps/mach/powerpc/machine-lock.h: New file.
6648 * Rules: Use -fpic to build anything that might end up in a users'
6651 * sysdeps/powerpc/s_fdim.c: New file.
6652 * sysdeps/powerpc/s_fdimf.c: New file.
6653 * sysdeps/powerpc/s_fmax.S: New file.
6654 * sysdeps/powerpc/s_fmaxf.S: New file.
6655 * sysdeps/powerpc/s_fmin.S: New file.
6656 * sysdeps/powerpc/s_fminf.S: New file.
6657 * sysdeps/powerpc/s_llrint.c: Now is for double.
6658 * sysdeps/powerpc/s_llrintf.c: New file.
6659 * sysdeps/powerpc/s_llround.c: Now is for double.
6660 * sysdeps/powerpc/s_llroundf.c: New file.
6661 * sysdeps/powerpc/s_lrint.c: Now is for double.
6662 * sysdeps/powerpc/s_lrintf.S: New file.
6663 * sysdeps/powerpc/s_lround.c: Now is for double.
6664 * sysdeps/powerpc/s_lroundf.c: New file.
6665 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
6666 lrintf, fdim, fdimf.
6668 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
6669 file directly, use its parent.
6671 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
6672 (for the third time).
6674 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
6676 * posix/sched.h: timespec is in <time.h>.
6678 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
6680 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
6682 * configure.in: Stop with error if --disable-static is used when
6683 the shared lib uses this library.
6685 * gen-FAQ.pl: I've perl installed in /usr/bin.
6687 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
6689 Fix Unix98 conformance problems in the headers.
6690 * catgets/nl_types.h: Define nl_item.
6691 * grp/grp.h: Define gid_t.
6692 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
6693 * include/nl_types.h: New file.
6694 * include/ulimit.h: New file.
6695 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
6696 constants in POSIX mode.
6697 * io/utime.h: Get definition for time_t.
6698 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
6699 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
6700 * libio/stdio.h: Define va_list. Make snprintf also available is
6701 __USE_UNIX98. Declare getopt function and variables.
6702 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
6703 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
6704 * math/math.h: Defined M_* constants as double for Unix98 mode.
6705 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
6706 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
6707 * posix/regex.h: Define REG_NOSYS.
6708 * posix/wordexp.h: Define WRDE_NOSYS.
6709 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
6711 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
6712 somewhere else as well. Define clock_t for Unix98.
6713 * posix/sys/wait.h: Define pid_t.
6714 * pwd/pwd.h: Define gid_t, uid_t.
6715 * resource/Makefile (headers): Add ulimit.h.
6716 * resource/ulimit.h: New file.
6717 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
6718 instead of second argument.
6719 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
6720 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6721 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
6722 * signal/signal.h: Define pid_t.
6723 * string/string.h: Don't declare BSD string functions in POSIX mode.
6724 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
6725 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
6726 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
6729 * inet/test_ifindex.c: Change test so that it does not fail for
6732 * locale/programs/locale.c (show_info): Use correct cast sequence
6735 * malloc/malloc.c: __malloc_initialized now signals three states:
6736 uninitialized, initializing, initialized. Used in mcheck.
6737 * malloc/mcheck.c (mabort): Add '\n' to messages.
6738 (mcheck): Allow installation when malloc is uninitialized or is
6741 * manual/memory.texi: Explain mtrace output a bit more.
6743 * math/libm-test.c: Add more epsilons.
6745 * misc/regexp.h (compile): Remove __ prefix from parameter names.
6747 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
6748 instead of strcpy for security.
6749 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
6750 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
6751 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
6753 * nss/digits_dots.c: Pretty print.
6755 * posix/getconf.c (vars): Add symbols for programming environment
6756 recognition. Recognize --version.
6758 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
6759 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
6760 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
6762 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
6764 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6765 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
6768 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
6769 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
6771 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
6772 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6773 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6774 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
6775 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6776 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
6778 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
6780 * sysdeps/wordsize-64/inttypes.h: Likewise.
6782 * time/africa: Update from tzdata1997j.
6783 * time/antarctica: Likewise.
6784 * time/asia: Likewise.
6785 * time/australasia: Likewise.
6786 * time/backward: Likewise.
6787 * time/etcetera: Likewise.
6788 * time/europe: Likewise.
6789 * time/factory: Likewise.
6790 * time/northamerica: Likewise.
6791 * time/pacificnew: Likewise.
6792 * time/southamerica: Likewise.
6794 * time/tzfile.h: Update from tzcode1997h.
6795 * time/zic.c: Likewise.
6797 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
6798 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
6799 isw*() functions for Unix98.
6800 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
6801 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
6804 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6806 * locale/duplocale.c: Increase usage_count only if less than
6808 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6810 * locale/setlocale.c: Likewise.
6812 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6814 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6815 dependency to make it easier to install it selectively.
6817 * Makerules (.SUFFIXES): Don't define any suffixes.
6819 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6821 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6822 * sysdeps/generic/statfs64.c: Emulate using statfs.
6823 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6824 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6825 * sysdpes/generic/ftruncate64.c: New file.
6826 * sysdpes/generic/truncate64.c: New file.
6828 * sysdeps/generic/bits/stat.h: Add LFS support.
6829 * sysdeps/generic/bits/statfs.h: Likewise.
6831 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6832 [__USE_FILE_OFFSET64]: Make long long constant.
6833 (RLIM64_INFINITY): Likewise.
6835 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6837 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6838 * sysdeps/generic/bits/resource.h: Likewise.
6840 * misc/Makefile (routines): Add truncate64 and ftruncate64.
6842 * include/features.h: Don't prevent LFS support from defining BSD
6845 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6846 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6847 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6849 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6850 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6851 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6853 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6854 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6855 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6856 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6857 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6858 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6859 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6860 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6861 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6862 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6863 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6864 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6865 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6866 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6867 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6869 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6870 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6874 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6875 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6876 * sysdeps/unix/sysv/linux/xstat64.c: New file.
6877 * sysdeps/unix/sysv/linux/readdir64.c: New file.
6878 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6880 * sysdeps/unix/sysv/linux/getdents64.c: New file.
6881 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6882 [$(subdir)=dirent]: Add getdents64.
6883 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6885 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6887 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
6889 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6891 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6892 * sysdeps/generic/getrlimit64.c: Likewise.
6893 * sysdeps/generic/setrlimit.c: Likewise.
6894 * sysdeps/generic/setrlimit64.c: Likewise.
6896 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
6898 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6901 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6903 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6905 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6907 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6908 after the codeset name.
6910 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6912 * libc.map: Add get_kernel_syms.
6914 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6916 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6918 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6919 Likewise. Fix condition.
6921 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6923 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6925 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6927 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6928 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6930 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6932 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6933 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6936 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6938 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6940 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6942 * math/libm-test.c (catanh_test): Change epsilon.
6943 Reported by H.J. Lu.
6945 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
6947 * libc.map (__getpid): Added for linuxthreads.
6949 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
6951 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6952 it if gcc uses static variable in DWARF2 unwind information
6953 for exception support.
6955 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6957 * elf/soinit.c (__libc_global_ctors, _fini): Handle
6958 HAVE_DWARF2_UNWIND_INFO_STATIC.
6960 * libc.map (__register_frame*, __deregister_frame*): Make them
6963 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6965 * math/libm-test.c: Add more tests for "normal" values.
6967 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6969 * stdio-common/printf_fphex.c: Fix printing of long double number
6970 with a biased exponent of zero. Fix rounding.
6972 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6974 * sunrpc/rpc_main.c: Accept new flag -$.
6975 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
6977 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6979 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
6980 dynamic linker first, in case the interface has changed.
6982 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6984 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
6987 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6989 * math/tgmath.h: Check for double first, for architectures where
6990 sizeof (long double) == sizeof (double).
6992 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6994 * math/libm-test.c: New tests for "normal" values added for most
6997 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
6999 * version.h (VERSION): Bump to 2.0.91.
7001 * db2/makedb.c (process_input): Fix typo in message.
7002 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
7004 * elf/dynamic-link.h: Pretty print.
7006 * elf/rtld.c: Allow multiple preloading of a shared object.
7008 * include/limits.h: Prevent multiple inclusion.
7010 * malloc/Makefile (headers): Add mcheck.h.
7011 (distribute): Remove it here.
7012 * malloc/mcheck.h: Pretty print.
7013 * malloc/mtrace.c (mallenv): Make `const'.
7014 * malloc/mtrace.pl: Don't print table head for memory leaks if there
7016 * manual/memory.texi: Update descriptor of malloc hooks.
7018 * posix/Makefile (routines): Add waitid.
7019 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
7021 * posix/sys/wait.h: Define idtype_t type.
7022 Add prototype for waitid.
7023 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
7024 * sysdeps/generic/waitid.c: Stub for waitid.
7025 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
7026 the __need_siginfo_t defined.
7027 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
7028 * sysdeps/generic/bits/types.h: Define __id_t.
7029 Correct definition of __FDMASK.
7030 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7031 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7032 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
7034 * sysdeps/posix/waitid.c: New file.
7035 Provided by Zack Weinberg.
7037 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
7039 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7040 Add missing parameters.
7042 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
7043 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
7044 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
7045 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
7048 * sysdeps/i386/dl-machine.h: Little cleanup.
7050 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
7051 (__finite): Mark function as const.
7052 Add inline code for __ieee754_atan2.
7054 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
7055 (but don't use it now).
7056 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
7058 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
7059 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7060 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
7062 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
7063 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7064 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
7065 __ieee754_atan2 to base 10.
7066 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
7067 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7069 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
7070 old_kernel_sigaction.
7072 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
7074 * wctype/Makefile (routines): Add wctype_l.
7075 * wctype/wctype.h: Add declaration of __wctype_l.
7076 * wctype/wctype_l.c: New file.
7078 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
7080 * locale/C-ctype.c: Correct data for isw* functions.
7081 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
7083 * wctype/test_wctype.c: Add test for isw* functions.
7084 * wctype/wctype.c: Return value with expected byte order.
7086 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7088 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
7090 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
7092 * iconvdata/Makefile: Fix a typo.
7094 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
7095 oldsiglist for shared library.
7097 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
7098 sys_sigabbrev): Make them as the default version GLIBC_2.1.
7100 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
7101 sys_siglist, sys_sigabbrev): New file. Make them as the old
7104 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
7107 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
7109 * libio/iofgets.c (_IO_fgets): Return an error only if there
7111 * libio/iogets.c (_IO_gets): Ditto.
7113 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
7115 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
7117 * libio/Makefile (routines, shared-only-routines): Add
7120 * libio/fileops.c: Don't use _IO_FILE_complete.
7121 * libio/iofdopen.c: Ditto.
7122 * libio/iofopen.c: Ditto.
7123 * libio/iofopen64.c: Ditto.
7124 * libio/iopopen.c: Ditto.
7125 * libio/iovdprintf.c: Ditto.
7127 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
7129 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
7130 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
7132 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
7133 _IO_old_fdopen, _IO_new_fdopen): New declaration.
7135 * libio/libio.h (_IO_FILE): Add more fields.
7136 (_IO_FILE_complete): Defined and make _IO_FILE be the old
7137 one if _IO_USE_OLD_IO_FILE is defined
7138 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
7139 them _IO_FILE_complete.
7141 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
7143 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
7145 (_IO_FILE_complete): Commented out.
7147 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
7148 * libio/oldiofclose.c: Ditto.
7149 * libio/oldiofopen.c: Ditto.
7150 * libio/oldstdfiles.c: Ditto.
7152 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
7153 for the old _IO_FILE.
7155 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
7156 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
7159 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
7162 * libio/stdio.c (stdin, stdout, stdin): Don't use
7165 * libio/oldiofdopen.c: New.
7167 * stdio-common/vfprintf.c (buffered_vfprintf): Set
7168 hp->_vtable_offset to 0.
7170 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
7172 * libc.map (_IO_file_open): Added.
7174 * libio/libioP.h (_IO_file_open): Declared.
7176 * libio/fileops.c (_IO_file_open): New.
7177 (_IO_file_fopen): Call _IO_file_open ().
7179 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
7180 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7182 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7184 * signal/signal.h: Fix selection of signal semantics to match
7187 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7189 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
7190 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
7192 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
7193 [$(subdir)=signal]: Remove rt_sigreturn.
7194 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
7195 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
7196 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
7198 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7200 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
7203 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7205 * iconvdata/extra-module.mk: Expand extra-objs now.
7207 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7209 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
7210 inline functions by feature tests to avoid warning about missing
7211 prototype declarations.
7213 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7215 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
7216 return code for non existent +name entries.
7217 * nis/nss_compat/compat-pwd.c: Likewise.
7218 * nis/nss_compat/compat-spwd.c: Likewise.
7220 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
7222 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
7226 (__errno_location): Likewise.
7228 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
7230 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
7232 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7234 * sunrpc/publickey.c: Use new NSS interface.
7236 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
7238 * manual/malloc.texi: Document mtrace/muntrace and the concept.
7240 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7242 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
7243 value, to match spirit of the standard.
7244 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
7245 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
7246 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
7248 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7250 * manual/signal.texi (Signal Stack): Remove spurious @item.
7252 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7254 * rt/aio.h: Remove double semicolon.
7256 * rt/librt.map: Add aio_init.
7258 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
7260 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
7261 * Makefile (subdirs): Replace rt by $(rt).
7263 * shlib-versions: Use version .2 for NSS modules.
7265 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
7267 * pwd/fgetpwent_r.c: Likewise.
7268 * spwd/fgetspent_r.c: Likewise.
7269 * spwd/sgetspent_r.c: Likewise.
7270 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
7271 Store error number in *ERRNOP. Little optimization.
7272 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
7273 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
7274 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7275 (__internal_getnetgrent_r): New argument.
7276 Call __internal_setnetgrent_reuse with new argument.
7277 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
7278 * inet/netgroup.h: Add argument to prototypes.
7279 * nis/nisplus-parser.h: Likewise.
7280 * nis/nss_compat/compat-grp.c: Change everything to store error
7281 code through provided pointer and not use errno.
7282 * nis/nss_compat/compat-pwd.c: Likewise.
7283 * nis/nss_compat/compat-spwd.c: Likewise.
7284 * nis/nss_nis/nis-alias.c: Likewise.
7285 * nis/nss_nis/nis-ethers.c: Likewise.
7286 * nis/nss_nis/nis-grp.c: Likewise.
7287 * nis/nss_nis/nis-hosts.c: Likewise.
7288 * nis/nss_nis/nis-netgrp.c: Likewise.
7289 * nis/nss_nis/nis-network.c: Likewise.
7290 * nis/nss_nis/nis-proto.c: Likewise.
7291 * nis/nss_nis/nis-publickey.c: Likewise.
7292 * nis/nss_nis/nis-pwd.c: Likewise.
7293 * nis/nss_nis/nis-rpc.c: Likewise.
7294 * nis/nss_nis/nis-service.c: Likewise.
7295 * nis/nss_nis/nis-spwd.c: Likewise.
7296 * nis/nss_nisplus/nisplus-alias.c: Likewise.
7297 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7298 * nis/nss_nisplus/nisplus-grp.c: Likewise.
7299 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7300 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
7301 * nis/nss_nisplus/nisplus-network.c: Likewise.
7302 * nis/nss_nisplus/nisplus-parser.c: Likewise.
7303 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7304 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7305 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7306 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7307 * nis/nss_nisplus/nisplus-service.c: Likewise.
7308 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7309 * nss/nss_db/db-XXX.c: Likewise.
7310 * nss/nss_db/db-alias.c: Likewise.
7311 * nss/nss_db/db-netgrp.c: Likewise.
7312 * nss/nss_files/files-XXX.c: Likewise
7313 * nss/nss_files/files-alias.c: Likewise
7314 * nss/nss_files/files-netgrp.c: Likewise
7315 * nss/nss_files/files-parse.c: Likewise
7316 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
7317 parameter of get functions.
7318 * nss/getXXent_r.c: Likewise.
7320 * localedata/tst-fmon.c: Print debug info if test fails.
7322 * rt/Makefile (routines): Add aio_notify.
7323 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
7324 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
7325 * rt/aio_fsync.c: Likewise.
7326 * rt/aio_misc.c: Likewise.
7327 * rt/aio_misc.h: Likewise.
7328 * rt/aio_read.c: Likewise.
7329 * rt/aio_read64.c: Likewise.
7330 * rt/aio_suspend.c: Likewise.
7331 * rt/aio_write.c: Likewise.
7332 * rt/aio_write64.c: Likewise.
7333 * rt/lio_listio.c: Likewise.
7334 * rt/lio_listio64.c: Likewise.
7335 * rt/aio_notify.c: New file.
7337 * sysdeps/generic/bits/sigset.h: Pretty print.
7339 * sysdeps/posix/pwrite.c: Define weak alias only if function is
7340 really defined as __pwrite.
7342 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
7344 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7346 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7347 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
7348 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
7350 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7351 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7352 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
7353 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7354 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
7355 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7356 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
7358 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
7360 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
7361 __NR_pread is not defined.
7362 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
7363 __NR_pwrite is not defined.
7365 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7367 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
7368 handle for /etc/group back in some more cases.
7369 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
7370 handle for /etc/passwd back in some more cases.
7371 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
7372 handle for /etc/shadow back in some more cases.
7374 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
7376 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
7378 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
7379 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
7381 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
7383 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
7384 handling. Don't use macros, we need functions. Use inline functions
7386 * sysdeps/wordsize-64/inttypes.h: Likewise.
7387 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
7389 * sysdeps/wordsize-64/Makefile: Likewise.
7390 * sysdeps/wordsize-32/Dist: Likewise.
7391 * sysdeps/wordsize-64/Dist: Likewise.
7392 * sysdeps/wordsize-32/strtoimax.c: New file.
7393 * sysdeps/wordsize-32/strtoumax.c: New file.
7394 * sysdeps/wordsize-32/wcstoimax.c: New file.
7395 * sysdeps/wordsize-32/wcstoumax.c: New file.
7396 * sysdeps/wordsize-64/strtoimax.c: New file.
7397 * sysdeps/wordsize-64/strtoumax.c: New file.
7398 * sysdeps/wordsize-64/wcstoimax.c: New file.
7399 * sysdeps/wordsize-64/wcstoumax.c: New file.
7401 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
7403 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
7404 that transparent union works.
7405 * sysdeps/generic/wait4.c (__wait4): Likewise.
7406 * sysdeps/generic/wait.c (__wait): Likewise.
7408 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
7411 * sysdeps/generic/syscall.c (syscall): Return value and arg are
7412 long, to match prototype.
7414 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
7417 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
7419 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
7421 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
7423 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
7426 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
7428 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
7430 * io/sys/stat.h (S_ISLNK): Always false if we don't have
7433 * sysdeps/standalone/close.c (_STDIO_H): Define before including
7435 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
7437 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
7439 * posix/sys/wait.h: Don't use transparent unions in C++.
7441 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7443 * time/time.h: Add strfxtime.
7445 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
7446 sysv_signal, strfxtime, pread64, pwrite64.
7448 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
7450 Alpha changes for EGCS:
7451 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
7452 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
7453 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
7455 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
7457 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
7459 The kernel expects the arguments in a different order.
7460 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
7461 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
7464 * gen-FAQ.pl: New file.
7465 * Makefile (FAQ): Add rule to generate from FAQ.in.
7467 * iconvdata/Makefile: Treat libJIS like the other modules.
7469 * rt/librt.map: New file.
7471 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
7473 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
7476 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
7478 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
7479 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
7480 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
7481 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
7483 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7485 * string/bits/string2.h: Fix spellings.
7487 * string/string.h: Fix spellings.
7489 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7491 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
7492 declaration to __syscall_rt_sigaction.
7494 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
7495 non-existant <sigcontext.h>.
7497 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7499 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
7502 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7504 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
7506 * Makeconfig (shared-thread-library): Correct spelling.
7508 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
7511 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7513 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
7514 constants from Linux headers. Pointed out by
7515 csmall@scooter.o.i.net. [PR libc/369]
7517 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7519 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
7521 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
7523 * configure.in: If --enable-add-ons is given without an
7524 argument, set the addons list to all subdirs with a configure
7527 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
7529 * Makeconfig: Add shared-thread-library variable.
7531 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
7532 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
7534 * sysdeps/m68k/fpu/e_acos.c: Likewise.
7535 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7536 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7537 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7538 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7539 * sysdeps/m68k/fpu/k_cos.c: Likewise.
7540 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7541 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7542 * sysdeps/m68k/fpu/s_atan.c: Likewise.
7543 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7544 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7545 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7546 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7547 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7548 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7549 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7550 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7551 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7552 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7553 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7554 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7555 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7556 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7557 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7558 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7560 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
7561 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
7562 * signal/Makefile (headers): Add bits/siginfo.h.
7563 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
7564 (distribute): Add testrtsig.h.
7565 * signal/allocrtsig.c: New file.
7566 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
7567 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
7568 __libc_current_sigrtmax.
7569 * sysdeps/generic/sigqueue.c: New file.
7570 * sysdeps/generic/sigtimedwait.c: New file.
7571 * sysdeps/generic/sigwaitinfo.c: New file.
7572 * sysdeps/generic/testrtsig.h: New file.
7573 * sysdeps/generic/bits/siginfo.h: New file.
7574 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
7575 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
7576 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
7577 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
7578 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
7579 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
7580 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
7581 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
7582 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
7583 * sysdeps/unix/sysv/linux/sigpending.c: New file.
7584 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
7585 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
7586 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
7587 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
7588 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
7589 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
7590 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
7591 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
7592 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
7593 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
7594 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
7595 and _POSIX_REALTIME_SIGNALS.
7596 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
7597 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
7599 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
7600 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
7603 * Makefile (subdirs): Add rt.
7604 * shlib-versions: Add entry for librt.
7605 * rt/Makefile: New file.
7606 * rt/aio.h: New file.
7607 * rt/aio_cancel.c: New file.
7608 * rt/aio_error.c: New file.
7609 * rt/aio_fsync.c: New file.
7610 * rt/aio_misc.c: New file.
7611 * rt/aio_misc.h: New file.
7612 * rt/aio_read.c: New file.
7613 * rt/aio_read64.c: New file.
7614 * rt/aio_return.c: New file.
7615 * rt/aio_suspend.c: New file.
7616 * rt/aio_write.c: New file.
7617 * rt/aio_write64.c: New file.
7618 * rt/lio_listio.c: New file.
7619 * rt/lio_listio64.c: New file.
7620 * sysdeps/generic/aio_sigqueue.c: New file.
7621 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
7622 * sysdeps/unix/sysv/linux/Dist: Add new files
7623 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7624 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
7625 rt_sigqueueinfo, rt_sigaction.
7627 * posix/Makefile (headers): Add bits/environments.h.
7628 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
7629 and _CS_LFS_CFLAGS on 64bit platforms.
7630 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
7631 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
7632 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
7633 compilation modules.
7634 * sysdeps/wordsize-32/bits/environments.h: New file.
7635 * sysdeps/wordsize-64/bits/environments.h: New file.
7637 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
7638 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
7640 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
7643 * string/string.h: Add declaration of __strverscmp.
7644 * string/strverscmp.c: Rename function ot __strverscmp and make old
7647 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
7648 * sysdeps/generic/enbl-secure.c: Likewise.
7649 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7651 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
7653 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
7655 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7657 * posix/sys/wait.h: Use __transparent_union__ instead of
7658 transparent_union. Reported by Roland McGrath.
7660 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7662 * resolv/inet_neta.c (inet_neta): Change type of first parameter
7663 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
7666 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
7668 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
7670 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7672 * grp/initgroups.c: Increase buffer if it is too small.
7674 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7676 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
7677 fields, this is no ISO C. Reported by Andreas Jaeger.
7679 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7681 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
7683 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
7685 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
7686 _SYS_UTSNAME_H not _UTSNAME_H.
7688 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7690 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
7693 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7695 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
7696 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
7697 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
7699 * math/libm-test.c (csqrt_test): Add testcase.
7701 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
7703 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
7704 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
7705 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
7707 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7709 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
7711 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7713 * math/libm-test.c (acos_test): Add more tests.
7714 (asin_test): Likewise.
7715 (atan_test): Likewise.
7716 (exp_test): Likewise.
7717 (sin_test): Likewise.
7718 (sqrt_test): Likewise.
7719 (cpow_test): Likewise.
7720 (csqrt_test): Likewise.
7721 (cexp_test): Correct typo in gcc version test.
7723 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
7725 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
7727 * sysdeps/arm/setjmp.S: Likewise.
7729 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
7731 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
7733 * stdio/stdio.h: Add prototype for tmpfile64().
7735 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
7737 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
7738 prototype to keep in step with libio version.
7740 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
7742 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
7744 * sysdeps/generic/Makefile: Don't try to use make_siglist if
7747 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
7749 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
7750 load GOT ptr before jumping to _exit.
7751 Reported by Xavier Leroy.
7753 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
7755 * Makefile (subdirs): Add iconvdata and localedata.
7757 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
7759 * iconv/gconv_conf.c (read_conf_file): Little optimization.
7761 * iconvdata/8bit-gap.c: New file.
7762 * iconvdata/8bit-generic.c: Renamed from ...
7763 * iconvdata/iso8859-generic.c: ...this.
7764 * iconvdata/configure: Removed.
7765 * iconvdata/Makefile: Add new modules and better rules.
7766 * iconvdata/iso6937.c: Minor bug fixes.
7767 * iconvdata/iso8859-1.c: Likewise.
7768 * iconvdata/t61.c: Likewise.
7769 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
7771 * iconvdata/iso8859-3.c: Likewise.
7772 * iconvdata/iso8859-4.c: Likewise.
7773 * iconvdata/iso8859-5.c: Likewise.
7774 * iconvdata/iso8859-6.c: Likewise.
7775 * iconvdata/iso8859-7.c: Likewise.
7776 * iconvdata/iso8859-8.c: Likewise.
7777 * iconvdata/iso8859-9.c: Likewise.
7778 * iconvdata/iso8859-10.c: Likewise.
7779 * iconvdata/ebcdic-at-de-a.c: New file.
7780 * iconvdata/ebcdic-at-de.c: New file.
7781 * iconvdata/ebcdic-ca-fr.c: New file.
7782 * iconvdata/hp-roman8.c: New file.
7783 * iconvdata/koi-8.c: New file.
7784 * iconvdata/koi8-r.c: New file.
7785 * iconvdata/koi8-h.c: New file.
7786 * iconvdata/latin-greek-1.c: New file.
7787 * iconvdata/latin-greek-1.h: New file.
7788 * iconvdata/latin-greek.c: New file.
7789 * iconvdata/latin-greek.h: New file.
7790 * iconvdata/jis0201.c: New file.
7791 * iconvdata/jis0201.h: New file.
7792 * iconvdata/jis0208.c: New file.
7793 * iconvdata/jis0208.h: New file.
7794 * iconvdata/jis0212.c: New file.
7795 * iconvdata/jis0212.h: New file.
7796 * iconvdata/sjis.c: New file.
7797 * iconvdata/gap.pl: New file. Script to generate table header.
7798 * iconvdata/gaptab.pl: New file.
7799 * iconvdata/gconv-modules: Add info about new modules.
7801 * locale/programs/charmap.c: Also examine alias names given in charmap
7804 * localedata/*: Add to here from add-on. We need the information
7805 to generate tables for iconv.
7807 Update from db-2.3.14.
7808 * db2/Makefile: Updated.
7809 * db2/config.h: Likewise.
7810 * db2/db.h: Likewise.
7811 * db2/db_int.h: Likewise.
7812 * db2/btree/bt_cursor.c: Likewise.
7813 * db2/btree/bt_delete.c: Likewise.
7814 * db2/btree/bt_put.c: Likewise.
7815 * db2/btree/bt_search.c: Likewise.
7816 * db2/btree/bt_split.c: Likewise.
7817 * db2/btree/btree_auto.c: Likewise.
7818 * db2/common/db_appinit.c: Likewise.
7819 * db2/common/db_apprec.c: Likewise.
7820 * db2/common/db_err.c: Likewise.
7821 * db2/common/db_region.c: Likewise.
7822 * db2/db/db_auto.c: Likewise.
7823 * db2/db/db_dispatch.c: Likewise.
7824 * db2/db/db_ret.c: Likewise.
7825 * db2/dbm/dbm.c: Likewise.
7826 * db2/hash/hash_auto.c: Likewise.
7827 * db2/include/btree_ext.h: Likewise.
7828 * db2/include/common_ext.h: Likewise.
7829 * db2/include/db.h.src: Likewise.
7830 * db2/include/db_cxx.h: Likewise.
7831 * db2/include/db_ext.h: Likewise.
7832 * db2/include/db_int.h.src: Likewise.
7833 * db2/include/lock.h: Likewise.
7834 * db2/include/log.h: Likewise.
7835 * db2/include/mp.h: Likewise.
7836 * db2/include/mp_ext.h: Likewise.
7837 * db2/include/os_ext.h: Likewise.
7838 * db2/include/os_func.h: Likewise.
7839 * db2/lock/lock.c: Likewise.
7840 * db2/lock/lock_deadlock.c: Likewise.
7841 * db2/log/log.c: Likewise.
7842 * db2/log/log_archive.c: Likewise.
7843 * db2/log/log_auto.c: Likewise.
7844 * db2/log/log_get.c: Likewise.
7845 * db2/log/log_put.c: Likewise.
7846 * db2/mp/mp_bh.c: Likewise.
7847 * db2/mp/mp_fget.c: Likewise.
7848 * db2/mp/mp_fopen.c: Likewise.
7849 * db2/mp/mp_fput.c: Likewise.
7850 * db2/mp/mp_fset.c: Likewise.
7851 * db2/mp/mp_open.c: Likewise.
7852 * db2/mp/mp_pr.c: Likewise.
7853 * db2/mp/mp_region.c: Likewise.
7854 * db2/mp/mp_sync.c: Likewise.
7855 * db2/mutex/README: Likewise.
7856 * db2/mutex/mutex.c: Likewise.
7857 * db2/os/os_open.c: Likewise.
7858 * db2/os/os_func.c: Removed.
7859 * db2/os/os_config.c: New file.
7860 * db2/os/os_spin.c: New file.
7861 * db2/txn/txn.c: Likewise.
7862 * db2/txn/txn_auto.c: Likewise.
7864 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
7866 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7867 __typeof for C++ since this fails for class members.
7868 Reported by Neal Becker <neal@ctd.comsat.com>.
7870 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
7872 * configure.in: Check for a working makeinfo (3.11 or better).
7873 * config.make.in: Add MAKEINFO to be substituted.
7874 * manual/Makefile: Don't update info if makeinfo is too old.
7876 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
7878 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7879 * sysdeps/alpha/__longjmp.S: Likewise.
7880 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7881 not <bits/termios.h>.
7883 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7884 __llseek and make llseek and lseek64 weak aliases.
7885 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7886 Patches by a sun <asun@zoology.washington.edu>.
7888 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
7890 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7891 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7892 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7893 * misc/sys/syslog.h: Clean up BSD header.
7895 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7897 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7899 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7901 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7902 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7904 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7905 csqrt (-1), ctanh(i*pi/4).
7907 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7909 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7911 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
7913 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7915 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7917 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7919 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
7921 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7922 and use. Define GETCWD_RETURN_TYPE instead and use it.
7923 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7924 of GETCWD_STORYGE_CLASS and put the return type and the
7925 `internal_function' in the right order for gcc 2.7.2.
7927 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7929 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
7930 incompatible with Linux 2.1.x. Packages using modules
7931 (e.g. modutils) should/do provide their own version. Suggested by
7934 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7937 [$(subdir)=socket]: Remove sys/module.h.
7939 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
7941 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7942 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
7944 * iconv/gconv_close.c: Correct freeing of descriptor data.
7945 * iconv/gconv_simple.c: Return correct error values for illegal or
7946 incomplete characters.
7948 * Makefile (iconvdata/%): Special goal to simplify iconvdata
7950 * iconvdata/Makefile: New file.
7951 * iconvdata/configure: Likewise.
7952 * iconvdata/extra-module.mk: Likewise.
7953 * iconvdata/gconv-modules: Likewise.
7954 * iconvdata/iso6937.c: Likewise.
7955 * iconvdata/iso8859-1.c: Likewise.
7956 * iconvdata/iso8859-10.c: Likewise.
7957 * iconvdata/iso8859-10.h: Likewise.
7958 * iconvdata/iso8859-2.c: Likewise.
7959 * iconvdata/iso8859-2.h: Likewise.
7960 * iconvdata/iso8859-3.c: Likewise.
7961 * iconvdata/iso8859-3.h: Likewise.
7962 * iconvdata/iso8859-4.c: Likewise.
7963 * iconvdata/iso8859-4.h: Likewise.
7964 * iconvdata/iso8859-5.c: Likewise.
7965 * iconvdata/iso8859-5.h: Likewise.
7966 * iconvdata/iso8859-6.c: Likewise.
7967 * iconvdata/iso8859-6.h: Likewise.
7968 * iconvdata/iso8859-7.c: Likewise.
7969 * iconvdata/iso8859-7.h: Likewise.
7970 * iconvdata/iso8859-8.c: Likewise.
7971 * iconvdata/iso8859-8.h: Likewise.
7972 * iconvdata/iso8859-9.c: Likewise.
7973 * iconvdata/iso8859-9.h: Likewise.
7974 * iconvdata/iso8859-generic.c: Likewise.
7975 * iconvdata/t61.c: Likewise.
7977 * string/Makefile (routines): Add strcasestr.
7978 * string/string.h: Add prototype for strcasestr.
7979 * sysdeps/generic/strcasestr.c: New file.
7980 * wcsmbs/mbrtowc.c: Simplify special case a bit.
7981 * wcsmbs/wcrtomb.c: Likewise.
7982 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
7983 * wcsmbs/wcsnrtombs.c: Likewise.
7984 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
7985 partial character is read.
7986 * wcsmbs/wcsrtombs.c: Likewise.
7987 * wcsmbs/wmemrtombs.c: Likewise.
7988 * wcsmbs/wmemrtowcs.c: Likewise.
7990 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
7991 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
7992 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
7993 * sysdeps/i386/elf/setjmp.S: Likewise.
7994 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
7997 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
7998 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
8000 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
8001 * sysvipc/sys/ipc.h: Likewise.
8002 * sysvipc/sys/msg.h: Likewise.
8003 * sysvipc/sys/sem.h: Likewise.
8004 * sysvipc/sys/shm.h: Likewise.
8006 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
8008 * sysdeps/alpha/bits/setjmp.h: Likewise.
8009 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8010 * sysdeps/arm/bits/endian.h: Likewise.
8011 * sysdeps/arm/bits/setjmp.h: Likewise.
8012 * sysdeps/generic/bits/byteswap.h: Likewise.
8013 * sysdeps/generic/bits/confname.h: Likewise.
8014 * sysdeps/generic/bits/dirent.h: Likewise.
8015 * sysdeps/generic/bits/dlfcn.h: Likewise.
8016 * sysdeps/generic/bits/endian.h: Likewise.
8017 * sysdeps/generic/bits/fenv.h: Likewise.
8018 * sysdeps/generic/bits/huge_val.h: Likewise.
8019 * sysdeps/generic/bits/in.h: Likewise.
8020 * sysdeps/generic/bits/ioctl-types.h: Likewise.
8021 * sysdeps/generic/bits/ioctls.h: Likewise.
8022 * sysdeps/generic/bits/ipc.h: Likewise.
8023 * sysdeps/generic/bits/msq.h: Likewise.
8024 * sysdeps/generic/bits/poll.h: Likewise.
8025 * sysdeps/generic/bits/resource.h: Likewise.
8026 * sysdeps/generic/bits/sched.h: Likewise.
8027 * sysdeps/generic/bits/sem.h: Likewise.
8028 * sysdeps/generic/bits/setjmp.h: Likewise.
8029 * sysdeps/generic/bits/shm.h: Likewise.
8030 * sysdeps/generic/bits/sigaction.h: Likewise.
8031 * sysdeps/generic/bits/sigcontext.h: Likewise.
8032 * sysdeps/generic/bits/socket.h: Likewise.
8033 * sysdeps/generic/bits/stat.h: Likewise.
8034 * sysdeps/generic/bits/statfs.h: Likewise.
8035 * sysdeps/generic/bits/stdio_lim.h: Likewise.
8036 * sysdeps/generic/bits/termios.h: Likewise.
8037 * sysdeps/generic/bits/time.h: Likewise.
8038 * sysdeps/generic/bits/uio.h: Likewise.
8039 * sysdeps/generic/bits/utmp.h: Likewise.
8040 * sysdeps/generic/bits/utmpx.h: Likewise.
8041 * sysdeps/generic/bits/utsname.h: Likewise.
8042 * sysdeps/generic/bits/waitflags.h: Likewise.
8043 * sysdeps/generic/bits/waitstatus.h: Likewise.
8044 * sysdeps/gnu/bits/utmp.h: Likewise.
8045 * sysdeps/gnu/bits/utmpx.h: Likewise.
8046 * sysdeps/i386/bits/byteswap.h: Likewise.
8047 * sysdeps/i386/bits/endian.h: Likewise.
8048 * sysdeps/i386/bits/huge_val.h: Likewise.
8049 * sysdeps/i386/bits/setjmp.h: Likewise.
8050 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8051 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8052 * sysdeps/m68k/bits/byteswap.h: Likewise.
8053 * sysdeps/m68k/bits/endian.h: Likewise.
8054 * sysdeps/m68k/bits/setjmp.h: Likewise.
8055 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8056 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
8057 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
8058 * sysdeps/mach/hurd/bits/stat.h: Likewise.
8059 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
8060 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
8061 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
8062 * sysdeps/mips/bits/dlfcn.h: Likewise.
8063 * sysdeps/mips/bits/endian.h: Likewise.
8064 * sysdeps/mips/bits/setjmp.h: Likewise.
8065 * sysdeps/mips/dec/bits/endian.h: Likewise.
8066 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
8067 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
8068 * sysdeps/mips/p40/bits/endian.h: Likewise.
8069 * sysdeps/powerpc/bits/endian.h: Likewise.
8070 * sysdeps/powerpc/bits/fenv.h: Likewise.
8071 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8072 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
8073 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
8074 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8075 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
8076 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8077 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
8078 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8079 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
8080 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
8081 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
8082 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
8083 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
8084 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
8085 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
8086 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
8087 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
8088 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
8089 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
8090 * sysdeps/unix/common/bits/dirent.h: Likewise.
8091 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
8092 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8093 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8094 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8095 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
8096 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
8097 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
8098 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
8099 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8100 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
8101 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8102 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8103 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
8104 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
8105 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8106 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
8107 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
8108 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8109 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8110 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
8111 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8112 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8113 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8114 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8115 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
8116 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
8117 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8118 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8119 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
8120 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8121 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
8122 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8123 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
8124 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
8125 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8126 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8127 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
8128 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
8129 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
8130 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
8131 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
8132 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
8133 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8134 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
8135 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8136 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8137 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
8138 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8139 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
8141 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8143 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
8144 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
8145 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8147 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
8148 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
8149 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
8150 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
8151 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
8152 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
8153 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
8154 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
8155 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
8156 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
8157 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
8158 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
8159 * sysdeps/vax/bits/huge_val.h: Likewise.
8160 * sysdeps/vax/bits/setjmp.h: Likewise.
8161 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
8162 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
8164 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8166 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
8168 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
8170 * strftime.c (strftime):
8171 No longer any need to undef or declare if emacs is defined.
8172 (my_strftime): When checking a -1 returned by mktime, don't blow up
8173 if localtime_r returns NULL.
8175 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8177 * README.template: Fix spelling.
8179 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8181 * configure.in: Enhance --enable-add-ons description a wee bit.
8183 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8185 * glibcbug.in: Add more information of build environment and flags.
8187 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8189 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
8192 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
8194 * elf/dl-support.c: Call __libc_init_secure to make sure
8195 __libc_enable_secure is defined early.
8196 * sysdeps/generic/enbl-secure.c: Change function name to
8197 __libc_init_secure and make it global instead of a constructor.
8199 * iconv/gconv.c: Fix lots of bugs.
8200 * iconv/gconv.h: Likewise.
8201 * iconv/gconv_builtin.h: Likewise.
8202 * iconv/gconv_close.c: Likewise.
8203 * iconv/gconv_conf.c: Likewise.
8204 * iconv/gconv_db.c: Likewise.
8205 * iconv/gconv_dl.c: Likewise.
8206 * iconv/gconv_open.c: Likewise.
8207 * iconv/gconv_simple.c: Likewise.
8208 * iconv/iconv.c: Likewise.
8209 * iconv/iconv_close.c: Likewise.
8210 * iconv/iconv_open.c: Likewise.
8212 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
8213 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
8214 * wcsmbs/wmemrtombs.c: New file.
8215 * wcsmbs/wmemrtowcs.c: New file.
8217 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
8219 * iconv/gconv_simple.c: Fix lots of bugs.
8220 * iconv/iconv_open.c: Normalize names before passing them to
8223 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
8225 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
8226 * stdio-common/test-popen.c: Add test for above change.
8228 * math/libm-test.c: Print test results also using %a format,
8229 specified in PRINTF_XEXPR macro.
8230 * math/test-double.c: Define PRINTF_XEXPR.
8231 * math/test-float.c: Likewise.
8232 * math/test-ldouble.c: Likewise.
8233 * math/test-idouble.c: Likewise.
8234 * math/test-ifloat.c: Likewise.
8235 * math/test-ildoubl.c: Likewise.
8237 * stdio-common/vfscanf.c: Recognize a in format specifier only as
8238 modifier if used before s, S, or [. Otherwise it's the hexadecimal
8241 * stdlib/strtod.c: Little code cleanup.
8243 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
8244 compiling in math subdir.
8246 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
8247 instead of __LIBC_M81_MATH_INLINES.
8248 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8249 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8250 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8251 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8252 * sysdeps/m68k/fpu/k_cos.c: Likewise.
8253 * sysdeps/m68k/fpu/k_sin.c: Likewise.
8254 * sysdeps/m68k/fpu/k_tan.c: Likewise.
8255 * sysdeps/m68k/fpu/s_atan.c: Likewise.
8256 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8257 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8258 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8259 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8260 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8261 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
8262 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8263 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
8264 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8265 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8266 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8267 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
8268 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8269 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
8270 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
8271 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
8272 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
8273 __LIBC_INTERNAL_MATH_INLINES is defined.
8275 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
8276 of compare macros from ISO C 9X. Optimize generic versions a bit.
8277 Define __signbit inline functions and __ieee754_sqrt which can be
8278 used if the ompiler is fixed.
8280 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
8282 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8284 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
8285 sysdeps/generic in the whole dep file, not only in the first line.
8287 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8289 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
8291 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8293 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
8296 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8298 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
8301 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
8303 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
8306 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
8308 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
8309 readlink succeeds but the return value is too long.
8311 * stdio-common/printf_fphex.c: Determine sign of number correctly.
8313 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
8315 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
8318 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
8320 * sysdeps/generic/sys/ucontext.h: Stub context file.
8322 * libio/iofprintf.c: Removed. We use the stdio-common version.
8324 * manual/Makefile (distribute): Add stdio-fp.c.
8326 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
8328 * db2/Makefile (distribute): Add include/os_func.h, README and
8331 * hesiod/Makefile (distribute): Add README.hesiod.
8333 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
8335 * iconv/gconv.c: Correctly call transformation function.
8337 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
8339 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8341 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
8342 wrong results for e.g. remquo (3,2, &x)).
8343 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
8344 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
8346 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8348 * configure.in (ld --version-script): Test if the same symbol
8349 maybe defined in all versions (needed by recent changes to
8350 libc.map and supported with binutils 2.8.1.0.17) and issue warning
8351 if versioning is not supported/enabled.
8352 (bash test): Correct test case.
8354 * math/libm-test.c: Added counting/reporting of number of test cases.
8356 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
8359 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
8361 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8363 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
8365 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
8367 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
8368 Replace revoke call by use of REVOKE.
8369 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
8370 empty and #include generic version.
8371 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8373 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
8375 * libc.map: Add socket functions with __libc_* names.
8376 Reported by Andreas Jaeger.
8378 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8380 * libc.map: Tidy up (remove duplicates, sort entries).
8382 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8384 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
8386 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
8388 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
8389 again after successful call.
8390 Patch by Marc Lehmann <pcg@goof.com>.
8392 1997-11-17 Paul Eggert <eggert@twinsun.com>
8394 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
8395 as some hosts need this to declare localtime_r properly.
8397 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
8399 * libc.map: Add iconv_open, iconv, and iconv_close.
8401 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
8403 * iconv/Makefile: New file.
8404 * iconv/gconv.c: New file.
8405 * iconv/gconv.h: New file.
8406 * iconv/gconv_builtin.c: New file.
8407 * iconv/gconv_builtin.h: New file.
8408 * iconv/gconv_close.c: New file.
8409 * iconv/gconv_conf.c: New file.
8410 * iconv/gconv_db.c: New file.
8411 * iconv/gconv_dl.c: New file.
8412 * iconv/gconv_open.c: New file.
8413 * iconv/gconv_simple.c: New file.
8414 * iconv/iconv.c: New file.
8415 * iconv/iconv.h: New file.
8416 * iconv/iconv_close.c: New file.
8417 * iconv/iconv_open.c: New file.
8418 * include/gconv.h: New file.
8420 * Makeconfig: Define gconvdir.
8421 * Makefile (subdirs): Add iconv.
8423 * string/bits/string2.h: Add optimization for strtok_r.
8425 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
8427 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8428 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
8430 * configure.in: Correct test for bash2.
8431 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8433 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
8434 (CFLAGS-locfile.c): Likewise.
8435 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8437 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
8438 non-existing entry if the table is full.
8440 * posix/regex.h: Pretty print.
8442 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
8444 * sysdeps/posix/ctermid.c: Simplify a bit.
8446 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
8448 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8450 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
8451 <sys/types.h> instead of <asm/types.h>.
8453 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8455 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
8457 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
8459 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
8460 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
8461 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
8462 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
8463 fclose): Added to GLIBC_2.1.
8465 * libio/Makefile (routines, shared-only-routines): Add
8466 oldiofclose. Remove oldfreopen.
8468 * libio/freopen.c (freopen): When PIC is defined, call
8469 _IO_old_freopen () for old stdio.
8471 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
8472 (_IO_fclose, fclose): Use _IO_new_fclose as default version
8475 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
8476 instead of _IO_file_close_it.
8478 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
8480 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
8483 * libio/libioP.h (_IO_old_do_flush): New.
8485 * libio/oldfileops.c (_IO_old_file_close_it,
8486 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
8487 Call _IO_old_do_flush () instead of _IO_do_flush ().
8488 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
8491 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
8492 instead of _IO_file_init ().
8493 Bind old symbols to version GLIBC_2.0.
8495 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
8496 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
8498 (_IO_check_libio): New function in .init.
8500 * libio/oldiofclose.c: New file.
8502 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
8503 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
8504 (DEF_STDFILE): Don't use default_symbol_version.
8506 * libio/stdio.c (stdin, stdout, stderr): Set to
8508 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
8511 * csu/Makefile (distribute): Add init.c.
8512 (extra-objs): Add init.o for ELF.
8513 (start-installed-name): Add $(objpfx)init.o.
8515 * csu/init.c: New file.
8517 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
8519 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
8520 definition as the default.
8522 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
8524 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
8526 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8528 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
8531 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
8533 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
8534 to preserve condition codes on function call.
8536 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8538 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
8540 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8542 * math/libm-test.c (asin_test): Add epsilon for float.
8543 (tan_test): Add epsilon for float.
8544 (log1p_test): Add epsilon for float.
8545 (inverse_functions): Add epsilons.
8547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
8550 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
8552 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8554 * md5-crypt/Makefile (extra-objs): Make recursively expanded
8555 variable, since $(object-suffixes) is not defined yet.
8557 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8559 * db2/Makefile (distribute): db185/db185_int.src ->
8562 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8564 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
8567 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8569 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
8571 * sysdeps/generic/e_acosl.c: Likewise.
8572 * sysdeps/generic/e_asinl.c: Likewise.
8573 * sysdeps/generic/e_atan2l.c: Likewise.
8574 * sysdeps/generic/e_expl.c: Likewise.
8575 * sysdeps/generic/e_fmodl.c: Likewise.
8576 * sysdeps/generic/e_j0l.c: Likewise.
8577 * sysdeps/generic/e_j1l.c: Likewise.
8578 * sysdeps/generic/e_jnl.c: Likewise.
8579 * sysdeps/generic/e_lgammal_r.c: Likewise.
8580 * sysdeps/generic/e_log10l.c: Likewise.
8581 * sysdeps/generic/e_logl.c: Likewise.
8582 * sysdeps/generic/e_powl.c: Likewise.
8583 * sysdeps/generic/e_sqrtl.c: Likewise.
8584 * sysdeps/generic/e_exp2l.c: Likewise.
8586 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8588 * Make-dist (+sysdep-names): Remove extra paren.
8589 * Makefile (distribute): Add stub-tag.h.
8590 * elf/Makefile (distribute): Add atomicity.h.
8591 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
8592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
8593 [$(subdir)=socket]: Add net/if_packet.h.
8594 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
8595 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
8596 net/if_packet.h, scsi/sg.h.
8598 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8600 * Makefile (install): Quote $(CC) expansion.
8602 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8604 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
8605 working /proc cwd and no restrictions on path length. Following
8606 some ideas from Andi Kleen <ak@muc.de> (PR 350).
8608 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8610 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
8611 * nis/nss_compat/compat-pwd.c: Likewise.
8612 * nis/nss_compat/compat-spwd.c: Likewise.
8614 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
8616 * sysdeps/libm-i387/s_fdim.S: New file.
8617 * sysdeps/libm-i387/s_fdimf.S: New file.
8618 * sysdeps/libm-i387/s_fdiml.S: New file.
8619 * sysdeps/libm-i387/i686/s_fdim.S: New file.
8620 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
8621 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
8623 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8625 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
8626 pointer to unsigned char.
8628 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8630 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
8632 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
8634 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
8636 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8638 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
8640 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
8641 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
8643 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
8645 * sysdeps/libm-i387/s_fmin.S: New file.
8646 * sysdeps/libm-i387/s_fminf.S: New file.
8647 * sysdeps/libm-i387/s_fminl.S: New file.
8648 * sysdeps/libm-i387/s_fmax.S: New file.
8649 * sysdeps/libm-i387/s_fmaxf.S: New file.
8650 * sysdeps/libm-i387/s_fmaxl.S: New file.
8651 * sysdeps/libm-i387/i686/s_fmin.S: New file.
8652 * sysdeps/libm-i387/i686/s_fminf.S: New file.
8653 * sysdeps/libm-i387/i686/s_fminl.S: New file.
8654 * sysdeps/libm-i387/i686/s_fmax.S: New file.
8655 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
8656 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
8658 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
8660 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
8661 * sysdeps/unix/sysv/linux/send.S: Likewise.
8662 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8663 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8664 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8665 * sysdeps/unix/sysv/linux/recv.S: Likewise.
8666 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8667 * sysdeps/unix/sysv/linux/connect.S: Likewise.
8668 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
8670 See ChangeLog.7 for earlier changes.